/* ==========================================================================
   Kamm In Hairstyle · Version 4 (Mix aus V1 und V2)
   Basis V2: warmes Monochrom, Bento-Raster, Pastell-Akzente, Mono für Metadaten.
   Aus V1: Intro, Care-Paket (dunkel) und Preisliste, in der Typografie von V2.
   ========================================================================== */

/* Schriften der bisherigen Webseite: Lustria (Überschriften) + Raleway (Text) */
@font-face { font-family: "Lustria"; src: url("../fonts/lustria-latin-400-normal.woff2?v=2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../fonts/raleway-latin-300-normal.woff2?v=2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../fonts/raleway-latin-300-italic.woff2?v=2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../fonts/raleway-latin-400-normal.woff2?v=2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../fonts/raleway-latin-500-normal.woff2?v=2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../fonts/raleway-latin-600-normal.woff2?v=2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
    --canvas: #f7f6f3;
    --canvas-2: #fbfbfa;
    --surface: #ffffff;
    --ink: #111111;
    --text: #2f3437;
    --muted: #787774;
    --border: #eaeaea;
    --border-strong: #dcdbd7;

    --red-bg: #fdebec;    --red: #9f2f2d;
    --blue-bg: #e1f3fe;   --blue: #1f6c9f;
    --green-bg: #edf3ec;  --green: #346538;
    --yellow-bg: #fbf3db; --yellow: #956400;
    --slate: #66788a;     /* aus dem Logo */

    --serif: "Lustria", Georgia, "Times New Roman", serif;
    --sans: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --mono: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif; /* Metadaten jetzt ebenfalls Raleway */

    --ease: cubic-bezier(.16, 1, .3, 1);
    --r: 12px;
    --r-sm: 8px;
    --pad: clamp(20px, 3vw, 40px);
    --section: clamp(72px, 7vw, 104px);
    --top-h: 64px;
    --dock-space: 0px; /* Platz, den das Dock oben belegt (nur mobil, siehe unten) */

    /* aus V1: Care-Paket und Linien */
    --paper: #f3f1ed;
    --night: #121417;
    --sky: #a9c1d3;
    --ink-2: #3a3e44;
    --line: rgba(23, 25, 28, .14);
    /* Abstand, der randlose Slider an der Inhaltsspalte ausrichtet (% = Breite des Elternteils) */
    --edge: max(clamp(16px, 4vw, 40px), calc((100% - 1200px) / 2 + clamp(16px, 4vw, 40px)));

    /* Hero: Höhe und Scrollstrecke, auf der er zum Vollbild wird */
    --hero-h: max(100vh, 640px);
    --hero-run: 85vh;
}
@supports (height: 100svh) { :root { --hero-h: max(100svh, 640px); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
    margin: 0;
    background: var(--canvas);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
em { font-style: italic; }
::selection { background: var(--blue-bg); color: var(--ink); }
/* Bilder nicht mitmarkieren: Der Browser färbt sie sonst in der Markierungsfarbe blau ein */
img { -webkit-user-select: none; user-select: none; }
img::selection { background: transparent; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.container--narrow { max-width: 880px; }
.section { padding: var(--section) 0; position: relative; }

.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0; }
.muted { color: var(--muted); }
.label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.lead { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.35; color: var(--ink); letter-spacing: -.01em; }

.h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 80px); line-height: 1.05; letter-spacing: -.035em; color: var(--ink); }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.03em; color: var(--ink); }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.3vw, 32px); line-height: 1.12; letter-spacing: -.02em; color: var(--ink); }
.h2 em, .h3 em { color: var(--muted); }

.ico { width: 16px; height: 16px; flex: none; }
.ico--sm { width: 13px; height: 13px; }

/* Abzeichen ------------------------------------------------------------- */
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    height: 24px; padding: 0 10px;
    border-radius: 9999px;
    font-family: var(--sans); font-size: 11px; font-weight: 500;
    text-transform: uppercase; letter-spacing: .05em;
    background: var(--canvas); color: var(--text);
    white-space: nowrap;
}
.badge .ico { width: 12px; height: 12px; }
.badge--red { background: var(--red-bg); color: var(--red); }
.badge--blue { background: var(--blue-bg); color: var(--blue); }
.badge--green { background: var(--green-bg); color: var(--green); }
.badge--yellow { background: var(--yellow-bg); color: var(--yellow); }
.badge--status { background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 400; }
.badge--status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.badge--status.is-open { background: var(--green-bg); color: var(--green); box-shadow: none; }
.badge--status.is-open .dot { background: var(--green); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* Buttons --------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    height: 44px; padding: 0 18px;
    border-radius: 6px;
    font-size: 15px; font-weight: 500;
    transition: background .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
    white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #333; }
.btn--line { box-shadow: inset 0 0 0 1px var(--border-strong); color: var(--ink); background: var(--surface); }
.btn--line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn--line .ico { transition: transform .3s var(--ease); }
.btn--line:hover .ico { transform: translateX(3px); }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--border-strong); padding-bottom: 2px; transition: border-color .2s; }
.link:hover { border-color: var(--ink); }
.link .ico { transition: transform .3s var(--ease); }
.link:hover .ico { transform: translateX(3px); }

