/* =========================================================================
   KommMit – Ladelösungen  ·  Stylesheet
   Schriften: Public Sans  ·  Layout-Raster: 1440px Artboard, max. 1200px Content
   ========================================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Farben */
  --navy:        #042634;   /* dunkles Petrol – Footer, Bänder */
  --navy-deep:   #041A23;
  --teal:        #004658;   /* Hauptband-Hintergrund */
  --teal-700:    #05384a;
  --teal-card:   #0a4e5f;   /* Card-Füllung */
  --teal-line:   #116880;
  --cyan:        #3EBED5;
  --yellow:      #FFCC00;
  --yellow-2:    #FDC51B;
  --coral:       #FF6872;
  --cream:       #DDD5CD;
  --white:       #FFFFFF;
  --gray:        #D8D8D8;
  --muted:       #b9c7cd;   /* gedämpfter Fließtext auf Dunkel */

  /* Maße */
  --wrap:        1200px;
  --gap:         24px;
  --radius:      18px;
  --radius-sm:   12px;

  /* Typo */
  --ff: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff);
  font-size: 18px;
  line-height: 1.6;
  color: var(--white);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }

/* ---------- Layout Helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 32px; }
.section { padding-block: 88px; }
.section--teal  { background: var(--teal); }
.section--navy  { background: var(--navy); }
.section--deep  { background: var(--navy-deep); }

/* Augenbraue / Kicker */
.kicker {
  display: inline-flex; align-items: flex-start; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: .14em; line-height: 1.5;
  text-transform: uppercase; color: var(--yellow);
  margin: 0 0 20px;
}
.kicker::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--yellow); flex: none;
  margin-top: calc((1.5em - 9px) / 2); /* auf die erste Zeile zentriert */
}

.section-title { font-size: clamp(32px, 5vw, 54px); font-weight: 600; line-height: 1.14; margin-bottom: 44px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 8px 14px 8px 28px;
  border-radius: 999px; border: 0;
  font-size: 18px; font-weight: 500; line-height: 1;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--yellow); color: var(--navy); }
.btn--primary:hover { background: var(--teal-line); color: var(--white); box-shadow: 0 10px 24px -8px rgba(17,104,128,.55); }
.btn--ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.35); padding-left: 22px; }
.btn--ghost:hover { border-color: var(--white); }
.btn__icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  background: var(--navy); color: var(--white);
}
.btn--primary .btn__icon { background: var(--navy); color: var(--white); }
.btn--ghost   .btn__icon { background: var(--white); color: var(--navy); }
.btn__icon svg { width: 23px; height: 23px; }

/* Text-Link mit Pfeil-Kreis (Cards) */
.arrow-link {
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: 16px; width: 100%;
  font-weight: 700; font-size: 17px; color: var(--white);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px;
}
.arrow-link .circle {
  width: 54px; height: 54px; border-radius: 50%; flex: none;
  border: 0; background: var(--teal);
  display: grid; place-items: center; color: var(--white);
  transition: background .15s ease, color .15s ease;
}
.arrow-link:hover .circle { background: var(--yellow); color: var(--navy); }
.arrow-link .circle svg { width: 24px; height: 24px; }

/* =========================================================================
   Header / Navigation
   ========================================================================= */
/* Header schwebt über dem Hero (fixed) – kein dunkler Streifen oben */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center;
  padding: 18px 0;
  transition: background .25s ease, padding .25s ease;
}
.site-header.scrolled { background: var(--navy); box-shadow: 0 10px 28px -14px rgba(0,0,0,.6); padding: 11px 0; }
.nav {
  width: 100%; max-width: var(--wrap);
  display: flex; align-items: center; gap: 28px;
  padding-inline: 32px;
}
/* Logo sitzt allein in einem weißen Pill (viel Luft oben/unten), Links liegen frei auf dem Hero */
.brand {
  display: inline-flex; align-items: center;
  background: var(--white); border-radius: 999px;
  padding: 18px 32px;
}
.brand__logo { height: 52px; width: auto; display: block; }
.brand__mark { width: 44px; height: 44px; color: var(--navy); flex: none; }
.brand__name { font-size: 25px; font-weight: 800; letter-spacing: -0.015em; color: var(--navy); line-height: 1; }
.brand__name b { font-weight: 300; }

