/* d.one modern hair culture - Design-Sprache v2 (assets/ai/design-sprache) */

@font-face { font-family: "Italiana"; src: url("../fonts/italiana-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Allura"; src: url("../fonts/allura-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --black: #0A0A0A;
  --white: #FFFFFF;
  --line: #D9D9D9;

  --f-head: "Italiana", Georgia, serif;
  --f-body: "Manrope", Arial, sans-serif;
  --f-sign: "Allura", cursive;

  --max: 1200px;
  --gutter: clamp(24px, 5vw, 48px);
  --section: clamp(64px, 10vw, 128px);
  --ease: 160ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--f-body);
  font-size: clamp(16px, 1.1vw + 11px, 18px);
  line-height: 1.65;
  letter-spacing: .025em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section + .section { border-top: 1px solid var(--line); }

.label {
  font-size: 12px; font-weight: 500; letter-spacing: .10em; text-transform: uppercase;
  display: flex; align-items: center; gap: 16px; margin: 0 0 32px;
}
.label::after { content: ""; flex: 1; height: 1px; background: var(--line); max-width: 240px; }

h1, h2, h3 { font-family: var(--f-head); font-weight: 400; margin: 0; }
h2 { font-size: clamp(34px, 3.6vw + 12px, 52px); line-height: 1.12; letter-spacing: -.01em; margin-bottom: 24px; }
h3 { font-size: clamp(26px, 1vw + 20px, 32px); line-height: 1.2; }
p { margin: 0 0 16px; max-width: 60ch; }
.lead { font-size: clamp(17px, .6vw + 14px, 20px); }
.sign { font-family: var(--f-sign); font-size: clamp(28px, 1vw + 22px, 36px); line-height: 1.25; letter-spacing: 0; }

/* Typografie-System (Entwurf Codex: assets/ai/design-sprache/typo-system.md) */
.chapter__no { margin-right: 16px; }
.word-accent { display: block; margin-top: 12px; font-family: var(--f-sign); font-size: clamp(44px, 2vw + 36px, 64px); line-height: 1.25; letter-spacing: 0; }
.h2-sign { padding-left: .08em; font-family: var(--f-sign); font-weight: 400; font-size: clamp(52px, 3vw + 40px, 80px); line-height: 1.15; letter-spacing: 0; }
@media (min-width: 1200px) { .word-accent { transform: translateY(-4px); } }
/* Kontur-Echo: einmal, im Preis-Auftakt, nur Desktop. Am Handy normale Italiana. */
@media (min-width: 1100px) {
  @supports (-webkit-text-stroke: 1px #0A0A0A) {
    .outline-word { color: transparent; -webkit-text-stroke: 1px var(--black); font-size: clamp(64px, 6vw, 96px) !important; line-height: 1.05; letter-spacing: -.02em; user-select: none; }
  }
}
.personal-title span { display: block; }
.personal-signature { margin: 8px 0 8px; }

/* Zum Inhalt springen (nur bei Tastatur sichtbar) */
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--black); color: var(--white); padding: 12px 18px; font-size: 14px; text-decoration: none; }
.skip:focus { top: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  font: 500 15px/1.2 var(--f-body); letter-spacing: .04em; text-decoration: none;
  border: 1px solid var(--black); border-radius: 0;
  transition: background var(--ease), color var(--ease);
  cursor: pointer;
}
.btn--primary { background: var(--black); color: var(--white); }
.btn--primary:hover { background: var(--white); color: var(--black); }
.btn--ghost { background: transparent; color: var(--black); }
.btn--ghost:hover { background: var(--black); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Platzhalter: sichtbar markiert, vor Livegang ersetzen */
.ph {
  border: 1px dashed var(--black); padding: 2px 8px; font-size: 13px; letter-spacing: .04em;
  display: inline-block; line-height: 1.5;
}
.ph-box {
  border: 1px dashed var(--black); display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 24px; font-size: 14px; letter-spacing: .04em;
}

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid transparent; transition: border-color var(--ease); }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.header__logo img { width: 140px; height: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { font-size: 14px; letter-spacing: .06em; text-decoration: none; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: var(--black); transition: right var(--ease); }
.nav a:not(.btn):hover::after { right: 0; }
.burger { display: none; background: none; border: 0; width: 48px; height: 48px; padding: 12px; cursor: pointer; }
.burger span { display: block; height: 1px; background: var(--black); margin: 6px 0; transition: transform var(--ease), opacity var(--ease); }

/* Hero */
.hero { padding: clamp(40px, 6vw, 96px) 0 var(--section); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero h1 { font-size: clamp(30px, 7.6vw, 80px); line-height: 1.05; letter-spacing: -.02em; }
.hero h1 span { display: block; }
.hero__place { margin: 24px 0 8px; font-size: clamp(12px, .6vw + 9.6px, 18px); letter-spacing: .10em; }
.hero .sign { margin: 0 0 40px; }

/* Bilder */
.ai-img { position: relative; margin: 0; }
.ai-img img { width: 100%; object-fit: cover; }
.hero .ai-img img { aspect-ratio: 4 / 5; }
.portrait-img img { aspect-ratio: 4 / 5; object-position: center top; }

/* Preisliste (Entwurf Codex: assets/ai/bauteile/preise-bauteil.md) */
.pl { margin-top: 64px; }
.pl__head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.pl__head .pl__note { margin-top: 8px; }
.pl__title { font-family: var(--f-head); font-size: clamp(34px, 3.6vw + 12px, 52px); line-height: 1.12; letter-spacing: -.01em; margin: 0; }
.pl__note { font-size: 14px; margin: 0; }
.pl__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.pl__row > * { padding: 32px 32px 32px 0; }
.pl__row > * + * { border-left: 1px solid var(--line); padding-left: 32px; margin: 16px 0; padding-top: 16px; padding-bottom: 16px; }
.pl__row > :last-child { padding-right: 0; }
.pl__cat h3 { font-size: 32px; line-height: 1.2; margin-bottom: 16px; }
.pl__cat dl { margin: 0; }
.pl__item { display: grid; grid-template-columns: minmax(0, 1fr) max-content; column-gap: 16px; align-items: start; padding: 4px 0; }
.pl__item dt { font-size: 17px; line-height: 1.5; letter-spacing: .025em; }
.pl__item dd { margin: 0; font-weight: 500; font-size: 17px; line-height: 1.5; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.pl__mark { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 32px; margin: 24px 32px 24px 0; min-height: 192px; }
.pl__mark::before, .pl__mark::after { content: ""; position: absolute; width: 96px; height: 48px; border: 0 solid var(--line); pointer-events: none; }
.pl__mark::before { top: 0; left: 0; border-width: 1px 0 0 1px; }
.pl__mark::after { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.pl__big { font-family: var(--f-head); font-size: clamp(40px, 3vw + 18px, 56px); line-height: 1.12; letter-spacing: -.01em; }
.pl__row--feature > .pl__cat { margin: 16px 0; }
.menu__cta { margin-top: 48px; }
@media (max-width: 1099px) {
  .pl__row { grid-template-columns: 1fr 1fr; }
  .pl__row > * { padding: 24px 24px 24px 0; }
  .pl__row > * + * { border-left: 0; padding-left: 0; margin: 0; }
  .pl__row > :nth-child(2n) { border-left: 1px solid var(--line); padding-left: 24px; margin: 16px 0; }
  .pl__row--feature .pl__mark { grid-column: 1 / -1; margin-right: 0; }
  .pl__row--feature > .pl__cat--first { border-left: 0; padding-left: 0; }
  .pl__row--feature > .pl__cat:last-child { border-left: 1px solid var(--line); padding-left: 24px; }
}
@media (max-width: 767px) {
  .pl__head { flex-direction: column; align-items: stretch; gap: 16px; }
  .pl__head .btn { width: 100%; }
  .pl__row { grid-template-columns: 1fr; border-bottom: 0; }
  .pl__row > *, .pl__row > * + *, .pl__row > :nth-child(2n), .pl__row--feature > .pl__cat:last-child { border-left: 0; padding: 32px 0; margin: 0; border-bottom: 1px solid var(--line); }
  .pl__mark { padding: 24px 16px; margin: 24px 0 0; min-height: 0; }
  .pl__row--feature .pl__mark { border-bottom: 0; padding: 24px 16px; }
  .pl__mark::before, .pl__mark::after { width: 40px; height: 32px; }
  .pl__cat--first h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pl__row--feature > .pl__cat--first { padding-top: 24px; }
  .pl__cat h3 { font-size: 26px; }
  .pl__item dt, .pl__item dd { font-size: 16px; }
}

/* Faktenliste mit Haarlinien */
.facts-list { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); max-width: 60ch; }
.facts-list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }

/* Bereichskopf mit Preiskarten-Button */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; }
.sec-head .lead { margin-bottom: 0; }
.sec-head__cta { padding-bottom: 6px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.text-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; letter-spacing: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.nav__link { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; letter-spacing: .06em; color: var(--black); cursor: pointer; position: relative; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: var(--black); transition: right var(--ease); }
.nav__link:hover::after { right: 0; }
@media (max-width: 860px) {
  .sec-head { grid-template-columns: 1fr; }
  .sec-head__cta .btn { width: 100%; }
  .nav .nav__link { font-family: var(--f-head); font-size: 32px; letter-spacing: 0; padding: 12px 0; width: 100%; text-align: left; border-bottom: 1px solid var(--line); }
  .nav .nav__link::after { display: none; }
}

/* Leistungen */
.feature-img { margin-top: 48px; }
.feature-img img { aspect-ratio: 21 / 9; object-position: center 40%; }
@media (max-width: 860px) { .feature-img img { aspect-ratio: 3 / 2; } }
.section-note { margin-top: 24px; }

/* Split-Layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--rev > :first-child { order: 2; }
.portrait { aspect-ratio: 4 / 5; }
.about { margin-top: 24px; }
.about p + p { margin-top: 16px; }
.about .about__quote { margin-top: 28px; margin-bottom: 4px; font-size: clamp(34px, 1.5vw + 26px, 44px); line-height: 1.2; }


/* Bewertungen: Laufband */
.marquee { overflow: hidden; margin-top: 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee var(--marquee-dur, 60s) linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.review { width: min(380px, 80vw); flex: none; padding: 40px 32px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; margin: 0; }
.review__stars { font-size: 14px; letter-spacing: .3em; }
.review__text { font-family: var(--f-head); font-size: 22px; line-height: 1.35; margin: 0; max-width: none;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review__name { margin-top: auto; font-size: 13px; letter-spacing: .10em; text-transform: uppercase; }
.reviews__note { margin-top: 24px; font-size: 13px; max-width: 80ch; }

/* FAQ */
.faq { margin-top: 48px; border-top: 1px solid var(--line); max-width: 860px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: none; border: 0; padding: 16px 0; text-align: left; cursor: pointer;
  font: 500 17px/1.4 var(--f-body); letter-spacing: .02em; color: var(--black);
}
.faq__icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--black); transition: transform var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(0); }
.faq__a { padding: 0 0 24px; }
.faq__a[hidden] { display: none; }

/* Vergleich: Dein Weg zum Termin */
.num { font-family: var(--f-body); font-weight: 400; font-size: .86em; letter-spacing: -.02em; }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 48px; }
.vs__label { font-family: var(--f-body); font-weight: 500; font-size: 12px; line-height: 1.4; letter-spacing: .10em; text-transform: uppercase; margin: 0 0 24px; }
.vs__track { position: relative; padding-left: 40px; }
.vs__line { position: absolute; left: 8px; top: 10px; bottom: 10px; width: 1px; background: var(--black); transform-origin: top; }
.vs__col--city .vs__line { background: repeating-linear-gradient(to bottom, var(--black) 0 4px, transparent 4px 8px); }
.vs__steps { list-style: none; margin: 0; padding: 0; }
.vs__steps li { position: relative; min-height: 56px; display: flex; align-items: center; font-size: 18px; line-height: 1.5; }
.vs__steps li::before { content: ""; position: absolute; left: -32px; top: 50%; width: 10px; height: 1px; background: var(--black); }
.vs__sum { margin: 24px 0 0; padding-top: 16px; border-top: 1px solid var(--line); max-width: none; }
.vs__sum-label { display: block; font-size: 12px; font-weight: 500; letter-spacing: .10em; text-transform: uppercase; margin-bottom: 8px; }
.vs__col--city .vs__sum-value { font-size: clamp(22px, 1vw + 16px, 28px); line-height: 1.25; }
.vs__col--done .vs__sum-value { font-size: clamp(30px, 1.6vw + 20px, 40px); line-height: 1.25; font-weight: 500; }
.vs__note { font-size: 14px; margin-top: 32px; }
/* Einscroll-Animation: Linie zeichnet sich, Summe zuletzt (nur mit JS, sonst alles sichtbar) */
.vs.js-anim .vs__line { transform: scaleY(0); }
.vs.js-anim .vs__sum-value { opacity: 0; }
.vs.js-anim.is-on .vs__line { transform: scaleY(1); transition: transform 600ms cubic-bezier(.22, 1, .36, 1); }
.vs.js-anim.is-on .vs__sum-value { opacity: 1; transition: opacity 160ms ease 600ms; }
@media (prefers-reduced-motion: reduce) { .vs.js-anim .vs__line { transform: none; } .vs.js-anim .vs__sum-value { opacity: 1; } }
@media (max-width: 767px) {
  .vs { grid-template-columns: 1fr; gap: 40px; margin-top: 32px; }
  .vs__steps li { font-size: 16px; min-height: 40px; }
}

/* Vergleich als Video */
.weg__video { position: relative; margin: 32px auto 0; max-width: 540px; border: 1px solid var(--line); }
/* Vergleich als Code-Animation: Bühne 1080 x 1350, per JS auf Boxbreite skaliert */
.vg { position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--white); color: var(--black); }
.vg > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vg__stage { position: absolute; left: 0; top: 0; width: 1080px; height: 1350px; transform-origin: 0 0; }
.vg__layer, .vg__stage .vg__layer > div { position: absolute; }
.vg__layer { inset: 0; }
.vg__svg { position: absolute; inset: 0; }
.vg__axis { font-family: var(--f-body); font-size: 22px; fill: var(--black); letter-spacing: .04em; }
.vg__label { font-family: var(--f-body); font-weight: 500; font-size: 24px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; }
.vg__title { font-family: var(--f-head); font-size: 92px; line-height: 1.05; margin-top: 22px; letter-spacing: -.01em; }
.vg__clock { font-family: var(--f-body); font-weight: 500; font-size: 96px; line-height: 1; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.vg__small { font-family: var(--f-body); font-size: 26px; letter-spacing: .02em; line-height: 1.4; white-space: nowrap; }
.vg__arrived { font-family: var(--f-head); font-size: 64px; line-height: 1; }
.vg__note { font-family: var(--f-body); font-size: 19px; letter-spacing: .02em; line-height: 1.4; }
.vg__st { left: 120px; right: 120px; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; }
.vg__st > div { position: static; }
.vg__big { font-family: var(--f-head); font-size: 104px; line-height: 1.04; letter-spacing: -.01em; }
.vg__mid { font-family: var(--f-head); font-size: 64px; line-height: 1.15; margin-top: 18px; }
.vg__sign { font-family: var(--f-sign); font-size: 64px; line-height: 1.3; margin-top: 40px; }
.weg__end { display: flex; flex-direction: column; align-items: center; gap: 28px; margin-top: 48px; }
.weg__logo { width: 220px; height: auto; }
@media (max-width: 767px) { .weg__end .btn { width: 100%; } .weg__logo { width: 180px; } }

/* Anfahrt-Video: Pause-Knopf */
.anfahrt__video, .weg__video { position: relative; }
.video-toggle { position: absolute; right: 10px; bottom: 10px; min-height: 36px; padding: 0 14px; background: var(--white); color: var(--black); border: 1px solid var(--black); font: 500 12px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }

/* Anfahrt-Video */
.anfahrt { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: 48px; padding-bottom: 64px; border-bottom: 1px solid var(--line); }
.anfahrt__video { margin: 0; border: 1px solid var(--line); }
/* Anfahrt als Code-Animation: Bühne 1080 x 1920, per JS auf Boxbreite skaliert */
.af { position: relative; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; background: var(--white); color: var(--black); }
.af > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.af__stage { position: absolute; left: 0; top: 0; width: 1080px; height: 1920px; transform-origin: 0 0; }
.af__layer { position: absolute; inset: 0; }
.af__abs { position: absolute; }
.af__map, .af__svg { position: absolute; left: 0; top: 0; width: 1080px; height: 1920px; }
.af__fade { background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 27%, rgba(255, 255, 255, 0) 33%); }
.af__pill { display: inline-block; padding: 10px 22px 12px; background: var(--white); color: var(--black); border: 1.5px solid var(--black); font-family: var(--f-head); line-height: 1; white-space: nowrap; }
.af__pill--dark { background: var(--black); color: var(--white); }
.af__dot { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 9px; background: var(--white); border: 4px solid var(--black); box-sizing: border-box; }
.af__min { background: var(--white); border: 1.5px solid var(--black); padding: 6px 14px 7px; font: 500 24px/1.3 var(--f-body); letter-spacing: .04em; white-space: nowrap; }
.af__rv { overflow: hidden; padding-bottom: .14em; }
.af__h { font-family: var(--f-head); font-size: 92px; line-height: 1.08; letter-spacing: -.01em; }
.af__h--s { font-size: 84px; letter-spacing: 0; }
.af__count { font: 500 30px/1.3 var(--f-body); letter-spacing: .1em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.af__goal { font: 500 40px/1.3 var(--f-body); letter-spacing: .1em; white-space: nowrap; }
.af__end { display: flex; align-items: center; justify-content: center; padding-bottom: 260px; }
.af__e1 { font: 500 40px/1.3 var(--f-body); letter-spacing: .04em; }
.af__e2 { font: 400 32px/1.3 var(--f-body); letter-spacing: .1em; margin-top: 18px; }
.af__osm { font: 400 18px/1.3 var(--f-body); color: #6B6B6B; }
.anfahrt__claim { font-family: var(--f-head); font-size: clamp(28px, 1.6vw + 20px, 40px); line-height: 1.2; margin-bottom: 24px; }
.anfahrt__text .btn { margin-top: 16px; }
.anfahrt__note { font-size: 13px; margin-top: 24px; }
@media (max-width: 860px) {
  .anfahrt { grid-template-columns: 1fr; }
  .anfahrt__video { max-width: 320px; width: 100%; margin: 0 auto; }
}

/* Kontakt */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 48px; }
.contact h3 { font-size: 26px; margin-bottom: 16px; }
.contact p { font-size: 16px; }
.hours { list-style: none; padding: 0; margin: 0; font-size: 16px; }
.hours__note { margin-top: 16px; font-size: 14px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px solid var(--line); }

/* CTA-Band */
.cta-band .btn-row { margin-top: 32px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.footer__logo img { width: 200px; height: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; letter-spacing: .06em; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__meta { margin-top: 40px; font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer__meta a { text-decoration: none; }

/* Rechtsseiten */
.legal { padding: var(--section) 0; }
.legal h1 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 48px; }
.legal h2 { font-size: 28px; margin: 48px 0 16px; }
.legal p, .legal li { max-width: 72ch; }

/* Scroll-Einblendung */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms ease, transform 700ms ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0ms !important; }
}

/* Tablet */
@media (max-width: 1024px) {
  .contact { grid-template-columns: 1fr 1fr; }
}

/* Mobil */
@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 76px 0 0 0; background: var(--white);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 24px var(--gutter);
    transform: translateX(100%); transition: transform 240ms ease; visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a:not(.btn) { font-family: var(--f-head); font-size: 32px; letter-spacing: 0; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 32px; width: 100%; }
  .burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.is-open span:nth-child(2) { opacity: 0; }
  .burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header__logo img { width: 112px; height: auto; }

  .hero__grid, .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .hero h1 { font-size: clamp(30px, 9.4vw, 56px); }
  .btn-row .btn { flex: 1 1 100%; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 560px) {
}

/* ===== Preiskarte (Signature-Feature, Entwurf Codex: assets/ai/bauteile/preiskarte.md) ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pk-open { gap: 14px; white-space: nowrap; }
.pk-open > span { white-space: nowrap; }
.pk-open__count { font-weight: 400; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding-left: 14px; border-left: 1px solid currentColor; }
html.pk-lock { overflow: hidden; }

.pk { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; overflow: visible; color: var(--black); }
.pk::backdrop { background: rgba(255, 255, 255, .84); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.pk:not([open]) { display: none; }
.pk[open] { display: flex; align-items: center; justify-content: center; }

.pk__card {
  position: relative; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto;
  width: min(820px, calc(100vw - 48px)); height: min(1136px, calc(100dvh - 64px));
  background: var(--white); border: 1px solid var(--line); box-shadow: 0 9px 48px rgba(10, 10, 10, .06);
}
.pk__head { display: flex; align-items: center; justify-content: space-between; min-height: 88px; padding: 0 48px; }
.pk__logo { width: 126px; height: auto; display: block; }
.pk__close { position: relative; width: 48px; height: 48px; margin-right: -12px; background: none; border: 0; cursor: pointer; }
.pk__close span::before, .pk__close span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; background: var(--black); transform: translate(-50%, -50%) rotate(45deg); transition: transform var(--ease); }
.pk__close span::after { transform: translate(-50%, -50%) rotate(-45deg); }
.pk__close:hover span::before { transform: translate(-50%, -50%) rotate(135deg); }
.pk__close:hover span::after { transform: translate(-50%, -50%) rotate(45deg); }

.pk__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; padding: 4px max(48px, calc(50% - 250px)) 0; border-bottom: 1px solid var(--line); }
.pk__nav a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 500; font-size: 12px; letter-spacing: .06em; text-decoration: none; position: relative; white-space: nowrap; }
.pk__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: var(--black); transform: scaleX(0); transform-origin: left; transition: transform 220ms ease; }
.pk__nav a[aria-current="location"]::after, .pk__nav a:hover::after { transform: scaleX(1); }

.pk__body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 40px 48px 32px; scroll-padding-top: 16px; }
.pk__intro { text-align: center; margin-bottom: 32px; }
.pk__title { font-size: 54px; line-height: 1.12; margin: 0; }
.pk__title:focus { outline: none; }
.pk__note { font-size: 14px; margin: 8px auto 0; }
.pk__rule { display: block; height: 1px; background: var(--line); margin-top: 32px; transform-origin: left; }

.pk__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; }
.pk__cat { padding: 24px 0 28px; border-bottom: 1px solid var(--line); }
.pk__cat:nth-child(odd) { padding-right: 18px; border-right: 1px solid var(--line); }
.pk__cat:nth-last-child(-n+2) { border-bottom: 0; }
.pk__cat h3 { font-size: 29px; line-height: 1.2; margin-bottom: 16px; scroll-margin-top: 16px; }
.pk__cat h3:focus { outline: none; }
.pk__cat--lead h3 { font-size: 37px; }
.pk__cat dl { margin: 0; }
.pk__cat .pl__item { padding: 3px 0; }
.pk__cat .pl__item dt, .pk__cat .pl__item dd { font-size: 16px; }
.pk__cat .pl__item dd { font-weight: 400; }
.pk__hint { font-size: 14px; margin: 24px 0 0; max-width: none; }

.pk__foot { display: flex; justify-content: flex-end; align-items: center; min-height: 80px; padding: 0 48px; border-top: 1px solid var(--line); }

/* Animation: Papier wächst aus dem Button, Linie zeichnet sich, Kategorien gestaffelt */
.pk-paper { position: fixed; z-index: 2147483647; background: var(--white); border: 1px solid var(--line); pointer-events: none; }
.pk.is-opening .pk__card { visibility: hidden; }
.pk.is-revealing .pk__rule { animation: pk-line 240ms ease both; }
.pk.is-revealing .pk__intro > :not(.pk__rule), .pk.is-revealing .pk__cat { animation: pk-in 260ms cubic-bezier(.22, 1, .36, 1) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes pk-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pk-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pk.is-closing .pk__card { visibility: hidden; }

/* Tablet */
@media (max-width: 1199px) {
  .pk__card { width: min(720px, calc(100vw - 48px)); height: calc(100dvh - 48px); }
  .pk__head, .pk__foot { padding: 0 32px; }
  .pk__body { padding: 32px 32px 24px; }
  .pk__nav { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 0 32px; scrollbar-width: none; }
  .pk__nav::-webkit-scrollbar { display: none; }
  .pk__grid { grid-template-columns: 1fr; }
  .pk__cat:nth-child(odd) { padding-right: 0; border-right: 0; }
  .pk__cat:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

/* Handy: Vollbild-Blatt von unten */
@media (max-width: 767px) {
  .pk[open] { align-items: stretch; }
  .pk::backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .6); }
  .pk__card { width: 100%; height: 100dvh; border: 0; box-shadow: none; }
  .pk__head { min-height: 86px; padding: env(safe-area-inset-top, 0) 24px 0; border-bottom: 1px solid var(--line); }
  .pk__logo { width: 112px; }
  .pk__nav { padding: 0 24px; gap: 0 24px; }
  .pk__nav a { min-height: 62px; font-size: 13px; }
  .pk__body { padding: 32px 24px 24px; }
  .pk__intro { text-align: left; }
  .pk__title { font-size: clamp(40px, 12vw, 48px); }
  .pk__cat { padding: 32px 0 36px; }
  .pk__cat--lead h3 { font-size: 42px; }
  .pk__cat h3 { font-size: 30px; margin-bottom: 20px; }
  .pk__cat .pl__item { padding: 10px 0; }
  .pk__foot { justify-content: center; padding: 12px 24px calc(12px + env(safe-area-inset-bottom, 0)); }
  .pk__foot .btn { width: 100%; }
  .pk.is-sliding .pk__card { animation: pk-up 360ms cubic-bezier(.22, 1, .36, 1) both; }
  .pk.is-sliding-out .pk__card { animation: pk-down 240ms cubic-bezier(.64, 0, .78, 0) both; }
}
@keyframes pk-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes pk-down { from { transform: none; } to { transform: translateY(100%); } }

@media (prefers-reduced-motion: reduce) {
  .pk *, .pk__card { animation: none !important; transition: none !important; }
}

/* ===== Schnellleiste + Infos (Entwurf Codex: assets/ai/bauteile/schnellleiste.md) ===== */
.qb { display: grid; grid-template-columns: 2fr 3fr; gap: 8px; }
.qb > * { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; font: 500 15px/1.2 var(--f-body); letter-spacing: .04em; text-decoration: none; border: 1px solid var(--black); cursor: pointer; transition: background 160ms ease, color 160ms ease; text-align: center; }
.qb__info { background: var(--white); color: var(--black); }
.qb__info:hover, .qb__info[aria-expanded="true"] { background: var(--black); color: var(--white); }
.qb__book { background: var(--black); color: var(--white); }
.qb__book:hover { background: var(--white); color: var(--black); }

.qb-dock { position: fixed; z-index: 40; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); width: min(328px, calc(100vw - 48px)); transform: translate(-50%, 12px); opacity: 0; visibility: hidden; transition: transform 220ms cubic-bezier(.22, 1, .36, 1), opacity 220ms ease, visibility 0s linear 220ms; }
.qb-dock.is-shown { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform 220ms cubic-bezier(.22, 1, .36, 1), opacity 220ms ease, visibility 0s; }
.qb-dock.is-dialog-open { visibility: hidden; }

