:root{
  --cream:#F7EFE3;
  --cream-soft:#FBF6EC;
  --white:#FFFDF8;
  --ink:#2A2721;
  --ink-soft:#5B5645;
  --olive-deep:#57603F;
  --olive:#7C8A5C;
  --olive-light:#A3AB79;
  --olive-pale:#E9E7D4;
  --line: rgba(42,39,33,0.13);
  --shadow: 0 24px 60px -30px rgba(42,39,33,0.35);
  --maxw: 1180px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important;}
}

body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,.serif{
  font-family:'Fraunces', Georgia, serif;
  font-weight:500;
  line-height:1.12;
  margin:0;
  letter-spacing:-0.01em;
  color:var(--ink);
}

em.acc{ font-style:italic; color:var(--olive-deep); font-weight:400; }

p{ margin:0; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 clamp(20px,4vw,56px); }

.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-size:0.72rem; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--olive-deep); font-weight:600; margin-bottom:18px;
}
.eyebrow::before{ content:""; width:26px; height:1px; background:var(--olive-deep); display:inline-block; }

/* ---------- NAV ---------- */
header.site-nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  padding:16px 0;
  background:rgba(247,239,227,0);
  border-bottom:1px solid rgba(42,39,33,0);
  transition:background .35s ease, border-color .35s ease, padding .35s ease;
}
header.site-nav.scrolled{
  background:rgba(247,239,227,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  padding:10px 0;
}
header.site-nav.solid{
  background:rgba(247,239,227,0.96);
  border-bottom:1px solid var(--line);
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand{ display:flex; align-items:center; }
.brand img{ height:34px; width:auto; }
nav.links{ display:flex; align-items:center; gap:36px; }
nav.links a{
  font-size:0.9rem; color:var(--ink-soft); font-weight:500;
  position:relative; padding:4px 0;
}
nav.links a:hover{ color:var(--ink); }
nav.links a::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:1px;
  background:var(--olive-deep); transform:scaleX(0); transform-origin:left;
  transition:transform .25s ease;
}
nav.links a:hover::after{ transform:scaleX(1); }
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:12px 24px; border-radius:2px;
  font-size:0.86rem; font-weight:600; letter-spacing:0.01em;
  border:1px solid var(--olive-deep);
  transition:all .25s ease;
  white-space:nowrap; cursor:pointer;
}
.btn-primary{ background:var(--olive-deep); color:var(--white); }
.btn-primary:hover{ background:var(--ink); border-color:var(--ink); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn-ghost:hover{ border-color:var(--olive-deep); color:var(--olive-deep); }
.nav-cta{ display:none; }
@media (min-width:900px){ .nav-cta{ display:inline-flex; } }

.menu-toggle{
  display:flex; background:none; border:none; cursor:pointer; padding:8px;
}
.menu-toggle span{ display:block; width:22px; height:1px; background:var(--ink); margin:5px 0; transition:.25s; }
@media (min-width:900px){ .menu-toggle{ display:none; } }
@media (max-width:899px){ nav.links{ display:none; } }

/* ---------- HERO ---------- */
.hero{
  position:relative;
  padding:168px 0 96px;
  overflow:hidden;
}
.hero-grid{
  display:grid; grid-template-columns:1.05fr 0.95fr; gap:clamp(32px,5vw,72px);
  align-items:center;
}
@media (max-width:900px){ .hero-grid{ grid-template-columns:1fr; } .hero{ padding:140px 0 64px; } }

.hero h1{
  font-size:clamp(2.3rem, 4.4vw, 3.55rem);
  max-width:16ch;
}
.hero-sub{
  margin-top:24px; max-width:46ch;
  color:var(--ink-soft); font-size:1.08rem;
}
.hero-ctas{ display:flex; flex-wrap:wrap; gap:16px; margin-top:36px; }
.hero-trust{
  margin-top:40px; padding-top:28px; border-top:1px solid var(--line);
  display:flex; flex-wrap:wrap; gap:28px;
  font-size:0.82rem; color:var(--ink-soft); letter-spacing:0.02em;
}
.hero-trust span{ display:flex; align-items:center; gap:8px; }
.hero-trust svg{ width:14px; height:14px; stroke:var(--olive-deep); flex:none; }

.hero-portrait{
  position:relative; justify-self:center;
  width:min(100%, 380px);
}
.portrait-frame{
  position:relative; border-radius:4px 4px 140px 4px;
  overflow:hidden; box-shadow:var(--shadow);
  border:1px solid var(--line);
}
.portrait-frame img{ width:100%; height:auto; display:block; filter:saturate(0.92) contrast(1.02); }
.hero-line-svg{
  position:absolute; z-index:-1; pointer-events:none;
}
.hero .hero-line-svg{ top:-40px; left:-60px; width:640px; max-width:none; opacity:0.5; }
@media (max-width:900px){ .hero .hero-line-svg{ display:none; } }

.draw-path{
  stroke-dasharray:900; stroke-dashoffset:900;
  transition: stroke-dashoffset 1.6s cubic-bezier(.2,.7,.2,1);
}
.draw-path.in-view{ stroke-dashoffset:0; }

/* ---------- SECTION GENERIC ---------- */
section{ padding:96px 0; position:relative; }
.section-head{ max-width:640px; margin-bottom:56px; }
.section-head h2{ font-size:clamp(1.7rem,3vw,2.35rem); }
.section-head p{ margin-top:16px; color:var(--ink-soft); font-size:1.02rem; }

/* ---------- WERTE ---------- */
.werte-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1px;
  background:var(--line); border:1px solid var(--line);
}
@media (max-width:900px){ .werte-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .werte-grid{ grid-template-columns:1fr; } }
.werte-card{
  background:var(--cream-soft); padding:36px 30px;
}
.werte-card svg{ width:26px; height:26px; stroke:var(--olive-deep); margin-bottom:22px; }
.werte-card h3{ font-size:1.12rem; font-weight:500; margin-bottom:10px; }
.werte-card p{ color:var(--ink-soft); font-size:0.94rem; }