/* Umgebung -------------------------------------------------------------- */
.ambient {
    position: fixed; inset: -20vmax; z-index: -1; pointer-events: none;
    background:
        radial-gradient(40vmax 40vmax at 20% 10%, rgba(169, 193, 211, .22), transparent 60%),
        radial-gradient(36vmax 36vmax at 85% 70%, rgba(214, 196, 168, .16), transparent 60%);
    animation: drift 40s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(4vmax, -3vmax, 0) rotate(8deg); } }

.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 210; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* Fotos: warm entsättigt, mit leichtem Korn */
.card__media, .stack-card__img, .card--photo, .member__img { position: relative; }
.card__media img, .stack-card__img img, .card--photo img, .member__img img, .hero__img {
    filter: saturate(.82) sepia(.06) contrast(.98);
}
.card__media::after, .stack-card__img::after, .card--photo::after, .member__img::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Kopfleiste ------------------------------------------------------------ */
.topbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    height: var(--top-h);
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    padding: 0 clamp(16px, 3vw, 32px);
    transition: background .3s, box-shadow .3s;
}
.topbar.is-solid { background: rgba(247, 246, 243, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--border); }
.topbar__brand img { width: 84px; height: auto; }
.topbar__meta { color: var(--muted); }
.topbar__meta span { margin: 0 6px; }
.topbar__right { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }

/* Dock unten ------------------------------------------------------------ */
.dock {
    position: fixed; left: 50%; bottom: 20px; z-index: 200;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 5px;
    box-shadow: 0 8px 24px rgba(17, 17, 17, .04);
    max-width: calc(100vw - 24px);
}
.dock ul { display: flex; gap: 2px; position: relative; z-index: 1; }
.dock a { display: block; padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--muted); border-radius: 6px; transition: color .2s; white-space: nowrap; }
.dock a:hover, .dock a.is-active { color: var(--ink); }
.dock__ink { position: absolute; top: 5px; left: 0; height: calc(100% - 10px); width: 0; background: var(--canvas); border: 1px solid var(--border); border-radius: 6px; opacity: 0; transition: opacity .3s; }
.dock.has-active .dock__ink { opacity: 1; }

/* Hero ------------------------------------------------------------------ */
/* Scrollstrecke + sticky statt GSAP-Pin: läuft auf dem Compositor und ruckelt nicht */
.hero-track { position: relative; }
.js:not(.no-motion) .hero-track { height: calc(var(--hero-h) + var(--hero-run)); }
.js:not(.no-motion) .hero { position: sticky; top: 0; }
.js:not(.no-motion) .hero__media { clip-path: inset(100% 16% 5% 16% round 12px); }
.hero { position: relative; height: var(--hero-h); overflow: hidden; }
.hero__text {
    position: relative; z-index: 2;
    max-width: 920px; margin: 0 auto;
    padding: calc(var(--top-h) + clamp(28px, 6vh, 72px)) 20px 0;
    text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 22px;
    will-change: transform, opacity;
}
.hero__title { font-family: var(--serif); font-weight: 400; color: var(--ink); font-size: clamp(42px, min(7vw, 9vh), 96px); line-height: 1.02; letter-spacing: -.04em; }
.hero__title em { color: var(--slate); }
.hero__sub { max-width: 560px; color: var(--muted); font-size: 17px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hero__media {
    position: absolute; inset: 0; z-index: 1;
    clip-path: inset(62% 16% 5% 16% round 12px);
    will-change: clip-path;
    contain: paint;
}
.hero__img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; will-change: transform; }
/* Wechselbilder: der Rahmen trägt Zoom und Versatz aus der Scroll-Animation, die Bilder blenden nur über */
.hero__slides { position: absolute; inset: 0; transform-origin: 50% 60%; will-change: transform; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; will-change: opacity; }
.hero__slide.is-active { opacity: 1; }
/* Gesicht liegt bei ca. 30 % der Bildhöhe: in der kleinen Startkarte nach unten rücken, damit es
   in der Karte steht, im Vollbild (--hero-rest = 0) wieder normal. Ohne Animation fester Ausschnitt. */
