/* Gerold Brose Reparaturservice – Styles
   Schriften lokal gehostet (keine Verbindung zu Google o. ä.) */

@font-face { font-family: "Atkinson"; src: url("/assets/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("/assets/fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("/assets/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --green: #3C7060;        /* Logo-Grün */
  --green-dark: #2C5648;
  --forest: #213830;       /* dunkle Fläche */
  --moss: #6E8B68;
  --stone: #EDEFE9;        /* Seitenhintergrund, leicht grünliches Grau */
  --sand: #E2D6BF;
  --sand-light: #F0E9DB;
  --wood: #8E6A47;
  --ink: #1D2722;
  --muted: #45524B;
  --line: #CDD3C9;
  --white: #FCFCFA;

  --f-body: "Atkinson", "Verdana", system-ui, sans-serif;
  --f-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --sec: clamp(4.5rem, 9vw, 7.5rem);
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: clamp(1.125rem, 0.35vw + 1.05rem, 1.25rem); /* 18–20 px */
  line-height: 1.6;
  color: var(--ink);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--forest); }
:focus-visible { outline: 3px solid var(--wood); outline-offset: 3px; border-radius: 4px; }
/* Auf dunklen Flächen heller Fokusrahmen, damit er sichtbar bleibt */
.doku :focus-visible, .site-footer :focus-visible, .mobile-bar :focus-visible { outline-color: var(--sand-light); }
/* Lange Wörter dürfen umbrechen, statt die Seite seitlich zu sprengen (große Schrift, enger Bildschirm) */
.hero-copy, .hero-visual, .flow-card, .doku-copy, .about-copy, .contact-grid > *, .faq-grid > *, .footer-inner > * { min-width: 0; }
h1, h2, h3, p, li, a { overflow-wrap: break-word; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 600; line-height: 1.05; letter-spacing: -0.005em; margin: 0 0 0.5em; color: var(--forest); }
h1 { font-size: clamp(2.6rem, 3.4vw + 1rem, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(2.1rem, 2.6vw + 1rem, 3.2rem); }
h3 { font-size: clamp(1.45rem, 0.6vw + 1.2rem, 1.7rem); line-height: 1.15; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 1.4em; height: 1.4em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--forest); color: #fff; padding: .7rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 58px; padding: .8rem 1.6rem;
  font: 700 1.1rem/1.2 var(--f-body);
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-ghost { border-color: var(--green); color: var(--green-dark); background: transparent; }
.btn-ghost:hover { background: var(--green); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(237, 239, 233, .94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(33, 56, 48, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }
.brand img { width: auto; height: 58px; }
.main-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.main-nav a { color: var(--ink); text-decoration: none; font-size: 1.02rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.is-active { border-color: var(--green); color: var(--ink); }
.header-phone {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; text-decoration: none; color: #fff; background: var(--green);
  padding: .65rem 1.1rem; border-radius: 999px; white-space: nowrap;
}
.header-phone:hover { background: var(--green-dark); color: #fff; }
.header-phone .ic { width: 1.15em; height: 1.15em; }

/* ---------- Hero ---------- */
.hero { padding: clamp(1.5rem, 3.5vw, 3rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1rem, 4vw, 3rem); align-items: center; }
.hero h1 { max-width: 20ch; font-size: clamp(2.4rem, 2.8vw + 1rem, 3.9rem); }
.lead-strong { color: var(--forest); }
.hero-lead { font-size: 1.08em; color: var(--muted); max-width: 34em; margin-bottom: 1.4rem; }
.todo-label { font-weight: 700; color: var(--green-dark); margin: 0 0 .3rem; font-size: 1rem; }
.todo-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .15rem 1.2rem; max-width: 34rem; }
.todo-list button {
  display: flex; align-items: center; gap: .65rem; width: 100%;
  font: inherit; font-size: 1.02rem; color: var(--ink); text-align: left;
  background: none; border: 0; border-bottom: 1px dashed #C4CBC0; padding: .55rem .2rem; cursor: pointer;
  transition: color .2s, background-color .2s;
}
.todo-list button:hover, .todo-list button.is-active { color: var(--green-dark); background: rgba(60,112,96,.07); }
.bullet { width: .6rem; height: .6rem; flex: none; border-radius: 50%; background: var(--green); margin: 0 .4rem 0 .3rem; transition: transform .25s ease, background-color .25s ease; }
.todo-list button:hover .bullet, .todo-list button.is-active .bullet { transform: scale(1.5); background: var(--wood); }
.todo-more { margin: .7rem 0 1.6rem; font-size: 1rem; }
.hero-actions { display: none; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.1rem; }
@media (max-width: 640px) { .hero-actions { display: flex; } }

.hero-visual { position: relative; aspect-ratio: 1 / 0.95; min-height: 320px; }
#house3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-fallback { display: none; position: absolute; inset: 0; margin: auto; width: 55%; height: auto; opacity: .9; }
.no-webgl #house3d { display: none; }
.no-webgl .hero-fallback { display: block; }

.trust-row {
  list-style: none; margin: clamp(2rem, 5vw, 3.5rem) auto 0; padding-top: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
}
.trust-row li {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: 1.3rem 1.4rem; border-top: 2px solid var(--line);
  font-size: 1.02rem; color: var(--muted);
}
.trust-row li + li { border-left: 1px solid var(--line); }
.trust-row strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: .2rem; }
.trust-row .pain { display: block; color: var(--wood); font-family: var(--f-head); font-weight: 600; font-size: clamp(1.45rem, .6vw + 1.2rem, 1.7rem); line-height: 1.15; margin-bottom: .55rem; }
.trust-row .ic { color: var(--green); width: 2em; height: 2em; margin-top: .15rem; }

/* ---------- Sections ---------- */
.section { padding-block: var(--sec); }
.section-head { max-width: 44rem; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.section-head p { color: var(--muted); font-size: 1.08em; margin: 0; }

/* Leistungen */
.services { background: var(--white); }
.service-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.service-group h3 { padding-bottom: .7rem; border-bottom: 2px solid var(--green); margin-bottom: 1.2rem; }
.service-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.service-group li { display: flex; gap: .9rem; align-items: flex-start; }
.service-group li .ic { color: var(--green); width: 2.1rem; height: 2.1rem; padding: .35rem; background: var(--stone); border-radius: 10px; box-sizing: content-box; }
.service-group li strong { display: block; font-size: 1.05em; }
.service-group li span { color: var(--muted); font-size: 1rem; line-height: 1.45; }
.service-group li span strong { color: var(--ink); margin-bottom: .1rem; transition: color .2s; }
/* Hover-Hinterlegung wie in der Liste im Hero. Padding + negativer Margin: Ruhezustand bleibt pixelgleich. */
.service-group li { padding: .5rem .6rem; margin: -.5rem -.6rem; border-radius: 12px; transition: background-color .2s; }
.service-group li .ic { transition: transform .3s cubic-bezier(.3,1.5,.5,1), background-color .2s, color .2s; }
@media (hover: hover) {
  .service-group li:hover { background: rgba(60,112,96,.07); }
  .service-group li:hover .ic { background: var(--green); color: #fff; transform: translateY(-2px) rotate(-5deg); }
  .service-group li:hover span strong { color: var(--green-dark); }
}

/* Fotodoku */
.doku { background: var(--forest); color: #E6ECE6; position: relative; overflow: hidden; }
.doku h2 { color: #fff; }
.doku-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.doku-copy p { color: #D2DDD4; }
.checks { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .7rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; color: #fff; }
.checks .ic { color: #A9C9A4; margin-top: .1rem; }

.phone-stage { perspective: 1400px; display: grid; place-items: center; }
.phone {
  width: min(340px, 100%);
  background: #F3EFE6; color: var(--ink);
  border-radius: 38px; padding: 14px;
  border: 10px solid #121C18;
  box-shadow: 0 40px 70px -30px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.06);
  transform: rotateY(-11deg) rotateX(5deg);
  transform-style: preserve-3d;
  }
.phone-top { display: flex; align-items: center; gap: .7rem; padding: .3rem .4rem .9rem; border-bottom: 1px solid #DDD6C8; }
.phone-top strong { display: block; font-size: .98rem; }
.phone-top small { display: block; font-size: .8rem; color: var(--muted); }
.phone-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--sand); flex: none; }
.phone-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.phone-chat { display: grid; gap: .65rem; padding: .9rem .2rem .3rem; }
.msg { max-width: 86%; padding: .6rem .75rem .4rem; border-radius: 16px; font-size: .92rem; line-height: 1.4; }
.msg p { margin: 0 0 .2rem; }
.msg time { display: block; text-align: right; font-size: .72rem; color: #6A746E; }
.msg img { border-radius: 10px; margin-bottom: .5rem; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.msg-in { background: #fff; border-bottom-left-radius: 4px; justify-self: start; }
.msg-out { background: #D3E6CF; border-bottom-right-radius: 4px; justify-self: end; }
.js .doku .msg { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.js .doku.is-visible .msg { opacity: 1; transform: none; }
.js .doku.is-visible .msg:nth-child(2) { transition-delay: .6s; }
.js .doku.is-visible .msg:nth-child(3) { transition-delay: 1.2s; }

/* Über Gerold */
.about { background: var(--sand-light); }
.about-grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about-photo { margin: 0; position: sticky; top: 110px; }
.photo-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: 18px 18px 0 var(--sand); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s cubic-bezier(.2,.7,.2,1); }
.photo-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0) scale(1.07); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.about-photo img { object-position: 50% 30%; }
@media (hover: hover) {
  .about-photo:hover .photo-frame { transform: translate(-4px, -4px); box-shadow: 24px 24px 0 var(--sand); }
  .contact-photo:hover .photo-frame { transform: translate(4px, -4px); box-shadow: -24px 24px 0 var(--sand); }
  .photo-frame:hover img { transform: translate3d(0, var(--py, 0px), 0) scale(1.1); }
}
.about-sub { font-weight: 700; color: var(--wood); margin-top: -.3rem; margin-bottom: 1.6rem; }
.about-copy p { max-width: 36em; }
.team-member { display: flex; align-items: center; gap: 1.1rem; margin: 2.2rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--line); max-width: 36em; }
.team-photo { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 6px 6px 0 var(--sand); }
.team-photo--placeholder { box-shadow: none; border: 2px solid var(--sand); background: var(--white); display: grid; place-items: center; color: var(--forest); font: 700 2rem/1 var(--f-head); }
.team-member figcaption { color: var(--muted); }
.team-member strong { display: block; font-family: var(--f-head); font-weight: 600; font-size: 1.3rem; color: var(--forest); margin-bottom: .2rem; }

/* Ablauf: baut sich beim Scrollen auf (Maßband zieht mit) */
.steps { background: var(--stone); overflow: hidden; }  /* versteckte Karten fahren seitlich ein – nichts darf über den Rand ragen */
.flow { --p: 1; list-style: none; margin: 0 auto; padding: 0; position: relative; max-width: 1040px; display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }
.flow-rail { position: absolute; top: 0; bottom: 0; left: 50%; width: 16px; margin-left: -8px; }
.flow-rail::before { content: ""; position: absolute; inset: 0 5px; border-left: 2px dashed #B9C2B5; border-right: 0; }
.flow-tape {
  position: absolute; inset: 0; border-radius: 3px;
  background:
    repeating-linear-gradient(to bottom, rgba(29,39,34,.55) 0 2px, transparent 2px 48px) left top / 9px 100% no-repeat,
    repeating-linear-gradient(to bottom, rgba(29,39,34,.35) 0 1.5px, transparent 1.5px 12px) left top / 5px 100% no-repeat,
    #D9BE86;
  box-shadow: inset -2px 0 0 rgba(0,0,0,.08);
  clip-path: inset(0 0 calc((1 - var(--p)) * 100%) 0);
}
.flow-case {
  position: absolute; left: 50%; top: calc(var(--p) * 100%);
  width: 46px; height: 46px; margin: -6px 0 0 -23px; border-radius: 12px;
  background: var(--green); box-shadow: 0 8px 18px -8px rgba(33,56,48,.7);
  transform: rotate(calc(var(--p) * 720deg));
}
.flow-case::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; border: 3px solid rgba(255,255,255,.85); }
.flow-case::before { content: ""; position: absolute; left: 50%; top: -5px; width: 20px; height: 7px; margin-left: -10px; border-radius: 2px; background: var(--forest); }

.flow-step { display: grid; grid-template-columns: 1fr 96px 1fr; align-items: center; position: relative; }
.flow-badge { grid-column: 2; grid-row: 1; justify-self: center; position: relative; z-index: 2; width: 84px; height: 84px; border-radius: 50%; background: var(--white); border: 3px solid var(--green); display: grid; place-items: center; transition: background-color .35s, transform .45s cubic-bezier(.3,1.6,.5,1); }
.flow-badge svg { width: 40px; height: 40px; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s, opacity .2s; }
.flow-badge svg * { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .9s ease .1s; }
.flow-num { position: absolute; right: -6px; top: -6px; width: 32px; height: 32px; border-radius: 50%; background: var(--wood); color: #fff; font: 700 1.15rem/32px var(--f-head); text-align: center; }
.flow-card { grid-row: 1; grid-column: 1; justify-self: end; max-width: 27rem; margin-right: 1.4rem; background: var(--white); border-radius: var(--r-lg); padding: clamp(1.3rem, 2.5vw, 1.9rem); box-shadow: 0 18px 40px -30px rgba(33,56,48,.55); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.flow-step:nth-child(odd) .flow-card { grid-column: 3; justify-self: start; margin: 0 0 0 1.4rem; }
.flow-card h3 { margin-bottom: .45rem; }
.flow-card p { color: var(--muted); font-size: 1.02rem; margin: 0; }
.flow-promise { list-style: none; margin: 1rem 0 0; padding: .9rem 1rem; display: grid; gap: .55rem; background: var(--sand-light); border-radius: var(--r-md); font-size: 1rem; }
.flow-promise li { display: flex; gap: .6rem; align-items: flex-start; }
.flow-promise li:first-child { font-weight: 700; color: var(--forest); }
.flow-promise .ic { color: var(--green); stroke-width: 2.6; width: 1.2em; height: 1.2em; margin-top: .2rem; }

/* Zustände, nur wenn JavaScript läuft und Bewegung erlaubt ist */
.flow.is-live .flow-step:not(.is-on) .flow-card { opacity: 0; transform: translateX(-46px) rotate(-1.5deg); }
.flow.is-live .flow-step:nth-child(odd):not(.is-on) .flow-card { transform: translateX(46px) rotate(1.5deg); }
.flow.is-live .flow-step:not(.is-on) .flow-badge { transform: scale(.72); border-color: #B9C2B5; }
.flow.is-live .flow-step:not(.is-on) .flow-badge svg * { stroke-dashoffset: 1; }
.flow.is-live .flow-step:not(.is-on) .flow-badge svg { opacity: 0; }  /* sonst bleibt ein Punkt der runden Linienenden sichtbar */
.flow.is-live .flow-step:not(.is-on) .flow-num { transform: scale(0); }
.flow-num { transition: transform .4s cubic-bezier(.3,1.6,.5,1) .25s; }
.flow-step.is-on .flow-badge { background: var(--green); }
.flow-step.is-on .flow-badge svg { stroke: #fff; }
.flow-step.is-on:nth-child(2) .flow-badge svg { animation: ring .9s ease .5s 2; transform-origin: 50% 50%; }
/* Schritt 5: Abschluss mit Stempel und kleinem Funkenkranz */
.flow-final.is-on .flow-badge { background: var(--wood); border-color: var(--wood); }
.flow-card { position: relative; }
.flow-stamp {
  position: absolute; top: -14px; right: 18px;
  font: 700 .9rem/1 var(--f-head); letter-spacing: .06em; text-transform: uppercase;
  color: var(--green-dark); background: var(--white);
  border: 2px solid var(--green); border-radius: 6px; padding: .4rem .6rem .35rem;
  transform: rotate(-6deg);
  transition: transform .45s cubic-bezier(.3,1.6,.5,1) .55s, opacity .3s ease .55s;
}
.flow.is-live .flow-step:not(.is-on) .flow-stamp { opacity: 0; transform: rotate(-14deg) scale(1.8); }
.flow-burst { position: absolute; inset: 0; pointer-events: none; }
.flow-burst i { position: absolute; left: 50%; top: 50%; width: 3px; height: 12px; margin: -6px 0 0 -1.5px; border-radius: 2px; background: var(--wood); opacity: 0; transform: rotate(calc(var(--i) * 45deg)) translateY(-54px) scaleY(.3); }
.flow-step.is-on .flow-burst i { animation: burst .8s ease-out .45s both; }
@keyframes burst {
  0% { opacity: 0; transform: rotate(calc(var(--i) * 45deg)) translateY(-46px) scaleY(.3); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: rotate(calc(var(--i) * 45deg)) translateY(-68px) scaleY(1); }
}
@keyframes ring { 0%,100% { transform: rotate(0); } 15% { transform: rotate(-14deg); } 30% { transform: rotate(12deg); } 45% { transform: rotate(-9deg); } 60% { transform: rotate(6deg); } 75% { transform: rotate(-3deg); } }

/* Kundenstimmen */
.voices { background: var(--stone); }
.voice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2rem); }
.voice { margin: 0; padding: clamp(1.5rem, 3vw, 2.2rem); background: var(--white); border-radius: var(--r-lg); display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.voice blockquote { margin: 0; position: relative; }
.voice blockquote { padding-top: 2.4rem; }
.voice blockquote::before { content: "“"; position: absolute; top: -.35rem; left: -.1rem; font: 700 5rem/1 var(--f-head); color: var(--green); }
.voice blockquote p { margin: 0; font-size: 1.02rem; }
.voice-feature { grid-column: 1 / -1; background: var(--green); color: #fff; }
.voice-feature blockquote::before { color: var(--sand); }
.voice-feature blockquote p { font-size: clamp(1.15rem, 0.8vw + 1rem, 1.45rem); line-height: 1.55; max-width: 48em; }
.voice figcaption { display: flex; align-items: center; gap: .9rem; font-size: .98rem; color: var(--muted); }
.voice-feature figcaption { color: #DCE8E1; }
.voice figcaption img, .initials { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.initials { display: grid; place-items: center; background: var(--sand); color: var(--forest); font: 700 1.15rem/1 var(--f-head); }
.voice figcaption strong { display: block; color: var(--ink); font-size: 1.05rem; }
.voice-feature figcaption strong { color: #fff; }

/* FAQ */
.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.6rem 1.15rem 0; position: relative;
  font-weight: 700; font-size: 1.1rem; color: var(--forest);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: .4rem; top: 50%; width: .7rem; height: .7rem;
  border-right: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { margin: 0 0 1.2rem; color: var(--muted); max-width: 40em; }

/* Kontakt */
.contact { background: var(--sand-light); }
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.contact-lead { color: var(--muted); font-size: 1.08em; max-width: 30em; margin-bottom: 1.8rem; }
.contact-lines { display: grid; gap: .6rem; max-width: 30rem; }
.direct-line { display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; border-radius: var(--r-md); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.15rem; word-break: break-word; background: var(--white); transition: transform .2s, box-shadow .2s; }
.direct-line:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 24px -18px rgba(33,56,48,.6); }
.direct-line .ic { color: #fff; background: var(--green); width: 1.5rem; height: 1.5rem; padding: .65rem; border-radius: 50%; box-sizing: content-box; }
.direct-line small { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }
.direct-main { background: var(--green); color: #fff; font-size: 1.45rem; }
.direct-main:hover { color: #fff; }
.direct-main small { color: #DCE8E1; }
.direct-main .ic { background: #fff; color: var(--green); }
.area { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem 0 0; margin-top: 1.4rem; border-top: 1px solid var(--line); max-width: 30rem; }
.area .ic { color: var(--wood); width: 1.8rem; height: 1.8rem; }
.area p { margin: 0; font-size: 1rem; color: var(--muted); }
.area strong { display: block; color: var(--ink); }
.contact-photo { margin: 0; }
.contact-photo .photo-frame { box-shadow: -18px 18px 0 var(--sand); }
.contact-photo img { object-position: 50% 55%; }

/* Scroll-Begleiter (Rotkehlchen, gesteuert von robin.js) */
body { position: relative; }
.robin-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 45; }
.robin { position: absolute; left: 0; top: 0; width: 44px; height: 37px; transform-origin: 22px 35px; pointer-events: auto; cursor: pointer; opacity: 0; transition: opacity .25s; will-change: transform; }
.robin.is-on { opacity: 1; }
.robin svg { display: block; overflow: visible; transition: transform .2s; }
.robin-flip { transition: transform .18s; }
.robin.face-left .robin-flip { transform: scaleX(-1); }
.robin .rg-wing { transform-box: view-box; transform-origin: 22px 17px; }
.robin .rg-head { transform-box: view-box; transform-origin: 26px 16px; transition: transform .2s ease; }
.robin .rg-tail { transform-box: view-box; transform-origin: 10px 20.5px; }
.robin .rg-eye { transform-box: fill-box; transform-origin: center; }
.robin .rg-legs { transition: opacity .15s; }
.robin.is-flying .rg-wing { animation: rg-flap .14s ease-in-out infinite alternate; }
.robin.is-flying .rg-legs { opacity: 0; }
.robin.is-flying svg { transform: rotate(-7deg); }
.robin.a-peck .rg-head { transform: rotate(30deg); }
.robin.a-look .rg-head { transform: rotate(-12deg); }
.robin.a-flick .rg-tail { animation: rg-flick .45s ease-in-out; }
.robin.a-blink .rg-eye { animation: rg-blink .22s; }
.robin.a-hop svg { animation: rg-hop .4s ease-out; }
.robin.a-land svg { animation: rg-land .32s ease-out; }
@keyframes rg-flap { from { transform: rotate(62deg); } to { transform: rotate(-28deg); } }
@keyframes rg-flick { 0%, 100% { transform: none; } 30% { transform: rotate(18deg); } 65% { transform: rotate(-8deg); } }
@keyframes rg-blink { 50% { transform: scaleY(.1); } }
@keyframes rg-hop { 0%, 100% { transform: none; } 40% { transform: translateY(-7px); } }
@keyframes rg-land { 0% { transform: translateY(-3px); } 55% { transform: translateY(1px) scaleY(.9); } 100% { transform: none; } }
@media print { .robin-layer { display: none; } }

/* Footer */
.site-footer { background: var(--forest); color: #CBD7CE; padding: 3rem 0 6rem; font-size: 1rem; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; }
.footer-logo { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
.footer-inner p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
.site-footer a { color: #fff; }
.footer-small { grid-column: 1 / -1; font-size: .9rem; color: #9FB2A5; }

/* Mobile-Leiste */
.mobile-bar { display: none; }

/* ---------- Rechtstexte ---------- */
.legal { padding: clamp(2.5rem, 6vw, 5rem) 0 var(--sec); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.4rem, 3vw + 1rem, 3.4rem); }
.legal h2 { font-size: clamp(1.6rem, 1vw + 1.2rem, 2rem); margin-top: 2.4rem; }
.legal h3 { font-size: 1.35rem; margin-top: 1.6rem; }
.legal p, .legal li { max-width: 42em; }
.legal ul { padding-left: 1.2em; }
.legal .todo { background: #FFE58A; padding: 0 .25em; border-radius: 3px; }
.back-link { display: inline-block; margin-bottom: 2rem; font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .header-phone { margin-left: auto; }
}
@media (max-width: 900px) {
  .hero-grid, .doku-grid, .about-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; }
  .contact-photo { max-width: 460px; }
  .hero-visual { order: -1; aspect-ratio: 4 / 3; min-height: 260px; max-width: 560px; width: 100%; margin: -1rem auto 0; }
  .trust-row { grid-template-columns: 1fr; }
  .trust-row li + li { border-left: 0; }
  .trust-row li { padding-inline: 0; }
  .service-groups { grid-template-columns: 1fr 1fr; }
  .service-group:last-child { grid-column: 1 / -1; }
  .about-photo { position: static; }
  .about-photo { max-width: 460px; }
  .voice-grid { grid-template-columns: 1fr; }
  .phone { transform: rotateY(-8deg) rotateX(4deg); }
}
@media (max-width: 760px) {
  .flow-rail { left: 34px; }
  .flow-step { grid-template-columns: 68px 1fr; align-items: start; }
  .flow-badge { grid-column: 1; width: 68px; height: 68px; }
  .flow-badge svg { width: 32px; height: 32px; }
  .flow-card, .flow-step:nth-child(odd) .flow-card { grid-column: 2; justify-self: stretch; max-width: none; margin: 0 0 0 1rem; }
  .flow-case { width: 38px; height: 38px; margin-left: -19px; border-radius: 10px; }
  .flow-case::after { inset: 9px; }
}
@media (max-width: 640px) {
  .header-inner { min-height: 66px; }
  .brand img { height: 38px; }
  .header-phone span { display: none; }
  .header-phone { padding: .7rem; }
  .header-phone .ic { width: 1.4em; height: 1.4em; }
  .hero-actions .btn { width: 100%; }
  .todo-label, .todo-list, .todo-more { display: none; }
  .hero-lead { margin-bottom: 1.6rem; }
  .service-groups { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.2rem; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom));
    background: rgba(33, 56, 48, .97);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 52px; border-radius: 999px; font-weight: 700; text-decoration: none;
    color: #fff; background: var(--green);
  }
  .mobile-bar a + a { background: transparent; border: 2px solid #8FB59F; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .doku .msg { opacity: 1; transform: none; }
  .js .tick svg { stroke-dashoffset: 0; animation: none; }
  .flow-case { transform: none; }
  .photo-frame img { transform: scale(1.07); }
}