.qi { padding: 0; border: 0; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; background: transparent; overflow: visible; color: var(--black); }
.qi::backdrop { background: transparent; }
.qi:not([open]) { display: none; }
.qi__wrap { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: min(440px, calc(100vw - 48px)); max-height: calc(100dvh - 48px - env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 12px; }
.qi__wrap .qb { width: min(328px, 100%); margin: 0 auto; flex: none; }
.qi__panel { min-height: 0; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); }
.qi__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 0 24px; flex: none; }
.qi__logo { width: 64px; height: auto; }
.qi__close { position: relative; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; }
.qi__close span::before, .qi__close span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 15px; height: 1.5px; background: var(--black); transform: translate(-50%, -50%) rotate(45deg); }
.qi__close span::after { transform: translate(-50%, -50%) rotate(-45deg); }
.qi__scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 24px 20px; }
.qi__title { font-size: 32px; line-height: 1.2; margin: 0 0 8px; }
.qi__title:focus { outline: none; }
.qi__list { list-style: none; margin: 0; padding: 0; }
.qi__list > li + li { border-top: 1px solid var(--line); }
.qi__row { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; min-height: 48px; padding: 16px 0; background: none; border: 0; text-align: left; text-decoration: none; color: inherit; font: inherit; cursor: pointer; }
.qi__row:hover .qi__t { text-decoration: underline; text-underline-offset: 4px; }
.qi__hours { padding: 16px 0 4px; }
.qi__t { display: block; font-weight: 500; font-size: 16px; line-height: 1.5; letter-spacing: .02em; }
.qi__s { display: block; font-size: 14px; line-height: 1.5; letter-spacing: .025em; }
.qi__week { margin: 12px 0 0; }
.qi__day { display: flex; justify-content: space-between; gap: 16px; min-height: 24px; font-size: 14px; line-height: 1.5; }
.qi__day dt abbr { text-decoration: none; }
.qi__day dd { margin: 0; }
.qi__day.is-today { font-weight: 500; }

