/* ==========================================================================
   MANE. — Hair Extension Atelier Köln
   Stil-DNA #001 "digitalists / Editorial-WebGL"
   Echte Tokens: Farben, Signatur-Easing cubic-bezier(.075,.82,.165,1), 1.8s-Hover,
   Mono/Display-Kontrast, 80px-Sektions-Rhythmus.
   ========================================================================== */

:root {
  /* Farbsystem — mehr-gefunden: hell, vertrauenswuerdig */
  --bg:        #f6f8fb;
  --bg-2:      #eaf0f7;
  --ink:       #16233a;
  --ink-soft:  #48566d;
  --navy:      #123a6b;   /* Trust-Blau: Anker-Dunkelflaeche */
  --accent:    #0a6b43;   /* Erfolg-Gruen: gefunden / erledigt (WCAG-Kontrast) */
  --accent-2:  #ff6b4a;   /* warmer CTA-Akzent */
  --white:     #ffffff;
  --line:      rgba(18,58,107,.12);

  /* Typo */
  --font-display: "Clash Display", "Inter", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Signatur-Easing (DNA) */
  --ease-sig:  cubic-bezier(.075, .82, .165, 1);   /* easeOutCirc: langsam rein, sanft aus */
  --ease-back: cubic-bezier(.175, .885, .32, 1.275); /* easeOutBack: leichtes Ueberschwingen */

  /* Rhythmus */
  --container: 1320px;
  --pad-x: clamp(20px, 5vw, 72px);
  --section-y: clamp(80px, 12vw, 168px);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; overflow-x: clip; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: clamp(16px, 1.1vw, 18px);
  overflow-x: clip;   /* clip statt hidden: verhindert Horizontal-Scroll OHNE position:sticky zu brechen */
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }
:where(section[id], [id].section) { scroll-margin-top: 96px; }  /* Anker landen nicht unter dem fixen Header */
.mono { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Reveal-Grundzustand (nur mit JS) ---------- */
.js [data-reveal],
.js [data-split] .line { opacity: 0; will-change: transform, opacity; }

/* ---------- Kicker ---------- */
.kicker {
  font-family: var(--font-mono);
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
}
.kicker--light { color: #b7f0d8; }
.kicker--center { text-align: center; }

/* ---------- Buttons (DNA: 1.8s Background-Hover, Signatur-Easing) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 1.05em 1.9em; border-radius: 4px;
  border: 1.5px solid transparent;
  transition: background-color 1.8s var(--ease-sig), color 1.8s var(--ease-sig), border-color 1.8s var(--ease-sig);
  will-change: background-color, color;
}
.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: var(--navy); color: var(--white); }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 14px 0;
  transition: transform .6s var(--ease-sig), padding .6s var(--ease-sig);
}
.site-header.is-hidden { transform: translateY(-110%); }
.site-header.is-scrolled { padding: 8px 0; }
.header__inner { display: flex; align-items: center; gap: 24px; }
.brand {
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em;
  color: var(--ink);
}
.brand__dot { color: var(--accent); }
.header__menu-box {
  display: flex; align-items: center; gap: 36px;
  margin-left: auto;
  padding: 12px 26px;
  background: rgba(229,231,235,.5);
  backdrop-filter: blur(10px);
  border-radius: 6px;
  transition: background-color 1s var(--ease-sig);
}
.is-scrolled .header__menu-box { background: rgba(229,231,235,.82); }
.mono-link {
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-soft); position: relative;
  transition: color .5s var(--ease-sig);
}
.mono-link::after {
  content: ""; position: absolute; left: 0; bottom: -5px; width: 100%; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-sig);
}
.mono-link:hover { color: var(--ink); }
.mono-link:hover::after { transform: scaleX(1); }
.site-header .btn { margin-left: 4px; }

/* ---------- Hero Scroll-Sequence (Frame-to-Frame) ---------- */
.hero-seq { position: relative; height: 400vh; background: #0e2138; }
.hero-seq__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #0e2138; }
.hero-seq__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s var(--ease-sig); }
.hero-seq__canvas.is-ready { opacity: 1; }
/* Clip-Reveal-Grundzustand (nur mit JS) */
.js [data-img-reveal] { clip-path: inset(100% 0 0 0); }
.hero__darkener {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(17,22,28,.35) 0%, rgba(17,22,28,.10) 38%, rgba(8,12,18,.84) 100%);
}
.hero-seq__content { position: absolute; left: 0; right: 0; bottom: clamp(56px, 9vh, 120px); z-index: 3; color: #fff; }
.hero__headline {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3rem, 9vw, 7.2rem); line-height: .96; letter-spacing: -.025em;
  text-shadow: 0 2px 40px rgba(0,0,0,.25);
}
.hero__sub { max-width: 46ch; margin-top: 1.6rem; font-size: 1.08rem; color: rgba(255,255,255,.92); }
.hero__cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.4rem; }

