/* Schreinerei Fey – Website
   Tokens aus fey-design-system/tokens.css, Komponenten nach den READMEs in fey-design-system/components */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-vf.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --hobelspan: #faf7f2;
  --ahornsand: #ede4d6;
  --tannengruen: #26392c;
  --tannengruen-100: #e1e0da;
  --tannengruen-300: #9ba299;
  --tannengruen-700: #1e2e23;
  --tannengruen-900: #151f18;
  --kirschbaum: #a5482a;
  --kirschbaum-100: #f0e2da;
  --kirschbaum-300: #d4a898;
  --kirschbaum-700: #843a22;
  --kirschbaum-900: #5b2817;
  --kirschbaum-hell: #e39a78;
  --raeuchereiche: #231f1c;
  --stein: #6b645c;

  --surface: var(--hobelspan);
  --surface-alt: var(--ahornsand);
  --surface-dark: var(--tannengruen);
  --surface-deep: var(--tannengruen-900);
  --ink: var(--raeuchereiche);
  --ink-muted: var(--stein);
  --ink-on-dark: var(--hobelspan);
  --ink-on-dark-muted: var(--tannengruen-100);
  --line: var(--tannengruen-100);
  --line-strong: var(--stein);
  --action: var(--kirschbaum);
  --action-hover: var(--kirschbaum-700);
  --on-action: var(--hobelspan);
  --action-on-dark: var(--kirschbaum-hell);
  --action-on-dark-hover: var(--kirschbaum-300);
  --on-action-on-dark: var(--raeuchereiche);
  --link: var(--kirschbaum-700);

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px;
  --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px; --space-32: 128px;
  --radius-none: 0px; --radius-sm: 2px; --radius-md: 4px;
  --focus-ring: 0 0 0 2px var(--hobelspan), 0 0 0 4px var(--tannengruen);
  --focus-ring-dark: 0 0 0 2px var(--tannengruen), 0 0 0 4px var(--kirschbaum-hell);
  --container: 1200px;
  --measure: 680px;
  --header-height: 80px;
  --tap-target: 48px;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --gutter: var(--space-8);
  --section: var(--space-24);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.22, .61, .36, 1);
}
@media (min-width: 1200px) { :root { --section: var(--space-32); } }
@media (max-width: 900px) { :root { --gutter: var(--space-4); --section: var(--space-16); --header-height: 68px; } }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-height); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 18px; line-height: 28px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
[hidden] { display: none !important; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
address { font-style: normal; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--tannengruen); color: var(--hobelspan); }
:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--space-4); top: -100px; z-index: 100; padding: var(--space-3) var(--space-4); background: var(--tannengruen); color: var(--hobelspan); font-weight: 600; text-decoration: none; }
.skip:focus { top: var(--space-4); }