.hero__slide--model { object-position: 40% 30%; transform: translateY(47%); filter: none; } /* Studiofoto ohne Farbfilter der Salonfotos */
.js:not(.no-motion) .hero__slide--model { transform: translateY(calc(var(--hero-rest, 1) * 20%)); }
.hero__caption {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: clamp(24px, 5vw, 64px) clamp(24px, 5vw, 64px) clamp(96px, 12vh, 128px);
    color: #fff;
    background: rgba(17, 17, 17, .28);
    display: grid; gap: 10px; align-content: end;
    top: 0;
    opacity: 0;
    will-change: opacity;
}
.hero__caption .mono { opacity: .8; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.hero__caption-title { font-family: var(--serif); font-size: clamp(36px, 6vw, 88px); line-height: 1.02; letter-spacing: -.035em; }
/* Zeilenumbruch je nach Breite: Desktop „… Hairstyle / in Ansbach.", Handy „… Kamm In / Hairstyle in Ansbach." */
.br-mobile { display: none; }

/* Laufband (aus V1) ------------------------------------------------------ */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: clamp(1rem, 2vw, 1.6rem) 0; }
.marquee__track {
    --gap: clamp(1.5rem, 3vw, 3rem);
    display: flex; width: max-content; align-items: center; gap: var(--gap);
    padding-right: var(--gap); /* gleicher Abstand am Ende: die Schleife läuft ohne Sprung */
    font-family: var(--serif); font-size: clamp(2rem, 1rem + 3vw, 4rem); line-height: 1; letter-spacing: -.02em; color: var(--ink);
    white-space: nowrap; will-change: transform;
}
.marquee__track em { color: var(--slate); }
.marquee__track i { font-style: normal; font-size: .4em; color: var(--sky); }

/* Intro (aus V1) --------------------------------------------------------- */
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(1rem, 2vw, 2rem); }
.col-label { grid-column: 1 / span 3; }
.col-main { grid-column: 4 / span 9; }
.statement { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 1rem + 3vw, 64px); line-height: 1.12; letter-spacing: -.03em; color: var(--ink); }
.statement .word { display: inline-block; }
.intro__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: clamp(3rem, 6vw, 5rem) 0 2.5rem; color: var(--ink-2); }

/* Kopf einer Sektion ---------------------------------------------------- */
.head { display: grid; grid-template-columns: 1fr minmax(0, 380px); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.head > div { display: grid; gap: 18px; justify-items: start; max-width: 720px; }
.head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.head--center > * { justify-self: center; }

/* Karten & Bento -------------------------------------------------------- */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: var(--pad);
    transition: box-shadow .2s, border-color .2s;
}
.card:hover { box-shadow: 0 2px 8px rgba(0, 0, 0, .04); }
.bento { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }

