:root{
  --navy:#183E5A;
  --accent:#B89B5E;
  --offwhite:#F7F5EF;
  --surface:#FFFFFF;
  --border:#E8E5DC;
  --text:#0F1720;
  --muted:#5B6572;
  --shadow: 0 18px 40px rgba(15,23,32,.12);
  --shadow-soft: 0 10px 30px rgba(15,23,32,.08);
  --r-lg:32px;
  --r-md:18px;
  --r-pill:999px;
  --container: 1240px;
}
*{box-sizing:border-box}
html,body{height:auto; overflow-x:hidden}
html{-webkit-text-size-adjust:100%; text-size-adjust:100%;}
body{
  margin:0;
  width:100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color:var(--text);
  font-size:18px;
  background: #fff;
  font-family:"DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.7;
}
a{color:inherit; text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%; height:auto; display:block}

.container{max-width:var(--container); margin:0 auto; padding:0 24px; width:100%}
.center{text-align:center}

.skip{position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden}
.skip:focus{left:16px; top:16px; width:auto; height:auto; padding:10px 12px; background:#fff; border:1px solid var(--border); border-radius:12px; z-index:1000}

.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.88);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid rgba(232,229,220,.7);
}
.header-inner{display:flex; align-items:center; justify-content:space-between; gap:18px; padding:16px 24px}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-family:"Cormorant Garamond", serif;
  letter-spacing:.14em;
  font-weight:600;
  font-size:18px;
  text-decoration:none;
}
	  
.brand-logo{
  width:28px;
  height:28px;
  object-fit:contain;
  display:block;
  transform: translateY(-.5px);
}
.nav{display:flex; gap:22px; align-items:center}
.nav a{font-size:16px; color:rgba(15,23,32,.86)}
.header-cta{display:flex; align-items:center; gap:12px}
.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border:1px solid var(--border);
  background:#fff;
  border-radius:14px;
  cursor:pointer;
  position:relative;
  padding:0;
  font-size:0;          /* Text ausblenden */
  line-height:0;
}

/* 3 Streifen */
.nav-toggle::before,
.nav-toggle::after{
  content:"";
  position:absolute;
  left:12px;
  right:12px;
  height:2px;
  background:rgba(15,23,32,.70);
  border-radius:2px;
}

.nav-toggle::before{ top:15px; box-shadow: 0 7px 0 rgba(15,23,32,.70); }
.nav-toggle::after{ top:29px; }

