/* ── Self-hosted Fonts (DSGVO-konform, keine externen Requests) ── */
@font-face {
  font-family: "Raleway";
  font-style: normal; font-weight: 300; font-display: swap;
  src: url("../assets/fonts/raleway-300.woff2") format("woff2");
}
@font-face {
  font-family: "Raleway";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/raleway-500.woff2") format("woff2");
}
@font-face {
  font-family: "Raleway";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/raleway-600.woff2") format("woff2");
}
@font-face {
  font-family: "Raleway";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("../assets/fonts/raleway-700.woff2") format("woff2");
}
@font-face {
  font-family: "Satoshi";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/satoshi-400.woff2") format("woff2");
}
@font-face {
  font-family: "Satoshi";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/satoshi-500.woff2") format("woff2");
}
@font-face {
  font-family: "Satoshi";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("../assets/fonts/satoshi-700.woff2") format("woff2");
}
/* Open Sans (Variable Font) — nur fuer die Telefonnummer, weil Raleway
   keine echten lining-nums hat und Ziffern auf unterschiedlicher Grundlinie sitzen. */
@font-face {
  font-family: "Open Sans";
  font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../assets/fonts/open-sans.woff2") format("woff2-variations"),
       url("../assets/fonts/open-sans.woff2") format("woff2");
}

/* ═══════════════════════════════════════════════════════════
   FOTOBOX-TEAM · TRADING-CARDS LANDING PAGE
   Hell & clean, mit dunkler Show-Bühne. Akzent: Türkis.
   ═══════════════════════════════════════════════════════════ */

:root {
  --paper: #fbfcfd;
  --paper-tint: #f2f6f7;
  --ink: #0e1420;
  --ink-soft: #47525f;
  --teal: #14b8a5;
  --teal-deep: #0b8577;
  --teal-light: #e2f6f3;
  --dark: #0a0e17;
  --dark-2: #101624;
  --gold: #c9a35c;
  --radius: 22px;
  --card-radius: 4.2% / 3%;
  --shadow-soft: 0 20px 60px -20px rgba(14, 20, 32, .18);
  --shadow-card: 0 30px 60px -18px rgba(14, 20, 32, .35);
  --font-display: "Raleway", "Helvetica Neue", sans-serif;
  --font-headline: "Bebas Neue", "Impact", "Helvetica Neue Condensed", sans-serif;
  --font-body: "Satoshi", "Segoe UI", sans-serif;
  --nav-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* overflow-x auf html UND body — sonst kann man auf iOS Safari waehrend der Hero-
   Einflug-Animation horizontal wegswipen (weisser Balken). */
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display); line-height: 1.18;
  font-weight: 700; letter-spacing: 0.005em;
  text-transform: uppercase;
}
/* Display-Headlines (H2/H3/Hero-Title): Raleway mit Weight-Contrast —
   erste Zeile Bold (700), zweite Zeile (.accent span) Light (300) */
h2, h3, .hero-title {
  font-family: var(--font-display); /* Raleway */
  font-weight: 700;
  letter-spacing: 0.005em;
}
h2 span.accent, h3 span.accent, .hero-title span.accent {
  font-weight: 300;
}
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.2; }
h3 { font-size: 1.35rem; line-height: 1.25; }
.accent { color: var(--teal-deep); }

/* ── Eyebrow (auch als H1 im Hero) ─────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display);
  font-size: .82rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal-deep); margin-bottom: 1.1rem;
}
h1.eyebrow { margin: 0 0 1.1rem; font-weight: 600; letter-spacing: .2em; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-light); }
.eyebrow-dark { color: #5eead4; }
.eyebrow-dark .eyebrow-dot { box-shadow: 0 0 0 4px rgba(20,184,165,.2); }

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  padding: .8rem 1.5rem; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; transition: transform .25s cubic-bezier(.2,.7,.3,1.4), box-shadow .25s, background .25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff; box-shadow: 0 10px 26px -8px rgba(20, 184, 165, .55);
}
.btn-primary:hover { box-shadow: 0 16px 34px -8px rgba(20, 184, 165, .65); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px rgba(14,20,32,.14); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px rgba(20,184,165,.6); color: var(--teal-deep); }
.btn-lg { padding: 1rem 2rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-holo {
  background: linear-gradient(110deg, #29e0c8, #6ee7f7 30%, #c4b5fd 65%, #f0abfc 100%);
  color: #07211d; box-shadow: 0 12px 32px -10px rgba(110, 231, 247, .5);
  background-size: 180% 100%;
}
.btn-holo:hover { background-position: 90% 0; }
.arrow { transition: transform .3s; display: inline-block; }
.btn:hover .arrow { transform: translateY(3px); }

/* ── Navigation ──────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled {
  background: rgba(251, 252, 253, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(14,20,32,.07);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 1.7rem; margin-left: auto; margin-right: 2rem; }
.nav-links a {
  text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-soft);
  transition: color .2s;
}
.nav-links a:hover { color: var(--teal-deep); }
.nav-cta { font-size: .85rem; padding: .7rem 1.15rem; }
@media (max-width: 1180px) { .nav-cta { font-size: .8rem; padding: .65rem 1rem; } }
@media (max-width: 1024px) { .nav-cta { display: none; } }
@media (max-width: 900px) { .nav-links { display: none; } }

/* ── Burger-Navigation (Mobile) ──────────── */
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  background: transparent; border: 0; cursor: pointer;
  border-radius: 10px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px; border-radius: 2px;
  background: var(--ink);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), opacity .2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) { .nav-burger { display: flex; } }

.mobile-menu {
  position: fixed; left: 0; right: 0; top: var(--nav-h);
  background: rgba(251, 252, 253, .97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(14, 20, 32, .08);
  box-shadow: 0 24px 40px -24px rgba(14, 20, 32, .25);
  padding: .6rem 1.2rem 1.3rem;
  z-index: 99;
  transform: translateY(-8px); opacity: 0;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), opacity .25s;
}
.mobile-menu.open { transform: none; opacity: 1; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  display: block; padding: .9rem .3rem;
  text-decoration: none; font-weight: 600; font-size: 1.05rem; color: var(--ink);
  border-bottom: 1px solid rgba(14, 20, 32, .06);
}
.mobile-menu nav a:active { color: var(--teal-deep); }
.mobile-menu .btn { margin-top: 1rem; }

