/* ==========================================================================
   GSI Gebäudeservice GmbH – Stylesheet
   Statischer Nachbau nach ProntoSite-Spec. Kein CDN, keine JS-Abhängigkeit
   für Layout oder Typografie.
   ========================================================================== */

/* ---------- Schriften (lokal) ---------- */
@font-face{
  font-family:"Roboto";
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  src:url("../fonts/roboto-latin.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:"Roboto";
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  src:url("../fonts/roboto-latin-ext.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face{
  font-family:"Roboto";
  font-style:italic;
  font-weight:100 900;
  font-display:swap;
  src:url("../fonts/roboto-italic-latin.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:"Roboto";
  font-style:italic;
  font-weight:100 900;
  font-display:swap;
  src:url("../fonts/roboto-italic-latin-ext.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root{
  --rot:#c22418;
  --dunkelrot:#5c130e;
  --hellrot:#dc2819;
  --navrot:#9d1e16;
  --text:#555555;
  --bg:#ffffff;
  --header-bg:#fcfcfb;
  --dunkel:#1a1c20;
  --wrap:1300px;
  --gap:30px;
}

/* ---------- Basis ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"Roboto",Helvetica,Arial,Verdana,sans-serif;
  font-size:15px;
  line-height:23px;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;border:0}
a{color:var(--rot);text-decoration:none}
a:hover{text-decoration:underline}

h1,h2,h3,h4{
  margin:0 0 10px;
  font-style:italic;
  text-transform:uppercase;
  color:var(--dunkelrot);
}
h1{font-size:32px;line-height:38px;font-weight:900}
h2{font-size:24px;line-height:30px;font-weight:700;color:var(--rot)}
h3{font-size:18px;line-height:24px;font-weight:700}
h4{font-size:16px;line-height:22px;font-weight:700}
h1 .sub{
  display:block;
  margin-top:10px;
  color:var(--rot);
  font-size:18px;
  line-height:24px;
  font-weight:700;
}
p{margin:0 0 15px}
p:last-child{margin-bottom:0}

.wrap{
  width:100%;
  max-width:var(--wrap);
  margin:0 auto;
  padding:0 20px;
}
.visually-hidden{
  position:absolute!important;width:1px;height:1px;
  margin:-1px;padding:0;overflow:hidden;
  clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;
}

/* ==========================================================================
   Kopfbereich
   ========================================================================== */
/* welle-kopf.svg trägt den Verlauf des Kopfbereichs UND den oberen Ausläufer
   der Welle; welle-header.svg darunter setzt sie nahtlos fort. Beide sind auf
   dieselbe Breite skaliert (2600 Einheiten = 100 %), dadurch passen sie exakt
   aneinander. */
.masthead{
  position:relative;
  z-index:5;
  background-color:var(--header-bg);
  background-image:url("../img/welle-kopf.svg");
  background-repeat:no-repeat;
  background-position:left bottom;
  background-size:100% auto;
}
.masthead::after{
  content:"";
  position:absolute;
  left:0;right:0;top:100%;
  padding-top:5%;
  background-image:url("../img/welle-header.svg");
  background-repeat:no-repeat;
  background-position:left top;
  background-size:100% 100%;
  pointer-events:none;
}

.top-bar{
  position:relative;
  z-index:2;
  font-size:13px;
  line-height:20px;
  color:#6e6e6e;
}
.top-bar .wrap{
  display:flex;
  justify-content:flex-end;
  gap:22px;
  padding-top:6px;
}
.top-bar .mini{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.top-bar a{color:inherit}
.icon{width:14px;height:14px;flex:0 0 14px;fill:currentColor}

/* Hebt Logo, Navigation samt Untermenü und die Siegel über die Wellenkontur,
   die als .masthead::after sonst darüber gezeichnet würde. */
.header-main{
  position:relative;
  z-index:10;
  display:flex;
  align-items:center;
  gap:var(--gap);
  min-height:88px;
  padding-top:4px;
  padding-bottom:4px;
}
/* Logo sitzt optisch etwas höher als die Mittelachse der Kopfzeile */
.branding{display:block;flex:0 0 auto;line-height:0;transform:translateY(-7px)}
.branding img{width:230px;height:auto}
.branding .logo-mobile{display:none}

/* Mittig im Raum zwischen Logo und Siegeln */
.main-nav{margin:0 auto}
.main-nav>ul{display:flex;gap:0;margin:0;padding:0;list-style:none}
.main-nav>ul>li{position:relative}
/* Trennlinien zwischen den Menuepunkten, mittig im 30px-Zwischenraum */
.main-nav>ul>li+li::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:1px;
  height:18px;
  margin-top:-9px;
  background:rgba(0,0,0,.16);
}
/* Maße wie im Original: a { margin:18px 14px; padding:4px; 15px/23px } */
.main-nav>ul>li>a{
  display:block;
  margin:16px 15px;
  padding:4px;
  color:#333;
  font-size:17px;
  line-height:26px;
  font-weight:500;
  text-decoration:none;
}
.main-nav>ul>li:first-child>a{margin-left:0}
.main-nav>ul>li:last-child>a{margin-right:0}
.main-nav>ul>li>a:hover{color:var(--rot);text-decoration:none}
.main-nav>ul>li.aktiv>a{color:var(--navrot)}
.main-nav>ul>li.aktiv>a::after{
  content:"";
  display:block;
  height:2px;
  margin-top:2px;
  background:var(--navrot);
}

/* Desktop-Untermenü */
/* Gleiche mattierte Glasfläche wie .box im Hero */
.main-nav .sub{
  position:absolute;
  left:0;top:100%;
  display:none;
  min-width:280px;
  margin:0;padding:10px 0;
  list-style:none;
  border:1px solid rgba(255,255,255,.75);
  border-radius:16px;
  background:rgba(255,255,255,.97);
  box-shadow:
    0 1px 2px rgba(0,0,0,.05),
    0 10px 24px rgba(0,0,0,.12),
    0 28px 60px rgba(0,0,0,.18);
  overflow:hidden;
}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .main-nav .sub{
    background:rgba(255,255,255,.93);
    -webkit-backdrop-filter:blur(12px) saturate(1.15);
    backdrop-filter:blur(12px) saturate(1.15);
  }
}
.main-nav>ul>li:hover>.sub,
.main-nav>ul>li:focus-within>.sub{display:block}
.main-nav .sub a{
  display:block;
  padding:9px 22px;
  color:#333;
  font-size:16px;
  line-height:24px;
  text-decoration:none;
}
.main-nav .sub a:hover{color:var(--rot);background:#f4f4f4}

/* Die Siegel ragen unter den Kopfbereich; z-index hält sie über der Welle. */
.zertifikate{
  position:relative;
  z-index:10;
  flex:0 0 auto;
  display:flex;
  gap:9px;
  margin-bottom:-28px;
  transform:translateY(-8px);
}
.zertifikate img{width:auto;height:80px;display:block}

/* Burger */
.burger{
  display:none;
  flex:0 0 auto;
  margin-left:auto;
  width:46px;height:40px;
  padding:0;
  background:none;border:0;
  cursor:pointer;
  color:var(--dunkelrot);
}
.burger span{
  display:block;
  height:3px;
  margin:5px auto;
  width:28px;
  background:currentColor;
  border-radius:2px;
}

/* Drawer (mobil, fährt von rechts ein) */
/* Sichtbarkeit hängt am aria-expanded des Togglers; visibility statt display,
   damit das Einfahren per transform animiert werden kann. */
.drawer-backdrop{
  position:fixed;
  inset:0;
  z-index:900;
  width:100%;
  border:0;
  background:rgba(0,0,0,.55);
  opacity:0;
  visibility:hidden;
  transition:opacity .3s ease, visibility 0s linear .3s;
}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .drawer-backdrop{
    background:rgba(16,17,20,.42);
    -webkit-backdrop-filter:blur(7px) saturate(.9);
    backdrop-filter:blur(7px) saturate(.9);
  }
}
.drawer{
  position:fixed;
  top:0;right:0;bottom:0;
  z-index:1000;
  width:min(330px,86vw);
  padding:24px 22px 40px;
  background:var(--dunkel);
  color:#fff;
  overflow-y:auto;
  box-shadow:-18px 0 46px rgba(0,0,0,.45);
  transform:translateX(100%);
  visibility:hidden;
  transition:transform .34s cubic-bezier(.22,.61,.36,1), visibility 0s linear .34s;
}
.burger[aria-expanded="true"]~.drawer{
  transform:translateX(0);
  visibility:visible;
  transition:transform .34s cubic-bezier(.22,.61,.36,1), visibility 0s;
}
.burger[aria-expanded="true"]~.drawer-backdrop{
  opacity:1;
  visibility:visible;
  transition:opacity .3s ease, visibility 0s;
}
.drawer-close{
  position:absolute;
  top:14px;right:16px;
  width:36px;height:36px;
  padding:0;
  background:none;border:0;
  color:#fff;
  font-size:26px;
  line-height:1;
  cursor:pointer;
}
.drawer ul{margin:0;padding:0;list-style:none}
.drawer>ul{margin-top:28px}
.drawer a{
  display:block;
  padding:10px 0;
  color:#fff;
  font-size:16px;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.drawer a:hover{color:var(--hellrot)}
.drawer .sub{margin:0 0 6px 14px}
.drawer .sub a{font-size:14px;color:#d7d7d7;border-bottom-color:rgba(255,255,255,.07)}
.drawer .drawer-kontakt{margin-top:26px;font-size:14px;line-height:22px;color:#bdbdbd}
.drawer .drawer-kontakt a{display:inline;border:0;padding:0;color:#fff}

@media (prefers-reduced-motion:reduce){
  .drawer,
  .drawer-backdrop,
  .burger[aria-expanded="true"]~.drawer,
  .burger[aria-expanded="true"]~.drawer-backdrop{transition:none}
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position:relative;
  z-index:1;
  min-height:620px;
  padding:104px 0 92px;
  margin-top:-1px;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:#d9d9d9;
}
.hero-media{position:absolute;inset:0;z-index:0}
.hero-media img,
.hero-media .slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.hero::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:33.3333%;
  z-index:1;
  background:linear-gradient(to top,#ffffff 0%,rgba(255,255,255,0) 100%);
  pointer-events:none;
}
.hero .wrap{position:relative;z-index:2;display:flex;justify-content:flex-end}
.hero--mitte .wrap{justify-content:center}

/* CSS-Slideshow (ohne JS) */
.hero-media .slide{opacity:0;animation:heroFade 32s infinite}
.hero-media .slide:nth-child(1){animation-delay:0s}
.hero-media .slide:nth-child(2){animation-delay:8s}
.hero-media .slide:nth-child(3){animation-delay:16s}
.hero-media .slide:nth-child(4){animation-delay:24s}
@keyframes heroFade{
  0%{opacity:0}
  3%{opacity:1}
  25%{opacity:1}
  28%{opacity:0}
  100%{opacity:0}
}
@media (prefers-reduced-motion:reduce){
  .hero-media .slide{animation:none;opacity:0}
  .hero-media .slide:nth-child(1){opacity:1}
}

/* Die helle Box – mattierte Glasfläche über dem Bild */
.box{
  position:relative;
  z-index:1;
  width:585px;
  max-width:100%;
  padding:clamp(24px,2.4vw,34px) clamp(24px,2.6vw,38px) clamp(26px,2.6vw,36px);
  border:1px solid rgba(255,255,255,.75);
  border-radius:16px;
  background:rgba(255,255,255,.97);
  box-shadow:
    0 1px 2px rgba(0,0,0,.05),
    0 10px 24px rgba(0,0,0,.12),
    0 28px 60px rgba(0,0,0,.18);
  overflow:hidden;
}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .box{
    background:rgba(255,255,255,.93);
    -webkit-backdrop-filter:blur(12px) saturate(1.15);
    backdrop-filter:blur(12px) saturate(1.15);
  }
}
.box>*{position:relative;z-index:1}

/* Kurzer Markenakzent über der ersten Überschrift */
.box>:first-child::before{
  content:"";
  display:block;
  width:44px;
  height:3px;
  margin:0 0 14px;
  border-radius:2px;
  background:linear-gradient(to right,var(--hellrot),var(--dunkelrot));
}
.section--parallax .box>:first-child::before{margin-left:auto;margin-right:auto}

/* In der Box ohne Trennlinien, dafür luftiger */
.box .checkmark-bullets li{margin-bottom:9px;padding-bottom:0}
.box .checkmark-bullets li:last-child{margin-bottom:0}
.box .checkmark-bullets li::after{display:none}
.box h1 .sub{letter-spacing:.01em}
.box .btn{margin-top:26px}

/* ==========================================================================
   Abschnitte
   ========================================================================== */
.section{padding:60px 0;position:relative}
.section--eng{padding:40px 0}
.section--zentriert{text-align:center}
.section--hell{background:#f7f7f7}

.section--parallax{
  position:relative;
  padding:120px 0;
  background-color:#4a4a4a;
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
  background-attachment:fixed;
}
.section--parallax::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom,#ffffff 0%,rgba(255,255,255,0) 33%,rgba(255,255,255,0) 66%,#ffffff 100%);
  pointer-events:none;
}
.section--parallax>.wrap{position:relative;z-index:1}
.section--parallax .box{width:760px;max-width:100%;margin:0 auto;text-align:center}
@media (hover:none){
  .section--parallax{background-attachment:scroll}
}

.section--kopf{padding-top:110px}
.titel-zentriert{text-align:center;margin-bottom:34px}

/* Überschriften-Hilfsklassen (entsprechen hl-1 / hl-2 des Originals) */
.hl-1{font-size:32px;line-height:38px;font-weight:700;color:var(--dunkelrot)}
.hl-2{font-size:24px;line-height:30px;font-weight:700;color:var(--rot)}
.hl-gruen{color:#4a611c}

.inhalt{max-width:980px;margin:0 auto}

/* Raster */
.raster{display:grid;gap:var(--gap);align-items:stretch}
.raster--3{grid-template-columns:repeat(3,1fr)}
.raster--2{grid-template-columns:repeat(2,1fr)}
.raster--2-text{grid-template-columns:1fr 1fr;gap:50px;align-items:start}
.raster--bild-text{grid-template-columns:380px 1fr;gap:50px;align-items:center}
.raster--text-bild{grid-template-columns:1fr 1fr;gap:50px;align-items:center}

/* ==========================================================================
   Teaser-Karten
   ========================================================================== */
.teaser{
  position:relative;
  display:flex;
  flex-direction:column;
  height:100%;
  max-width:600px;
  margin:0 auto;
  padding-bottom:44px;
  border:1px solid rgba(0,0,0,.07);
  border-radius:16px;
  background:#ffffff;
  box-shadow:
    0 1px 2px rgba(0,0,0,.04),
    0 6px 16px rgba(0,0,0,.07);
  text-align:center;
  text-decoration:none;
  color:inherit;
  overflow:hidden;
  transition:transform .28s ease, box-shadow .28s ease;
}
.teaser:hover{
  text-decoration:none;
  transform:translateY(-5px);
  box-shadow:
    0 2px 4px rgba(0,0,0,.05),
    0 16px 34px rgba(0,0,0,.14);
}
.teaser::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:3px;
  background:linear-gradient(to right,rgba(92,19,14,0) 0%,rgba(92,19,14,1) 75%);
  transition:all .3s;
}
.teaser:hover::after{
  background:linear-gradient(to right,rgba(92,19,14,0) 0%,rgba(92,19,14,1) 25%);
}
.teaser-thumb{
  position:relative;
  display:block;
  overflow:hidden;
  background-color:var(--rot);
}
/* Weicher Übergang vom Bild in die Kartenfläche */
.teaser-thumb::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:38%;
  background:linear-gradient(to top,#ffffff 2%,rgba(255,255,255,0) 100%);
}
.teaser-thumb img{
  display:block;
  width:100%;
  height:auto;
  margin-top:-4%;
  transition:transform .4s ease, opacity .3s ease;
}
.teaser:hover .teaser-thumb img{transform:scale(1.06);opacity:.92}
.teaser h2{
  margin:2px 0 10px;
  padding:0 26px;
  color:var(--rot);
}
.teaser .excerpt{
  flex:1 1 auto;
  margin:0 0 4px;
  padding:0 26px;
  color:var(--text);
}

/* Eckiger Button unten rechts in der Karte */
.teaser-btn{
  position:absolute;
  right:-130px;bottom:0;
  display:block;
  width:100%;
  max-width:240px;
  height:40px;
  padding:10px 0 0 85px;
  background-image:url("../img/teaser-btn.svg");
  background-repeat:no-repeat;
  background-position:left bottom;
  background-size:auto 40px;
  color:#ffffff;
  text-align:center;
  text-transform:uppercase;
  font-style:italic;
  text-decoration:none;
  z-index:1;
  transition:all .2s;
}
.teaser-btn::after{
  content:"";
  position:absolute;
  left:75px;top:12px;
  width:18px;height:18px;
  background-image:url("../img/chevron.svg");
  background-repeat:no-repeat;
  background-position:left bottom;
  background-size:18px 18px;
  transition:all .2s;
}
.teaser:hover .teaser-btn,
.teaser-btn:hover{right:0}
.teaser:hover .teaser-btn::after,
.teaser-btn:hover::after{transform:scaleX(-1)}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  position:relative;
  display:inline-block;
  margin:23px 17px 3px 3px;
  padding:8px 20px 6px 50px;
  border:0;
  border-radius:19px 3px 19px 3px;
  background-color:var(--dunkel);
  color:#ffffff!important;
  font-family:inherit;
  font-size:15px;
  line-height:23px;
  font-style:italic;
  text-align:center;
  text-transform:uppercase;
  text-decoration:none;
  cursor:pointer;
}
.btn:hover{text-decoration:none}
.btn::before{
  content:"";
  position:absolute;
  top:-3px;left:-3px;right:-17px;bottom:-3px;
  border-radius:22px 6px 22px 6px;
  background:linear-gradient(to top,var(--dunkelrot) 0%,var(--hellrot) 100%);
  z-index:-1;
}
.btn::after{
  content:"";
  position:absolute;
  left:15px;top:9px;
  width:18px;height:18px;
  background-image:url("../img/chevron.svg");
  background-repeat:no-repeat;
  background-position:left bottom;
  background-size:18px 18px;
  transform:scaleX(-1);
  transition:all .2s;
}
.btn:hover::after{left:20px}
.btn-zeile{text-align:center}
.btn-zeile--links{text-align:left}
.raster--2-text .btn-zeile,
.inhalt .btn-zeile{margin:28px 0 0}
.section--parallax .box .btn-zeile{margin:30px 0 0;text-align:center}

/* ==========================================================================
   Haken-Listen
   ========================================================================== */
.checkmark-bullets{
  display:inline-block;
  margin:0;
  padding:0;
  list-style:none;
  text-align:left;
}
.checkmark-bullets li{
  position:relative;
  margin:0 0 2px;
  padding:0 0 6px 24px;
}
.checkmark-bullets li:last-child{margin-bottom:0;padding-bottom:0}
.checkmark-bullets li::before{
  content:"";
  position:absolute;
  left:0;top:4px;
  width:16px;height:16px;
  background-image:url("../img/checkmark.svg");
  background-repeat:no-repeat;
  background-position:center top;
  background-size:16px 16px;
}
.checkmark-bullets li::after{
  content:"";
  position:absolute;
  left:0;bottom:0;
  width:100%;height:1px;
  background-image:linear-gradient(to right,rgba(0,0,0,.1) 0%,rgba(0,0,0,0) 100%);
}
.checkmark-bullets li:last-child::after{display:none}
.checkmark-bullets a{color:var(--text);text-decoration:none}
.checkmark-bullets a:hover{color:var(--rot);text-decoration:underline}

/* ==========================================================================
   Akkordeon (FAQ)
   ========================================================================== */
/* Jede Frage als eigene Karte; die geöffnete bekommt links den Markenakzent */
.akkordeon{max-width:980px;margin:0 auto;display:grid;gap:12px}
.akkordeon-item{
  position:relative;
  border:1px solid rgba(0,0,0,.1);
  border-radius:14px;
  background:#ffffff;
  box-shadow:0 1px 2px rgba(0,0,0,.04),0 6px 16px rgba(0,0,0,.06);
  overflow:hidden;
  transition:box-shadow .2s ease, border-color .2s ease;
}
.akkordeon-item:hover{border-color:rgba(194,36,24,.28);box-shadow:0 6px 18px rgba(0,0,0,.08)}
.akkordeon-item::before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;
  width:4px;
  background:linear-gradient(to bottom,var(--hellrot),var(--dunkelrot));
  opacity:0;
  transition:opacity .2s ease;
}
.akkordeon-item:has(.akkordeon-btn[aria-expanded="true"])::before{opacity:1}
.akkordeon-kopf{margin:0}
.akkordeon-btn{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  width:100%;
  padding:18px 22px 18px 24px;
  background:none;
  border:0;
  color:var(--dunkelrot);
  font-family:inherit;
  font-size:16px;
  line-height:22px;
  font-weight:700;
  font-style:italic;
  text-transform:uppercase;
  text-align:left;
  cursor:pointer;
}
.akkordeon-btn::after{
  content:"";
  flex:0 0 30px;
  width:30px;height:30px;
  border-radius:50%;
  background:
    url("../img/chevron.svg") no-repeat center/12px 12px,
    linear-gradient(to top,var(--dunkelrot),var(--hellrot));
  transform:rotate(-90deg);
  transition:transform .25s ease;
}
.akkordeon-btn[aria-expanded="true"]::after{transform:rotate(90deg)}
.akkordeon-btn:hover{color:var(--rot)}
.akkordeon-panel{display:none;padding:0 24px 22px}
.akkordeon-panel p:last-child{margin-bottom:0}
.akkordeon-btn[aria-expanded="true"]+.akkordeon-panel,
.akkordeon-kopf:has(.akkordeon-btn[aria-expanded="true"])+.akkordeon-panel{display:block}

/* ==========================================================================
   Leistungsseiten: Leistungsumfang-Karte und Kontaktkarte
   ========================================================================== */
.lesbar{max-width:68ch}
/* Im Bild-Text-Raster traegt die Spalte selbst schon die Breitenbegrenzung */
.raster--bild-text .lesbar{max-width:none}

.leistungs-karte{
  padding:clamp(24px,2.4vw,32px) clamp(24px,2.6vw,34px);
  border:1px solid rgba(0,0,0,.07);
  border-radius:16px;
  background:#f7f7f7;
}
.leistungs-karte h2:not(.hl-1){
  margin-bottom:16px;
  font-size:18px;
  line-height:24px;
  color:var(--dunkelrot);
}
.leistungs-karte .checkmark-bullets{display:block}
.leistungs-karte .checkmark-bullets li{margin-bottom:10px;padding-bottom:0}
.leistungs-karte .checkmark-bullets li:last-child{margin-bottom:0}
.leistungs-karte .checkmark-bullets li::after{display:none}

.cta-karte{
  position:relative;
  padding:clamp(24px,2.4vw,32px) clamp(24px,2.6vw,34px);
  border-radius:16px;
  background:linear-gradient(145deg,#25282e 0%,var(--dunkel) 60%,#2d1310 100%);
  color:#d8dade;
  box-shadow:0 10px 28px rgba(0,0,0,.16);
}
.cta-karte h3{color:#ffffff;font-size:16px;line-height:22px}
.cta-karte h3+p{margin-bottom:20px}
.cta-karte a{color:#ffffff;text-decoration:underline;text-decoration-color:rgba(255,255,255,.35)}
.cta-karte a:hover{text-decoration-color:#ffffff}
.cta-karte .cta-telefon{
  font-size:20px;
  line-height:28px;
  font-weight:700;
  text-decoration:none;
}
.cta-karte .cta-telefon:hover{color:var(--hellrot)}
.cta-karte .btn{margin-top:16px;background-color:var(--rot)}
.cta-karte .btn::before{background:linear-gradient(to top,rgba(255,255,255,.18),rgba(255,255,255,.4))}
.cta-karte .btn:hover{background-color:var(--hellrot)}
.cta-karte p:last-child{margin-bottom:0}

/* ==========================================================================
   Leistungs-Chips (kompakte Linkliste)
   ========================================================================== */
.leistungs-chips{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin:0;
  padding:0;
  list-style:none;
  text-align:left;
}
.leistungs-chips a{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  height:100%;
  padding:15px 20px 15px 18px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  background:#ffffff;
  color:var(--text);
  text-decoration:none;
  transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.leistungs-chips a::before{
  content:"";
  flex:0 0 18px;
  width:18px;height:18px;
  background:url("../img/checkmark.svg") no-repeat center/16px 16px;
}
.leistungs-chips a:hover{
  border-color:rgba(194,36,24,.4);
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  transform:translateY(-2px);
  color:var(--rot);
  text-decoration:none;
}

/* ==========================================================================
   Kontakt: Angaben als Karte
   ========================================================================== */
.kontakt-karte{
  padding:clamp(26px,2.6vw,38px);
  border:1px solid rgba(0,0,0,.07);
  border-radius:16px;
  background:#ffffff;
  box-shadow:0 1px 2px rgba(0,0,0,.04),0 6px 16px rgba(0,0,0,.06);
}
.kontakt-karte .zeile{
  display:flex;
  gap:14px;
  align-items:flex-start;
  margin:0 0 18px;
}
.kontakt-karte .zeile:last-child{margin-bottom:0}
.kontakt-karte .zeile svg{
  flex:0 0 18px;
  width:18px;height:18px;
  margin-top:4px;
  fill:var(--rot);
}
.kontakt-karte .bezeichnung{
  display:block;
  margin-bottom:2px;
  font-size:12px;
  line-height:18px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#8a8a8a;
}
.kontakt-karte a{color:var(--text);text-decoration:none}
.kontakt-karte a:hover{color:var(--rot);text-decoration:underline}

/* ==========================================================================
   Abschluss-Aufruf
   ========================================================================== */
.aufruf{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:clamp(28px,3vw,44px) clamp(28px,3.2vw,48px);
  border-radius:18px;
  background:linear-gradient(135deg,#25282e 0%,var(--dunkel) 55%,#2d1310 100%);
  color:#d8dade;
}
.aufruf h2{margin:0 0 8px;color:#ffffff}
.aufruf p{margin:0;max-width:60ch}
.aufruf .btn{margin:0;background-color:var(--rot)}
.aufruf .btn::before{background:linear-gradient(to top,rgba(255,255,255,.18),rgba(255,255,255,.4))}
.aufruf .btn:hover{background-color:var(--hellrot)}
.aufruf .aufruf-text{flex:1 1 380px}
.aufruf .aufruf-aktion{display:flex;gap:14px;flex-wrap:wrap;align-items:center}

/* Raster */
.raster{display:grid;gap:var(--gap);align-items:stretch}
.raster--3{grid-template-columns:repeat(3,1fr)}
.raster--2{grid-template-columns:repeat(2,1fr)}
.raster--2-text{grid-template-columns:1fr 1fr;gap:50px;align-items:start}
.raster--bild-text{grid-template-columns:380px 1fr;gap:50px;align-items:center}
.raster--text-bild{grid-template-columns:1fr 1fr;gap:50px;align-items:center}

/* Parallax-Box: Überschriften mittig, Fließtext linksbündig lesbar */
.section--parallax .box{text-align:left}
.section--parallax .box h2{text-align:center}
.section--parallax .box h2+p{margin-top:4px}
.section--parallax .box h2:not(:first-child){margin-top:28px}

/* ==========================================================================
   Formular
   ========================================================================== */
.formular{max-width:100%}
.formular input[type="text"],
.formular input[type="email"],
.formular input[type="tel"],
.formular textarea{
  display:block;
  width:100%;
  margin-bottom:10px;
  padding:10px 14px;
  border:1px solid #d9d9d9;
  border-radius:3px;
  background:#ffffff;
  color:var(--text);
  font-family:inherit;
  font-size:15px;
  line-height:23px;
}
.formular textarea{min-height:120px;resize:vertical}
.formular input:focus,
.formular textarea:focus{outline:2px solid var(--rot);outline-offset:1px;border-color:var(--rot)}
.formular .zustimmung{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin:14px 0 10px;
  font-size:12px;
  line-height:18px;
}
.formular .zustimmung input{margin-top:3px;flex:0 0 auto}
.formular .hinweis{font-size:12px;line-height:18px}
.formular .pflicht{margin-top:10px;font-size:12px;line-height:18px}

/* ==========================================================================
   ProntoSite-Formular-Widget im Design der Seite
   Das Widget bringt eigene Regeln NACH main.css mit, darum ueber den
   data-ps-Container hoeher gewichtet.
   ========================================================================== */
[data-ps^="formular"] .ps-form{
  max-width:100%;
  /* Der weisse Widget-Hintergrund wuerde das Verlaufsband hinter der
     Senden-Schaltflaeche (z-index:-1) verdecken. */
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none;
}
[data-ps^="formular"] .ps-form-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:0 18px;
}
[data-ps^="formular"] .ps-form-field{margin:0 0 12px;grid-column:1 / -1}
[data-ps^="formular"] .ps-form-field.half{grid-column:auto}
[data-ps^="formular"] .ps-form-field>label{
  display:block;
  margin-bottom:5px;
  font-size:13px;
  line-height:19px;
  font-weight:400;
  color:#6e6e6e;
}
[data-ps^="formular"] .ps-form input[type="text"],
[data-ps^="formular"] .ps-form input[type="email"],
[data-ps^="formular"] .ps-form input[type="tel"],
[data-ps^="formular"] .ps-form select,
[data-ps^="formular"] .ps-form textarea{
  display:block;
  width:100%;
  padding:10px 14px;
  border:1px solid #d9d9d9;
  border-radius:3px;
  background:#ffffff;
  box-shadow:none;
  color:var(--text);
  font-family:inherit;
  font-size:15px;
  line-height:23px;
}
[data-ps^="formular"] .ps-form textarea{min-height:120px;resize:vertical}
[data-ps^="formular"] .ps-form input:focus,
[data-ps^="formular"] .ps-form select:focus,
[data-ps^="formular"] .ps-form textarea:focus{
  outline:2px solid var(--rot);
  outline-offset:1px;
  border-color:var(--rot);
}
[data-ps^="formular"] .ps-form-consent{margin-top:4px}
[data-ps^="formular"] .ps-form-opt{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin:0;
  font-size:12px;
  line-height:18px;
  color:var(--text);
}
[data-ps^="formular"] .ps-form-opt input[type="checkbox"]{
  flex:0 0 auto;
  width:auto;
  margin-top:3px;
  padding:0;
}

/* Senden-Schaltflaeche in der Optik von .btn */
[data-ps^="formular"] .ps-form button[type="submit"]{
  /* Ohne appearance:none zeichnet der Browser den Button als natives
     Steuerelement; das ::before-Band landet dann nicht dahinter. */
  -webkit-appearance:none;
  appearance:none;
  position:relative;
  display:inline-block;
  width:auto;
  margin:18px 17px 3px 3px;
  padding:8px 20px 6px 50px;
  border:0;
  border-radius:19px 3px 19px 3px;
  background-color:var(--dunkel);
  color:#ffffff;
  font-family:inherit;
  font-size:15px;
  line-height:23px;
  font-style:italic;
  text-align:center;
  text-transform:uppercase;
  cursor:pointer;
}
[data-ps^="formular"] .ps-form button[type="submit"]::before{
  content:"";
  position:absolute;
  top:-3px;left:-3px;right:-17px;bottom:-3px;
  border-radius:22px 6px 22px 6px;
  background:linear-gradient(to top,var(--dunkelrot) 0%,var(--hellrot) 100%);
  z-index:-1;
}
[data-ps^="formular"] .ps-form button[type="submit"]::after{
  content:"";
  position:absolute;
  left:15px;top:9px;
  width:18px;height:18px;
  background:url("../img/chevron.svg") no-repeat left bottom/18px 18px;
  transform:scaleX(-1);
  transition:all .2s;
}
[data-ps^="formular"] .ps-form button[type="submit"]:hover::after{left:20px}

/* Sendezustand: Chevron wird zum Ladekreis */
[data-ps^="formular"] .ps-form button[type="submit"][aria-busy="true"]{
  cursor:progress;
}
[data-ps^="formular"] .ps-form button[type="submit"][aria-busy="true"]::after{
  left:18px;
  top:11px;
  width:16px;
  height:16px;
  background:none;
  border:2px solid rgba(255,255,255,.35);
  border-top-color:#ffffff;
  border-radius:50%;
  transform:none;
  animation:ladekreis .7s linear infinite;
}
@keyframes ladekreis{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){
  [data-ps^="formular"] .ps-form button[type="submit"][aria-busy="true"]::after{
    animation:none;
  }
}

/* ==========================================================================
   Fußbereich
   ========================================================================== */
.footer{
  position:relative;
  z-index:2;
  /* Freiraum für die Wellenkontur, die über dem Footer sitzt (padding-top:5%) */
  margin-top:5vw;
  padding:clamp(54px,6vw,92px) 0 0;
  background:var(--dunkel);
  color:#b9bcc2;
}
.footer::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:100%;
  padding-top:5%;
  background-image:url("../img/welle-footer.svg");
  background-repeat:no-repeat;
  background-position:left top;
  background-size:100% 100%;
  pointer-events:none;
}
.footer-raster{
  display:grid;
  grid-template-columns:1fr 1fr 1.25fr auto;
  gap:clamp(28px,4vw,64px);
  padding-bottom:clamp(40px,5vw,64px);
}

/* Spaltenüberschriften: ruhig, gesperrt, mit kurzer Markenlinie */
.footer h2{
  margin:0 0 18px;
  color:#ffffff;
  font-size:12px;
  line-height:18px;
  font-weight:700;
  font-style:normal;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.footer h2::after{
  content:"";
  display:block;
  width:26px;
  height:2px;
  margin-top:10px;
  background:var(--hellrot);
}

.footer ul{margin:0;padding:0;list-style:none}
.footer-liste li{margin:0}
.footer-liste a{
  position:relative;
  display:block;
  padding:7px 0 7px 16px;
  color:#b9bcc2;
  font-size:15px;
  line-height:22px;
  text-decoration:none;
  transition:color .2s ease, padding-left .2s ease;
}
.footer-liste a::before{
  content:"";
  position:absolute;
  left:0;top:50%;
  width:7px;height:7px;
  margin-top:-3px;
  border-right:2px solid var(--hellrot);
  border-bottom:2px solid var(--hellrot);
  transform:rotate(-45deg);
  opacity:.45;
  transition:opacity .2s ease, transform .2s ease;
}
.footer-liste a:hover{color:#ffffff;padding-left:22px;text-decoration:none}
.footer-liste a:hover::before{opacity:1;transform:rotate(-45deg) translate(2px,2px)}

/* Kontaktspalte */
.footer-kontakt address{font-style:normal}
.footer-kontakt .zeile{
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin:0 0 14px;
  font-size:15px;
  line-height:23px;
}
.footer-kontakt .zeile:last-child{margin-bottom:0}
.footer-kontakt .zeile svg{
  flex:0 0 16px;
  width:16px;height:16px;
  margin-top:4px;
  fill:var(--hellrot);
}
.footer a{color:#ffffff;text-decoration:none}
.footer a:hover{color:var(--hellrot)}
.footer-kontakt .zeile a{color:#b9bcc2}
.footer-kontakt .zeile a:hover{color:#ffffff}

.footer-siegel{display:flex;align-items:flex-start;justify-content:flex-end}
.footer-siegel img{width:auto;max-height:150px}

.footer-unten{
  border-top:1px solid rgba(255,255,255,.09);
  padding:22px 0 26px;
  font-size:13px;
  line-height:20px;
  color:#7e828a;
}
.footer-unten .wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.footer-unten ul{display:flex;gap:22px;flex-wrap:wrap}
.footer-unten a{color:#7e828a}
.footer-unten a:hover{color:#ffffff}

/* ==========================================================================
   Rechtstexte (ProntoSite-Marker)
   ========================================================================== */
.rechtstext{padding:110px 0 80px}
.rechtstext h1{max-width:900px;margin:0 auto 30px}
.rechtstext .inhalt{max-width:900px}
.rechtstext .inhalt h2,
.rechtstext .inhalt h3{margin-top:28px}

/* ==========================================================================
   404 / Danke
   ========================================================================== */
.meldung{padding:110px 0 110px;text-align:center}

/* Karte in derselben Sprache wie Hero- und Leistungskarten */
.meldung-karte{
  max-width:640px;
  margin:0 auto;
  padding:clamp(30px,3vw,46px) clamp(24px,3vw,46px) clamp(32px,3vw,46px);
  border:1px solid rgba(0,0,0,.07);
  border-radius:16px;
  background:#ffffff;
  box-shadow:0 1px 2px rgba(0,0,0,.04),0 10px 28px rgba(0,0,0,.08);
}
.meldung-karte::before{
  content:"";
  display:block;
  width:44px;
  height:3px;
  margin:0 auto 20px;
  border-radius:2px;
  background:linear-gradient(to right,var(--hellrot),var(--dunkelrot));
}
.meldung-karte>:last-child{margin-bottom:0}
.meldung-karte .btn{margin-top:20px}
.meldung .nummer{
  font-size:96px;
  line-height:1;
  font-weight:900;
  font-style:italic;
  color:var(--dunkelrot);
  margin-bottom:10px;
}

/* ==========================================================================
   Responsiv
   ========================================================================== */
@media screen and (max-width:1200px){
  .raster--bild-text{grid-template-columns:300px 1fr;gap:34px}
  .hero{min-height:540px}
}

@media screen and (max-width:990px){
  .main-nav{display:none}
  .burger{display:block}
  .zertifikate{order:3;margin-bottom:-14px;transform:translateY(-6px)}
  .zertifikate img{height:70px}
  .branding img{width:190px}
  /* Bildband oben, die Hero-Karte ueberlappt die Kante zum Inhalt */
  .hero{display:block;min-height:0;padding:0 0 12px;overflow:visible;background:transparent}
  .hero-media{position:relative;height:340px}
  .hero::after{display:none}
  .hero-media::after{
    content:"";
    position:absolute;
    left:0;right:0;bottom:0;
    height:38%;
    z-index:1;
    background:linear-gradient(to top,#ffffff 0%,rgba(255,255,255,0) 100%);
    pointer-events:none;
  }
  .hero .wrap{display:block;margin-top:-72px}
  .box{width:100%}
  .raster--3{grid-template-columns:1fr 1fr}
  .raster--2-text,
  .raster--text-bild{grid-template-columns:1fr;gap:30px}
  .raster--bild-text{grid-template-columns:1fr;gap:24px;justify-items:center;text-align:left}
  .footer-raster{grid-template-columns:1fr 1fr;gap:34px}
  .leistungs-chips{grid-template-columns:repeat(2,1fr)}
  .footer-siegel{justify-content:flex-start}
  .section--parallax{padding:90px 0}
}

@media screen and (max-width:800px){
  h1{font-size:26px;line-height:32px}
  h2{font-size:20px;line-height:26px}
  h3{font-size:16px;line-height:22px}
  h1 .sub{font-size:16px;line-height:22px}
  .hl-1{font-size:26px;line-height:32px}
  .hl-2{font-size:20px;line-height:26px}
}

@media screen and (max-width:767px){
  .leistungs-chips{grid-template-columns:1fr}
  .aufruf{flex-direction:column;align-items:flex-start;gap:20px}
  .aufruf .aufruf-text{flex-basis:auto}
  .aufruf .aufruf-aktion{flex-direction:column;align-items:stretch}
  .aufruf .btn{margin-right:17px}
  .top-bar .wrap{justify-content:center;gap:16px;flex-wrap:wrap;font-size:12px}
  .header-main{min-height:72px;gap:12px}
  .branding{transform:translateY(-4px)}
  .branding .logo-desktop{display:none}
  .branding .logo-mobile{display:block;width:138px}
  .zertifikate{margin-bottom:-6px;transform:translateY(-4px)}
  .zertifikate img{height:56px}
  .hero-media{height:272px}
  .hero .wrap{margin-top:-58px}
  .box{padding:24px 22px 26px;border-radius:14px}
  .section{padding:40px 0}
  .section--parallax{padding:70px 0}
  .raster--3{grid-template-columns:1fr}
  .footer-raster{grid-template-columns:1fr;gap:30px}
  .footer{padding-top:44px;margin-top:9vw}
  .footer-unten .wrap{justify-content:flex-start}
  .teaser-btn{right:0}
  .meldung .nummer{font-size:70px}
}

@media screen and (max-width:420px){
  .zertifikate{display:none}
}