.bento--services .card--xl { grid-column: span 4; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.bento--services .card--tall { grid-column: span 2; display: grid; grid-template-rows: auto 1fr; gap: 24px; }
.bento--services .card--md, .bento--services .card--cta { grid-column: span 2; }
.card__media { border-radius: var(--r-sm); overflow: hidden; background: var(--canvas); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card--xl .card__media { min-height: 340px; }
.card--tall .card__media { aspect-ratio: 4 / 3; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: grid; gap: 18px; align-content: start; justify-items: start; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); }
.ticks .ico { width: 12px; height: 12px; margin-top: 6px; color: var(--muted); }
.card--cta { display: grid; grid-template-rows: auto 1fr auto; gap: 16px; min-height: 260px; color: var(--ink); }
.card--cta__title { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -.02em; align-self: end; }
.card--cta__arrow { width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--border); display: grid; place-items: center; transition: background .3s, color .3s, transform .4s var(--ease); }
.card--cta:hover .card--cta__arrow { background: var(--ink); color: #fff; transform: rotate(45deg); }
.services__pin { position: relative; }

/* Salon ----------------------------------------------------------------- */
.salon__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.salon__intro { position: sticky; top: calc(var(--top-h) + 48px); display: grid; gap: 22px; justify-items: start; }
.salon__index { display: grid; gap: 4px; margin-top: 16px; width: 100%; border-top: 1px solid var(--border); padding-top: 16px; }
.salon__index li { display: flex; gap: 14px; padding: 6px 0; color: var(--muted); transition: color .3s; }
.salon__index li span { color: var(--border-strong); transition: color .3s; }
.salon__index li.is-active { color: var(--ink); }
.salon__index li.is-active span { color: var(--ink); }
.salon__stack { display: grid; gap: 0; padding-bottom: 8vh; }
.stack-card {
    position: sticky;
    top: calc(var(--top-h) + 40px + var(--i) * 14px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 12px;
    margin-bottom: 16vh;
    transform-origin: 50% 0;
}
.stack-card:last-child { margin-bottom: 0; }
.stack-card__img { aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; }
.stack-card__img img { width: 100%; height: 100%; object-fit: cover; }
.stack-card figcaption { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; padding: 16px 8px 6px; font-size: 15px; }
.stack-card figcaption .mono { grid-row: span 2; color: var(--muted); padding-top: 2px; }
.stack-card figcaption strong { font-weight: 500; color: var(--ink); }

/* Care-Paket (aus V1, Farben wie dort) --------------------------------- */
[data-theme="dark"] { background: var(--night); color: var(--paper); }
[data-theme="dark"] .label { color: rgba(243, 241, 237, .55); }
[data-theme="dark"] .lead { color: var(--paper); }
[data-theme="dark"] .display em { color: var(--sky); }
[data-theme="dark"] :focus-visible { outline-color: var(--paper); }
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 1.2rem + 4.2vw, 5.25rem); line-height: 1; letter-spacing: -.03em; }
.glynt__head { display: grid; grid-template-columns: 1fr minmax(0, 26rem); gap: 3rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.glynt__head .display { margin-top: 1.5rem; }
.glynt__intro { color: rgba(243, 241, 237, .72); }
.glynt__intro p + p { margin-top: 1em; }
.slider-nav { display: flex; gap: .75rem; margin-top: 2rem; }
.round-btn {
    width: 3.5rem; height: 3.5rem; border-radius: 50%;
    box-shadow: inset 0 0 0 1px currentColor; color: var(--paper);
    display: inline-grid; place-items: center;
    transition: background .4s var(--ease), color .4s var(--ease), opacity .3s;
}
.round-btn:hover { background: var(--paper); color: var(--night); }
.round-btn:disabled { opacity: .3; pointer-events: none; }
.products { overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.products.is-dragging { cursor: grabbing; }
.products__track { display: flex; gap: clamp(1rem, 2vw, 1.75rem); padding: 0 var(--edge); width: max-content; will-change: transform; }
.product { width: clamp(270px, 28vw, 420px); flex: none; }
.product__img { aspect-ratio: 1; overflow: hidden; border-radius: 2px; margin-bottom: 1.5rem; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); pointer-events: none; }
.product:hover .product__img img { transform: scale(1.05); }
.product h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.1; letter-spacing: -.02em; margin-bottom: .75rem; }
.product h3 span { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .16em; display: block; color: var(--sky); margin-bottom: .35rem; }
.product p { font-size: .95rem; color: rgba(243, 241, 237, .72); }
.product__use { font-size: .85rem !important; color: rgba(243, 241, 237, .5) !important; border-top: 1px solid rgba(243, 241, 237, .14); padding-top: .9rem; margin-top: 1rem; }
.products__progress { margin: 3rem var(--edge) 0; height: 1px; background: rgba(243, 241, 237, .16); }
.products__progress span { display: block; height: 100%; width: 100%; background: var(--paper); transform-origin: left; transform: scaleX(0); }
.recycle { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; margin-top: var(--section); }
.recycle__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; }
.recycle__text { display: grid; gap: 1.5rem; justify-items: start; color: rgba(243, 241, 237, .72); }
.parallax-wrap { overflow: hidden; }
.parallax-wrap > img { width: 100%; height: 118%; object-fit: cover; }

