:root {
  --paper: #e8f5f6;
  --ink: #08263b;
  --muted: #3f5e72;
  --line: #b9d7dd;
  --dark: #062d49;
  --mint: #00bfa5;
  --blue: #3867ee;
  --sun: #ffbd4a;
  --coral: #ef5d62;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background-image: linear-gradient(135deg, rgba(232,245,246,.72) 0%, rgba(234,243,251,.66) 52%, rgba(237,248,247,.74) 100%), url('seiten-hintergrund.png');
  background-position: center, center;
  background-size: cover, cover;
  background-attachment: fixed, fixed;
}

.topbar {
  background: linear-gradient(90deg, rgba(255,255,255,.28), rgba(221,246,245,.46));
  border-bottom: 1px solid rgba(0,191,165,.14);
}

.nav-cta, .button.primary {
  background: linear-gradient(125deg, #06304d, #0d5f78 58%, #00a98f);
  box-shadow: 0 10px 20px rgba(3, 86, 113, .18);
}

.button.subtle {
  background: rgba(255,255,255,.48);
  border-color: #9ccfd0;
}

.hero {
  position: relative;
  border-radius: 30px;
  background: rgba(241, 251, 252, .34);
}

.hero::before {
  content: '';
  position: absolute;
  width: 190px;
  height: 190px;
  right: -36px;
  top: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,93,98,.42) 0 14%, rgba(255,190,74,.25) 15% 31%, rgba(0,191,165,.16) 32% 43%, transparent 44%);
  pointer-events: none;
}