/* ---------- Textstile ---------- */
.display { font-family: var(--font-serif); font-weight: 600; font-size: clamp(42px, 1.5rem + 3.4vw, 70px); line-height: 1.04; letter-spacing: -0.015em; }
.headline { font-family: var(--font-serif); font-weight: 600; font-size: clamp(32px, 1.5rem + 1.6vw, 48px); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
.quote { font-family: var(--font-serif); font-weight: 600; font-size: clamp(26px, 1.2rem + 1.4vw, 40px); line-height: 1.3; }
.title { font-family: var(--font-sans); font-weight: 600; font-size: 22px; line-height: 30px; }
.lead { font-size: 20px; line-height: 32px; }
.small { font-size: 15px; line-height: 24px; }
.label { font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
.link { color: var(--link); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- Wortmarke ---------- */
.wm { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; line-height: 1; flex: none; }
.wm__name { font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.01em; line-height: .9; font-size: 36px; }
.wm__line { font: 600 10px/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; margin-top: 8px; }
.wm--green { color: var(--tannengruen); }
.wm--negative { color: var(--hobelspan); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: var(--tap-target); padding: 0 var(--space-6); border: 1px solid transparent; border-radius: var(--radius-sm); font: 600 17px/24px var(--font-sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease-soft); }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 56px; padding: 0 var(--space-8); }
.btn--primary { background: var(--action); color: var(--on-action); }
.btn--primary:hover { background: var(--action-hover); }
.btn--primary:active { background: var(--kirschbaum-900); }
.btn--secondary { background: transparent; color: var(--tannengruen); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--tannengruen); background: var(--surface-alt); }
.btn--on-dark { background: var(--action-on-dark); color: var(--on-action-on-dark); }
.btn--on-dark:hover { background: var(--action-on-dark-hover); }
.btn--outline-on-dark { background: transparent; color: var(--ink-on-dark); border-color: var(--tannengruen-300); }
.btn--outline-on-dark:hover { border-color: var(--ink-on-dark); background: var(--tannengruen-700); }
.btn--on-dark:focus-visible, .btn--outline-on-dark:focus-visible { box-shadow: var(--focus-ring-dark); }

.arrow-link { display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--tap-target); color: var(--link); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.arrow-link .icon { transition: transform .35s var(--ease); }
.arrow-link:hover { text-decoration-thickness: 2px; }
.arrow-link:hover .icon { transform: translateX(4px); }

/* ---------- Kopfzeile ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; min-height: var(--header-height); padding: var(--space-2) var(--gutter); display: flex; align-items: center; gap: var(--space-8); }
.nav { flex: 1; }
.nav ul { display: flex; justify-content: flex-end; gap: var(--space-8); }
.nav a { position: relative; display: block; padding: var(--space-2) 0; color: var(--ink); text-decoration: none; font: 600 16px/24px var(--font-sans); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--tannengruen); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:hover::after { transform: scaleX(.4); background: var(--line-strong); }
.nav a[aria-current="true"]::after { transform: scaleX(1); background: var(--tannengruen); }
.header__inner { gap: var(--space-12); }
.header__actions { display: flex; align-items: center; gap: var(--space-6); margin-left: auto; }
.menu-btn { display: none; align-items: center; gap: var(--space-2); min-height: var(--tap-target); padding: 0 var(--space-2); margin-right: calc(-1 * var(--space-2)); background: none; border: 0; color: var(--tannengruen); font-weight: 600; cursor: pointer; }
.menu-btn__bars { position: relative; width: 20px; height: 12px; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn__bars::before { top: 1px; }
.menu-btn__bars::after { top: 9px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { top: 5px; transform: rotate(-45deg); }

.menu { position: fixed; inset: var(--header-height) 0 0 0; z-index: 49; background: var(--surface-dark); color: var(--ink-on-dark); padding: var(--space-8) var(--gutter) var(--space-12); display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__list a { display: block; padding: var(--space-3) 0; border-bottom: 1px solid var(--tannengruen-700); color: var(--ink-on-dark); text-decoration: none; font: 600 26px/1.3 var(--font-sans); }
.menu__list li { opacity: 0; transform: translateY(12px); animation: menuIn .6s var(--ease) forwards; }
.menu__list li:nth-child(2) { animation-delay: .04s; } .menu__list li:nth-child(3) { animation-delay: .08s; }
.menu__list li:nth-child(4) { animation-delay: .12s; } .menu__list li:nth-child(5) { animation-delay: .16s; } .menu__list li:nth-child(6) { animation-delay: .2s; }
@keyframes menuIn { to { opacity: 1; transform: none; } }
.menu__foot { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-8); }
.menu__tel { color: var(--ink-on-dark); font-weight: 600; font-size: 20px; }
.menu a:focus-visible { box-shadow: var(--focus-ring-dark); }

@media (max-width: 1080px) { .nav ul { gap: var(--space-6); } .header__inner { gap: var(--space-8); } }
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header__actions { gap: var(--space-4); }
}
@media (max-width: 640px) {
  .header__cta { display: none; }
  .wm__name { font-size: 32px; }
  .menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Abschnitte ---------- */
.section-head { max-width: 760px; display: grid; gap: var(--space-4); margin-bottom: var(--space-16); }
.section-head .lead { color: var(--ink); max-width: var(--measure); }

/* ---------- Hero ---------- */
.hero { padding-block: var(--space-16) var(--section); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); gap: var(--space-16); align-items: center; }
.hero__eyebrow { margin-bottom: var(--space-6); }
.hero__title { color: var(--ink); }
.hero__line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__line > span { display: inline-block; }
.hero__lead { margin-top: var(--space-8); max-width: 34em; }
.hero__actions { margin-top: var(--space-12); display: flex; flex-wrap: wrap; gap: var(--space-4); }
.hero__meta { margin-top: var(--space-6); color: var(--ink-muted); }
.hero__meta a { color: var(--tannengruen); font-weight: 600; text-decoration: none; }
.hero__meta a:hover { text-decoration: underline; }
.hero__media { position: relative; }
.hero__img { width: 100%; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-alt); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__caption { display: flex; flex-direction: column; gap: 2px; padding-top: var(--space-3); }
.hero__caption-title { font-weight: 600; font-size: 17px; line-height: 24px; }
.hero__caption-meta { font-size: 15px; line-height: 24px; color: var(--ink-muted); }