/* Über uns -------------------------------------------------------------- */
.bento--about { grid-template-rows: auto auto; }
.card--photo { grid-column: span 4; grid-row: span 1; padding: 0; overflow: hidden; min-height: 460px; }
.card--photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.card--text { grid-column: span 2; display: grid; gap: 18px; align-content: end; }
.card--stat { grid-column: span 2; display: grid; gap: 6px; }
.stat { font-family: var(--serif); font-size: clamp(56px, 6vw, 88px); line-height: 1; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Team ------------------------------------------------------------------ */
.team__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(64px, 8vw, 120px) 16px; align-items: start; }
.member { display: grid; gap: 22px; grid-column: span 2; }
.member:nth-child(4) { grid-column: 2 / span 2; } /* zweite Reihe (2 Personen) mittig unter den dreien */
.member__img { aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.member__img img { width: 100%; height: 100%; object-fit: cover; }
.member__body { display: grid; gap: 12px; justify-items: start; padding: 0 4px; }
.member__name { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 4.5vw, 64px); line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.member__body p { font-size: 15px; }

/* Preise (aus V1) -------------------------------------------------------- */
.prices { font-size: clamp(1rem, .95rem + .25vw, 1.125rem); }
.tabs { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; margin-top: 2.5rem; }
.tabs button { font-family: var(--serif); font-size: clamp(2rem, 1.2rem + 2vw, 3.2rem); line-height: 1.1; letter-spacing: -.02em; color: var(--muted); transition: color .4s; padding-left: 1.5rem; position: relative; }
.tabs button::before { content: ""; position: absolute; left: 0; top: 50%; width: .5rem; height: .5rem; border-radius: 50%; background: var(--slate); transform: translateY(-50%) scale(0); transition: transform .5s var(--ease); }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs button[aria-selected="true"]::before { transform: translateY(-50%) scale(1); }
.tabs button:hover { color: var(--ink); }
@media (min-width: 901px) { .prices .col-label { position: sticky; top: calc(var(--top-h) + 2rem); align-self: start; } }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; color: var(--ink); }
.price-table thead th { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; text-align: right; padding: 0 0 1rem; border-bottom: 1px solid var(--ink); }
.price-table thead th:first-child { text-align: left; color: var(--ink); }
.price-table tbody th { text-align: left; font-weight: 400; padding: 1.15rem 1rem 1.15rem 0; }
.price-table tbody th small { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: .2rem; }
.price-table td { text-align: right; white-space: nowrap; padding: 1.15rem 0 1.15rem 1rem; width: 8.5rem; }
.price-table td small { color: var(--muted); font-size: .8em; }
.price-table tbody tr { border-bottom: 1px solid var(--line); transition: background .3s; }
.price-table tbody tr:hover { background: rgba(169, 193, 211, .16); }
.price-note { margin-top: 2rem; font-size: .85rem; color: var(--muted); max-width: 40rem; }

/* Gutschein & Jobs ------------------------------------------------------ */
.duo { padding-top: 0; }
.bento--duo .card { grid-column: span 3; display: grid; gap: 18px; align-content: start; justify-items: start; }
.card--voucher { overflow: hidden; }
.voucher__img { width: 86%; margin: 12px auto 0; justify-self: center; transform: rotate(-4deg); }
.voucher__img img { filter: drop-shadow(0 18px 30px rgba(17, 17, 17, .08)); }
.jobs__mail { margin-top: auto; padding-top: 18px; display: grid; gap: 10px; justify-items: start; width: 100%; border-top: 1px solid var(--border); }
.jobs__mail .btn { max-width: 100%; }
.jobs__mail .btn span { overflow: hidden; text-overflow: ellipsis; }

/* Kontakt --------------------------------------------------------------- */
.bento--contact .form { grid-column: span 4; grid-row: span 2; }
.bento--contact .card--info, .bento--contact .card--hours { grid-column: span 2; }
.form { display: grid; gap: 18px; align-content: start; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink); }
.field i { font-style: normal; font-weight: 400; }
.field input, .field textarea {
    width: 100%; font: inherit; font-size: 15px; font-weight: 400; color: var(--ink);
    padding: 11px 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--canvas-2);
    transition: border-color .2s, box-shadow .2s, background .2s;
    resize: vertical;
}
.field input:hover, .field textarea:hover { border-color: var(--border-strong); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 3px rgba(17, 17, 17, .06); }
.field.has-error input, .field.has-error textarea { border-color: var(--red); background: var(--red-bg); }
.field__error { font-style: normal; color: var(--red); font-size: 12px; font-weight: 400; }
.field__error:empty { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { flex: none; width: 18px; height: 18px; border: 1px solid var(--border-strong); border-radius: 4px; display: grid; place-items: center; margin-top: 2px; background: var(--surface); transition: background .2s, border-color .2s; }
.check__box .ico { width: 10px; height: 10px; color: #fff; transform: scale(0) rotate(-90deg); transition: transform .3s var(--ease); }
.check input:checked + .check__box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .check__box .ico { transform: scale(1) rotate(45deg); }
.check input:focus-visible + .check__box { outline: 2px solid var(--ink); outline-offset: 2px; }
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.form__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 6px; }
.form__status { font-size: 14px; }
.form__status.is-ok { color: var(--green); }
.form__status.is-error { color: var(--red); }
.form.is-sending .btn { opacity: .6; pointer-events: none; }
.form.is-done .field, .form.is-done .form__row, .form.is-done .check { opacity: .4; pointer-events: none; }

.card--info, .card--hours { display: grid; gap: 18px; align-content: start; }
.info { display: grid; gap: 14px; }
.info li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.info a { color: var(--ink); display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.info a:hover { text-decoration: underline; text-underline-offset: 3px; }
.info__ico { width: 32px; height: 32px; flex: none; border-radius: 8px; background: var(--canvas); border: 1px solid var(--border); display: grid; place-items: center; color: var(--ink); }
.card--hours__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.hours > div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.hours > div:last-child { border-bottom: 0; }
.hours dt { color: var(--ink); }
.hours dd { color: var(--muted); }
.hours > div.is-today { color: var(--ink); }
.hours > div.is-today dt::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); margin-right: 8px; vertical-align: middle; }
.hours > div.is-today dd { color: var(--ink); }