/* ---------- Check-Formular (Kontakt, dunkle Sektion) ---------- */
.checkform { display: grid; gap: 16px; margin-top: 6px; }
.checkform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.72);
}
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.22);
  border-radius: 6px; padding: .85em 1em; width: 100%;
  transition: border-color .4s var(--ease-sig), background-color .4s var(--ease-sig);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.42); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: rgba(255,255,255,.10);
}
.field textarea { resize: vertical; min-height: 92px; }
.checkform__note { font-size: .82rem; color: rgba(255,255,255,.6); margin-top: 2px; }
.checkform .btn--accent { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 620px) { .checkform__row { grid-template-columns: 1fr; } }

/* ---------- Pain / Der stille Verlust (dunkle Sektion) ---------- */
.section--pain { background: var(--navy); color: #fff; }
.pain__head { max-width: 820px; }
.section--pain .section__title { color: #fff; }
.pain__lead { max-width: 62ch; margin-top: 1.4rem; font-size: 1.1rem; color: rgba(255,255,255,.82); }
.pain-calc { margin-top: clamp(40px, 6vw, 72px); }
.pain-calc__assume {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-2); margin-bottom: 26px;
}
.pain-figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pain-fig { border-top: 1.5px solid rgba(255,255,255,.16); padding-top: 18px; }
.pain-fig__num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -.02em; color: #fff;
}
.pain-bar { margin-top: 14px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
.pain-bar__fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%); transition: width 1.6s var(--ease-sig); }
.pain-fig__label {
  margin-top: 12px; font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.6);
}
.pain__foot {
  margin-top: clamp(34px, 5vw, 60px); display: flex; flex-wrap: wrap;
  align-items: center; gap: 22px 36px; justify-content: space-between;
}
.pain__foot-line { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.95rem); max-width: 24ch; }
.pain__note { margin-top: 16px; font-size: .8rem; color: rgba(255,255,255,.5); max-width: 70ch; }
@media (max-width: 720px) { .pain-figures { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.4);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .35s var(--ease-sig), transform .35s var(--ease-sig);
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Pain: Euro-Regler (Wumms) ---------- */
.pain-euro {
  margin-top: clamp(30px, 4vw, 48px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; align-items: center;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px; padding: clamp(24px, 3vw, 40px);
}
.pain-euro__control { display: flex; flex-direction: column; gap: 16px; }
.pain-euro__control label {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(255,255,255,.72);
}
.pain-euro__cv { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; color: #fff; }
.pain-euro__label {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent-2);
}
.pain-euro__num {
  font-family: var(--font-display); font-weight: 700; margin-top: 8px;
  font-size: clamp(2.8rem, 6.5vw, 5rem); line-height: 1; letter-spacing: -.02em; color: #fff;
}
.pain-euro__assume { margin-top: 14px; font-size: .8rem; color: rgba(255,255,255,.55); max-width: 48ch; }
.pain-euro input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px;
  border-radius: 3px; background: rgba(255,255,255,.18); outline: none;
}
.pain-euro input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); cursor: pointer; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.pain-euro input[type=range]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent);
  cursor: pointer; border: 3px solid #fff;
}
@media (max-width: 720px) { .pain-euro { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- Infobot (Chat-Widget) ---------- */
.chat-launch {
  position: fixed; bottom: 88px; right: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(18,58,107,.4);
  transition: transform .3s var(--ease-sig), opacity .3s var(--ease-sig);
}
.chat-launch:hover { transform: scale(1.07); }
.chat-launch svg { width: 26px; height: 26px; }
.chat-panel {
  position: fixed; bottom: 22px; right: 22px; z-index: 61;
  width: min(370px, calc(100vw - 32px)); height: min(500px, calc(100vh - 110px));
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(10,25,45,.28);
  border: 1px solid var(--line);
}
.chat-panel[hidden] { display: none; }
.chat-panel__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 18px; background: var(--navy); color: #fff;
}
.chat-panel__title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.chat-panel__sub { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 3px; }
.chat-panel__close { background: none; border: none; color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.chat-msg { max-width: 82%; padding: 10px 13px; border-radius: 12px; font-size: .92rem; line-height: 1.45; white-space: pre-wrap; }
.chat-msg--bot { background: #fff; border: 1px solid var(--line); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg--user { background: var(--accent); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg--typing { color: var(--ink-soft); letter-spacing: 3px; }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-input input { flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: .7em .9em; font-family: var(--font-body); font-size: .95rem; color: var(--ink); }
.chat-input input:focus { outline: none; border-color: var(--accent); }
.chat-input button { border: none; background: var(--accent); color: #fff; width: 44px; border-radius: 8px; font-size: 1.2rem; cursor: pointer; }
.chat-panel__privacy { padding: 0 12px 10px; background: #fff; color: var(--ink-soft); font-size: .68rem; line-height: 1.5; }
.chat-panel__privacy a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
body.chat-active .wa-float, body.chat-active .chat-launch { opacity: 0; pointer-events: none; }
@media (max-width: 480px) {
  .chat-panel { width: calc(100vw - 24px); right: 12px; bottom: 12px; height: min(78vh, 560px); }
}

/* ---------- Audit-Fixes: Trust, Kontakt-Alt, Fokus ---------- */
.hero__trust { margin-top: 18px; color: rgba(255,255,255,.72); font-size: .68rem; }
.contact__greet { color: var(--accent-2); margin-top: 16px; }
.contact__greet[hidden] { display: none; }
.contact__alt { margin-top: 14px; color: rgba(255,255,255,.82); font-size: .95rem; }
.contact__alt a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Lead-Formular: Status + Erfolg ---------- */
.checkform__status { margin-top: 4px; color: #ffd0c4; font-size: .9rem; }
.checkform__status[hidden], .checkform__done[hidden] { display: none; }
.checkform__done { color: #fff; }
.checkform__done-title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--accent-2); margin-bottom: 10px; }
.hero-seq__hint { position: absolute; right: var(--pad-x); bottom: 28px; z-index: 3; color: rgba(255,255,255,.8); }

/* ---------- Marquee ---------- */
.marquee { background: var(--navy); color: #fff; overflow: hidden; padding: 18px 0; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 28px; align-items: center; font-family: var(--font-mono); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; will-change: transform; }
.marquee__track .dot { color: var(--accent); }

/* ---------- Sections base ---------- */
.section { padding-block: var(--section-y); }
.section__head { max-width: var(--container); margin-bottom: clamp(40px, 6vw, 80px); }
.section__head--split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.section__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.2rem, 5.4vw, 4.4rem); line-height: 1.0; letter-spacing: -.02em;
}
.section__title--light { color: #fff; }
.section__lead { color: var(--ink-soft); font-size: 1.08rem; max-width: 42ch; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 1.6vw, 26px); }
.service-card {
  background: var(--white); border-radius: 8px; overflow: hidden; padding-bottom: 26px;
  transition: transform .6s var(--ease-sig), box-shadow .6s var(--ease-sig);
  will-change: transform;
}
.service-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px -28px rgba(0,49,100,.4); }
.service-card__media { aspect-ratio: 4/5; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-sig); }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__nr { color: var(--accent); margin: 18px 24px 6px; }
.service-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; margin: 0 24px 10px; letter-spacing: -.01em; overflow-wrap: break-word; hyphens: auto; }
.service-card__text { margin: 0 24px; color: var(--ink-soft); font-size: .96rem; }

/* ---------- Gallery (horizontale Pin-Scroll-Sektion) ---------- */
.gallery-h { background: var(--bg); overflow: hidden; }
.gallery-h__track { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 44px); height: 100vh; padding-inline: var(--pad-x); width: max-content; }
.gallery-h__panel { flex: 0 0 auto; }
.gallery-h__intro { width: min(40vw, 480px); }
.gallery-h__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 5.2vw, 4.6rem); line-height: 1.0; letter-spacing: -.02em; margin: .3em 0 .5em; }
.gallery-h__lead { color: var(--ink-soft); max-width: 34ch; }
.gallery-h__hint { margin-top: 2.2rem; color: var(--accent); }
.gallery-card { position: relative; flex: 0 0 auto; width: min(42vw, 560px); height: 74vh; overflow: hidden; border-radius: 10px; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; }
.gallery-card figcaption { position: absolute; left: 18px; bottom: 16px; z-index: 2; color: #fff; background: rgba(0,49,100,.8); padding: 8px 14px; border-radius: 4px; }
.gallery-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(0,0,0,.42)); }
@media (max-width: 760px) {
  .gallery-h { height: auto; overflow: visible; }
  .gallery-h__track { flex-direction: column; align-items: stretch; height: auto; width: auto; gap: 16px; padding-block: var(--section-y); }
  .gallery-h__intro { width: auto; }
  .gallery-card { width: 100%; height: 64vh; }
}