@media (min-width: 901px) {
  .hero__img { max-height: max(420px, calc(100svh - var(--header-height) - 150px)); }
}
@media (min-width: 901px) and (max-height: 820px) {
  .hero { padding-top: var(--space-8); }
  .hero__lead { margin-top: var(--space-6); }
  .hero__actions { margin-top: var(--space-8); }
}
@media (min-width: 901px) and (max-width: 1150px) {
  .hero__inner { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-12); }
}
@media (max-width: 900px) {
  .hero { padding-top: var(--space-8); }
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-12); }
  .hero__actions { margin-top: var(--space-8); }
}
@media (min-width: 601px) and (max-width: 900px) {
  .hero__img { aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) {
  .hero__actions .btn { flex: 1 1 100%; }
}
@media (max-width: 360px) {
  .hero__eyebrow { letter-spacing: .08em; font-size: 12px; }
}

/* Hero: Ladeanimation (rein CSS, läuft auch ohne JavaScript) */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes unclip { from { clip-path: inset(10% 12% 10% 12%); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.14); } to { transform: scale(1); } }
@media (prefers-reduced-motion: no-preference) {
  .hero__eyebrow, .hero__lead, .hero__actions, .hero__meta { animation: rise 1s var(--ease) both; }
  .hero__eyebrow { animation-delay: .05s; }
  .hero__lead { animation-delay: .45s; }
  .hero__actions { animation-delay: .55s; }
  .hero__meta { animation-delay: .65s; }
  .hero__line > span { animation: lineUp 1.1s var(--ease) both; }
  .hero__line > .d1 { animation-delay: .1s; } .hero__line > .d2 { animation-delay: .2s; } .hero__line > .d3 { animation-delay: .3s; }
  .hero__img { animation: unclip 1.5s var(--ease) both .1s; }
  .hero__img img { animation: settle 2.2s var(--ease) both .1s; }
  .hero__caption { animation: rise 1s var(--ease) both .8s; }
}

/* ---------- Vertrauenssignale ---------- */
.trust__list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust__item { padding: var(--space-8) var(--space-6); }
.trust__item:first-child { padding-left: 0; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust dt { font: 600 24px/32px var(--font-sans); color: var(--tannengruen); }
.trust dd { margin-top: var(--space-1); font-size: 15px; line-height: 24px; color: var(--ink-muted); }
@media (max-width: 760px) {
  .trust__list { grid-template-columns: 1fr; }
  .trust__item { padding: var(--space-6) 0; }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Haltung (Wort-für-Wort beim Scrollen) ---------- */
.statement { padding-top: var(--section); }
.statement__inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--space-8); align-items: start; }
.statement__label { padding-top: 14px; }
.statement__text { font-family: var(--font-serif); font-weight: 600; font-size: clamp(28px, 1.1rem + 2.4vw, 52px); line-height: 1.22; letter-spacing: -0.01em; color: var(--ink); text-wrap: pretty; }
.statement__text .w { color: color-mix(in srgb, var(--stein) 78%, var(--hobelspan)); transition: color .5s ease; }
.statement__text .w.is-lit { color: var(--ink); }
@media (max-width: 900px) { .statement__inner { grid-template-columns: 1fr; gap: var(--space-4); } .statement__label { padding-top: 0; } }