/* Footer ---------------------------------------------------------------- */
.footer { border-top: 1px solid var(--border); padding: var(--section) 0 120px; background: var(--canvas-2); }
.footer__claim { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 64px); line-height: 1.08; letter-spacing: -.045em; color: var(--ink); margin-bottom: clamp(48px, 8vw, 96px); }
.footer__claim em { color: var(--slate); }
.footer__claim .ch { display: inline-block; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1.2fr 1.4fr .8fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.footer__brand { display: grid; gap: 14px; align-content: start; }
.footer__brand img { width: 200px; height: auto; }
.footer__list { display: grid; gap: 8px; margin-top: 14px; font-size: 14px; }
.footer__list.mono { font-size: 12px; }
.footer__list.mono li { display: flex; justify-content: space-between; gap: 12px; max-width: 300px; white-space: nowrap; }
.footer__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 24px; color: var(--muted); font-size: 12px; }
.footer__legal { display: flex; gap: 20px; }
.footer__bottom a:hover { color: var(--ink); }

/* Rechtsseiten ---------------------------------------------------------- */
.legal { padding: calc(var(--top-h) + 80px) 0 var(--section); }
.legal__head { display: grid; gap: 16px; margin-bottom: 56px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.legal__body { font-size: 15px; color: var(--text); }
.legal__body h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; letter-spacing: -.02em; color: var(--ink); margin: 56px 0 14px; line-height: 1.15; }
/* Lange Wörter wie „Berufshaftpflichtversicherung" machten die Seite mobil breiter als den Bildschirm */
.legal__body h2, .legal__body h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.legal__body h3 { font-size: 15px; font-weight: 600; color: var(--ink); margin: 28px 0 8px; }
.legal__body p, .legal__body ul { margin-bottom: 12px; }
.legal__body ul { list-style: disc; padding-left: 20px; }
.legal__body a { text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }

/* Animations-Startzustände (nur mit JS) -------------------------------- */
/* Maske der Überschriften: größer als die Zeile, damit Unterlängen (y, g, j) und kursive
   Überhänge nicht abgeschnitten werden. Die negativen Ränder lassen das Layout unverändert. */