/* ── Hero ────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 3rem) clamp(1rem, 4vw, 2.5rem) 4rem;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.hero-blob-1 { width: 620px; height: 620px; right: -160px; top: -140px; background: radial-gradient(circle, #a7f3ea 0%, transparent 65%); }
.hero-blob-2 { width: 520px; height: 520px; left: -180px; bottom: -160px; background: radial-gradient(circle, #d6f2ee 0%, transparent 65%); }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(14,20,32,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(14,20,32,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 60% 40%, #000 30%, transparent 75%);
}
.hero-inner {
  position: relative; max-width: 1240px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
.hero-title span { display: block; }
.hero-sub { margin-top: 1.4rem; font-size: 1.13rem; color: var(--ink-soft); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.4vw, 2rem);
  list-style: none; margin-top: 2.8rem;
  padding-top: 1.6rem; border-top: 1px solid rgba(14,20,32,.09);
}
.hero-facts li { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.hero-facts strong {
  font-family: var(--font-display); font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 700; line-height: 1.15; letter-spacing: 0.005em;
}
.hero-facts span { font-size: .85rem; color: var(--ink-soft); line-height: 1.35; }
@media (max-width: 640px) {
  /* Hero-CTA: primären Button weglassen (Sticky-Button unten übernimmt),
     "So funktioniert's" auf volle Breite */
  .hero-actions { flex-direction: column; margin-top: 1.6rem; }
  .hero-actions .btn-primary { display: none; }
  .hero-actions .btn-ghost { width: 100%; }
  /* Hero-Facts: 3 horizontale Check-Punkte MIT Info; Trennlinie darunter (Punkte oberhalb) */
  .hero-facts {
    grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-top: 2.2rem;
    border-top: none; padding-top: 0;
    border-bottom: 1px solid rgba(14,20,32,.09); padding-bottom: 1.9rem;
  }
  .hero-facts li { align-items: center; text-align: center; gap: .4rem; }
  .hero-facts li::before {
    content: "✓"; display: grid; place-items: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--teal-light); color: var(--teal-deep);
    font-weight: 700; font-size: 1rem;
  }
  .hero-facts strong { font-size: .82rem; line-height: 1.2; }
  .hero-facts span { display: block; font-size: .68rem; line-height: 1.3; }
}

/* Hero card stage */
.hero-stage {
  position: relative; height: clamp(420px, 56vw, 640px);
}
.hero-card { position: absolute; width: clamp(210px, 24vw, 300px); }
/* Die vordere Hero-Karte liegt ÜBER der Fly-Card (z 60) — die hintere Karte fliegt */
.hero-card-a { left: 4%; top: 6%; z-index: 70; --idle-rot: -7deg; }
.hero-card-b { right: 2%; top: 26%; --idle-rot: 6deg; }
.hero-stage-hint {
  position: absolute; bottom: -1.2rem; left: 50%; transform: translateX(-50%);
  font-size: .82rem; color: var(--ink-soft); opacity: .75; white-space: nowrap;
  animation: hintFloat 2.6s ease-in-out infinite;
}
@keyframes hintFloat { 50% { transform: translateX(-50%) translateY(5px); } }

@media (max-width: 900px) {
  .hero { padding-top: calc(var(--nav-h) + 1.5rem); }
  /* Karten direkt unter die Headline ziehen: hero-copy auflösen,
     Kinder werden Grid-Items und per order interleaved */
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { display: contents; }
  .hero-copy > .eyebrow      { order: 1; }
  .hero-copy > .hero-title   { order: 2; }
  .hero-stage                { order: 3; height: clamp(250px, 68vw, 330px); margin: .75rem 0 .5rem; }
  .hero-copy > .hero-sub     { order: 4; margin-top: .6rem; }
  .hero-copy > .hero-actions { order: 5; }
  .hero-copy > .hero-facts   { order: 6; }
  .hero-title { font-size: clamp(2rem, 9vw, 5.4rem); }
  .hero-card { width: clamp(150px, 38vw, 200px); }
  .hero-card-a { left: 7%; top: 4%; }
  .hero-card-b { right: 7%; top: 22%; }

  /* Karten-Animation: Auffächern beim Laden + dezentes "Peel" der hinteren Karte */
  @keyframes fanA { from { transform: translateX(45%) rotate(0deg); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes fanB { from { transform: translateX(-45%) rotate(-6deg); opacity: 0; } to { transform: none; opacity: 1; } }
  /* Einflug (fan) + danach dauerhaftes, gegenläufiges Schweben BEIDER Karten */
  .hero-card-a { animation: fanA .75s cubic-bezier(.2, .7, .3, 1.15) .15s both, floatA 5.5s ease-in-out 1s infinite; }
  .hero-card-b { animation: fanB .75s cubic-bezier(.2, .7, .3, 1.15) .3s both, floatB 6s ease-in-out 1.2s infinite; }
  @keyframes floatA { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-8px) rotate(-2deg); } }
  @keyframes floatB { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(8px) rotate(2deg); } }
}
@media (prefers-reduced-motion: reduce) {
  .hero-card-a, .hero-card-b, #heroSlot .slot-fallback { animation: none !important; }
}
html.noanim .hero-card-a, html.noanim .hero-card-b,
html.noanim #heroSlot .slot-fallback { animation: none !important; }

/* ── Weitere Mobile-Feinjustierung (Audit-Findings) ── */
@media (max-width: 560px) {
  .section { padding: 3rem clamp(1rem, 4vw, 2.5rem); }
  /* Headlines auf schmalen Screens kleiner → bleiben (meist) zweizeilig statt umzubrechen */
  h2 { font-size: 1.4rem; line-height: 1.3; }
  h3 { font-size: 1.15rem; }
  /* Eyebrow-Abstand kann hier bleiben — .eyebrow steht spaeter im File nicht mehr */
  .eyebrow { margin-bottom: .5rem; }
  h1.eyebrow { margin-bottom: .5rem; }
  /* .inquiry-facts, .card-section und .inquiry werden spaeter noch definiert und
     wuerden die Werte hier ueberschreiben — die Regeln stehen daher am DATEIENDE
     unter „MOBILE-KASKADEN-OVERRIDES" */
}
@media (max-width: 520px) {
  #slotSection1 { width: clamp(170px, 50vw, 200px); }
  .dim-side { right: -1.9rem; }
  .dim-magnet { left: -3.6rem; font-size: .7rem; }
}
@media (max-width: 900px) {
  .footer-col a { padding: .55rem 0; } /* Touch-Targets ≥ 44px */
}