/* ---------- Bildrahmen mit Parallaxe ---------- */
.frame { position: relative; overflow: hidden; background: var(--surface-alt); }
.frame--43 { aspect-ratio: 4 / 3; }
.frame--34 { aspect-ratio: 3 / 4; }
.frame--45 { aspect-ratio: 4 / 5; }
.frame picture { position: absolute; left: 0; right: 0; top: -8%; bottom: -8%; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Leistungen ---------- */
.services { padding-block: var(--section); }
.service { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-16); align-items: center; }
.service + .service { margin-top: var(--space-24); }
.service--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.service--flip .service__media { order: 2; }
.service--flip .service__media .frame { max-width: 480px; margin-left: auto; }
#reparaturen { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
#reparaturen .frame { max-width: 480px; }
.service__caption { margin-top: var(--space-3); color: var(--ink-muted); }
.service--flip .service__caption { text-align: right; }
.service__body { display: grid; gap: var(--space-4); align-content: start; }
.service__num { font-family: var(--font-serif); font-weight: 600; font-size: 20px; line-height: 1; color: var(--kirschbaum-700); }
.service__title { font-size: clamp(24px, 1.1rem + .7vw, 28px); line-height: 1.25; }
.checklist { display: grid; gap: 0; margin-top: var(--space-2); border-top: 1px solid var(--line); }
.checklist li { position: relative; padding: var(--space-3) 0 var(--space-3) var(--space-8); border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 14px; height: 1.5px; background: var(--tannengruen); }
.service .arrow-link { justify-self: start; margin-top: var(--space-2); }
@media (max-width: 900px) {
  .service, .service--flip, #reparaturen { grid-template-columns: 1fr; gap: var(--space-8); }
  .service + .service { margin-top: var(--space-16); }
  .service--flip .service__media { order: 0; }
  .service--flip .service__media .frame, #reparaturen .frame { max-width: none; margin: 0; aspect-ratio: 4 / 3; }
  .service--flip .service__caption { text-align: left; }
}

/* ---------- Projekte (horizontale Galerie auf Tannengrün) ---------- */
.projects { background: var(--surface-dark); color: var(--ink-on-dark); }
.projects .label { color: var(--ink-on-dark-muted); }
.projects__sticky { padding-block: var(--space-16) var(--space-12); display: flex; flex-direction: column; gap: var(--space-12); }
.is-hscroll .projects__sticky { padding-block: var(--space-12) var(--space-8); gap: var(--space-8); }
.projects__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-8); align-items: end; }
.projects__head .headline { color: var(--ink-on-dark); margin-top: var(--space-4); }
.projects__intro { color: var(--ink-on-dark-muted); max-width: 30em; }
.projects__viewport { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.projects__viewport::-webkit-scrollbar { display: none; }
.projects__viewport:focus-visible { box-shadow: inset var(--focus-ring-dark); }
.projects__track { display: flex; gap: var(--space-8); width: max-content; }
.project { scroll-snap-align: start; flex: none; }
.project figure { display: flex; flex-direction: column; }
.project__img { height: var(--ph, clamp(260px, calc(100svh - 460px), 560px)); overflow: hidden; background: var(--tannengruen-700); }
.project--43 .project__img { aspect-ratio: 4 / 3; }
.project--34 .project__img { aspect-ratio: 3 / 4; }
.project__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.project:hover .project__img img { transform: scale(1.0); }
.project figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: var(--space-3); }
.project__caption { font-weight: 600; font-size: 17px; line-height: 24px; color: var(--ink-on-dark); }
.project__meta { font-size: 15px; line-height: 24px; color: var(--ink-on-dark-muted); }
.projects__foot { display: flex; align-items: center; gap: var(--space-8); }
.projects__progress { position: relative; flex: 1; height: 1px; background: var(--tannengruen-700); }
.projects__progress span { position: absolute; inset: -0.5px auto -0.5px 0; width: 100%; background: var(--ink-on-dark-muted); transform-origin: left; transform: scaleX(var(--p, 0.11)); }
.projects__count { font-variant-numeric: tabular-nums; color: var(--ink-on-dark-muted); font-size: 15px; white-space: nowrap; }