.qi.is-opening .qi__panel { animation: qi-in 180ms cubic-bezier(.22, 1, .36, 1) both; }
.qi.is-closing .qi__panel { animation: qi-out 180ms ease both; }
@keyframes qi-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes qi-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(8px); } }

@media (max-width: 767px) {
  .qb-dock { left: 0; right: 0; width: auto; bottom: 0; transform: translateY(12px); padding: 12px calc(12px + env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) calc(12px + env(safe-area-inset-left, 0px)); background: var(--white); border-top: 1px solid var(--line); }
  .qb-dock.is-shown { transform: none; }
  .qi__wrap { left: 0; right: 0; bottom: 0; transform: none; width: auto; max-height: calc(100dvh - 16px - env(safe-area-inset-top, 0px)); gap: 0; background: var(--white); border-top: 1px solid var(--line); }
  .qi__panel { border: 0; }
  .qi__wrap .qb { width: auto; margin: 0; padding: 12px calc(12px + env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) calc(12px + env(safe-area-inset-left, 0px)); }
  .qi__title { font-size: 30px; }
  .qi.is-opening .qi__wrap { animation: qi-up 280ms cubic-bezier(.22, 1, .36, 1) both; }
  .qi.is-closing .qi__wrap { animation: qi-down 180ms ease both; }
  .qi.is-opening .qi__panel, .qi.is-closing .qi__panel { animation: none; }
  html.has-qb { scroll-padding-bottom: 96px; }
}
@keyframes qi-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes qi-down { from { transform: none; } to { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) {
  .qb-dock, .qb-dock.is-shown { transition: none; }
  .qi *, .qi__wrap { animation: none !important; }
}
@media print { .qb-dock, .qi { display: none !important; } }