/* ── 3D-Karten ───────────────────────────── */
.card3d { perspective: 1400px; --tiltX: 0deg; --tiltY: 0deg; --flip: 0deg; --idle-rot: 0deg; }
.card3d-inner {
  position: relative; width: 100%; aspect-ratio: 7 / 10;
  transform-style: preserve-3d;
  transform: rotate(var(--idle-rot)) rotateX(var(--tiltX)) rotateY(calc(var(--tiltY) + var(--flip)));
  transition: transform .18s ease-out;
  border-radius: var(--card-radius);
}
.card3d.flipping .card3d-inner { transition: transform .9s cubic-bezier(.35, .9, .3, 1); }
.card3d-face {
  position: absolute; inset: 0; border-radius: var(--card-radius); overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: var(--shadow-card);
  background: #fff;
}
.card3d-face img { width: 100%; height: 100%; object-fit: cover; }
.card3d-back { transform: rotateY(180deg); }
.card3d-glare {
  position: absolute; inset: 0; border-radius: var(--card-radius); pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.38) 47%, rgba(255,255,255,.12) 54%, transparent 66%);
  background-size: 240% 240%; background-position: 80% 80%;
  transform: translateZ(1px);
  transition: background-position .3s ease-out; mix-blend-mode: soft-light;
}
.card3d:hover .card3d-glare { background-position: 20% 20%; }
.card3d-glare-holo {
  background: linear-gradient(115deg, transparent 22%, rgba(110,231,247,.4) 38%, rgba(196,181,253,.42) 48%, rgba(240,171,252,.36) 58%, transparent 74%);
  background-size: 240% 240%; background-position: 85% 85%;
  mix-blend-mode: screen;
}
.card3d { cursor: pointer; }
.floaty .card3d-inner { animation: floaty 5.5s ease-in-out infinite; }
@keyframes floaty { 50% { translate: 0 -10px; } }

/* ── Sleeve-Karten & Fly-Card ────────────── */
.sleeve-ratio { aspect-ratio: 2656 / 4047; }
.sleeve-ratio .card3d-inner { aspect-ratio: 2656 / 4047; }

/* Hüllen-Bilder sind freigestellte RGBA-Grafiken: kein Kasten-Schatten,
   Schatten folgt der Hüllenform via drop-shadow auf dem Bild selbst */
.sleeve-ratio .card3d-face {
  border-radius: 0; background: transparent; box-shadow: none;
  overflow: visible;
}
.sleeve-ratio .card3d-face img { filter: drop-shadow(0 20px 28px rgba(14, 20, 32, .24)); }
/* Rückseite bekommt keinen Schatten — sonst scheint er beim Einflug (3D) kurz als
   „rechteckiger Geist" hinter der Karte durch (iOS Safari). */
.sleeve-ratio .card3d-back img { filter: none; }
.sleeve-ratio .card3d-glare { border-radius: 3% / 2%; }

.card-slot { position: relative; }
.card-slot .slot-fallback,
#heroSlot .slot-fallback {
  width: 100%; height: 100%; object-fit: cover;
  filter: drop-shadow(0 26px 34px rgba(14, 20, 32, .30));
}
#heroSlot .slot-fallback { transform: rotate(6deg); }
/* Wenn die Fly-Card aktiv ist, übernehmen die Slots nur noch die Position */
body.fly-active .slot-fallback { visibility: hidden; }

/* Ziel-Sektionen: Headline + Text links, Karte rechts (Hero-Größe) */
.card-section {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center; gap: clamp(2rem, 5vw, 4.5rem);
}
.card-section-copy .section-sub { margin-top: 1.2rem; }
.card-section-copy .btn { margin-top: 2rem; }
.card-slot-hero { width: clamp(210px, 24vw, 300px); justify-self: center; }
@media (max-width: 860px) {
  /* Mobile-Reihenfolge je Sektion: Eyebrow → Headline → Bild → Fließtext → Bullets → Button.
     copy auflösen (display:contents), Kinder werden direkte Flex-Items der Sektion. */
  /* align-items:stretch → Text linksbündig (überschreibt Desktop-align-items:center,
     das die Überschriften auf Mobile zentriert hatte); Bilder bleiben via align-self:center */
  .card-section { display: flex; flex-direction: column; align-items: stretch; }
  .card-section-copy { display: contents; }
  .card-section-copy > .eyebrow    { order: 1; }
  .card-section-copy > h2          { order: 2; }
  .card-slot, .card-duo, .rembrandt-stage { order: 3; align-self: center; margin: .6rem 0 .4rem; }
  /* Bemaßte Hülle braucht oben Platz für die 7,3-cm-Maßlinie */
  .card-slot.slot-dims { margin-top: 2.4rem; }
  .card-section-copy > .section-sub { order: 4; }
  .card-section-copy > .spec-list  { order: 5; }
  .card-section-copy > .btn        { order: 6; }
  .card-slot-hero { width: clamp(200px, 48vw, 260px); }
}

.fly-card {
  position: fixed; left: 0; top: 0; z-index: 60;
  pointer-events: none; display: none;
  perspective: 1600px;
  filter: drop-shadow(0 30px 40px rgba(14, 20, 32, .28));
}
body.fly-active .fly-card { display: block; }
.fly-card-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}
.fly-card .card3d-face { box-shadow: none; border-radius: 0; background: transparent; overflow: visible; }
/* Firefox-Fix: harter Face-Toggle per Klasse (backface-visibility ist in FF unzuverlaessig).
   .flip-back ist aktiv wenn rotateY zwischen 90° und 270° liegt (Rueckseite/leere Huelle vorn). */
.fly-card .card3d-front { opacity: 1; }
.fly-card .card3d-back  { opacity: 0; }
.fly-card.flip-back .card3d-front { opacity: 0; }
.fly-card.flip-back .card3d-back  { opacity: 1; }

/* ── Trenner (ersetzt Marquee) ───────────── */
.divider {
  max-width: 1240px; margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 0;
  display: flex; align-items: center; gap: 1.2rem;
  color: var(--teal); font-size: .9rem;
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 20, 32, .16));
}
.divider::after { background: linear-gradient(90deg, rgba(14, 20, 32, .16), transparent); }