.nav__links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__links > .nav__item > a {
  display: inline-flex; align-items: center;
  color: var(--white); font-size: 16px; font-weight: 600; letter-spacing: .01em;
  padding: 6px 18px; border-radius: 999px; transition: background .15s, color .15s;
}
.nav__links > .nav__item > a:hover,
.nav__links > .nav__item > a.active { background: var(--teal); color: var(--white); }
.nav__login { display: inline-flex; align-items: center; gap: 8px; }
.nav__login svg { width: 14px; height: 14px; }
.nav__caret { width: 15px; height: 15px; margin-left: 5px; transition: transform .2s ease; }
.nav__has-sub:hover .nav__caret { transform: rotate(180deg); }

/* Dropdown der Unterebene */
.nav__sub {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 230px; background: var(--white); border-radius: 14px;
  box-shadow: 0 22px 46px -22px rgba(0,0,0,.5); padding: 8px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav__sub::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.nav__has-sub:hover .nav__sub,
.nav__has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a {
  display: block; padding: 10px 16px; border-radius: 9px;
  color: var(--navy); font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav__sub a:hover { background: rgba(4,38,52,.06); }
.nav__sub a.active { background: rgba(17,104,128,.1); color: var(--teal-line); }

.nav__burger {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--white); border: 0; color: var(--navy);
  place-items: center;
}
.nav__burger svg { width: 22px; }

/* Mobile-Menü-Overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 100;
  background: var(--navy); color: var(--white);
  display: flex; flex-direction: column; padding: 28px 32px;
  transform: translateY(-100%); transition: transform .3s ease;
  visibility: hidden;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__close { background: none; border: 0; color: var(--white); width: 40px; height: 40px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; margin-top: 48px; }
.mobile-menu nav a { font-size: 26px; font-weight: 700; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu nav a.mobile-menu__sub { font-size: 19px; font-weight: 500; padding: 10px 0 10px 22px; opacity: .85; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy);
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background: var(--navy);
}
/* Animierte Vektor-Grafik (wabernde Farbverläufe) */
.hero__anim { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, var(--navy) 22%, rgba(4,38,52,.35) 48%, rgba(4,38,52,0) 76%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero__inner {
  position: relative; min-height: 600px;
  padding-block: 210px 110px;   /* Top-Raum für den fixierten Header */
}
.hero__content { max-width: 840px; }
.hero__title {
  font-size: clamp(40px, 6vw, 72px); font-weight: 700; line-height: 1.2;
  letter-spacing: -0.01em; margin-bottom: 48px; text-shadow: 0 2px 30px rgba(0,0,0,.3);
}
.hero__title span { font-weight: 300; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Floating Info-Card im Hero */
.hero__card {
  position: absolute; right: 0; bottom: 110px;
  width: min(360px, 38%);
  background: rgba(4,26,35,.55); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 16px; backdrop-filter: blur(8px);
  display: flex; gap: 14px; align-items: center;
}
.hero__card img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; flex: none; }
.hero__card p { font-size: 14px; color: var(--muted); margin: 0; }
.hero__card .arrow-link { width: auto; }
.hero__card-body { display: flex; flex-direction: column; gap: 12px; }
.hero__card .circle { width: 36px; height: 36px; background: rgba(255,255,255,.14); }
.hero__card .circle svg { width: 18px; height: 18px; }

/* =========================================================================
   Intro – "Planung, Installation, Betrieb"
   ========================================================================= */
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.intro__head { font-size: clamp(32px, 5vw, 54px); font-weight: 600; line-height: 1.14; }
.intro__head .accent { color: var(--yellow); display: block; }
.intro__head i { color: var(--yellow); font-style: normal; } /* Modul: Gelbfärbung per <i> */
.intro__body p { color: #cdd8dc; font-size: 20px; line-height: 1.55; }
.intro__body strong { color: var(--white); }
/* Textile-Aufzählung im rechten Textblock als Checkliste (gelber Punkt) */
.intro__body ul { list-style: none; padding: 0; display: grid; gap: 14px; margin: 4px 0 34px; }
.intro__body ul li { position: relative; padding-left: 26px; color: var(--white); font-weight: 700; font-size: 18px; }
.intro__body ul li::before { content: ""; position: absolute; left: 3px; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.intro__body .btn { margin-top: 6px; }
.list-check { display: grid; gap: 14px; margin: 4px 0 34px; }
.list-check li { position: relative; padding-left: 26px; color: var(--white); font-weight: 700; font-size: 18px; }
.list-check li::before {
  content: ""; position: absolute; left: 3px; top: 0.62em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--yellow);
}

/* =========================================================================
   Solutions – "Für jeden die passende Lösung"
   ========================================================================= */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.card {
  background: var(--navy); border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius); padding: 34px 30px 26px 34px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "icon title" "body body" "foot foot";
  column-gap: 22px; row-gap: 24px; align-items: start;
  transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255,204,0,.4); }
.card__icon {
  grid-area: icon; align-self: start;
  width: 58px; height: 58px; border-radius: 50%; flex: none;
  border: 1.5px solid rgba(255,204,0,.5); color: var(--yellow);
  display: grid; place-items: center;
}
.card__icon svg { width: 30px; height: 30px; }
.card__icon img { width: 34px; height: 34px; object-fit: contain; }
.card__title { grid-area: title; align-self: center; font-size: 24px; font-weight: 600; color: var(--yellow); line-height: 1.22; }
.card__title span { display: block; font-size: 24px; font-weight: 600; color: var(--yellow); margin-top: 0; }
.card__text { grid-area: body; font-size: 18px; color: #cdd8dc; line-height: 1.5; margin: 0; }
.card__foot { grid-area: foot; padding-top: 4px; }
.card__foot .circle { margin-right: -6px; }

/* =========================================================================
   Testimonials
   ========================================================================= */
.testi { display: flex; align-items: center; gap: 50px; }
/* Carousel: horizontal scroll-snap, 2 sichtbar */
.testi__track {
  flex: 1; min-width: 0; display: flex; gap: 80px;
  overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none;
}
.testi__track::-webkit-scrollbar { display: none; }
.testi__arrow {
  flex: none; width: 54px; height: 54px; border-radius: 50%;
  background: var(--teal); border: 0; color: var(--white);
  display: grid; place-items: center; transition: background .15s, color .15s;
}
.testi__arrow:hover { background: var(--yellow); color: var(--navy); }
.testi__arrow svg { width: 24px; }
.testi__arrow.prev svg { transform: rotate(180deg); }

.quote { flex: 0 0 calc(50% - 40px); min-width: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 34px; }
.quote__text { font-size: clamp(20px, 2.2vw, 26px); font-weight: 500; line-height: 1.4; }
.quote__author { display: flex; align-items: flex-end; gap: 20px; margin-top: auto; }
.quote__avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; background: var(--teal-line); flex: none; }
.quote__meta { display: flex; flex-direction: column; gap: 3px; padding-bottom: 8px; }
.quote__name { font-weight: 700; font-size: 17px; color: var(--white); }
.quote__role { font-size: 15px; color: rgba(255,255,255,.85); }

.testi__foot { display: flex; justify-content: center; margin-top: 52px; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq__grid { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: 64px; align-items: start; }
/* Home-FAQ: dunkler Kasten auf dem Teal-Band */
.faq__grid--boxed { background: var(--navy); border-radius: 26px; padding: 60px 64px; }
.faq__title { font-size: clamp(32px, 5vw, 54px); font-weight: 600; line-height: 1.14; }
.faq__title em { font-style: italic; font-weight: 700; }
.accordion { border-top: 1px solid rgba(255,255,255,.15); }
.acc-item { border-bottom: 1px solid rgba(255,255,255,.15); }
.acc-q {
  width: 100%; background: none; border: 0; color: var(--white);
  display: flex; align-items: flex-start; gap: 18px; text-align: left;
  padding: 24px 0; font-size: 20px; font-weight: 500; line-height: 1.35;
}
.acc-q .marker {
  flex: none; width: 20px; height: 1.35em; color: var(--white);
  display: grid; place-items: center;
  transition: transform .25s ease; transform-origin: center;
}
.acc-q .marker svg { height: 22px; width: auto; display: block; }
.acc-q[aria-expanded="true"] .marker { transform: rotate(180deg); }
.acc-q[aria-expanded="true"] { color: var(--white); font-weight: 700; }
.acc-a { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.acc-a__inner { padding: 0 0 24px 40px; color: var(--muted); font-size: 16px; }
.faq__cta { grid-column: 2; justify-self: start; margin-top: 44px; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--navy); padding-block: 56px 28px; font-size: 15px; }
/* Top-Zeile: Logo + Scroll-nach-oben, alle Spalten beginnen darunter */
.footer__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 56px; }
.footer__top .to-top { margin-top: -22px; }
.footer__logo { height: 52px; width: auto; display: block; }
.footer__grid { display: grid; grid-template-columns: 2.4fr 1fr auto; gap: 48px; align-items: start; }
.footer__contact { display: grid; grid-template-columns: 1fr 1.35fr; gap: 48px; align-items: start; }
.footer h4 { font-size: 16px; letter-spacing: normal; text-transform: uppercase; color: var(--white); margin-bottom: 20px; font-weight: 700; }
.footer p, .footer address { color: var(--white); font-style: normal; line-height: 1.7; margin: 0 0 14px; }
.footer a:hover { color: var(--yellow); }
.footer__nav { display: grid; gap: 12px; }
.footer__nav a { color: var(--white); font-weight: 700; text-transform: uppercase; letter-spacing: normal; }
.footer__badges { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer__badges img { width: 92px; height: auto; border-radius: 8px; }

.footer__cta { grid-column: 1 / 3; justify-self: start; margin-top: 24px; padding: 15px 32px; background: var(--yellow); color: var(--navy); font-size: 16px; }
.footer .footer__cta:hover { background: var(--teal-line); color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 24px;
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  color: var(--white); font-size: 14px;
}
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__social { display: flex; gap: 12px; margin-left: auto; }
.footer__social a {
  width: 34px; height: 34px; border-radius: 50%; background: var(--yellow);
  display: grid; place-items: center; color: var(--navy);
  transition: background .15s ease, color .15s ease;
}
.footer .footer__social a:hover { background: var(--teal-line); color: var(--white); }
.footer__social svg { width: 17px; }
.to-top {
  width: 52px; height: 52px; border-radius: 50%; border: 0;
  background: var(--teal-line); color: var(--white); display: grid; place-items: center;
}
.to-top svg { width: 22px; height: auto; }

/* =========================================================================
   Subpage WEG (helle Inhalte)
   ========================================================================= */
/* Banner in Content-Breite mit runden Ecken; die Box trägt den dunklen Grund */
.page-hero { padding-top: 118px; }
.page-hero__box {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 26px; background: var(--navy); color: var(--white);
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--hero-img, none) center right / cover no-repeat, var(--teal);
}
.page-hero__bg::after { content:""; position:absolute; inset:0; background: linear-gradient(100deg, var(--navy) 30%, rgba(4,38,52,.2) 70%); }
.page-hero__inner {
  position: relative; z-index: 1;
  padding: 92px 64px 64px; display: flex; align-items: center; gap: 24px; min-height: 320px;
}
.page-hero__title { font-size: clamp(32px, 4.4vw, 54px); font-weight: 700; line-height: 1.12; color: var(--white); }
.page-hero__title span { font-weight: 300; }
.page-hero__badge {
  position: absolute; right: 36px; bottom: 32px;
  width: 96px; height: 96px; border-radius: 50%; flex: none;
  border: 2px solid rgba(255,255,255,.5); display: grid; place-items: center; color: var(--white);
}
.page-hero__badge svg { width: 46px; }

.content { background: var(--white); color: var(--navy); }
.content .wrap { padding-block: 72px; }
.breadcrumb-wrap { padding-top: 14px; }
.breadcrumb { font-size: 14px; font-weight: 500; color: #5a6b72; margin: 0; padding-left: 64px; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 2px; }
.breadcrumb a:hover { color: var(--teal-line); }
.breadcrumb .sep { color: #9aabb1; margin: 0 8px; font-size: inherit; }
.content h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 600; color: var(--navy); margin-bottom: 24px; line-height: 1.18; }
.content h3 { font-size: 22px; font-weight: 600; margin: 0 0 12px; }
.content p { color: #2c4049; font-size: 18px; line-height: 1.6; }
.content .lead { font-size: 22px; font-weight: 600; color: var(--navy); }

/* Video-Frame */
.video-frame { border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 50px -24px rgba(0,0,0,.4); max-width: 760px; }
.video-frame img { width: 100%; }
.video-frame media-player { vertical-align: bottom; }
/* Vidstack DSGVO-Consent-Platzhalter im Branding (dunkler Grund, gelber Button) */
.video-frame .consent-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px; padding: 40px; text-align: center; background: var(--navy); color: var(--white);
}
.video-frame .consent-placeholder p { margin: 0; max-width: 460px; color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.5; }
.video-frame .consent-button {
  background: var(--yellow); color: var(--navy); border: 0; border-radius: 999px;
  padding: 12px 28px; font-weight: 600; font-size: 16px; cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.video-frame .consent-button:hover { background: var(--teal-line); color: var(--white); transform: translateY(-2px); }

/* Schritt-Liste */
.steps { display: grid; gap: 22px; margin: 30px 0; max-width: 820px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step__num {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--yellow); color: var(--navy); font-weight: 800;
  display: grid; place-items: center; font-size: 17px;
}
.step p { margin: 0; padding-top: 6px; }

/* Förder-Infobox (dunkel) */
.infobox {
  background: var(--teal); color: var(--white); border-radius: var(--radius);
  padding: 44px 44px 44px 120px; position: relative;
}
.infobox h3 { color: var(--white); font-size: 24px; margin-bottom: 8px; }
.infobox__icon { position: absolute; top: 44px; left: 44px; width: 48px; color: var(--yellow); }
.infobox > p { color: var(--muted); max-width: 760px; }
.infobox__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 28px; }
.infobox h4 { color: var(--yellow); font-size: 16px; margin-bottom: 14px; }
.infobox .list-check li { color: var(--white); font-weight: 500; }
.infobox a { color: var(--yellow); text-decoration: underline; }
/* Infobox liegt in einem .block – helle Block-Textfarben für den dunklen Kasten zurücksetzen */
.block .infobox h3 { color: var(--yellow); }
.block .infobox h4 { color: var(--white); margin: 0 0 14px; }
.block .infobox p { color: rgba(255,255,255,.85); }
.block .infobox li { color: var(--white); }
.block .infobox a { color: var(--white); }
.block .infobox a:hover { color: var(--yellow); }
/* Textile-Aufzählung in der Infobox als Häkchenliste (gelber Punkt) */
.infobox ul { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.infobox ul li { position: relative; padding-left: 24px; font-weight: 500; line-height: 1.4; }
.infobox ul li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.infobox__foot { margin-top: 28px; }

/* Vergleichstabelle / Vertragsstruktur */
.compare { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 36px 0; border-top: 3px solid var(--yellow); }
.compare__col { padding: 24px 20px; border-right: 1px solid #e2e2e2; }
.compare__col:last-child { border-right: 0; }
.compare__col h4 { font-size: 16px; color: var(--navy); margin-bottom: 14px; min-height: 66px; }
.compare__col p { font-size: 14px; color: #44565d; }
.compare__tag { margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--teal-line); border: 1.5px solid var(--teal-line); border-radius: 999px; padding: 8px 14px; display: inline-block; }

/* Leistungen / Vertragsstruktur – gepaarte Spalten (Linien & Button überspannen je 2 Spalten) */
.cmp { display: grid; column-gap: 28px; row-gap: 0; align-items: start; margin: 40px 0; }
.cmp-head { font-size: 19px; font-weight: 700; color: var(--navy); line-height: 1.25; margin: 0; align-self: end; }
.cmp-rule--y { height: 3px; background: var(--yellow); border-radius: 2px; margin: 16px 0 22px; }
.cmp-rule--d { height: 1px; background: #d6dee1; margin: 22px 0; }
.cmp-desc { font-size: 15px; color: #44565d; line-height: 1.5; }
.cmp-detail { font-size: 15px; color: var(--navy); font-weight: 600; line-height: 1.45; }
.cmp-btnrow { margin-top: 26px; }
.cmp-btn { display: block; text-align: center; border: 2px solid var(--yellow); border-radius: 999px; padding: 14px 22px; font-weight: 700; font-size: 16px; color: var(--navy); line-height: 1.3; }

/* Bildpaar */
.img-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.img-pair figure { margin: 0; }
.img-pair img { width: 100%; height: 280px; object-fit: cover; border-radius: var(--radius-sm); }
.img-pair figcaption { font-size: 14px; color: #5a6b72; margin-top: 10px; }

/* "Gute Gründe" – dunkles Band auf heller Seite */
.reasons { background: var(--teal); color: var(--white); border-radius: var(--radius); padding: 52px; }
.reasons__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; }
.block .reasons h2 { color: var(--white); font-style: normal; font-size: clamp(32px, 4vw, 46px); }
.reasons h2 em { font-style: italic; color: inherit; }
/* Gründe-Liste (Textile) – Bullet als Ring-Kreis */
.reasons ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.reasons ul li { position: relative; padding-left: 34px; color: var(--white); font-weight: 500; line-height: 1.4; }
.reasons ul li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 18px; height: 18px;
  border-radius: 50%; border: 2px solid var(--yellow);
  background: radial-gradient(circle, var(--yellow) 0 3px, transparent 3.5px);
}
.reasons ul li strong, .reasons ul li b { color: var(--yellow); font-weight: 700; }
/* Button unten in der rechten Spalte: schwarz, ohne Unterstreichung, Hover weiß ohne Versatz */
.reasons__cta { margin-top: 32px; }
.block .reasons .btn--primary { color: var(--navy); text-decoration: none; }
.block .reasons .btn--primary:hover { background: var(--white); color: var(--navy); transform: none; box-shadow: none; }
/* Kicker im dunklen Kasten bleibt gelb (auch auf hellen Seiten) */
.theme-light .reasons .kicker { color: var(--yellow); }
.theme-light .reasons .kicker::before { background: var(--yellow); }

/* Kontakt-Personen */
.contact-people { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 900px; margin-top: 32px; }
.person { background: var(--teal); border-radius: var(--radius); padding: 30px 32px; }
.block .person h3 { color: var(--yellow); font-size: 22px; margin: 0 0 4px; }
.person .role { color: rgba(255,255,255,.7); font-size: 15px; margin-bottom: 14px; }
.block .person p { color: rgba(255,255,255,.9); }
.block .person a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.block .person a:hover { color: var(--yellow); }

/* FAQ auf heller Seite */
.faq--light .faq__title,
.faq--light .acc-q { color: var(--navy); }
.faq--light .accordion { border-top-color: rgba(0,0,0,.12); }
.faq--light .acc-item { border-bottom-color: rgba(0,0,0,.12); }
.faq--light .acc-q[aria-expanded="true"] { color: var(--teal-line); }
.faq--light .acc-a__inner { color: #44565d; }
.faq--light .acc-q .marker { color: var(--teal-line); }
.faq--light .kicker { color: var(--teal-line); }
.faq--light .kicker::before { background: var(--teal-line); }

/* =========================================================================
   Heller Seitenhintergrund  (Metafeld art_bg = hell)
   Dieselben Home-Module funktionieren auf weißem Grund.
   ========================================================================= */
body.theme-light { background: var(--white); color: var(--navy); }

/* Navigation auf hellen Seiten: nur dunkle Schrift, keine Flächen/Pillen.
   Der Header schwebt frei über dem weißen Seitenanfang; beim Scrollen wird er
   ein weißer Balken (Schrift bleibt dunkel und lesbar). */
.theme-light .nav__links > .nav__item > a { color: var(--navy); }
.theme-light .nav__links > .nav__item > a:hover,
.theme-light .nav__links > .nav__item > a.active { background: var(--teal); color: var(--white); }
.theme-light .site-header.scrolled { background: var(--white); box-shadow: 0 10px 30px -16px rgba(0,0,0,.28); }

/* Bänder werden hell */
.theme-light .section--teal,
.theme-light .section--navy,
.theme-light .section--deep { background: var(--white); }

/* Überschriften & Fließtext dunkel */
.theme-light .section-title,
.theme-light .intro__head,
.theme-light .faq__title { color: var(--navy); }
.theme-light .intro__body p { color: #2c4049; }
.theme-light .intro__body ul li,
.theme-light .intro__body strong { color: var(--navy); }

/* Kicker: Gelb hat auf Weiß zu wenig Kontrast -> Petrol */
.theme-light .kicker { color: var(--teal-line); }
.theme-light .kicker::before { background: var(--teal-line); }

/* Teaser-Kästen: helle Karten mit Petrol-Titel */
.theme-light .card { background: #f4f7f8; border-color: #e2e9eb; }
.theme-light .card:hover { border-color: rgba(17,104,128,.4); }
.theme-light .card__title,
.theme-light .card__title span { color: var(--teal-line); }
.theme-light .card__icon { border-color: rgba(17,104,128,.5); color: var(--teal-line); }
.theme-light .card__text { color: #44565d; }
.theme-light .arrow-link { color: var(--navy); }
.theme-light .arrow-link .circle { background: #e2e9eb; color: var(--navy); }
.theme-light .arrow-link:hover .circle { background: var(--yellow); color: var(--navy); }

/* Kundenstimmen */
.theme-light .quote__text,
.theme-light .quote__name { color: var(--navy); }
.theme-light .quote__role { color: #5a6b72; }
.theme-light .btn--ghost { color: var(--navy); border-color: rgba(4,38,52,.25); }
.theme-light .btn--ghost:hover { border-color: var(--navy); }
.theme-light .btn--ghost .btn__icon { background: var(--navy); color: var(--white); }

/* FAQ auf hellen Seiten: ohne Kasten (bündig, weißer Grund) */
.theme-light .faq__grid--boxed { background: transparent; padding: 0; }
.theme-light .accordion { border-top-color: rgba(0,0,0,.12); }
.theme-light .acc-item { border-bottom-color: rgba(0,0,0,.12); }
.theme-light .acc-q { color: var(--navy); }
.theme-light .acc-q .marker { color: var(--teal-line); }
.theme-light .acc-q[aria-expanded="true"] { color: var(--teal-line); }
.theme-light .acc-a__inner { color: #44565d; }

/* =========================================================================
   Inhalts-Blöcke der Unterseiten (Module auf hellem Grund)
   Jeder Modul-Slice rendert als <section class="block"> mit einheitlichem Rhythmus.
   ========================================================================= */
.block { margin-top: 56px; }
.block h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 600; color: var(--teal-line); margin: 0 0 24px; line-height: 1.18; }
.block h3 { font-size: 22px; font-weight: 600; color: var(--teal-line); margin: 0 0 12px; }
.block p { color: #2c4049; font-size: 18px; line-height: 1.4; margin: 0 0 1em; }
.block p:last-child { margin-bottom: 0; }
.block .lead { font-size: 22px; font-weight: 600; color: var(--navy); line-height: 1.4; }
.block a { color: var(--teal-line); text-decoration: underline; text-underline-offset: 2px; }
.block a:hover { color: var(--navy); }
.block strong { color: var(--navy); }

/* Eingerückt: Inhalt bündig zum Header-Titel (64px), volle Breite */
.block--inset > .wrap > * { margin-left: 64px; margin-right: 64px; }

/* Nummerierte Liste (Textile "#") -> Schritt-Liste mit Kreisen */
.block ol {
  counter-reset: step; list-style: none; padding: 0;
  display: grid; gap: 22px; margin: 30px 0; max-width: 820px;
}
.block ol li {
  counter-increment: step; position: relative;
  padding: 5px 0 0 58px; min-height: 38px;
  color: #2c4049; font-size: 18px; line-height: 1.6;
}
.block ol li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--yellow); color: var(--navy); font-weight: 800;
  display: grid; place-items: center; font-size: 17px;
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 980px) {
  body { font-size: 17px; }
  .section { padding-block: 64px; }
  .nav__links { display: none; }
  .nav__burger { display: grid; }
  .hero__inner { min-height: 0; padding-block: 132px 60px; }
  .hero__content { max-width: none; }
  .hero__card { position: static; width: 100%; margin-top: 36px; }
  .page-hero { padding-top: 96px; }
  .page-hero__inner { padding: 40px 28px; min-height: 0; }
  .breadcrumb { padding-left: 28px; }
  .block--inset > .wrap > * { margin-left: 28px; margin-right: 28px; }
  .intro__grid { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: 1fr; }
  .testi { display: block; }
  .testi__track { gap: 24px; }
  .testi__track .quote { flex-basis: 100%; }
  .testi__arrow { display: none; }
  .faq__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__contact { grid-column: 1 / -1; }
  .compare { grid-template-columns: 1fr 1fr; }
  .infobox__cols, .reasons__grid, .img-pair, .contact-people { grid-template-columns: 1fr; }
  .reasons__grid { gap: 28px; }
  .page-hero__badge { display: none; }
  .compare__col { border-bottom: 1px solid #e2e2e2; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 20px; }
  .section { padding-block: 52px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__contact { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .compare { grid-template-columns: 1fr; }
  .hero__card { flex-direction: column; align-items: flex-start; }
  .hero__card img { width: 100%; height: 150px; }
  .reasons, .infobox { padding: 28px; }
}