.mobile-nav{border-top:1px solid var(--border); background:#fff}
.mobile-nav-inner{display:grid; gap:10px; padding:16px 24px}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:16px 26px;
  border-radius:var(--r-pill);
  border:1px solid transparent;
  font-weight:600;
  font-size:16px;
  text-decoration:none !important;
}
.btn-primary{background:var(--navy); color:#fff; box-shadow:var(--shadow)}
.btn-primary{ border-radius:14px; }
.btn-primary:hover{filter:brightness(.98)}
.btn-secondary{background:transparent; border-color:var(--border); color:var(--navy)}

.link{display:inline-flex; align-items:center; gap:8px; font-weight:600; color:rgba(15,23,32,.72)}

.caps{
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:600;
  font-size:12px;
  color:rgba(15,23,32,.62);
}
.caps.small{font-size:12px; letter-spacing:.10em}

.h1, .h2, .h3{
  font-family:"Cormorant Garamond", serif;
  margin:0 0 14px 0;
  line-height:1.08;
}
.h1{font-size:76px; font-weight:600; letter-spacing:-.01em}
.h2{font-size:54px; font-weight:600}
.h2.center{text-align:center}
.h3{font-size:28px; font-weight:600; line-height:1.12}

.accent{color:var(--accent); font-style:italic; font-weight:500}
.lead{font-size:20px; color:rgba(15,23,32,.74); max-width:54ch; margin:0 0 22px 0}
.muted{color:var(--muted)}

.section{padding:110px 0}
.section-offwhite{background:var(--offwhite)}
.section-dark{background:linear-gradient(180deg, #0C1522 0%, #0B1320 100%); color:#fff}
.section-dark .muted{color:rgba(255,255,255,.70)}
.section-dark .caps{color:rgba(255,255,255,.62)}
.section-dark .h2{color:#fff}
.section-dark .link{color: var(--accent);}
.section-dark .link:hover{filter: brightness(1.06);}
.card-dark .link{color: var(--accent);}
.card-dark .link:hover{filter: brightness(1.06);}

.fineprint{
  margin: -8px 0 18px 0;   /* zieht es optisch näher an die Subline */
  font-size:14px;
  line-height:1.5;
  color:rgba(15,23,32,.56);
}

.hero{padding:90px 0 70px 0}
.hero-grid{display:grid; grid-template-columns: 1.05fr .95fr; gap:44px; align-items:center}
.hero-actions{display:flex; flex-wrap:wrap; gap:14px; align-items:center; margin:18px 0 18px 0}
.trust{display:flex; gap:22px; padding:0; margin:18px 0 0 0; list-style:none; color:rgba(15,23,32,.58); font-weight:600; font-size:14px}
.trust li{position:relative; padding-left:16px}
.trust li::before{content:"•"; position:absolute; left:0; color:rgba(15,23,32,.35)}

.hero-image{position:relative}
.hero-image img{border-radius:var(--r-lg); box-shadow:var(--shadow-soft)}
.hero .pill-label{ margin-bottom:20px; }
.quote-card{
  position:absolute;
  left:18px;
  bottom:18px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--r-md);
  padding:14px 16px;
  max-width:340px;
  box-shadow:var(--shadow);
}

/* Praxis (hell/freundlich) */
.hero-praxis{
  background: radial-gradient(1200px 500px at 20% 10%, rgba(184,155,94,.14), transparent 60%),
              radial-gradient(900px 520px at 80% 20%, rgba(24,62,90,.10), transparent 55%);
}
.hero-image-bright img{
  border-radius: var(--r-lg);
  box-shadow: 0 18px 45px rgba(15,23,32,.10);
}
.quote-card-soft{
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
}
.card-soft{
  background: rgba(255,255,255,.72);
  border-color: rgba(232,229,220,.95);
  box-shadow: 0 12px 30px rgba(15,23,32,.06);
}
.praxis-gallery{
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-item{
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(232,229,220,.95);
  box-shadow: 0 14px 30px rgba(15,23,32,.06);
}
.gallery-item img{
  width: 100%;
  height: 220px;
  object-fit: cover;
}
@media (max-width: 980px){
  .praxis-gallery{ grid-template-columns: 1fr; }
  .gallery-item img{ height: 220px; }
}
	  
.pill-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 18px;
  border:1px solid var(--border);
  border-radius:999px;
  background:rgba(255,255,255,.55);
  /* box-shadow: 0 6px 18px rgba(15,23,32,.06); */
  text-transform:uppercase;
  letter-spacing:.14em;
  font-weight:600;
  font-size:12px;
  color:rgba(15,23,32,.62);
}	  
	 
.quote{margin:0; font-family:"Cormorant Garamond", serif; font-style:italic; font-size:18px; line-height:1.25}

.grid-3{display:grid; grid-template-columns:repeat(3, 1fr); gap:34px}
.grid-4{display:grid; grid-template-columns:repeat(4, 1fr); gap:22px}

.why .num{font-family:"Cormorant Garamond", serif; color:var(--accent); font-size:42px; margin-bottom:10px}
.why p{margin:10px 0 0 0; color:rgba(15,23,32,.72)}

.section-head{display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:28px}
.section-head p{margin:0; max-width:56ch}

.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:24px;
  padding:26px 22px;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
.card p{margin:10px 0 0 0; color:rgba(15,23,32,.70)}
.card-dark{background:var(--navy); color:#fff; border-color:rgba(255,255,255,.08); box-shadow:var(--shadow)}
.card-dark p{color:rgba(255,255,255,.76)}
.card-dark .caps{
  color: rgba(255,255,255,.68);
}
	  
.testimonials blockquote{margin:14px 0 12px 0; font-family:"Cormorant Garamond", serif; font-style:italic; font-size:24px; line-height:1.22}
.testimonial{padding:22px 0}
.stars{color:var(--accent); letter-spacing:.14em; font-size:16px}

.two-col{display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start}

.bullets{margin:18px 0 0 0; padding-left:18px}

/* Bullets werden auch auf hellen Sektionen genutzt -> Standard dunkel lesbar */
.bullets li{margin:10px 0; color:rgba(15,23,32,.78)}

/* Wenn Bullets innerhalb einer dunklen Section stehen, dann hell */
.section-dark .bullets li{color:rgba(255,255,255,.78)}


.card-glass{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:28px;
  padding:28px;
}
.card-glass .btn{margin-top:14px}

.praxis-card{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:34px;
  align-items:center;
  background:rgba(255,255,255,.55);
  border:1px solid var(--border);
  border-radius:34px;
  padding:34px;
}
.praxis-img img{border-radius:28px; box-shadow:var(--shadow-soft)}

.footer{padding:34px 0; border-top:1px solid var(--border); background:#fff}
.footer-inner{display:flex; align-items:center; justify-content:space-between; gap:14px; font-size:14px}
.footer-links{display:flex; gap:18px}
.footer a{color:rgba(15,23,32,.72)}

@media (max-width: 980px){
  .nav{display:none}
  .nav-toggle{display:inline-flex}
  .nav-toggle{
  border:0;
  background:transparent;
  box-shadow:none;
  border-radius:0;
  width:40px;
  height:40px;
}

  /* Generic: 2-spaltige Grids auf Mobile stapeln */
  .grid-2{ grid-template-columns: 1fr !important; }

.nav-toggle::before,
.nav-toggle::after{
  left:8px;
  right:8px;
}

  /* Footer: alles zentriert übereinander */
  .footer-inner{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-links{
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  /* HERO: Default auf Mobile */
  .hero{
    padding: 40px 0 40px 0;
  }
  .hero-grid{
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: center;
  }

  /* HERO (nur Wendekreis): vertikal in den sichtbaren Bereich einpassen */
  .hero-wendekreis{
    /* iPhone 15: sticky header ist i.d.R. näher an ~96px inkl. Border */
    min-height: calc(100svh - 96px);
    min-height: calc(100vh - 96px);
    display: flex;
    align-items: center;
  }
  .hero-wendekreis > .hero-grid{
    width: 100%;
  }
  .hero-wendekreis .pill-label{margin-bottom: 14px;}
  .hero-wendekreis .lead{margin-bottom: 16px;}
  .hero-wendekreis .trust{margin-top: 14px;}
  .hero-wendekreis .fineprint{margin-top: 10px;}
  .hero-copy{
    text-align: center;
    margin-inline: auto;
    max-width: 46rem;
  }
  .lead{
    margin-left: auto;
    margin-right: auto;
  }
  .pill-label{
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions{
    justify-content:center;
    flex-direction:column;
  }

  .hero-actions .btn{
    width:100%;
    max-width:360px;
  }

  .hero-actions .link{
    justify-content:center;
  }

  .trust{
    justify-content:center;
    flex-wrap: wrap;
  }

  /* Schriften/Spacing */
  .h1{font-size:52px}

  /* Wendekreis: Headline etwas flexibler, damit nichts "unten raus" drueckt */
  .hero-wendekreis .h1{
    font-size: clamp(40px, 9.2vw, 52px);
    line-height: 1.03;
  }
  .h2{font-size:40px}
  .grid-3{grid-template-columns:1fr; gap:22px}
  .grid-4{grid-template-columns:1fr; gap:16px}
  .section{padding:76px 0}
  .two-col{grid-template-columns:1fr}
  .praxis-card{grid-template-columns:1fr; padding:22px}
  .section-head{flex-direction:column; align-items:flex-start}
  .brand-logo{width:24px; height:24px}
  .header-cta .btn-primary{display:none}
}
	  
/* FAQ */
.faq{display:grid; gap:12px; margin-top:18px}
.faq-item{
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:14px 16px;
}
.faq-item summary{
  cursor:pointer;
  font-weight:700;
  list-style:none;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-body{padding-top:10px}



	
/* Cookie/Consent Banner – Premium Bottom Sheet */
.consent{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
}

.consent-inner{
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  padding: 18px 18px;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border: 1px solid rgba(232,229,220,.9);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.consent-title{
  font-weight: 700;
  letter-spacing: .02em;
}

.consent-desc{
  color: rgba(15,23,32,.72);
  font-size: 15px;
  line-height: 1.35;
  margin-top: 2px;
}

.consent-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Consent settings panel (minimal styles; matches tokens) */
.consent-settings{ width:100%; }
.consent-settings-inner{ margin-top:12px; padding:14px 14px; border:1px solid rgba(232,229,220,.85); border-radius:16px; background:rgba(255,255,255,.06); }
.consent-setting-row{ display:flex; gap:16px; align-items:center; justify-content:space-between; }
.consent-setting-title{ font-weight:600; color:rgba(15,23,32,.92); }
.consent-setting-desc{ margin-top:4px; font-size:.95rem; color:rgba(15,23,32,.72); }

.switch{ position:relative; display:inline-block; width:46px; height:28px; flex:0 0 auto; }
.switch input{ opacity:0; width:0; height:0; }
.switch .slider{ position:absolute; cursor:pointer; inset:0; background:rgba(15,23,32,.08); border:1px solid rgba(232,229,220,.9); transition:.2s; border-radius:999px; }
.switch .slider:before{ content:""; position:absolute; height:22px; width:22px; left:3px; top:50%; transform:translateY(-50%); background:#fff; transition:.2s; border-radius:50%; box-shadow:0 10px 22px rgba(15,23,32,.18); }
.switch input:checked + .slider{ background:rgba(184,155,94,.22); border-color:rgba(184,155,94,.55); }
.switch input:checked + .slider:before{ transform:translate(18px,-50%); }

@media (max-width: 520px){
  .consent-setting-row{ flex-direction:column; align-items:flex-start; }
}

/* Mobile: Buttons untereinander */
@media (max-width: 980px){
  .consent{ left: 12px; right: 12px; bottom: 12px; }
  .consent-inner{ flex-direction: column; align-items: stretch; }
  .consent-actions .btn{ width: 100%; }
}

/* iOS: hidden muss wirklich aus dem Layout raus, sonst blockt ein unsichtbares Overlay Scroll */
.mobile-nav[hidden] {
  display: none !important;
}

/* iOS: sicherstellen, dass das Dokument wirklich scrollen darf */
html, body { overflow-y: auto !important; }
main { overflow: visible !important; }

/* iOS: verhindert Subpixel-Drift bei sticky + backdrop-filter */
.site-header { left: 0; right: 0; }

/* verhindert, dass irgendwas Breite > viewport erzeugt */
body { max-width: 100vw; }

/* Debug/Test: falls Consent eine unsichtbare Touch-Sperre verursacht */
/* WICHTIG: nur verwenden, wenn der Banner wirklich "klickt" aber nicht reagiert.
   Sonst kann das den Banner/Buttons kaputt machen. */
/* .consent { pointer-events: none; }
.consent-inner { pointer-events: auto; } */

/* Praxis-Hero Shift (iOS Safari): Wenn NUR der Hero "nach rechts" wandert,
   ist es fast immer ein Viewport-/100vw-Thema (Safari rechnet 100vw inkl. UI) oder
   ein Element, das sich auf 100vw/100% plus Padding addiert.
   Fix: Hero strikt an den Viewport binden und Container-Padding neutralisieren. */
.hero-praxis{ overflow-x:hidden; }

/* Auf iOS kann 100vw breiter als der sichtbare Bereich sein -> 100% bevorzugen */
.hero-praxis .hero-grid{
  width: 100%;
  max-width: 100%;
}

/* Container innerhalb Hero: verhindert, dass Padding + Grid zu "optischem" Shift führt */
.hero-praxis .container{
  padding-left: 24px;
  padding-right: 24px;
  margin-left: auto;
  margin-right: auto;
  max-width: var(--container);
}

/* Grid-Kinder dürfen schrumpfen (gegen max-content Overflow) */
.hero-praxis .hero-copy,
.hero-praxis .hero-media{ min-width: 0; }

/* Letztes Mittel: wenn irgendwo 100vw steckt, neutralisieren wir es im Hero */
.hero-praxis [style*="vw"],
.hero-praxis *{
  max-width: 100%;
}

/* iOS Safe-Area: verhindert "optischen" Versatz durch inset-Berechnungen */
@supports (padding: max(0px)){
  .hero-praxis .container{
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
  }
}
/* Praxis: VFP Badge im Abschnitt "Rahmen & Honorar" (präsenter, aber seriös) */
.vfp-badge{
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(232,229,220,.95);
  border-radius: 18px;
  background: rgba(255,255,255,.65);
  text-decoration: none !important;
  width: fit-content;
}
.vfp-badge:hover{
  box-shadow: 0 12px 28px rgba(15,23,32,.08);
}
.vfp-badge__text{
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(15,23,32,.70);
  white-space: nowrap;
}
.vfp-badge__logo{
  height: 46px;
  width: auto;
  display: block;
  opacity: .95;
}
/* CTA-Kontrast: Buttons auf dunklen Cards/Sections klar abheben */
.card-dark .btn-primary,
.section-dark .btn-primary{
  background:#fff;
  color:var(--navy);
  border-color:rgba(255,255,255,.18);
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
}
.card-dark .btn-primary:hover,
.section-dark .btn-primary:hover{
  filter: brightness(.98);
}

	  
	  
/* Kontakt: Premium Status-/Success-Box */
.status{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:18px 18px;
  border-radius:22px;
  border:1px solid rgba(232,229,220,.95);
  background: rgba(255,255,255,.72);
  box-shadow: 0 14px 34px rgba(15,23,32,.08);
}

/* Wenn #statusBox hidden ist, darf wirklich nichts sichtbar sein (iOS/Safari quirks) */
#statusBox[hidden]{
  display:none !important;
}

/* Form-Fehlerbox: bei hidden ebenfalls wirklich ausblenden */
#formError[hidden]{
  display:none !important;
}
.status-icon{
  width:44px;
  height:44px;
  border-radius:14px;
  flex:0 0 44px;
  border:1px solid rgba(232,229,220,.95);
  background: rgba(255,255,255,.85);
  position:relative;
}
.status-title{
  font-weight:700;
  letter-spacing:.01em;
}
.status-text{
  margin-top:4px;
  color: rgba(15,23,32,.72);
}
.status-actions{ margin-top:12px; }

.status-ok{
  border-color: rgba(34,197,94,.55); /* gruen */
  box-shadow: 0 14px 34px rgba(15,23,32,.08), 0 0 0 4px rgba(34,197,94,.12);
}
.status-ok .status-icon{ border-color: rgba(34,197,94,.45); }
.status-ok .status-icon::before{
  content:"";
  position:absolute;
  left:14px;
  top:14px;
  width:14px;
  height:8px;
  border-left:3px solid var(--navy);
  border-bottom:3px solid var(--navy);
  transform: rotate(-45deg);
}

.status-warn{ border-color: rgba(24,62,90,.22); }
.status-warn .status-icon::before{
  content:"!";
  position:absolute;
  left:0; right:0;
  top:0; bottom:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  color: var(--navy);
}

@media (max-width: 980px){
  .status{ padding:16px; }
  .status-icon{ width:40px; height:40px; border-radius:12px; flex-basis:40px; }
}