/* ── Maß-Annotationen (Sektion „Die Hülle“) ─ */
.dim {
  position: absolute; display: flex; align-items: center; justify-content: center;
  color: var(--teal-deep); font-weight: 700; font-size: .85rem;
  font-variant-numeric: tabular-nums lining-nums;
  opacity: 0; transition: opacity .6s ease .15s;
  z-index: 62; /* über der angedockten Fly-Card (z 60) */
}
.dim span { background: transparent; padding: 0 .4rem; white-space: nowrap; }
/* Breite: Linie mit Endstrichen über der Hülle */
.dim-top { top: -2.3rem; left: 0; right: 0; height: 1.2rem; }
.dim-top::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px;
  background: var(--teal);
}
.dim-top::after {
  content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 5.25px); height: 12px;
  border-left: 1.5px solid var(--teal); border-right: 1.5px solid var(--teal);
}
.dim-top span { position: relative; z-index: 1; transform: translateY(-1rem); }
/* Länge: vertikale Linie rechts neben der Hülle */
.dim-side { top: 0; bottom: 0; right: -2.5rem; width: 1.2rem; }
.dim-side::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1.5px;
  background: var(--teal);
}
.dim-side::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 5.25px); width: 12px;
  border-top: 1.5px solid var(--teal); border-bottom: 1.5px solid var(--teal);
}
.dim-side span {
  position: relative; z-index: 1;
  writing-mode: vertical-rl; padding: .4rem 0;
  transform: translateX(1rem);
}
/* Magnet-Beschriftung: Text links AUSSERHALB der Hülle, Linie führt zum Magneten */
.dim-magnet {
  top: 5.6%; left: -8.2rem; right: 53%; height: 0;
  display: flex; align-items: center; gap: .5rem;
  white-space: nowrap;
}
.dim-magnet .dim-line {
  flex: 1; height: 1.5px; background: var(--teal);
  position: relative;
}
.dim-magnet .dim-line::after {
  content: ""; position: absolute; right: -9px; top: 50%;
  width: 8px; height: 8px; transform: translateY(-50%);
  border: 1.5px solid var(--teal); border-radius: 50%;
}
@media (max-width: 860px) {
  .dim-magnet { left: -4.9rem; font-size: .72rem; }
}
.dim-note {
  position: absolute; left: 0; right: 0; bottom: -2.2rem; text-align: center;
  font-size: .78rem; color: var(--ink-soft);
  opacity: 0; transition: opacity .6s ease .25s;
}
/* Sichtbar: wenn Fly-Card angedockt ist — oder im statischen Fallback */
body.s1-docked .dim, body.s1-docked .dim-note,
body:not(.fly-active) .dim, body:not(.fly-active) .dim-note { opacity: 1; }
/* Tinted-Hintergrund gibt es in dieser Sektion nicht, aber falls doch: Label-Hintergrund erbt Paper */

/* ── Spec-Liste (Karten-Sektionen) ──────── */
.spec-list { list-style: none; margin-top: 1.4rem; display: grid; gap: .55rem; }
.spec-list li { padding-left: 1.6rem; position: relative; color: var(--ink-soft); }
.spec-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-deep); font-weight: 700; }
.spec-list strong { color: var(--ink); }

/* ── Karten-Duo (Sektion „Siegel“) ───────── */
.card-duo { position: relative; width: clamp(210px, 24vw, 300px); justify-self: center; }
.card-duo .card-slot-hero { position: relative; z-index: 2; width: 100%; }
.card-behind {
  position: absolute; z-index: 1; width: 100%;
  left: 38%; top: 16%;
}
.card-behind img { width: 100%; filter: drop-shadow(0 22px 30px rgba(14, 20, 32, .22)); }
@media (max-width: 860px) {
  /* Schwerpunkt (Front + herausragende Rückkarte) optisch zentrieren */
  .card-duo { width: clamp(200px, 48vw, 260px); margin-right: 0; transform: translateX(-6vw); }
}

/* Slide-in von rechts (Mobile/Fallback: IntersectionObserver) */
.reveal-right { opacity: 0; transform: translateX(60px); transition: opacity .9s cubic-bezier(.2,.65,.3,1) .2s, transform .9s cubic-bezier(.2,.65,.3,1) .2s; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
html.noanim .reveal-right { opacity: 1 !important; transform: none !important; transition: none !important; }
/* Desktop-Fly-Modus: die zweite Karte wird scroll-gesteuert (JS setzt transform/opacity direkt) */
.card-behind.js-fly { transition: none !important; }

/* ── Branding-Siegel (animierter Aufkleber, legt sich über den Magneten) ─ */
.seal {
  position: absolute; left: 50%; top: 4.6%; /* Magnet-Position */
  width: 62%; z-index: 65; /* über der angedockten Fly-Card (z 60) */
  display: flex; flex-direction: column; align-items: center; gap: .05rem;
  padding: .5rem .8rem .55rem;
  background: linear-gradient(160deg, #2b303b 0%, #171b24 100%);
  color: #f3e2d0; text-align: center;
  border: 1.5px solid #c98a54;
  border-radius: 8px;
  box-shadow: 0 10px 22px -6px rgba(14, 20, 32, .5), inset 0 1px 0 rgba(255,255,255,.12);
  transform: translate(-50%, -180%) scale(.94);
  opacity: 0;
  transition: transform .8s cubic-bezier(.3, 1.05, .3, 1), opacity .5s ease;
  pointer-events: none;
}
.seal-brand { font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.seal-sub { font-size: .52rem; font-weight: 700; letter-spacing: .24em; color: #d9a06a; }
/* Mini-Siegel auf der zweiten Karte — identisches Siegel wie vorne, nur kleiner */
.seal-mini {
  width: 62%; z-index: 3;
  transition-delay: .18s, .18s;
}
.seal-mini .seal-brand { font-size: .68rem; }
.seal-mini .seal-sub { font-size: .48rem; }
/* Aufkleber legt sich mittig über den Magnetverschluss: */
body.s2-sealed .seal,
body:not(.fly-active) .seal {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* ── Rembrandt-Bühne (Sektion 3) + Display-Slot ── */
.rembrandt-stage {
  position: relative; width: clamp(210px, 21vw, 278px); justify-self: center;
  margin: 0;
}
.rembrandt-stage .rembrandt-img {
  width: 100%; filter: drop-shadow(0 14px 20px rgba(14, 20, 32, .14));
}
.display-slot {
  position: absolute; overflow: hidden;
  left: 29.37%; top: 24.16%; width: 50%; height: 12.01%;
}
.display-slot .screen-photo {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 2px;
  opacity: 0; transition: opacity .5s ease .4s; /* erscheint kurz nach dem Blitz */
}
/* Weißblitz auf dem Display selbst */
.display-slot::after {
  content: ""; position: absolute; inset: 0; background: #fff; opacity: 0;
  pointer-events: none;
}

/* Ringblitz-Flash über der Kamera */
.ring-flash {
  position: absolute; left: 53.7%; top: 13%;
  width: 46%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%) scale(.5);
  background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,248,230,.92) 32%, rgba(255,255,255,0) 68%);
  opacity: 0; pointer-events: none;
}

/* Auslösung: Klasse .shot auf der Bühne startet Blitz + Foto */
.rembrandt-stage.shot .screen-photo { opacity: 1; }
.rembrandt-stage.shot .ring-flash { animation: ringFlash 1.15s ease-out both; }
.rembrandt-stage.shot .display-slot::after { animation: screenBlink 1.15s ease-out both; }
@keyframes ringFlash {
  0%   { opacity: 0; transform: translate(-50%,-50%) scale(.4); }
  10%  { opacity: 1; transform: translate(-50%,-50%) scale(1.05); }
  18%  { opacity: .25; transform: translate(-50%,-50%) scale(1.1); }
  30%  { opacity: 1; transform: translate(-50%,-50%) scale(1.35); }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(1.9); }
}
@keyframes screenBlink {
  0% { opacity: 0; } 12% { opacity: .95; } 35% { opacity: .55; } 70% { opacity: 0; } 100% { opacity: 0; }
}
/* Ohne Animationen (Mobile-Reduced/Test): Foto sofort zeigen, kein Blitz */
html.noanim .rembrandt-stage .screen-photo { opacity: 1 !important; transition: none !important; }
html.noanim .rembrandt-stage.shot .ring-flash,
html.noanim .rembrandt-stage.shot .display-slot::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .rembrandt-stage .screen-photo { opacity: 1; transition: none; }
  .rembrandt-stage.shot .ring-flash, .rembrandt-stage.shot .display-slot::after { animation: none; }
}

