/* ==========================================================================
   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 (echte Hex aus DNA #001) */
  --bg:        #e6e6e6;
  --bg-2:      #e5e7eb;
  --ink:       #1d1d1d;
  --ink-soft:  #393939;
  --navy:      #003164;   /* primary-2: Anker-Dunkelflaeche */
  --accent:    #e14755;   /* primary-1: Coral-Energie-Akzent */
  --accent-2:  #569ff7;
  --white:     #ffffff;
  --line:      rgba(29,29,29,.14);

  /* 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; }
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: hidden;
  -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); }
.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: #ffd3d7; }
.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: #11161c; }
.hero-seq__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #11161c; }
.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; }
.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.4rem; margin: 0 24px 10px; letter-spacing: -.01em; }
.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); }
.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; }
  .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%; }
}

/* ==========================================================================
   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: var(--bar-h); }            /* Header unter die Leiste */
.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(3, 1fr); gap: clamp(16px, 1.6vw, 24px); }
.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: 980px) { .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; }

/* ---------- 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; }
}