/* Desktop: Abschnitt wird angeheftet, vertikales Scrollen bewegt die Galerie seitwärts */
.is-hscroll .projects__pin { height: var(--hs-height, auto); }
.is-hscroll .projects__sticky { position: sticky; top: var(--header-height); height: calc(100svh - var(--header-height)); justify-content: center; overflow: hidden; }
.is-hscroll .projects__viewport { overflow: visible; scroll-snap-type: none; }
.is-hscroll .projects__track { transform: translate3d(var(--hx, 0px), 0, 0); will-change: transform; }

@media (max-width: 900px) {
  .projects__head { grid-template-columns: 1fr; gap: var(--space-4); }
  .project--43 .project__img { height: auto; width: 84vw; max-width: 520px; }
  .project--34 .project__img { height: auto; width: 64vw; max-width: 400px; }
}
@media (max-width: 900px) and (max-height: 560px) {
  .project--43 .project__img, .project--34 .project__img { height: 62svh; width: auto; max-width: none; }
  .projects__track { gap: var(--space-4); }
}

/* ---------- Ablauf ---------- */
.process { background: var(--surface-alt); padding-block: var(--section); }
.process__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-16); }
.process__sticky { position: sticky; top: calc(var(--header-height) + var(--space-12)); display: grid; gap: var(--space-4); }
.process__sticky .headline { margin-bottom: var(--space-2); }
.process__img { margin-top: var(--space-8); max-width: 380px; }
.steps { position: relative; counter-reset: step; }
.steps::before, .steps::after { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 1px; background: var(--tannengruen-300); }
.steps::after { background: var(--tannengruen); width: 2px; left: 26.5px; transform-origin: top; transform: scaleY(var(--p, 0)); }
.step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--space-8); padding-bottom: var(--space-16); }
.step:last-child { padding-bottom: 0; }
.step__num { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--surface-alt); border: 1px solid var(--tannengruen-300); font-family: var(--font-serif); font-weight: 600; font-size: 22px; color: var(--tannengruen); transition: background-color .5s ease, color .5s ease, border-color .5s ease; }
.step.is-active .step__num { background: var(--tannengruen); border-color: var(--tannengruen); color: var(--hobelspan); }
.step__body { padding-top: 12px; display: grid; gap: var(--space-2); max-width: 34em; }
.step__body p { color: var(--ink); }
@media (max-width: 900px) {
  .process__inner { grid-template-columns: 1fr; gap: var(--space-12); }
  .process__sticky { position: static; }
  .process__img { display: none; }
  .step { grid-template-columns: 48px minmax(0, 1fr); gap: var(--space-4); padding-bottom: var(--space-12); }
  .step__num { width: 48px; height: 48px; font-size: 20px; }
  .steps::before, .steps::after { left: 23px; top: 24px; bottom: 24px; }
  .steps::after { left: 22.5px; }
  .step__body { padding-top: 8px; }
}

/* ---------- Über uns ---------- */
.about { padding-block: var(--section); }
.about__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-16); align-items: center; }
.about__media .frame { max-width: 460px; }
.about__text { display: grid; gap: var(--space-6); max-width: var(--measure); }
.about__text .headline { margin-top: calc(-1 * var(--space-2)); }
.about__sign { display: flex; flex-direction: column; gap: 2px; padding-top: var(--space-6); border-top: 1px solid var(--line); }
.about__name { font-family: var(--font-serif); font-weight: 600; font-size: 24px; line-height: 1.2; color: var(--tannengruen); }
.about__sign .small { color: var(--ink-muted); }
@media (max-width: 900px) { .about__inner { grid-template-columns: 1fr; gap: var(--space-8); } .about__media .frame { max-width: none; aspect-ratio: 4 / 3; } }