/* Videos/Fotos in der Trading-Card-Hülle */
.media-sleeve {
  position: relative;
  aspect-ratio: 2656 / 4047 !important;
  border-radius: 0; overflow: visible; box-shadow: none;
  filter: drop-shadow(0 20px 30px rgba(14, 20, 32, .24));
  background: transparent;
}
.media-sleeve .media-inner {
  position: absolute; left: 6.29%; top: 11.07%;
  width: 84.9%; height: 79.47%;
  object-fit: cover; border-radius: 6px;
}
.media-sleeve .sleeve-overlay {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}

/* ── Marquee ─────────────────────────────── */
.marquee {
  overflow: hidden; background: var(--ink); color: #e8fffb;
  padding: .95rem 0; transform: rotate(-1.2deg) scale(1.02); margin: -.5rem 0 0;
}
.marquee-track {
  display: flex; gap: 2.2rem; width: max-content;
  animation: marquee 26s linear infinite;
  font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; letter-spacing: .04em;
  align-items: center; white-space: nowrap;
}
.marquee-track i { font-style: normal; color: var(--teal); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Trustbar ────────────────────────────── */
.trustbar { max-width: 1240px; margin: 0 auto; padding: 3.6rem clamp(1rem, 4vw, 2.5rem) 1rem; text-align: center; }
.trustbar-label { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.trustbar-list {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(1.4rem, 4vw, 3.6rem); margin-top: 1.15rem;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 2.2vw, 1.4rem);
}
.trustbar-list em { font-style: normal; color: var(--ink-soft); font-weight: 400; font-size: .82em; }

/* ── Sections ────────────────────────────── */
.section { max-width: 1240px; margin: 0 auto; padding: clamp(4rem, 9vw, 7.5rem) clamp(1rem, 4vw, 2.5rem); }
.section-tinted {
  max-width: none;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-tint) 12%, var(--paper-tint) 88%, var(--paper) 100%);
}
.section-tinted > * { max-width: 1240px; margin-left: auto; margin-right: auto; }
/* Explizit linksbündig — überschreibt die zentrierende .section-tinted > * Regel */
.section-head { max-width: 780px; margin-left: 0; margin-right: auto; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
/* In .section-tinted (voller Viewport-Breite) fehlt der "margin auto"-Rand
   des 1240er-Containers, den nicht-tinted sections haben. Der Offset kommt
   dynamisch von JS in --section-inset (siehe main.js), damit die H2 an
   exakt derselben x-Position sitzt wie in nicht-tinted sections. */
.section-tinted > .section-head {
  margin-left: var(--section-inset, 0px);
}
.section-sub { margin-top: 1.2rem; color: var(--ink-soft); font-size: 1.08rem; max-width: 36rem; }

/* ── Steps ───────────────────────────────── */
.steps {
  list-style: none; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(1.2rem, 2.5vw, 2rem);
  counter-reset: steps;
}
/* 3-Spalten-Variante: etwas größere Karten */
.steps-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(1.6rem, 3vw, 2.6rem); max-width: 1140px; margin: 0 auto; }
/* Mobil: Step-Karten begrenzen (sonst ~545px hohe Videos) + zentrieren */
@media (max-width: 640px) {
  .steps-3 .step-media { max-width: 250px; margin-inline: auto; }
  .steps-3 .step { text-align: center; }
  .steps-3 .step p { max-width: 22rem; margin-inline: auto; }
}
.step { position: relative; }
.step-num {
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  color: var(--teal-deep); background: var(--teal-light);
  border-radius: 999px; padding: .3rem .9rem; display: inline-block; margin-bottom: 1.1rem;
}
.steps-3 .step-num { font-size: 1.05rem; }
.step-media {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-soft); margin-bottom: 1.3rem;
  transition: transform .4s cubic-bezier(.2,.7,.3,1.2), box-shadow .4s;
}
.step:hover .step-media { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 30px 70px -22px rgba(14,20,32,.28); }
.step-media img, .step-media video { width: 100%; height: 100%; object-fit: cover; }
.step h3 { margin-bottom: .5rem; }
.steps-3 .step h3 { font-size: 1.45rem; }
.step p { color: var(--ink-soft); font-size: .96rem; }
.steps-3 .step p { font-size: 1.02rem; }

/* ── Features / Individualisierung ───────── */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1.6rem, 3.5vw, 3rem);
}
.feature { text-align: center; }
.feature-card { max-width: 275px; margin: 0 auto 1.5rem; }
.feature h3 { font-size: 1.35rem; }
.feature p { color: var(--ink-soft); margin-top: .5rem; max-width: 21rem; margin-inline: auto; }