/* ---------- LEISTUNGEN ---------- */
.leistungen{ background:var(--olive-pale); }
.leist-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
@media (max-width:900px){ .leist-grid{ grid-template-columns:1fr; } }
.leist-card{
  background:var(--white); border:1px solid var(--line);
  padding:38px 32px; border-radius:2px;
  display:flex; flex-direction:column; gap:18px;
  transition:transform .3s ease, box-shadow .3s ease;
}
.leist-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.leist-icon{ width:44px; height:44px; border:1px solid var(--olive-deep); border-radius:50%; display:flex; align-items:center; justify-content:center; }
.leist-icon svg{ width:19px; height:19px; stroke:var(--olive-deep); }
.leist-card h3{ font-size:1.24rem; }
.leist-card p{ color:var(--ink-soft); font-size:0.96rem; flex:1; }
.leist-card .leist-note{ font-size:0.82rem; color:var(--olive-deep); font-weight:500; letter-spacing:0.02em; }

/* ---------- ABLAUF ---------- */
.ablauf-grid{ display:flex; align-items:flex-start; gap:20px; }
@media (max-width:900px){ .ablauf-grid{ flex-direction:column; gap:32px; } }
.ablauf-step{ flex:1; min-width:0; }
.ablauf-num{
  display:inline-flex; align-items:center; justify-content:center;
  width:40px; height:40px; border-radius:50%;
  border:1px solid var(--olive-deep); color:var(--olive-deep);
  font-family:'Fraunces',serif; font-size:1.1rem; margin-bottom:18px;
}
.ablauf-step h3{ font-size:1.15rem; margin-bottom:10px; }
.ablauf-step p{ color:var(--ink-soft); font-size:0.94rem; }
.ablauf-arrow{ flex:none; padding-top:18px; }
.ablauf-arrow svg{ width:48px; height:16px; }
@media (max-width:900px){ .ablauf-arrow{ display:none; } }

/* ---------- WERKZEUGE (VDH Tools Platzhalter) ---------- */
.tools{ }
.tools-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
@media (max-width:900px){ .tools-grid{ grid-template-columns:1fr; } }
.tool-slot{
  background:var(--white); border:1px dashed var(--line);
  padding:32px; min-height:160px;
  display:flex; flex-direction:column; gap:10px; justify-content:center;
}
.tool-slot h4{ font-family:'Fraunces',serif; font-size:1.05rem; }
.tool-slot p{ color:var(--ink-soft); font-size:0.88rem; }
.tool-embed{ border-style:solid; padding:24px; }
.embed-placeholder{ display:flex; flex-direction:column; gap:12px; align-items:flex-start; width:100%; }
.embed-placeholder p{ margin:0; }
.tool-embed iframe{ min-height:90px; }

.tool-calculators{ display:flex; flex-direction:column; gap:64px; margin-top:64px; }
.tool-calc-head{ max-width:640px; margin-bottom:20px; }
.tool-calc-head h3{ font-size:1.4rem; margin-bottom:8px; }
.tool-calc-head p{ color:var(--ink-soft); font-size:0.96rem; }
.tool-embed-wide{ background:var(--white); }
.tool-embed-wide iframe{ display:block; width:100%; }

/* ---------- UBER MICH ---------- */
.ueber-grid{ display:grid; grid-template-columns:1.3fr 0.9fr; gap:64px; align-items:start; }
@media (max-width:900px){ .ueber-grid{ grid-template-columns:1fr; } }
.drop p:first-of-type::first-letter{
  font-family:'Fraunces', serif; font-size:3.6rem; font-weight:500; color:var(--olive-deep);
  float:left; line-height:0.8; margin:8px 10px 0 0;
}
.ueber-grid p{ margin-bottom:20px; color:var(--ink-soft); font-size:1.02rem; }
.ueber-grid p:last-child{ margin-bottom:0; }