/* ---------- Einzugsgebiet ---------- */
.region { background: var(--surface-alt); padding-block: var(--section); }
.region__inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-16); align-items: center; }
.region__text { display: grid; gap: var(--space-6); }
.region__lists { display: grid; grid-template-columns: 3fr 2fr; gap: var(--space-8); margin-top: var(--space-2); }
.region__h { font-weight: 600; font-size: 17px; line-height: 24px; padding-bottom: var(--space-3); margin-bottom: var(--space-3); border-bottom: 1px solid var(--tannengruen-300); }
.places { columns: 2; column-gap: var(--space-6); }
.region__lists > div:last-child .places { columns: 1; }
.places li { font-size: 17px; line-height: 30px; break-inside: avoid; }
.region__note { color: var(--ink-muted); }
.region__map { --map-outer: color-mix(in srgb, var(--tannengruen) 4%, var(--ahornsand)); --map-inner: color-mix(in srgb, var(--tannengruen) 9%, var(--ahornsand)); }
.region__map svg { width: 100%; max-width: 600px; height: auto; margin-inline: auto; overflow: visible; }
.map__disc--outer { fill: var(--map-outer); stroke: var(--tannengruen-300); stroke-width: 1.2; stroke-dasharray: 3 7; }
.map__disc--inner { fill: var(--map-inner); stroke: var(--tannengruen-300); stroke-width: 1.2; }
.map__disc { transform-box: fill-box; transform-origin: center; }
.map__minor circle { fill: var(--stein); fill-opacity: .55; }
.map__km rect { fill: var(--ahornsand); stroke: var(--tannengruen-300); stroke-width: 1; }
.map__km text { font: 600 12px var(--font-sans); letter-spacing: .08em; fill: var(--tannengruen); text-anchor: middle; }
.map__place circle { fill: var(--tannengruen); stroke: var(--map-outer); stroke-width: 3; }
.map__place text { font: 600 17px var(--font-sans); fill: var(--ink); paint-order: stroke; stroke: var(--map-outer); stroke-width: 6px; stroke-linejoin: round; }
.map__place--city text { font-size: 19px; }
.map__dot { fill: var(--kirschbaum); stroke: var(--ahornsand); stroke-width: 3; }
.map__pulse { fill: none; stroke: var(--kirschbaum); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; }
.map__tag rect { fill: var(--tannengruen); }
.map__tag text { font: 600 15px var(--font-sans); fill: var(--hobelspan); letter-spacing: .01em; }
.map__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-6); margin-top: var(--space-6); color: var(--ink-muted); }
.map__legend > span { display: inline-flex; align-items: center; gap: var(--space-2); }
.map__key { width: 12px; height: 12px; border-radius: 50%; background: var(--tannengruen); }
.map__key--home { background: var(--kirschbaum); }
.map__key--minor { width: 8px; height: 8px; background: var(--stein); opacity: .55; }
.map__note { width: 100%; justify-content: center; font-size: 13px; }
.map__pill, .map__tag-inner { transform-box: fill-box; }
@media (max-width: 600px) {
  .map__place text { font-size: 24px; stroke-width: 7px; }
  .map__place--city text { font-size: 26px; }
  .map__pill { transform-origin: center; transform: scale(1.5); }
  .map__tag-inner { transform-origin: left center; transform: scale(1.4); }
}
@media (max-width: 400px) {
  .map__place text { font-size: 27px; }
  .map__place--city text { font-size: 29px; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .map__disc { opacity: 0; transform: scale(.7); transition: opacity 1s ease, transform 1.6s var(--ease); }
  .js .map__disc--outer { transition-delay: .15s; }
  .js .map__place, .js .map__minor circle, .js .map__km, .js .map__tag { opacity: 0; transition: opacity .8s ease, transform .8s var(--ease); }
  .js .map__tag { transform: translateX(-8px); }
  .js .is-in .map__disc { opacity: 1; transform: none; }
  .js .is-in .map__place, .js .is-in .map__minor circle, .js .is-in .map__km, .js .is-in .map__tag { opacity: 1; transform: none; }
  .js .is-in .map__tag { transition-delay: .5s; }
  .js .is-in .map__place:nth-child(1) { transition-delay: .6s; }
  .js .is-in .map__place:nth-child(2) { transition-delay: .7s; }
  .js .is-in .map__place:nth-child(3) { transition-delay: .8s; }
  .js .is-in .map__place:nth-child(4) { transition-delay: .9s; }
  .js .is-in .map__place:nth-child(5) { transition-delay: 1s; }
  .js .is-in .map__place:nth-child(6) { transition-delay: 1.1s; }
  .js .is-in .map__place:nth-child(7) { transition-delay: 1.2s; }
  .js .is-in .map__place:nth-child(8) { transition-delay: 1.3s; }
  .js .is-in .map__minor circle { transition-delay: 1.4s; }
  .js .is-in .map__km { transition-delay: 1.6s; }
  .map__pulse { animation: pulse 2.8s var(--ease-soft) infinite; }
}
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
@media (max-width: 900px) {
  .region__inner { grid-template-columns: 1fr; gap: var(--space-12); }
  .region__lists { grid-template-columns: 1fr; gap: var(--space-6); }
}

/* ---------- Häufige Fragen ---------- */
.faq { padding-block: var(--section); }
.faq__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-16); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-height) + var(--space-12)); display: grid; gap: var(--space-4); }
.faq__head p:last-child { color: var(--ink); margin-top: var(--space-2); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: var(--tap-target); padding: var(--space-6) 0; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-weight: 600; font-size: 19px; line-height: 28px; }
.faq__item summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-right: 4px; background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat; color: var(--tannengruen); transition: transform .45s var(--ease); }
.faq__item[open] summary::after { transform: rotate(135deg); }
.faq__item summary:hover h3 { color: var(--tannengruen); }
.faq__answer { padding: 0 var(--space-12) var(--space-6) 0; max-width: var(--measure); }
.faq__item[open] .faq__answer { animation: rise .6s var(--ease) both; }
@media (max-width: 900px) {
  .faq__inner { grid-template-columns: 1fr; gap: var(--space-8); }
  .faq__head { position: static; }
  .faq__answer { padding-right: 0; }
}