/* ---------- Story ---------- */
.story { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.story__media { aspect-ratio: 4/5; overflow: hidden; border-radius: 10px; }
.story__media img { width: 100%; height: 112%; object-fit: cover; }
.story__text p { margin-top: 1.1rem; color: var(--ink-soft); }
.story__facts { display: flex; gap: 32px; margin-top: 2.2rem; flex-wrap: wrap; }
.story__facts li { font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; }
.story__facts .mono { display: block; color: var(--accent); font-size: 1.7rem; font-family: var(--font-mono); margin-bottom: 4px; }

/* ---------- Trust ---------- */
.section--trust { background: var(--bg-2); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.6vw, 28px); margin-top: 8px; }
.trust-card { background: var(--white); border-radius: 8px; padding: 32px 30px; border-left: 3px solid var(--accent); }
.trust-card p { font-size: 1.08rem; line-height: 1.55; }
.trust-card cite { display: block; margin-top: 18px; font-style: normal; color: var(--ink-soft); }
/* Mobil untereinander — 3 Spalten wurden auf schmalen Displays abgeschnitten
   (Alex-Befund 2026-07-06). */
@media (max-width: 760px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* ---------- KI-Verschiebung (Stats + Provider-Chips) ---------- */
.section--kishift { background: var(--white); }
.kishift-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 32px); margin-top: 34px; }
.kishift-stat { border-top: 2px solid var(--line); padding-top: 18px; }
.kishift-stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 4.2vw, 3.6rem); letter-spacing: -.02em; color: var(--ink); }
.kishift-stat__label { margin-top: 6px; font-size: 1rem; line-height: 1.5; }
.kishift-stat__src { display: block; margin-top: 8px; font-size: .72rem; letter-spacing: .06em; color: var(--ink-soft); text-transform: uppercase; }
.kishift-providers { margin-top: 40px; }
.kishift-providers__label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.kishift-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.kishift-chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-family: var(--font-mono, monospace); font-size: .85rem; letter-spacing: .04em; white-space: nowrap; }
.kishift-chip img { width: 18px; height: 18px; flex: 0 0 auto; }
.kishift-chip b { font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: 0; }
.kishift-chip span { color: var(--ink-soft); font-size: .72rem; }