.credentials{
  background:var(--white); border:1px solid var(--line); padding:34px;
}
.credentials h3{ font-size:0.78rem; text-transform:uppercase; letter-spacing:0.12em; color:var(--olive-deep); font-weight:600; margin-bottom:22px; }
.credentials dl{ margin:0; }
.credentials .row{ display:flex; justify-content:space-between; gap:16px; padding:14px 0; border-top:1px solid var(--line); font-size:0.92rem; }
.credentials .row:first-child{ border-top:none; padding-top:0; }
.credentials dt{ color:var(--ink-soft); }
.credentials dd{ margin:0; text-align:right; font-weight:500; max-width:56%; }

/* ---------- FAQ ---------- */
.faq-list{ border-top:1px solid var(--line); }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  padding:26px 0; display:flex; align-items:center; justify-content:space-between; gap:20px;
  font-family:'Fraunces', serif; font-size:1.12rem; color:var(--ink);
}
.faq-q .plus{
  flex:none; width:22px; height:22px; position:relative;
}
.faq-q .plus::before, .faq-q .plus::after{
  content:""; position:absolute; background:var(--olive-deep); top:50%; left:50%;
  transform:translate(-50%,-50%);
}
.faq-q .plus::before{ width:14px; height:1px; }
.faq-q .plus::after{ width:1px; height:14px; transition:transform .25s ease; }
.faq-item.open .plus::after{ transform:translate(-50%,-50%) rotate(90deg); }
.faq-a{
  max-height:0; overflow:hidden; transition:max-height .35s ease;
}
.faq-a p{ padding-bottom:14px; color:var(--ink-soft); max-width:70ch; font-size:0.98rem; }
.faq-a a{ color:var(--olive-deep); font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.faq-a p.faq-link-row{ padding-top:0; padding-bottom:26px; }

/* ---------- KONTAKT ---------- */
.kontakt{ background:var(--olive-pale); }
.kontakt-grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:56px; align-items:start; }
@media (max-width:900px){ .kontakt-grid{ grid-template-columns:1fr; } }
.kontakt-info p{ color:var(--ink-soft); margin-bottom:22px; }
.kontakt-info .row{ display:flex; gap:14px; align-items:flex-start; margin-bottom:18px; font-size:0.96rem; }
.kontakt-info .row svg{ width:18px; height:18px; stroke:var(--olive-deep); flex:none; margin-top:2px; }
.kontakt-form{ background:var(--white); border:1px solid var(--line); padding:36px; display:flex; flex-direction:column; gap:18px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field label{ font-size:0.82rem; font-weight:600; color:var(--ink); letter-spacing:0.01em; }
.field input, .field textarea{
  border:1px solid var(--line); background:var(--cream-soft); padding:12px 14px;
  font-family:'Inter',sans-serif; font-size:0.95rem; color:var(--ink); border-radius:2px;
  resize:vertical;
}
.field input:focus, .field textarea:focus{ outline:2px solid var(--olive-deep); outline-offset:1px; border-color:var(--olive-deep); }
.field-check{ flex-direction:row; align-items:flex-start; gap:10px; }
.field-check input{ width:16px; height:16px; margin-top:3px; accent-color:var(--olive-deep); }
.field-check label{ font-weight:400; font-size:0.85rem; color:var(--ink-soft); }
.field-check a{ color:var(--olive-deep); text-decoration:underline; }
.form-note{ font-size:0.82rem; color:var(--ink-soft); }
.form-status{ font-size:0.9rem; padding:12px 14px; border-radius:2px; display:none; }
.form-status.show{ display:block; }
.form-status.ok{ background:#eef2e4; color:var(--olive-deep); }
.form-status.err{ background:#f6e6e2; color:#8a4230; }

/* ---------- CTA BAND ---------- */
.cta-band{ background:var(--olive-deep); color:var(--cream); text-align:center; }
.cta-band h2{ color:var(--white); font-size:clamp(1.8rem,3.4vw,2.5rem); max-width:22ch; margin:0 auto; }
.cta-band p{ color:rgba(251,246,236,0.78); margin:20px auto 0; max-width:52ch; }
.cta-band .hero-ctas{ justify-content:center; margin-top:36px; }
.cta-band .btn-primary{ background:var(--cream); color:var(--olive-deep); border-color:var(--cream); }
.cta-band .btn-primary:hover{ background:var(--white); }
.cta-band .btn-ghost{ color:var(--cream); border-color:rgba(251,246,236,0.4); }
.cta-band .btn-ghost:hover{ border-color:var(--cream); color:var(--white); }

/* ---------- FOOTER ---------- */
footer{ background:var(--ink); color:rgba(247,239,227,0.72); padding:72px 0 32px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:48px; padding-bottom:48px; border-bottom:1px solid rgba(247,239,227,0.14); }
@media (max-width:760px){ .footer-grid{ grid-template-columns:1fr; gap:36px; } }
.footer-brand img{ height:30px; margin-bottom:18px; filter:brightness(0) invert(1) opacity(0.92); }
.footer-brand p{ max-width:34ch; font-size:0.9rem; line-height:1.6; }
footer h4{ font-family:'Inter',sans-serif; font-size:0.76rem; text-transform:uppercase; letter-spacing:0.12em; color:var(--cream); font-weight:600; margin-bottom:18px; }
footer ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
footer ul a{ font-size:0.92rem; }
footer ul a:hover{ color:var(--cream); }
.footer-bottom{
  padding-top:28px; display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px;
  font-size:0.78rem; color:rgba(247,239,227,0.5);
}

.reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in-view{ opacity:1; transform:translateY(0); }

/* ---------- LEGAL / CONTENT PAGES (Impressum, Datenschutz, Cookies) ---------- */
.legal-hero{ padding:150px 0 40px; }
.legal-hero h1{ font-size:clamp(2rem,3.6vw,2.8rem); }
.legal-hero p{ margin-top:14px; color:var(--ink-soft); }
.legal-body{ padding:20px 0 100px; }
.legal-body .wrap{ max-width:820px; }
.legal-body h2{ font-size:1.35rem; margin-top:48px; margin-bottom:16px; }
.legal-body h2:first-child{ margin-top:0; }
.legal-body h3{ font-size:1.05rem; margin-top:28px; margin-bottom:10px; font-family:'Inter',sans-serif; font-weight:600; }
.legal-body p{ color:var(--ink-soft); margin-bottom:16px; }
.legal-body ul{ color:var(--ink-soft); padding-left:20px; margin-bottom:16px; }
.legal-body li{ margin-bottom:8px; }
.legal-body a{ color:var(--olive-deep); text-decoration:underline; text-underline-offset:3px; }
.legal-body strong{ color:var(--ink); }
.legal-note{
  background:var(--olive-pale); border-left:3px solid var(--olive-deep);
  padding:16px 20px; font-size:0.9rem; color:var(--ink-soft); margin-bottom:32px;
}
.placeholder{ background:#f6e6c8; padding:1px 6px; border-radius:2px; color:#6b4f14; font-weight:600; }
.toc{ background:var(--cream-soft); border:1px solid var(--line); padding:24px 28px; margin-bottom:8px; }
.toc h3{ margin-top:0; font-size:0.78rem; text-transform:uppercase; letter-spacing:0.1em; color:var(--olive-deep); }
.toc ol{ margin:0; padding-left:18px; color:var(--ink-soft); font-size:0.92rem; }
.toc li{ margin-bottom:6px; }

/* ---------- COOKIE BANNER ---------- */
#cookie-banner{
  position:fixed; left:20px; right:20px; bottom:20px; z-index:200;
  max-width:640px; margin:0 auto;
  background:var(--white); border:1px solid var(--line); box-shadow:var(--shadow);
  padding:26px 28px; display:none;
}
#cookie-banner.show{ display:block; }
#cookie-banner p{ font-size:0.9rem; color:var(--ink-soft); margin-bottom:18px; }
#cookie-banner .cookie-actions{ display:flex; flex-wrap:wrap; gap:12px; }
#cookie-banner a.link-inline{ color:var(--olive-deep); text-decoration:underline; }

.consent-options{ display:flex; flex-direction:column; gap:16px; margin:28px 0; }
.consent-row{
  display:flex; justify-content:space-between; align-items:center; gap:20px;
  background:var(--white); border:1px solid var(--line); padding:20px 24px;
}
.consent-row .txt h4{ font-family:'Inter',sans-serif; font-weight:600; font-size:0.96rem; color:var(--ink); margin-bottom:4px; }
.consent-row .txt p{ font-size:0.85rem; color:var(--ink-soft); margin:0; max-width:56ch; }
.switch{ position:relative; width:44px; height:24px; flex:none; }
.switch input{ opacity:0; width:0; height:0; }
.switch .slider{ position:absolute; inset:0; background:var(--line); border-radius:24px; cursor:pointer; transition:.25s; }
.switch .slider::before{ content:""; position:absolute; width:18px; height:18px; left:3px; top:3px; background:var(--white); border-radius:50%; transition:.25s; }
.switch input:checked + .slider{ background:var(--olive-deep); }
.switch input:checked + .slider::before{ transform:translateX(20px); }
.switch input:disabled + .slider{ opacity:0.6; cursor:not-allowed; }