/* ---------- Kontakt ---------- */
.contact { background: var(--surface-dark); color: var(--ink-on-dark); padding-block: var(--section); }
.contact .label { color: var(--ink-on-dark-muted); }
.contact__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-16); align-items: start; }
.contact__info { display: grid; gap: var(--space-6); }
@media (min-width: 1001px) { .contact__info { position: sticky; top: calc(var(--header-height) + var(--space-12)); } }
.contact__info .headline { color: var(--ink-on-dark); }
.contact__info .lead { color: var(--ink-on-dark-muted); }
.contact__tel { font-family: var(--font-serif); font-weight: 600; font-size: clamp(36px, 1.6rem + 2vw, 56px); line-height: 1.1; color: var(--ink-on-dark); text-decoration: none; justify-self: start; padding-block: 6px; }
.contact__tel:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.contact__address { padding-top: var(--space-6); border-top: 1px solid var(--tannengruen-700); color: var(--ink-on-dark-muted); line-height: 30px; }
.contact__address-name { display: block; color: var(--ink-on-dark); font-weight: 600; }
.contact__address a { color: var(--ink-on-dark); text-underline-offset: 3px; }
.contact a:focus-visible { box-shadow: var(--focus-ring-dark); }

.contact__form-wrap .label { color: var(--ink-muted); }
.contact__form-wrap { background: var(--surface); color: var(--ink); padding: var(--space-12); border-radius: var(--radius-md); }
.contact__form-wrap a:focus-visible, .contact__form-wrap :focus-visible { box-shadow: var(--focus-ring); }
.form { display: grid; gap: var(--space-6); }
.form__chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.form__legend { width: 100%; margin-bottom: var(--space-3); padding: 0; font-weight: 600; font-size: 17px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-4); border: 1px solid var(--tannengruen-300); border-radius: var(--radius-sm); font-size: 16px; font-weight: 600; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.chip span:hover { border-color: var(--tannengruen); }
.chip input:checked + span { background: var(--tannengruen); border-color: var(--tannengruen); color: var(--hobelspan); }
.chip input:focus-visible + span { box-shadow: var(--focus-ring); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4) var(--space-6); }
.field { display: grid; gap: var(--space-2); }
.field--full, .form__hint { grid-column: 1 / -1; }
.form__hint { margin-top: calc(-1 * var(--space-2)); color: var(--ink-muted); }
.field label { font-weight: 600; font-size: 16px; line-height: 24px; }
.field input, .field textarea { width: 100%; min-height: var(--tap-target); padding: var(--space-3) var(--space-4); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-size: 17px; line-height: 24px; transition: border-color .2s ease; }
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--stein) 85%, var(--hobelspan)); }
.field input:hover, .field textarea:hover { border-color: var(--tannengruen); }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--tannengruen); }
.field [aria-invalid="true"] { border-color: var(--kirschbaum-700); border-width: 2px; }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--space-3); align-items: start; font-size: 15px; line-height: 24px; color: var(--ink-muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--tannengruen); }
.check input[aria-invalid="true"] { outline: 2px solid var(--kirschbaum-700); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__alert { padding: var(--space-4); background: var(--kirschbaum-100); border-left: 3px solid var(--kirschbaum-700); color: var(--ink); font-size: 16px; line-height: 24px; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); }
.form__submit .btn[disabled] { opacity: .7; cursor: progress; }
.form__req { color: var(--ink-muted); }
.form__done { display: grid; gap: var(--space-3); }
.form__done-title { font-family: var(--font-serif); font-weight: 600; font-size: 32px; line-height: 1.2; color: var(--tannengruen); }
@media (max-width: 1000px) { .contact__inner { grid-template-columns: 1fr; gap: var(--space-12); } }
@media (max-width: 600px) {
  .contact__form-wrap { padding: var(--space-6) var(--space-4); margin-inline: calc(-1 * var(--space-2)); }
  .form__grid { grid-template-columns: 1fr; }
  .form__submit .btn { width: 100%; }
}