/* Stilisierte KI-Antwort (Chat-Mockup) */
.ai-demo { max-width: 680px; margin: 44px auto 0; }
.ai-demo__bar { display: flex; align-items: center; gap: 7px; background: var(--ink); border-radius: 12px 12px 0 0; padding: 12px 16px; }
.ai-demo__bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.28); }
.ai-demo__bar p { margin-left: 10px; color: rgba(255,255,255,.65); font-size: .68rem; letter-spacing: .14em; }
.ai-demo__body { border: 1px solid var(--line); border-top: 0; background: var(--bg); padding: 22px 22px 26px; border-radius: 0 0 12px 12px; }
.ai-demo__q { margin-left: auto; max-width: 78%; width: fit-content; background: var(--accent); color: #fff; padding: 12px 18px; border-radius: 16px 16px 4px 16px; font-size: .98rem; }
.ai-demo__a { margin-top: 16px; max-width: 88%; background: var(--white); border: 1px solid var(--line); padding: 16px 20px; border-radius: 16px 16px 16px 4px; font-size: .98rem; line-height: 1.6; }
.ai-demo__a ol { margin: 10px 0 0 18px; }
.ai-demo__a li { margin-top: 6px; }
.ai-demo__cursor { display: inline-block; width: 9px; height: 1.1em; margin-top: 10px; background: var(--ink); animation: ai-blink 1.1s steps(1) infinite; vertical-align: text-bottom; }
@keyframes ai-blink { 50% { opacity: 0; } }
.ai-demo__punch { margin-top: 16px; text-align: center; font-size: 1.05rem; }
.ai-demo__punch b { color: var(--cta, #d64528); }

@media (max-width: 760px) {
  .kishift-stats { grid-template-columns: 1fr; gap: 26px; }
  .ai-demo__q, .ai-demo__a { max-width: 100%; }
}
.trust-note { text-align: center; margin-top: 36px; color: var(--ink-soft); opacity: .7; }

/* ---------- Pricing ---------- */
.pricing-list { border-top: 1px solid var(--line); }
.price-row { display: flex; align-items: baseline; gap: 14px; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.price-row__name { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.1rem, 2vw, 1.5rem); }
.price-row__dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.price-row__val { color: var(--navy); font-size: .95rem; white-space: nowrap; }
.pricing-note { margin-top: 28px; color: var(--ink-soft); max-width: 56ch; }

/* ---------- Contact ---------- */
.section--contact { background: var(--navy); color: #fff; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.contact__lead { color: rgba(255,255,255,.82); margin-top: 1.2rem; max-width: 40ch; }
.contact__right { display: flex; flex-direction: column; gap: 2px; }
.contact__cta {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  padding: 22px 4px; border-bottom: 1px solid rgba(255,255,255,.2);
  transition: padding-left .6s var(--ease-back), color .5s var(--ease-sig);
}
.contact__cta .mono { color: var(--accent); }
.contact__cta:hover { padding-left: 18px; color: #ffd3d7; }
.contact__addr { margin-top: 28px; color: rgba(255,255,255,.6); line-height: 1.8; }

/* ---------- Footer ---------- */
.site-footer { background: #00264e; color: rgba(255,255,255,.7); padding: 60px 0 40px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 30px 60px; align-items: center; justify-content: space-between; }
.footer__brand .brand { color: #fff; font-size: 1.7rem; }
.footer__brand .mono { margin-top: 6px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__nav a { transition: color .5s var(--ease-sig); }
.footer__nav a:hover { color: var(--accent); }
.footer__credit { width: 100%; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.4); }

/* ---------- Custom Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; width: 36px; height: 36px; border: 1.5px solid var(--accent);
  border-radius: 50%; pointer-events: none; z-index: 100; transform: translate(-50%, -50%);
  transition: width .4s var(--ease-sig), height .4s var(--ease-sig), background-color .4s var(--ease-sig), border-color .4s var(--ease-sig);
  mix-blend-mode: difference;
}
.cursor.is-hover { width: 64px; height: 64px; background: rgba(225,71,85,.18); border-color: transparent; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .section__head--split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .header__menu-box { display: none; }
  /* Ohne Menu-Box fehlt deren margin-left:auto -> Brand+Button quetschen
     sich und brechen um (Befund Mobile-Screenshot 2026-07-06). */
  .header__inner { justify-content: space-between; gap: 12px; }
  .brand { white-space: nowrap; font-size: 1.3rem; }
  .site-header .btn { margin-left: 0; padding: 10px 16px; font-size: .78rem; white-space: nowrap; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery-tile, .gallery-tile--wide { grid-column: span 1; }
  .gallery-tile--tall { grid-row: span 2; }
  .story, .contact { grid-template-columns: 1fr; }
  .cursor { display: none; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero__cta-row .btn { width: 100%; }
  /* Hero-Content ist bottom-verankert; auf kleinen Displays wuchs er bis
     unters Logo (Kicker-Kollision). Kompakter setzen statt ausblenden.
     (Headline-/Sub-/Bottom-Werte leben im 760er-Block — hier nur Kicker+Trust.) */
  .hero-seq__content .kicker { font-size: .68rem; letter-spacing: .12em; }
  .hero__trust { font-size: .68rem; }
}

/* ==========================================================================
   BANETH-Integration (Demo-Leiste, Verkaufs-Sektion, Rechtsseiten)
   ========================================================================== */

/* ---------- BANETH-Leiste oben ---------- */
:root { --bar-h: 36px; }
.baneth-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--bar-h);
  background: linear-gradient(90deg, var(--navy), #00264e);
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center;
}
.baneth-bar__inner { display: flex; align-items: center; justify-content: center; gap: 20px; width: 100%; }
.baneth-bar__tag { color: rgba(255,255,255,.7); font-size: .62rem; }
.baneth-bar__cta { color: #fff; font-size: .62rem; transition: color .5s var(--ease-sig); }
.baneth-bar__cta:hover { color: #ffd3d7; }
.site-header { top: 0; }            /* Demo-Leiste entfernt -> Header ganz oben */
.site-header.is-static { position: static; background: transparent; padding: 18px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 600px) { .baneth-bar__tag { display: none; } }

/* ---------- BANETH-Angebot (Mieten / Kaufen / Individuell) ---------- */
.section--angebot { background: var(--bg-2); }
.angebot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.4vw, 22px); }
@media (max-width: 1160px) { .angebot-grid { grid-template-columns: repeat(2, 1fr); } }
.angebot-card {
  background: var(--white); border-radius: 10px; padding: 34px 30px 30px;
  display: flex; flex-direction: column;
  border-top: 3px solid var(--line);
  transition: transform .6s var(--ease-sig), box-shadow .6s var(--ease-sig), border-color .6s var(--ease-sig);
}
.angebot-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(0,49,100,.35); border-top-color: var(--accent); }
.angebot-card--featured { background: var(--navy); color: #fff; border-top-color: var(--accent); }
.angebot-card__nr { color: var(--accent); margin-bottom: 16px; }
.angebot-card--featured .angebot-card__nr { color: #ffd3d7; }
.angebot-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -.01em; }
.angebot-card__price { margin: 14px 0 16px; font-size: 1.7rem; color: var(--navy); font-family: var(--font-mono); }
.angebot-card--featured .angebot-card__price { color: #fff; }
.angebot-card__price span { display: block; margin-top: 5px; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.angebot-card--featured .angebot-card__price span { color: rgba(255,255,255,.6); }
.angebot-card__text { color: var(--ink-soft); font-size: .98rem; }
.angebot-card--featured .angebot-card__text { color: rgba(255,255,255,.84); }
.angebot-card__list { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; font-size: .68rem; letter-spacing: .05em; }
.angebot-card--featured .angebot-card__list { border-top-color: rgba(255,255,255,.18); color: rgba(255,255,255,.82); }
.angebot-card__list li { padding-left: 18px; position: relative; }
.angebot-card__list li::before { content: "+"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.angebot-cta {
  margin-top: clamp(30px, 4vw, 52px); padding: clamp(26px, 3vw, 40px);
  background: var(--navy); color: #fff; border-radius: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.angebot-cta__line { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2.6vw, 2rem); letter-spacing: -.01em; }
.angebot-cta__note { margin-top: 10px; color: rgba(255,255,255,.55); font-size: .6rem; line-height: 1.7; max-width: 54ch; }
.angebot-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn--ghost-dark { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost-dark:hover { background: #fff; color: var(--navy); }
@media (max-width: 720px) { .angebot-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .angebot-cta { flex-direction: column; align-items: flex-start; } .angebot-cta__actions .btn { width: 100%; } }

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */
.legal-body { background: var(--bg); }
.legal-page { padding: clamp(40px, 7vw, 96px) 0; min-height: 68vh; }
.legal-content { max-width: 760px; }
.legal-content .kicker { color: var(--accent); }
.legal-content h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.02em; margin: .1em 0 .5em; }
.legal-content h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin: 2rem 0 .5rem; }
.legal-content p { color: var(--ink-soft); margin-bottom: .8rem; max-width: 68ch; }
.legal-content a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; transition: color .4s var(--ease-sig); }
.legal-content a:hover { color: var(--accent); }
.legal-back { margin-top: 2.6rem; }

/* ==========================================================================
   MOBILE-OVERHAUL (2026-06-24) — Mobile: ruhig, robust, zentriert.
   Schwere Motion ist in main.js fuer <=760px aus; hier die Layout-Haertung.
   ========================================================================== */
@media (max-width: 760px) {
  /* Hero kuerzer (kein endloses Scrollen); Sticky greift jetzt dank overflow:clip */
  .hero-seq { height: 240vh; }
  /* Hero-Typo mobil (Redesign 2026-07-07): harte Desktop-Umbrueche raus,
     Headline deutlich kompakter — der Block fuellte vorher den ganzen
     Viewport und das (jetzt hochkantige) Video war unsichtbar. */
  .hero__headline br { display: none; }
  .hero__headline { font-size: clamp(2.1rem, 9.2vw, 2.8rem); line-height: 1.06; letter-spacing: -.02em; }
  .hero__sub { font-size: .95rem; line-height: 1.6; max-width: none; margin-top: 1rem; }
  .hero__cta-row { gap: 10px; margin-top: 1.5rem; }
  .hero__cta-row .btn { flex: 1 1 auto; }
  .hero__trust { padding-right: 84px; }              /* Chat-Bubble-Kollision */
  .hero-seq__content { bottom: clamp(32px, 6vh, 64px); }
  .hero-seq__hint { right: auto; left: var(--pad-x); } /* weg von Chat/WhatsApp */
  /* Portrait-Video ist oben heller als das Desktop-Motiv -> Logo-Lesbarkeit:
     Brand weiss ueber dem Hero, ab Scroll heller Header-Hintergrund + navy. */
  .hero__darkener { background: linear-gradient(180deg, rgba(17,22,28,.58) 0%, rgba(17,22,28,.12) 34%, rgba(8,12,18,.86) 100%); }
  .site-header .brand { color: #fff; text-shadow: 0 1px 18px rgba(0,0,0,.5); transition: color .4s var(--ease-sig); }
  .site-header.is-scrolled { background: rgba(247,248,250,.92); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
  .site-header.is-scrolled .brand { color: var(--ink); text-shadow: none; }

  /* Reveals laufen mobil wieder (JS-Failsafe in main.js garantiert Sichtbarkeit) */

  /* Service-Karten: eine Spalte, weniger hohe Bilder, sauber zentriert */
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card__media { aspect-ratio: 16 / 11; }
  .service-card__media img { object-position: center; }

  /* Galerie vertikal (Pin ist <760 ohnehin aus), moderate Hoehe, zentriert */
  .gallery-card { width: 100%; height: 56vh; }
  .gallery-card img { object-position: center; }
  .gallery-h__title { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .gallery-h__hint { display: none; }   /* "SCROLLEN ->" ist horizontal gemeint, mobil ist die Galerie vertikal */

  /* Story-Bild zentriert ohne 112%-Versatz */
  .story__media { aspect-ratio: 4 / 3; }
  .story__media img { height: 100%; object-position: center; }

  /* Knapperer Sektions-Rhythmus */
  .section { padding-block: clamp(56px, 15vw, 96px); }

  /* BANETH-Leiste: CTA nicht umbrechen/ueberlaufen */
  .baneth-bar__cta { white-space: nowrap; }
  .baneth-bar__inner { padding-inline: 14px; gap: 12px; }
}

/* ---------- Verify-Modus (nur fuer Headless-Screenshots) ---------- */
.verify-mode .hero-seq { height: auto; }
.verify-mode .hero-seq__sticky { position: relative; height: 620px; }
.verify-mode .hero-seq__canvas { opacity: 1; }
.verify-mode [data-img-reveal] { clip-path: inset(0 0 0 0) !important; }
.verify-mode .gallery-h { height: auto; overflow: visible; }
.verify-mode .gallery-h__track { flex-direction: column; align-items: stretch; height: auto; width: auto; gap: 18px; padding-block: 60px; }
.verify-mode .gallery-h__intro { width: auto; }
.verify-mode .gallery-card { width: 100%; height: 460px; }

/* ---------- Reduced Motion (Pflicht, DNA) ---------- */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-split] .line { opacity: 1 !important; transform: none !important; }
  .js [data-img-reveal] { clip-path: none !important; }
  .hero-seq { height: auto; }
  .hero-seq__sticky { position: relative; height: 100vh; }
  .marquee__track { animation: none; }
  .gallery-h { height: auto; overflow: visible; }
  .gallery-h__track { flex-direction: column; align-items: stretch; height: auto; width: auto; }
  .gallery-card { width: 100%; height: 60vh; }
  * { transition-duration: .01ms !important; }
}