.chips { margin-top: clamp(2.6rem, 5vw, 4rem); text-align: center; }
.chips-label { font-size: .9rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 1rem; }
.chips ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.chips li {
  background: #fff; border: 1px solid rgba(14,20,32,.1); border-radius: 999px;
  padding: .45rem 1.05rem; font-size: .92rem; font-weight: 500;
  transition: border-color .2s, color .2s, transform .2s;
}
.chips li:hover { border-color: var(--teal); color: var(--teal-deep); transform: translateY(-2px); }

/* ── Dark Section ────────────────────────── */
.dark-section {
  position: relative; background: radial-gradient(120% 90% at 50% 0%, var(--dark-2) 0%, var(--dark) 55%);
  color: #eef3f6; padding: clamp(4.5rem, 9vw, 8rem) clamp(1rem, 4vw, 2.5rem);
  overflow: hidden;
}
.dark-glow {
  position: absolute; width: 900px; height: 500px; left: 50%; top: -220px; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(20,184,165,.22) 0%, transparent 65%);
  pointer-events: none;
}
.dark-section .section-head { position: relative; max-width: 1240px; margin-inline: auto; }
.dark-section .section-sub { color: #9aa7b5; }
.accent-holo {
  background: linear-gradient(100deg, #2dd4bf 5%, #6ee7f7 35%, #c4b5fd 65%, #f0abfc 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gallery {
  position: relative; max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(1.4rem, 3vw, 2.4rem); align-items: start;
}
.gallery-card { max-width: 285px; margin: 0 auto; width: 100%; }
.gallery-card:nth-child(2) { margin-top: 2.6rem; }
.gallery-card:nth-child(4) { margin-top: 2.6rem; }
.gallery .card3d-face { box-shadow: 0 34px 70px -20px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.06); }

.dark-split {
  max-width: 1240px; margin: clamp(3.5rem, 7vw, 6rem) auto 0;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
@media (max-width: 900px) { .dark-split { grid-template-columns: 1fr; } }
.screen-frame {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.8);
  background: #000;
}
.screen-frame video { width: 100%; }
.screen-frame figcaption { font-size: .85rem; color: #9aa7b5; padding: .8rem 1.1rem; background: rgba(255,255,255,.04); }
.specs h3 { font-size: 1.7rem; margin-bottom: 1.4rem; }
.specs dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.6rem; margin-bottom: 2rem; }
.specs dt { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #5eead4; font-weight: 700; margin-bottom: .15rem; }
.specs dd { font-size: .98rem; color: #cfd8e0; }

/* ── Cases / Referenzen ──────────────────── */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: clamp(1.4rem, 3vw, 2.4rem); }
.case {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid rgba(14,20,32,.07); box-shadow: var(--shadow-soft);
  transition: transform .35s cubic-bezier(.2,.7,.3,1.2), box-shadow .35s;
}
.case:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -24px rgba(14,20,32,.3); }
.case-media { aspect-ratio: 4 / 3.4; overflow: hidden; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.case:hover .case-media img { transform: scale(1.045); }
.case-body { padding: 1.4rem 1.5rem 1.6rem; }
.case-body h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.case-body p { color: var(--ink-soft); font-size: .94rem; }

/* ── Rembrandt ───────────────────────────── */
.rembrandt {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
@media (max-width: 820px) { .rembrandt { grid-template-columns: 1fr; } }
.rembrandt-copy p { color: var(--ink-soft); max-width: 32rem; }
.rembrandt-copy .btn { margin-top: 1.8rem; }
.rembrandt-list { list-style: none; margin-top: 1.4rem; display: grid; gap: .55rem; }
.rembrandt-list li { padding-left: 1.6rem; position: relative; color: var(--ink-soft); }
.rembrandt-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-deep); font-weight: 700; }
.rembrandt-media { position: relative; display: flex; justify-content: center; }
.rembrandt-media::before {
  content: ""; position: absolute; inset: 12% 18%; border-radius: 50%;
  background: radial-gradient(circle, rgba(20,184,165,.16) 0%, transparent 70%);
}
.rembrandt-media img {
  position: relative; max-height: 560px; width: auto;
  filter: drop-shadow(0 36px 50px rgba(14,20,32,.25));
  animation: floaty 6s ease-in-out infinite;
}

/* ── Anfrage ─────────────────────────────── */
.inquiry {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
@media (max-width: 860px) {
  .inquiry { grid-template-columns: 1fr; }
  /* Mobile: Call-CTA UNTER das Formular schieben — inquiry-copy auflösen
     (display:contents), damit alle Kinder direkte Grid-Items werden;
     .inquiry-call bekommt hoehere order → landet nach dem Formular */
  .inquiry-copy { display: contents; }
  .inquiry-call { order: 1; margin-top: 2rem; text-align: center; }
  .inquiry-call .btn-call { margin: 0 auto; }
}
.inquiry-copy p { color: var(--ink-soft); max-width: 28rem; }
.inquiry-facts { list-style: none; margin-top: 1.8rem; display: grid; gap: .7rem; }
.inquiry-facts li { display: flex; gap: .6rem; color: var(--ink-soft); }
.inquiry-facts strong { color: var(--teal-deep); }
/* Call-CTA: alternative direkter Anruf, prominent aber sekundär zum Formular */
.inquiry-call {
  margin-top: 2rem; padding-top: 1.6rem;
  border-top: 1px dashed rgba(14, 20, 32, .15);
}
.inquiry-call-label {
  font-family: var(--font-display); font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .12em; color: var(--teal-deep);
  margin-bottom: .7rem;
}
.btn-call {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .85rem 1.3rem; border-radius: 999px; text-decoration: none;
  background: var(--paper); border: 2px solid var(--teal);
  color: var(--ink); font-family: var(--font-display); font-weight: 700;
  font-size: 1.05rem; letter-spacing: .01em; white-space: nowrap;
  transition: background .2s, color .2s, transform .2s;
}
.btn-call:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.btn-call svg { color: var(--teal-deep); transition: color .2s; }
.btn-call:hover svg { color: #fff; }
/* Nummer in Open Sans: echte lining-nums / tabular-nums → einheitliche Grundlinie */
.btn-call span {
  font-family: "Open Sans", "Helvetica Neue", sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
}
.inquiry-call-note {
  margin-top: .6rem; font-size: .78rem; color: var(--ink-soft);
}
.inquiry-form {
  background: #fff; border: 1px solid rgba(14,20,32,.08); border-radius: var(--radius);
  box-shadow: var(--shadow-soft); padding: clamp(1.4rem, 3vw, 2.2rem);
  display: grid; gap: 1.1rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.inquiry-form label { display: grid; gap: .4rem; font-size: .88rem; font-weight: 700; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
  font: inherit; font-weight: 400; padding: .78rem .95rem;
  border: 1.5px solid rgba(14,20,32,.13); border-radius: 12px; background: var(--paper);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(20,184,165,.14);
}
.inquiry-form textarea { resize: vertical; }
.form-note { font-size: .8rem; color: var(--ink-soft); text-align: center; }
.form-note.success { color: var(--teal-deep); font-weight: 700; }
.form-note.error   { color: #b91c1c; font-weight: 700; }
/* Honeypot — visuell versteckt, aber im DOM (Bots füllen es aus, echte Nutzer nicht) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Footer ──────────────────────────────── */
.footer { background: var(--ink); color: #b9c3cd; padding: 3.5rem clamp(1rem, 4vw, 2.5rem) 2rem; }
.footer-inner {
  max-width: 1240px; margin: 0 auto; display: grid;
  grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem;
}
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand img { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: .92; margin-bottom: 1rem; }
.footer-brand p { font-size: .92rem; }
.footer-col h4 { font-family: var(--font-display); color: #fff; font-size: .95rem; margin-bottom: .8rem; }
.footer-col a { display: block; text-decoration: none; font-size: .92rem; padding: .18rem 0; transition: color .2s; }
.footer-col a:hover { color: var(--teal); }
.footer-line {
  max-width: 1240px; margin: 2.5rem auto 0; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; opacity: .7;
}

/* ── Reveal-Animationen ──────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.65,.3,1), transform .8s cubic-bezier(.2,.65,.3,1); }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }
.delay-4 { transition-delay: .48s; }

html.noanim .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .rembrandt-media img, .hero-stage-hint, .floaty .card3d-inner { animation: none; }
  .card3d-inner { transition: none; }
}

/* ══════════ MOBILE-FEINSCHLIFF (Session 2026-07-15) ══════════ */

/* Sticker-Siegel auf Mobile deutlich kleiner — wirkt aufgeklebt, nicht als Grafik */
@media (max-width: 860px) {
  /* Siegel als flache, breite Banderole über den Magnetverschluss — wie ein echter
     aufgeklebter Sticker über der oberen Hüllenkante, überdeckt NICHT das Kartenmotiv */
  .seal, .seal-mini {
    width: auto; max-width: 82%;
    flex-direction: row; align-items: center; justify-content: center; gap: .35rem;
    padding: .24rem .7rem; border-radius: 4px; border-width: 1px;
    white-space: nowrap;
  }
  .seal .seal-sub, .seal-mini .seal-sub { display: none; }  /* nur die Marke, einzeilig → flach */
  .seal .seal-brand, .seal-mini .seal-brand { font-size: .58rem; letter-spacing: .16em; }
  .seal .seal-brand::before, .seal-mini .seal-brand::before { content: "★ "; color: #d9a06a; }
  .seal .seal-brand::after,  .seal-mini .seal-brand::after  { content: " ★"; color: #d9a06a; }
  /* Siegel ist von hinten über die obere Plastikkante nach vorne geklebt →
     seine OBERKANTE sitzt bündig an der Hüllenoberkante und es hängt nach unten. */
  body:not(.fly-active) .seal { top: 4%; }
  /* Front-Siegel referenziert die höher beginnende .card-duo → entsprechend tiefer */
  body:not(.fly-active) #seal { top: 6.5%; }
}

/* Mobile-Sektionsreihenfolge: #erlebnis (die drei Ablauf-Videos) wandert direkt hinter
   den Hero. Das passiert per JS-DOM-Umordnung (main.js), NICHT per flex/order —
   ein flex-column-Container erzeugt einen "indefinite width"-Kontext, in dem die
   auto-fit-Grids (steps, feature-grid) den Layout-Viewport aufblähen und damit alle
   Mobile-Media-Queries aushebeln würden. main bleibt daher ein normaler Block. */

/* Sticky-CTA (nur Mobile): erscheint beim Scrollen, blendet am Anfrageformular aus */
.sticky-cta { display: none; }
@media (max-width: 900px) {
  .sticky-cta {
    position: fixed; left: 1rem; right: 1rem; bottom: .8rem; z-index: 90;
    display: flex; align-items: center; justify-content: center;
    padding: .95rem 1.2rem; border-radius: 999px;
    font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .01em;
    color: #fff; text-decoration: none;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
    box-shadow: 0 12px 30px -8px rgba(20, 184, 165, .55);
    transform: translateY(180%); opacity: 0;
    transition: transform .35s cubic-bezier(.2, .7, .3, 1), opacity .35s;
  }
  .sticky-cta.show { transform: none; opacity: 1; }
}
html.noanim .sticky-cta { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none !important; }
}

/* ══════════ FAQ-Sektion ══════════ */
/* Linksbündig konsistent mit den Headlines (überschreibt die zentrierende
   .section-tinted > * Regel — gleiche linke Kante wie die .section-head) */
.section-tinted > .faq-facts,
.section-tinted > .faq-list { margin-left: var(--section-inset, 0px); margin-right: var(--section-inset, 0px); }

.faq-facts {
  margin-bottom: 2.6rem;
  background: var(--paper); border: 1px solid rgba(14,20,32,.08);
  border-radius: var(--radius); padding: 1.7rem 2rem 1.9rem;
  box-shadow: var(--shadow-soft);
}
.faq-facts-label {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; font-size: .82rem; color: var(--teal-deep); margin-bottom: 1.3rem;
}
.faq-facts ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem 1.9rem; }
.faq-facts li { padding-left: .95rem; border-left: 2px solid var(--teal); }
.faq-facts li strong {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .09em;
  color: var(--teal-deep); margin-bottom: .25rem;
}
.faq-facts li span { display: block; color: var(--ink-soft); font-size: .95rem; line-height: 1.4; }
@media (max-width: 780px) { .faq-facts ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .faq-facts ul { grid-template-columns: 1fr; } }

.faq-list { max-width: none; }
/* Kasten volle Breite, Antworttext lesbar begrenzt */
.faq-answer p { max-width: 78ch; }
.faq-item {
  border: 1px solid rgba(14,20,32,.09); border-radius: 14px;
  background: var(--paper); margin-bottom: .7rem; overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] { border-color: rgba(20,184,165,.4); box-shadow: var(--shadow-soft); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.3rem; line-height: 1;
  background: var(--teal-light); color: var(--teal-deep);
  transition: transform .25s ease;
}
.faq-item[open] summary::after { content: "–"; transform: rotate(180deg); }
.faq-item summary:hover { color: var(--teal-deep); }
.faq-answer { padding: 0 1.3rem 1.2rem; }
.faq-answer p { color: var(--ink-soft); line-height: 1.6; }
@media (prefers-reduced-motion: reduce) { .faq-item summary::after { transition: none; } }

/* Ausklappbarer Zusatzblock „Mehr Antworten…" – enthält weitere FAQs */
.section-tinted > .faq-more { margin-left: var(--section-inset, 0px); margin-right: var(--section-inset, 0px); }
.faq-more {
  margin-top: 2rem;
  border: 1px dashed rgba(20,184,165,.45);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(20,184,165,.05), rgba(20,184,165,.02));
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.faq-more[open] {
  border-style: solid;
  border-color: rgba(20,184,165,.55);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}
.faq-more > summary {
  list-style: none; cursor: pointer;
  padding: 1.2rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display);
}
.faq-more > summary::-webkit-details-marker { display: none; }
.faq-more > summary::after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.4rem; line-height: 1;
  background: var(--teal); color: #fff;
  transition: transform .25s ease;
}
.faq-more[open] > summary::after { content: "–"; transform: rotate(180deg); }
.faq-more > summary:hover { color: var(--teal-deep); }
.faq-more-label {
  display: block; font-weight: 700; font-size: 1.05rem; color: var(--ink); line-height: 1.3;
}
.faq-more-hint {
  display: block; margin-top: .2rem;
  font-family: var(--font-body); font-weight: 500;
  font-size: .85rem; color: var(--teal-deep); letter-spacing: .01em;
}
.faq-more[open] .faq-more-hint::before { content: "Aktuell aufgeklappt · "; }
.faq-list-more { padding: 0 1.1rem 1.1rem; }
.faq-list-more .faq-item { background: var(--paper); }
@media (prefers-reduced-motion: reduce) { .faq-more > summary::after { transition: none; } }
@media (max-width: 480px) {
  .faq-more > summary { padding: 1rem 1.1rem; }
  .faq-list-more { padding: 0 .55rem .8rem; }
}

/* ══════════ MOBILE: kompaktere Abstände + Hüllen-Animationen (Session 2026-07-15) ══════════ */
/* base .section-padding (clamp 4rem…) ist auf Smartphones zu groß → Lücken verkleinern.
   Diese Regel steht bewusst am Dateiende, damit sie die base-.section überschreibt. */
@media (max-width: 560px) {
  .section { padding-top: 2.6rem; padding-bottom: 2.6rem; }
  .hero { padding-bottom: 1.4rem; }
  .divider { padding-top: .6rem; }
}

/* ── Dezente Hüllen-Animationen auf Mobile (Desktop hat das Fly-Scrollytelling) ──
   Der Startzustand (versteckt/versetzt) greift NUR wenn JS läuft (html.anim-js) —
   ohne JS bleiben Maße & Siegel sichtbar (Progressive Enhancement). .anim-in
   (per Scroll-Check in main.js) blendet ein, sobald die Sektion im Viewport ist. */
@media (max-width: 900px) {
  /* karte1: Maß-Linien + Magnet-Label sanft einblenden */
  html.anim-js body:not(.fly-active) #karte1 .dim,
  html.anim-js body:not(.fly-active) #karte1 .dim-note {
    opacity: 0; transition: opacity .7s ease;
  }
  html.anim-js body:not(.fly-active) #karte1.anim-in .dim,
  html.anim-js body:not(.fly-active) #karte1.anim-in .dim-note { opacity: 1; }
  #karte1.anim-in .dim-top   { transition-delay: .15s; }
  #karte1.anim-in .dim-side  { transition-delay: .3s; }
  #karte1.anim-in .dim-magnet{ transition-delay: .45s; }
  #karte1.anim-in .dim-note  { transition-delay: .55s; }

  /* karte2: Sticker-Siegel fliegt von links ein */
  html.anim-js body:not(.fly-active) #karte2 #seal {
    opacity: 0;
    transform: translate(-190%, -50%) scale(1);
    transition: transform .75s cubic-bezier(.2,.7,.3,1.1) .2s, opacity .5s ease .2s;
  }
  html.anim-js body:not(.fly-active) #karte2.anim-in #seal {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  html.anim-js body:not(.fly-active) #karte1 .dim,
  html.anim-js body:not(.fly-active) #karte1 .dim-note,
  html.anim-js body:not(.fly-active) #karte2 #seal { opacity: 1 !important; transition: none !important; }
  html.anim-js body:not(.fly-active) #karte2 #seal { transform: translate(-50%, -50%) scale(1) !important; }
}

/* ══════════ MOBILE-KASKADEN-OVERRIDES (stehen am Ende, damit sie spaetere
   globale Regeln mit gleicher Spezifitaet zuverlaessig ueberschreiben) ══════════ */
@media (max-width: 560px) {
  /* Grid/Flex-gap der Container reduzieren — Desktop-32-72px waren zu luftig,
     gap:0 war zu eng (Karten stiessen an Text). Moderater Basisabstand: 1rem. */
  .card-section { gap: 1rem; }
  .inquiry      { gap: 1rem; }
  /* .inquiry-facts hat global margin-top:1.8rem — das addiert sich zum gap
     und macht die Luecke zwischen Absatz und Bullets zu groß. Auf Mobile
     nur den gap wirken lassen; nach den Bullets etwas mehr Luft zum Formular. */
  .inquiry-facts { margin-top: 0; margin-bottom: 1rem; }
  /* Bemaßte Huelle (karte1): die 7,3-cm-Linie ragt per top:-2.3rem aus dem Bild
     nach oben — bisheriger margin-top 2.4rem gleicht das nur aus. Fuer echten
     Sichtabstand zur H2 braucht es mehr. */
  .card-slot.slot-dims { margin-top: 3.6rem; }
  /* Innerhalb der Text-Bloecke (Eyebrow/H2 → Fließtext → Bullets) reichen die
     jeweiligen margin-tops — nicht override-en, damit sie zum gap addieren. */
}