/* ---------- Fußzeile ---------- */
.footer { background: var(--surface-deep); color: var(--ink-on-dark-muted); font-size: 15px; line-height: 26px; }
.footer__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: var(--space-8) var(--space-16); padding-block: var(--space-16) var(--space-12); }
.footer__brand p { margin-top: var(--space-6); max-width: 24em; color: var(--tannengruen-300); }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; }
.footer__h { margin-bottom: var(--space-3); font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tannengruen-300); }
.footer a { color: var(--ink-on-dark); text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer a:focus-visible { box-shadow: var(--focus-ring-dark); }
.footer__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-6); }
.footer__bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--tannengruen-700); }
.footer__legal { display: flex; gap: var(--space-3); }
@media (max-width: 900px) { .footer__inner { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer { padding-bottom: calc(72px + env(safe-area-inset-bottom)); } .footer__col a { padding-block: 9px; } .footer__h { margin-bottom: var(--space-1); } }
@media (max-width: 520px) { .footer__inner { grid-template-columns: 1fr; } }
@media (pointer: coarse) { .footer__col a { padding-block: 9px; } .footer__h { margin-bottom: var(--space-1); } }

/* ---------- Danke- und Fehlerseite ---------- */
.page-message { min-height: calc(100svh - var(--header-height) - 80px); display: flex; align-items: center; padding-block: var(--space-24); }
.page-message__inner { display: grid; gap: var(--space-6); justify-items: start; }
.page-message__inner > * { max-width: var(--measure); }
.page-message .headline { color: var(--tannengruen); }
.page-message__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* ---------- Mobile Aktionsleiste ---------- */
.mobilebar { display: none; }
@media (max-width: 640px) {
  .mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--space-2); padding: var(--space-2) var(--space-3) calc(var(--space-2) + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .5s var(--ease); }
  .mobilebar.is-visible { transform: none; }
  .mobilebar .btn { padding: 0 var(--space-3); }
}

/* ---------- Scroll-Animationen ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity 1s var(--ease-soft), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); transition-delay: var(--d, 0s); }
  .js [data-reveal="clip"] img { transform: scale(1.18); transition: transform 2s var(--ease); transition-delay: var(--d, 0s); }
  .js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }
  .js [data-reveal="clip"].is-in img { transform: none; }
  .js .trust__list { border-top-color: transparent; border-bottom-color: transparent; background: linear-gradient(var(--line), var(--line)) left top / 0 1px no-repeat, linear-gradient(var(--line), var(--line)) left bottom / 0 1px no-repeat; transition: background-size 1.6s var(--ease); }
  .js .trust__list.is-lined { background-size: 100% 1px, 100% 1px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .frame picture { transform: none; }
}