.split-mask { padding: .12em .1em .3em; margin: -.12em -.1em -.3em; }
.js [data-fade] { opacity: 0; transform: translateY(12px); }
.js [data-split] { visibility: hidden; }
.no-motion [data-fade] { opacity: 1; transform: none; }
.no-motion [data-split] { visibility: visible; }
.js .fade-up { opacity: 0; transform: translateY(28px); }
.js .reveal-lines { visibility: hidden; }
.js.no-motion .fade-up, .js.no-motion .reveal-lines { opacity: 1; transform: none; visibility: visible; }
.no-motion .products { overflow-x: auto; cursor: auto; }
.no-motion .slider-nav, .no-motion .products__progress { display: none; }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1000px) {
    .topbar__meta { display: none; }
    .topbar { grid-template-columns: auto 1fr; }
    .bento--services .card--xl { grid-column: span 6; }
    .bento--services .card--tall { grid-column: span 6; grid-template-columns: 1fr 1fr; grid-template-rows: none; }
    .bento--services .card--md, .bento--services .card--cta { grid-column: span 3; }
    .bento--services .card--cta { grid-column: span 6; min-height: 0; }
    .card--photo { grid-column: span 6; }
    .card--text { grid-column: span 6; }
    .bento--contact .form { grid-column: span 6; }
    .bento--contact .card--info, .bento--contact .card--hours { grid-column: span 3; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .grid-12 { display: block; }
    .col-label { margin-bottom: 1.75rem; }
    .intro__cols { grid-template-columns: 1fr; gap: 1.25rem; }
    .glynt__head { grid-template-columns: 1fr; gap: 2rem; }
    .recycle { grid-template-columns: 1fr; }
    .tabs { flex-direction: row; flex-wrap: wrap; gap: .25rem 1rem; margin-top: 1.5rem; }
    .tabs button { font-size: clamp(1.5rem, 7vw, 1.9rem); padding-left: 1rem; }
    .tabs button::before { width: .4rem; height: .4rem; }
}

@media (max-width: 640px) {
    .price-table thead { display: none; }
    .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; width: auto; }
    .price-table tbody tr { display: grid; grid-template-columns: repeat(3, 1fr); padding: 1.1rem 0; }
    .price-table tbody th { grid-column: 1 / -1; padding: 0 0 .6rem; font-weight: 500; }
    .price-table td { text-align: left; padding: 0; font-size: .95rem; }
    .price-table td::before { content: attr(data-label); display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
}

@media (max-width: 760px) {
    /* --dock-space: Höhe des Docks unter der Kopfleiste (~49 px) + 1 px */
    :root { --top-h: 56px; --hero-h: max(100svh, 600px); --dock-space: 50px; }
    .topbar__brand img { width: 70px; }
    .topbar__right .badge--status { display: none; }
    /* Dock oben direkt an der Kopfleiste angedockt (oben eckig), unten bleibt Platz für den Cookie-Button */
    .dock { top: var(--top-h); bottom: auto; border-top: 0; border-radius: 0 0 10px 10px; overflow-x: auto; scrollbar-width: none; }
    .dock::-webkit-scrollbar { display: none; }
    .dock a { padding: 8px 11px; font-size: 13px; }
    .hero__text { text-align: left; align-items: flex-start; padding-left: 16px; padding-right: 16px; padding-top: calc(var(--top-h) + var(--dock-space) + clamp(20px, 4vh, 48px)); }
    .hero__cta { justify-content: flex-start; }
    .hero__sub { font-size: 16px; }
    .hero__media { clip-path: inset(66% 16px 28px 16px round 10px); }
    .hero__caption { padding-bottom: 56px; }
    .legal { padding-top: calc(var(--top-h) + var(--dock-space) + 40px); }
    .br-mobile { display: inline; }
    .br-desktop { display: none; }
    /* „Hairstyle in Ansbach." ist ~9,7 em breit: unter ~410 px Breite Schrift leicht verkleinern,
       damit der Titel zweizeilig bleibt */
    .hero__caption-title { font-size: min(clamp(36px, 6vw, 88px), calc((100vw - 2 * max(24px, 5vw)) / 9.9)); }
    .head { grid-template-columns: 1fr; }
    .bento { gap: 12px; }
    .bento > * { grid-column: span 6 !important; }
    .bento--services .card--xl, .bento--services .card--tall { grid-template-columns: 1fr; }
    .card--xl .card__media { min-height: 0; aspect-ratio: 4 / 3; }
    .salon__grid { grid-template-columns: 1fr; }
    .salon__intro { position: static; }
    .salon__index { display: none; }
    .stack-card { top: calc(var(--top-h) + var(--dock-space) + 12px + var(--i) * 10px); margin-bottom: 10vh; }
    .card--photo { min-height: 0; aspect-ratio: 4 / 3; }
    .card--stat { grid-column: span 2 !important; padding: 18px 14px; }
    .card--stat .mono { font-size: 11px; }
    .stat { font-size: 40px; }
    .team__grid { grid-template-columns: 1fr; gap: 56px; }
    .member:nth-child(n) { grid-column: auto; }
    .form__row { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .footer { padding-bottom: 110px; }
}

@media (pointer: coarse) {
    .field input, .field textarea { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .hero__media { clip-path: inset(62% 16% 5% 16% round 12px) !important; }
}

/* ==========================================================================
   Typografie und Farbe der bisherigen Webseite (Kundenwunsch)
   Lustria-Überschriften in Schieferblau #6C7C8D, Raleway Light im Fließtext.
   Lustria ist breiter als Newsreader, daher deutlich weniger negatives Tracking.
   ========================================================================== */
:root { --heading: #6c7c8d; }
body { font-weight: 300; color: #5a5e63; }
strong, b { font-weight: 600; }
.h1, .h2, .h3, .display, .statement, .hero__title, .hero__caption-title, .footer__claim,
.member__name, .card--cta__title, .legal__body h2, .stat, .lead, .product h3, .tabs button {
    letter-spacing: -.01em;
}
.h1, .h2, .h3, .display, .statement, .hero__title, .footer__claim, .member__name,
.legal__body h2, .stat { color: var(--heading); }
.lead { color: #4f565d; }
/* Lustria hat keinen Kursivschnitt: Hervorhebung über Farbe statt künstlicher Schräge */
.h1 em, .h2 em, .h3 em, .display em, .statement em, .hero__title em, .footer__claim em { font-style: normal; }
.mono, .label { letter-spacing: .06em; font-weight: 500; }
.mono { letter-spacing: .02em; }
[data-theme="dark"] .display, [data-theme="dark"] .h2, [data-theme="dark"] .h3 { color: var(--paper); }
[data-theme="dark"] body, [data-theme="dark"] { color: var(--paper); }

/* Graham Hill (Herrenpflege) im dunklen Produktbereich */
.graham { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.graham__text { display: grid; gap: 1.5rem; justify-items: start; color: rgba(243, 241, 237, .72); }
.graham__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.75rem, 1.5vw, 1.25rem); }
.graham__imgs figure { margin: 0; aspect-ratio: 9 / 14; overflow: hidden; border-radius: 2px; }
.graham__imgs figure:nth-child(2) { transform: translateY(12%); }
.graham__imgs img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.graham__imgs figure:hover img { transform: scale(1.04); }
@media (max-width: 899px) {
    .graham { grid-template-columns: 1fr; }
    .graham__imgs figure:nth-child(2) { transform: none; }
}
/* Terminhinweis mit klickbarer Nummer */
.info__call { margin: 20px 0 0; max-width: 33rem; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; }
.info__call a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; white-space: nowrap; }
.info__call a:hover { text-decoration-color: currentColor; }

/* Alle h2 maximal 48px */
h2.display { font-size: clamp(2.2rem, 1rem + 3vw, 48px); }
h2.statement { font-size: clamp(26px, 1rem + 2.4vw, 48px); }

/* Graham Hill nur ein Bild, GLYNT-Foto ungeschnitten (16:9) */
.graham__imgs { grid-template-columns: minmax(0, 26rem); justify-content: center; }
.recycle__img--full { aspect-ratio: 16 / 9; }
.recycle__img--full img { width: 100%; height: 100%; object-fit: contain; }

/* Kontakt-Überschrift: „rufen Sie an.“ beginnt auf Desktop in Zeile 2 */
@media (min-width: 900px) { #kontakt .head .h2 { max-width: 12em; } }

/* Footer: „Love what you do“ als Laufband über die ganze Breite.
   Zwei identische Gruppen à 5 Wiederholungen, beide laufen um -100 % = nahtlose Schleife. */
.claim-band { overflow: hidden; margin-bottom: clamp(48px, 8vw, 96px); padding: clamp(14px, 1.6vw, 24px) 0; border-bottom: 1px solid var(--border); }
/* Banner sitzt direkt an der Kontakt-Section und trennt sie vom Footer */
.footer { padding-top: 0; }
.claim-band__track { display: flex; }
.claim-band__group { display: flex; flex: none; animation: claim-band 60s linear infinite; }
.claim-band__item {
    font-family: var(--serif); font-size: clamp(36px, 4.6vw, 64px); line-height: 1.2;
    letter-spacing: -.01em; color: var(--heading); white-space: nowrap; padding-right: .9em;
}
.claim-band__item::after { content: "✦"; font-size: .4em; vertical-align: middle; margin-left: 2.25em; color: var(--sky); } /* 2.25em × .4 = .9em, gleich wie padding-right */
.claim-band__item em { font-style: normal; color: var(--slate); }
@keyframes claim-band { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .claim-band__group { animation: none; } }

/* Graham Hill als eigene Section, etwas dunkler als der GLYNT-Bereich */
.graham-section { background: #0b0c0e; border-top: 1px solid rgba(243, 241, 237, .06); }

/* Kontakt: Formular schmaler, Infokarten breiter, damit die E-Mail-Adresse in eine Zeile passt */
@media (min-width: 1001px) {
    .bento--contact { grid-template-columns: repeat(12, 1fr); }
    .bento--contact .form { grid-column: span 7; }
    .bento--contact .card--info, .bento--contact .card--hours { grid-column: span 5; }
}