.hero-copy, .hero-art { position: relative; z-index: 1; }
.hero h1 em { color: #009c91; }
.eyebrow { color: #007e88; }
.hero .blob { background: linear-gradient(135deg, #a5f3e9, #c9d9ff); }

.button, .nav-cta, .service-card {
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.button:hover, .nav-cta:hover { transform: translateY(-2px); filter: saturate(1.12); }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(16, 95, 120, .15); }
.button:focus-visible, .nav-cta:focus-visible, .service-card a:focus-visible {
  outline: 3px solid #ffbd4a;
  outline-offset: 3px;
}

img, input, textarea, select {
  max-width: 100%;
}

.brand img {
  width: 660px;
  height: 128px;
  object-fit: contain;
  object-position: left center;
}

.topbar {
  height: 168px;
}

.services { border-radius: 28px; }
.service-card {
  border-color: #bee1df;
  background: linear-gradient(145deg, #ffffff 0%, #e0faf4 100%);
  box-shadow: 0 15px 30px rgba(19, 90, 112, .08);
}
.service-card:nth-child(3) { background: linear-gradient(145deg, #ffffff 0%, #e6edff 100%); border-color: #c8d6ff; }
.service-card:nth-child(4) { background: linear-gradient(145deg, #ffffff 0%, #ffe9e6 100%); border-color: #f3b2ab; }
.service-card.featured { background: linear-gradient(135deg, #073047 0%, #075c70 58%, #008f88 100%); border-color: transparent; }
.service-card.featured {
  background-image: linear-gradient(145deg, rgba(3, 30, 47, .92), rgba(4, 89, 103, .72)), url('smartphone-reparaturen.png');
  background-position: center;
  background-size: cover;
}
.service-card.featured .icon { background: rgba(255,255,255,.9); color: #087f87; }
.service-card.featured p { color: #e3f8fa; }
.service-card.featured a { color: #fff; }
.service-card:nth-child(2) .icon {
  background-image: url('smartphone-icon.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 64%;
  font-size: 0;
}
.service-card .icon { background: #c8f6ed; color: #007e88; }
.service-card:nth-child(3) .icon { background: #dce6ff; color: #3867ee; }
.service-card:nth-child(4) .icon { background: #ffd9d5; color: #c8434e; }

.service-card:first-child {
  color: #fff;
  border-color: transparent;
  background-image: linear-gradient(145deg, rgba(3, 32, 52, .9), rgba(4, 82, 96, .72)), url('elektro-it-installationen.png');
  background-position: center;
  background-size: cover;
}

.service-card:first-child .icon { background: rgba(255,255,255,.9); color: #087f87; }
.service-card:first-child p { color: #e3f8fa; }
.service-card:first-child a { color: #fff; }
.service-card:first-child .icon {
  background-image: url('elektro-it-icon.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 70%;
  font-size: 0;
}

.service-card:nth-child(3) {
  color: #fff;
  border-color: transparent;
  background-image: linear-gradient(145deg, rgba(5, 30, 49, .92), rgba(27, 69, 110, .72)), url('kleingeraete-reparaturen.png');
  background-position: center;
  background-size: cover;
}

.service-card:nth-child(3) .icon { background: rgba(255,255,255,.9); color: #3867ee; }
.service-card:nth-child(3) p { color: #e7f2ff; }
.service-card:nth-child(3) a { color: #fff; }
.service-card:nth-child(3) .icon {
  background-image: url('kleingeraete-icon.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 74%;
  font-size: 0;
}

.service-card:nth-child(4) {
  color: #fff;
  border-color: transparent;
  background-image: linear-gradient(145deg, rgba(7, 28, 48, .9), rgba(69, 45, 75, .68)), url('technische-it-hilfe.png');
  background-position: center;
  background-size: cover;
}

.service-card:nth-child(4) .icon { background: rgba(255,255,255,.9); color: #c8434e; }
.service-card:nth-child(4) p { color: #f7edf6; }
.service-card:nth-child(4) a { color: #fff; }
.service-card:nth-child(4) .icon {
  background-image: url('it-hilfe-icon.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 74%;
  font-size: 0;
}
.process { background: linear-gradient(115deg, rgba(210,243,237,.91) 0%, rgba(221,236,255,.91) 57%, rgba(213,243,236,.91) 100%); }
.process li { border-top-color: #a9d5d5; }
.process li span { color: #007e88; }
.process li { background: rgba(255,255,255,.18); }

.about-mark {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.about-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.process-logo {
  display: block;
  width: 82px;
  height: 82px;
  margin: 12px 0 15px;
  object-fit: contain;
}

.help {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 72px;
  align-items: start;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(199,248,240,.58), rgba(223,233,255,.55));
}

.help h2 {
  margin: 0 0 20px;
  font-size: 42px;
  letter-spacing: -2.7px;
  line-height: 1.04;
}

.help-copy > p:last-child, .help-grid p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.help-grid article {
  padding: 26px;
  border: 1px solid #bde4de;
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff, #e8fbf6);
  box-shadow: 0 12px 26px rgba(21, 99, 119, .06);
}

.help-grid article:nth-child(2) { background: linear-gradient(145deg, #ffffff, #e8efff); border-color: #cbd8ff; }
.help-grid article:nth-child(3) { background: linear-gradient(145deg, #ffffff, #fff3d8); border-color: #f1d69b; }
.help-grid article:nth-child(4) { background: linear-gradient(145deg, #ffffff, #ffe9e6); border-color: #f1b2ac; }

.help-grid article.repair-video-card {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #103937;
  border-color: #77bcb0;
}

.repair-video-card video {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 580px;
  background: #103937;
}

.help-grid h3 { margin: 0 0 12px; font-size: 17px; }
.help-grid p { margin: 0; }

.help-note {
  position: relative;
  left: 50%;
  width: min(1136px, calc(100vw - 64px));
  max-width: none;
  margin: -96px 0 0;
  padding: 0 32px 82px;
  transform: translateX(-50%);
  color: #315e70;
  font-size: 15px;
  line-height: 1.75;
}

.help-note-mobile { display: none; }

.help-note strong { color: #007e88; }

.help-note {
  background: linear-gradient(90deg, rgba(255,232,229,.9), rgba(218,247,241,.72));
  border-left: 4px solid var(--coral);
  border-radius: 14px;
  padding-top: 18px;
  padding-bottom: 18px;
  box-shadow: 0 10px 20px rgba(22, 107, 121, .05);
}

.about-mark { filter: drop-shadow(12px 14px 0 rgba(0,191,165,.14)); }

.about {
  border-radius: 28px;
  background: rgba(240, 250, 252, .55);
}

.contact {
  background: linear-gradient(125deg, #062d49 0%, #0a5273 52%, #008b82 82%, #cf5360 132%);
}

.contact .eyebrow { color: #8df2e5; }
.contact form { box-shadow: 0 22px 44px rgba(1, 24, 43, .24); }

footer { background: linear-gradient(90deg, rgba(216,241,239,.9), rgba(231,238,255,.9), rgba(255,228,226,.9), rgba(216,243,236,.9)); border-top: 1px solid #c3e2df; }

footer img {
  width: 205px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 1100px) {
  .topbar {
    height: 126px;
    padding-left: 28px;
    padding-right: 28px;
  }

  .brand img {
    width: 410px;
    height: 80px;
  }

  nav { gap: 16px; font-size: 12px; }
  .nav-cta { padding: 11px 16px; }

  .hero {
    min-height: 500px;
    padding-top: 45px;
    padding-bottom: 55px;
  }

  .hero h1 { font-size: 56px; }
  .services, .process { gap: 45px; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .contact { gap: 55px; }
}

@media (max-width: 900px) {
  .topbar { height: 105px; }
  .brand img { width: 330px; height: 64px; }

  .hero { grid-template-columns: 1.08fr .92fr; gap: 10px; }
  .hero h1 { font-size: 48px; }
  .lead { font-size: 16px; }
  .hero-art { transform: scale(.78); transform-origin: center; }

  .services, .process { grid-template-columns: 1fr; }
  .section-intro { max-width: 600px; }
  .process ol { grid-template-columns: repeat(3, 1fr); }
  .about { gap: 62px; }
  .contact { grid-template-columns: .85fr 1.15fr; gap: 42px; }
  .help { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  body {
    position: relative;
    z-index: 0;
    background: transparent;
    isolation: isolate;
  }

  body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image: linear-gradient(135deg, rgba(232,245,246,.48) 0%, rgba(234,243,251,.42) 52%, rgba(237,248,247,.5) 100%), url('seiten-hintergrund.png');
    background-position: center, center;
    background-size: cover, cover;
    pointer-events: none;
  }

  .topbar, main, footer { position: relative; z-index: 1; }

  .topbar {
    height: 98px;
  }

  .brand img {
    width: min(490px, 76vw);
    height: 76px;
  }

  nav { top: 88px; }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
  }

  .hero-copy, .hero-art, .contact-copy, .contact form {
    min-width: 0;
  }

  .hero-art {
    width: 100%;
    transform: scale(.69);
    transform-origin: top center;
  }

  .lead { max-width: 100%; }

  .contact {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .contact form { width: 100%; }
  .service-card { min-height: 210px; }
  .contact form { padding: 24px 20px; }

  .help-note-desktop { display: none; }

  .help-note-mobile {
    display: block;
    position: static;
    left: auto;
    width: auto;
    max-width: none;
    margin: 0;
    transform: none;
  }
}

@media (max-width: 480px) {
  .topbar { height: 78px; padding: 9px 16px; }
  .brand img { width: min(275px, 72vw); height: 54px; }
  .menu-button { font-size: 23px; }
  nav { top: 70px; }

  .hero { padding: 42px 20px 16px; }
  .hero h1 { font-size: 42px; letter-spacing: -2px; }
  .actions { display: grid; grid-template-columns: 1fr; }
  .actions .button { justify-content: center; }
  .trust { gap: 10px; font-size: 11px; }
  .hero-art { transform: scale(.62); margin-bottom: -112px; }

  .section, .process, .contact { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 58px; padding-bottom: 58px; }
  .section-intro h2, .process h2, .about h2, .contact h2 { font-size: 31px; }
  .service-card { padding: 24px; min-height: 0; }
  .help { border-radius: 22px; gap: 20px; }
  .help h2 { font-size: 31px; }
  .help-copy > p:last-child, .help-grid p { font-size: 14px; line-height: 1.65; }
  .help-grid article { padding: 20px; }
  .help-note-mobile { width: auto; margin: 0; padding: 16px 18px 20px; font-size: 14px; line-height: 1.65; }
  .help-grid { grid-template-columns: 1fr; }
  .help-grid article { padding: 22px; }
  .help-grid article.repair-video-card { padding: 0; }
  .repair-video-card video { width: 100%; max-height: none; }
  .process { padding-top: 58px; padding-bottom: 58px; }
  .process ol { gap: 0; }
  .about { padding: 60px 20px; }
  .about-mark { width: 126px; height: 126px; font-size: 40px; }
  .contact { padding-top: 60px; padding-bottom: 60px; }
  footer { padding: 20px; }
}
