/* ==========================================================
   Dr. Marc Reinbach – marcreinbach.de
   Design-Tokens, Layout, Effekte
   ========================================================== */

/* ---------- Fonts (lokal, DSGVO-konform) ---------- */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-serif-display-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-serif-display-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/outfit-variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/outfit-variable-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  /* Neutrale Basis */
  --c-dark: #0f1c25;
  --c-dark-2: #14242f;
  --c-ink: #14232e;
  --c-body: #46555f;
  --c-muted: #f3f7f7;
  --c-line: #e2eaeb;
  --c-white: #ffffff;

  /* Brand-Teals — Palette „Products V3" */
  --c-teal: #06c8be;          /* Robin Egg — Primärteal (Flächen, Glow auf Dunkel) */
  --c-teal-bright: #00d3c9;   /* Sheen / Gradient-Highlight */
  --c-teal-deep: #009399;     /* Viridian — vivider Akzent */
  --c-casal: #256862;         /* Casal — tiefes Teal (dunkle UI / Text auf Hell) */

  --c-accent: var(--c-teal);
  --c-accent-dark: #0f7d73;   /* textsicheres Teal auf Weiß (~5:1) */
  --c-accent-soft: #d8f5f1;

  /* Warme + unterstützende Akzente */
  --c-amber: #ffa926;         /* Sea Buckthorn */
  --c-amber-deep: #ef931a;    /* Carrot Orange */
  --c-coral: #ff8776;         /* Coral Pink */
  --c-green: #7cb342;         /* Sushi */
  --c-blue: #11369d;          /* Torea Bay — tiefer Akzent */
  --c-star: var(--c-amber);

  /* Fonts */
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'Outfit', system-ui, -apple-system, sans-serif;

  /* Typo nach Goldenem Schnitt (φ = 1.618) */
  --ratio: 1.618;
  --fs-display: clamp(2.618rem, 1.30rem + 5.6vw, 4.236rem); /* φ² → φ³ */
  --fs-h1: clamp(2.118rem, 1.45rem + 3.3vw, 3.236rem);
  --fs-h2: clamp(1.618rem, 1.18rem + 2.2vw, 2.618rem);      /* φ¹ → φ² */
  --fs-h3: clamp(1.272rem, 1.07rem + 0.9vw, 1.618rem);      /* √φ → φ¹ */
  --fs-lead: clamp(1.125rem, 1.02rem + 0.5vw, 1.314rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.764rem;
  --lh-body: 1.618;           /* goldene Zeilenhöhe */
  --lh-tight: 1.08;
  --measure: 66ch;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-soft: 0 18px 50px -18px rgba(15, 28, 37, .22);
  --shadow-card: 0 10px 30px -12px rgba(15, 28, 37, .14);
  /* Getönter Tiefen-Schatten statt Neon-Glow: dunkle Basis + zarter Teal-Hauch */
  --shadow-teal: 0 18px 40px -18px rgba(15, 28, 37, .32), 0 6px 18px -12px rgba(6, 200, 190, .32);
  --container: 1180px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur: .9s;
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 350;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-body);
  background: var(--c-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-serif); font-weight: 400; color: var(--c-ink);
  line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em;
}
p { margin: 0 0 1.2em; }

/* Fokus & Auswahl */
:focus-visible { outline: 2px solid var(--c-teal-deep); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(6, 200, 190, .26); color: var(--c-ink); }
blockquote { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.container.narrow { max-width: 860px; }
.section { padding-block: clamp(72px, 10vw, 140px); }
.section-muted { background: var(--c-muted); }
.section-dark { background: linear-gradient(160deg, var(--c-dark) 0%, var(--c-dark-2) 100%); }
.centered { text-align: center; }
.accent-text { color: var(--c-accent-dark); }

.section-title { font-size: var(--fs-h2); letter-spacing: -.015em; }
.section-title.light { color: var(--c-white); }
.section-sub { font-size: var(--fs-lead); line-height: 1.45; margin-top: -0.6em; margin-bottom: 2.5em; }
.preheading {
  font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-accent-dark); margin-bottom: 1.2em;
}
.preheading.light { color: var(--c-accent); text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  position: relative;
  isolation: isolate;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1em 1.9em;
  border-radius: 999px;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background .25s;
}
.btn-primary {
  background: var(--c-teal);
  color: var(--c-dark);
  box-shadow: 0 12px 28px -14px rgba(15, 28, 37, .32);
}
/* Animierter Gradient-Ring (erscheint bei Hover/Fokus) — rotiert den Winkel, nicht das Element */
@property --ring-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.btn-primary::before {
  content: ''; position: absolute; inset: -2px; z-index: -1;
  border-radius: inherit;
  background: conic-gradient(from var(--ring-angle), var(--c-teal), var(--c-teal-bright), var(--c-amber), var(--c-teal));
  opacity: 0; transition: opacity .35s var(--ease-out);
}
.btn-primary:hover, .btn-primary:focus-visible { background: var(--c-teal-bright); transform: translateY(-3px); box-shadow: var(--shadow-teal); }
/* Gradient-Ring dreht nur bei Hover/Fokus — kein Dauer-Repaint im Ruhezustand */
.btn-primary:hover::before, .btn-primary:focus-visible::before { opacity: 1; animation: ringSpin 5s linear infinite; }
@keyframes ringSpin { to { --ring-angle: 360deg; } }
.btn-lg { padding: 1.15em 2.4em; font-size: .92rem; }
.btn-ghost {
  border: 1.5px solid var(--c-teal);
  color: var(--c-accent-dark);
  background: transparent;
}
.btn-ghost:hover { background: var(--c-accent-soft); }
/* Magnet-Ziel: weicher Übergang der JS-Transforms */
[data-magnet] { transition: transform .3s var(--ease-out); }

/* Taktiles Feedback: schneller „Press", weiche Rückkehr (Rule 5) */
.btn:active { transform: translateY(1px) scale(.975); transition-duration: .09s; }
.btn-primary:active { transform: translateY(-1px) scale(.975); }
.btn-ghost:active { transform: translateY(1px) scale(.975); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s, box-shadow .4s;
}
.header-inner {
  max-width: var(--container); margin-inline: auto;
  display: flex; align-items: center; gap: 32px;
  padding: 22px clamp(20px, 4vw, 40px);
}
.site-header.is-scrolled {
  background: rgba(15, 28, 37, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .45);
}
.site-header.is-scrolled .header-inner { padding-block: 12px; }
.logo {
  font-family: var(--font-sans);
  font-weight: 300;                 /* sehr dünn – edler Auftritt */
  font-size: 1.04rem;
  color: var(--c-white);
  text-decoration: none;
  letter-spacing: .2em;             /* Buchstaben weiter gesperrt */
  white-space: nowrap;
}
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: clamp(16px, 2.4vw, 34px); }
.nav-link {
  font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .85); text-decoration: none;
  padding-block: 6px; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--c-accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-link:hover, .nav-link.is-active { color: var(--c-white); }
.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px; cursor: pointer; margin-left: auto;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--c-white); transition: transform .35s var(--ease-out), opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: rgba(15, 28, 37, .97);
  padding: 12px 24px 32px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { display: grid; gap: 18px; }
.mobile-nav a:not(.btn) {
  color: var(--c-white); text-decoration: none;
  font-size: 1rem; letter-spacing: .14em; text-transform: uppercase;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--c-white);
  background: var(--c-dark);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 22%; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(78deg, rgba(13, 25, 34, .92) 8%, rgba(13, 25, 34, .55) 44%, rgba(13, 25, 34, .12) 75%),
    linear-gradient(to top, rgba(13, 25, 34, .95) 0%, transparent 38%);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  padding-top: clamp(140px, 22vh, 220px);
  padding-bottom: clamp(48px, 7vh, 90px);
}
.hero-title {
  color: var(--c-white);
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: -.02em;
  margin-bottom: .45em;
  max-width: 12em;
}
.hero-title .line-mask { display: block; overflow: hidden; }
.hero-title .line {
  display: block;
  transform: translateY(110%);
  animation: heroLine 1.1s var(--ease-out) forwards;
}
.hero-title .line-mask:nth-child(2) .line { animation-delay: .12s; }
.hero-title .line-mask:nth-child(3) .line { animation-delay: .24s; }
.hero-title .accent { color: var(--c-teal); font-style: italic; }
/* Schimmerndes Gradient-Akzentwort (mit Fallback) */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-title .accent, .page-hero h1 .accent {
    background: linear-gradient(100deg, #1ed6cb 0%, #9bf4ec 26%, #ffffff 50%, #9bf4ec 74%, #1ed6cb 100%);
    background-size: 220% auto;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
  /* Subpage-Akzent: nur Sheen (kein Masken-Reveal) */
  .page-hero h1 .accent { animation: sheen 9s linear infinite; }
  /* Homepage-Akzent: Masken-Reveal + Sheen kombiniert (Reveal nicht überschreiben!) */
  .hero-title .accent { animation: heroLine 1.1s var(--ease-out) .24s forwards, sheen 9s linear infinite; }
}
@keyframes sheen { to { background-position: 220% center; } }
@keyframes heroLine { to { transform: translateY(0); } }

.hero-sub {
  max-width: 36em;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: rgba(255, 255, 255, .84);
}

/* ---------- Hero-FX (Atmosphäre, hinter dem Content) ---------- */
.hero-fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-aurora {
  position: absolute; inset: -25%;
  /* Zwei Farbtöne statt drei: Teal-Leitfarbe + ein warmer Amber-Hauch (Rule 2) */
  background:
    radial-gradient(42% 52% at 22% 32%, rgba(6, 200, 190, .40), transparent 64%),
    radial-gradient(38% 46% at 80% 26%, rgba(255, 169, 38, .18), transparent 64%);
  filter: blur(26px);
  mix-blend-mode: screen;
  opacity: .6;
  animation: auroraDrift 24s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
  from { transform: translate3d(-3%, -2%, 0) scale(1.05) rotate(-1deg); }
  to   { transform: translate3d(4%, 3%, 0) scale(1.16) rotate(1.5deg); }
}
/* Dezente Umgebungs-Animationen für farblich abgesetzte Sektionen */
@keyframes ambientDrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1.03); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.12); }
}
/* Nahtloser Line-Pan: Versatz = ganzzahliges Vielfaches der Muster-Periode entlang der Gradient-Achse */
@keyframes linePan { to { background-position: 459px 244px; } }
.hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .11) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(125% 95% at 28% 18%, #000 32%, transparent 76%);
          mask-image: radial-gradient(125% 95% at 28% 18%, #000 32%, transparent 76%);
  opacity: .5;
}
.hero-spotlight {
  position: absolute; inset: 0;
  background: radial-gradient(260px 260px at var(--mx, 30%) var(--my, 35%), rgba(0, 211, 201, .22), transparent 68%);
  opacity: 0; transition: opacity .5s var(--ease-out);
}
.hero:hover .hero-spotlight, .page-hero:hover .hero-spotlight { opacity: 1; }

.review-badge {
  display: inline-flex; align-items: center; gap: 18px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 12px 26px 12px 14px;
  margin-top: 10px;
}
.review-avatars { display: flex; }
.review-avatars img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--c-dark); margin-right: -12px;
}
.review-text { display: grid; gap: 2px; font-size: .85rem; }
.review-label { color: rgba(255, 255, 255, .7); }
.review-rating { display: flex; align-items: center; gap: 10px; }
.review-rating strong { font-weight: 600; }
.stars { color: var(--c-star); display: inline-flex; align-items: center; gap: 2px; }
.stars svg { width: 15px; height: 15px; fill: currentColor; }
.score { color: rgba(255, 255, 255, .8); }

.hero-floaters { position: absolute; inset: 0; pointer-events: none; }
.floater {
  position: absolute; border-radius: 50%; object-fit: cover;
  border: 3px solid rgba(255, 255, 255, .85);
  box-shadow: var(--shadow-soft);
}
.floater-1 { width: 92px; height: 88px; right: 12%; top: 22%; }
.floater-2 { width: 64px; height: 64px; right: 22%; top: 38%; }

/* Presse-Bar / Marquee */
.press-bar {
  position: relative; z-index: 2;
  background: var(--c-dark-2);
  padding-block: 26px 30px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.press-label {
  text-align: center; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255, 255, 255, .45); margin-bottom: 14px;
}
.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 1; pointer-events: none;
}
.press-bar .marquee::before { left: 0; background: linear-gradient(to right, var(--c-dark-2), transparent); }
.press-bar .marquee::after { right: 0; background: linear-gradient(to left, var(--c-dark-2), transparent); }
.marquee-track {
  display: flex; align-items: center; gap: clamp(40px, 6vw, 90px);
  width: max-content;
  animation: marquee 32s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.press-bar .marquee-track img { height: 42px; width: auto; opacity: .75; transition: opacity .3s; }
.press-bar .marquee-track img:hover { opacity: 1; }

/* ---------- About ---------- */
.grid-2 {
  display: grid; grid-template-columns: 1fr 1.618fr;
  gap: clamp(40px, 7vw, 110px); align-items: center;
}
.about-text p { max-width: var(--measure); }
.about-text strong { color: var(--c-ink); font-weight: 600; }

.phone-wrap { position: relative; margin: 0; max-width: 340px; margin-inline: auto; }
.phone-wrap > a { display: block; border-radius: 42px; overflow: hidden; box-shadow: var(--shadow-soft); position: relative; }
.phone-shot { transition: transform .8s var(--ease-out); }
.phone-wrap > a:hover .phone-shot { transform: scale(1.04); }
.video-sticker {
  position: absolute; right: -8px; bottom: 14%;
  width: 104px; height: 104px;
  display: grid; place-items: center;
}
.sticker-ring { position: absolute; inset: 0; animation: spin 14s linear infinite; }
.sticker-ring text { font-size: 10.5px; letter-spacing: .18em; fill: var(--c-white); font-family: var(--font-sans); font-weight: 600; }
@keyframes spin { to { transform: rotate(360deg); } }
.sticker-play {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--c-accent); color: var(--c-dark);
  display: grid; place-items: center;
  box-shadow: 0 10px 22px -8px rgba(15, 28, 37, .35);
  transition: transform .35s var(--ease-out);
}
.sticker-play svg { width: 18px; height: 18px; margin-left: 2px; fill: currentColor; }
.phone-wrap > a:hover .sticker-play { transform: scale(1.12); }
.airpod { position: absolute; width: 74px; filter: drop-shadow(0 14px 18px rgba(15, 28, 37, .25)); }
.airpod-l { left: -52px; top: 16%; }
.airpod-r { right: -44px; top: 50%; width: 64px; }

/* ---------- Stats ---------- */
/* Heller Background: feines Teal-Dot-Grid + warmer Aurora-Hauch */
.stats { position: relative; overflow: hidden; }
.stats::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(6, 200, 190, .12) 1px, transparent 1.4px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(82% 64% at 50% 0%, #000, transparent 76%);
          mask-image: radial-gradient(82% 64% at 50% 0%, #000, transparent 76%);
}
.stats::after {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 169, 38, .08), transparent 64%);
  top: -240px; left: -180px;
  animation: ambientDrift 26s ease-in-out infinite alternate;
  will-change: transform;
}
.stats > .container { position: relative; z-index: 1; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(148px, auto);
  grid-template-areas:
    "feat feat grow grow"
    "feat feat years team"
    "awards awards boot boot";
  gap: 22px;
}
.stats-grid > :nth-child(1) { grid-area: feat; }
.stats-grid > :nth-child(2) { grid-area: grow; }
.stats-grid > :nth-child(3) { grid-area: years; }
.stats-grid > :nth-child(4) { grid-area: team; }
.stats-grid > :nth-child(5) { grid-area: awards; }
.stats-grid > :nth-child(6) { grid-area: boot; }

/* Feature-Kachel: großer Leuchtturm-Wert auf dunklem Grund (Bento-Hierarchie) */
/* .stat-card.stat-feature: höhere Spezifität, damit der dunkle Grund die weiße .stat-card-Fläche schlägt */
.stat-card.stat-feature {
  grid-area: feat;
  background: linear-gradient(155deg, var(--c-dark) 0%, #123a3b 100%);
  border-color: transparent;
  color: rgba(255, 255, 255, .78);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.stat-card.stat-feature::before { display: none; }
.stat-feature .stat-big {
  display: block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
  line-height: .88;
  font-size: clamp(3.2rem, 2.6rem + 4vw, 5.4rem);
  color: var(--c-teal);
}
.stat-feature .stat-big .counter { color: var(--c-teal); }
.stat-feature .stat-feature-label {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  color: var(--c-white);
  margin: .28em 0 .45em;
}
.stat-feature p { color: rgba(255, 255, 255, .66); font-size: .95rem; margin: 0; }

.stat-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 38px 34px 28px;
  box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; z-index: 2;
  background: linear-gradient(to top, var(--c-teal-deep), var(--c-teal));
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease-out);
}
.stat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.stat-card:hover::before { transform: scaleY(1); }
.stat-card h3 { font-size: var(--fs-h3); margin-bottom: .6em; }
.stat-card p { font-size: .96rem; margin: 0; }
.counter { color: var(--c-accent-dark); font-variant-numeric: tabular-nums; }

/* ---------- Spotlight-Cards (Cursor-Glow) ---------- */
.stat-card, .info-card, .social-card, .method-card, .media-card { position: relative; }
.stat-card::after, .info-card::after, .social-card::after,
.method-card::after, .media-card::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  border-radius: inherit; pointer-events: none;
  background: radial-gradient(220px 220px at var(--mx, 50%) var(--my, -20%), rgba(6, 200, 190, .15), transparent 66%);
  opacity: 0; transition: opacity .45s var(--ease-out);
}
.stat-card:hover::after, .info-card:hover::after, .social-card:hover::after,
.method-card:hover::after, .media-card:hover::after { opacity: 1; }
/* Inhalt über dem Glow halten */
.stat-card > *, .info-card > *, .method-card > * { position: relative; z-index: 2; }
.social-card > *, .media-card > * { position: relative; z-index: 2; }

/* Press-Feedback für klickbare Karten (Rule 5) */
.social-card:active, .media-card:active, .info-card:active {
  transform: translateY(-3px) scale(.994); transition-duration: .1s;
}

/* ---------- Timeline ---------- */
.timeline-wrap { position: relative; margin-top: clamp(50px, 7vw, 90px); }
.timeline-line {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  transform: translateX(-50%);
  background: var(--c-line);
  border-radius: 2px;
}
.timeline-progress {
  position: absolute; inset: 0 0 auto 0;
  height: 0%;
  background: linear-gradient(to bottom, var(--c-accent), var(--c-accent-dark));
  border-radius: 2px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  align-items: center;
  gap: 0;
  margin-bottom: clamp(64px, 8vw, 110px);
  position: relative;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-media { grid-column: 1; }
.timeline-content { grid-column: 3; }
.timeline-item.reverse .timeline-media { grid-column: 3; order: 3; }
.timeline-item.reverse .timeline-content { grid-column: 1; order: 1; }
.timeline-year {
  grid-column: 2; order: 2;
  justify-self: center;
  background: var(--c-accent);
  color: var(--c-dark);
  font-weight: 700; font-size: .92rem; letter-spacing: .04em;
  border-radius: 999px;
  padding: .55em 1.2em;
  box-shadow: 0 0 0 8px var(--c-white), 0 12px 26px -10px rgba(15, 28, 37, .28);
  z-index: 2;
}
.timeline-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  transition: transform .7s var(--ease-out);
}
.timeline-media:hover img { transform: scale(1.025) rotate(.4deg); }
.timeline-content { padding-inline: clamp(8px, 2vw, 26px); }
.timeline-content h3 { font-size: 1.55rem; }
.timeline-content p { font-size: .98rem; margin: 0; }

/* Versetzte Reveals links/rechts (nur mit JS aktiv) */
.js .timeline-item[data-reveal] .timeline-media { transform: translateX(-44px); opacity: 0; transition: all var(--dur) var(--ease-out); }
.js .timeline-item[data-reveal] .timeline-content { transform: translateX(44px); opacity: 0; transition: all var(--dur) var(--ease-out) .12s; }
.js .timeline-item.reverse[data-reveal] .timeline-media { transform: translateX(44px); }
.js .timeline-item.reverse[data-reveal] .timeline-content { transform: translateX(-44px); }
.js .timeline-item[data-reveal].is-visible .timeline-media,
.js .timeline-item[data-reveal].is-visible .timeline-content { transform: translateX(0); opacity: 1; }
.js .timeline-item[data-reveal] .timeline-year { transform: scale(.4); opacity: 0; transition: all .6s var(--ease-out) .2s; }
.js .timeline-item[data-reveal].is-visible .timeline-year { transform: scale(1); opacity: 1; }

/* ---------- Journey (dunkel) ---------- */
.journey { color: rgba(255, 255, 255, .8); position: relative; overflow: hidden; }
.journey > .container { position: relative; z-index: 1; }
.journey::before {
  content: ''; position: absolute; z-index: 0; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 200, 190, .14), transparent 65%);
  top: -180px; right: -140px;
  animation: ambientDrift 32s ease-in-out infinite alternate;
  will-change: transform;
}
/* Sanft wandernde Hairlines – dezente „Linien"-Animation (nur Dark-Section) */
.journey::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: repeating-linear-gradient(118deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 52px);
  -webkit-mask-image: linear-gradient(100deg, transparent, #000 34%, #000 66%, transparent);
          mask-image: linear-gradient(100deg, transparent, #000 34%, #000 66%, transparent);
  animation: linePan 28s linear infinite;
}
.journey-text { max-width: 700px; margin-inline: auto; margin-bottom: 2.2em; }
.journey-text strong { color: var(--c-accent); font-weight: 600; }
.journey .section-title { margin-bottom: 1em; }

/* ---------- Social Cards ---------- */
.social-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px; align-items: start;
}
.social-card {
  display: block;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.social-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-soft); }
.social-photo { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: top; transition: transform .8s var(--ease-out); }
.social-card:hover .social-photo { transform: scale(1.05); }
.social-meta {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px 14px;
}
.social-meta img { width: 38px; height: auto; flex-shrink: 0; }
.social-meta strong { display: block; font-size: 1.25rem; color: var(--c-ink); font-weight: 600; line-height: 1.2; }
.social-meta span { font-size: .85rem; color: var(--c-body); }
.social-note { font-size: .9rem; padding: 0 22px; color: var(--c-body); }
.social-card .btn-ghost { margin: 4px 22px 22px; }

/* ---------- Testimonials ---------- */
.testimonials { position: relative; overflow: hidden; }
.testimonials > * { position: relative; z-index: 1; }
.testimonials::before {
  content: ''; position: absolute; inset: -12%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(34% 48% at 14% 22%, rgba(6, 200, 190, .10), transparent 60%),
    radial-gradient(32% 44% at 86% 82%, rgba(255, 169, 38, .09), transparent 60%);
  animation: ambientDrift 30s ease-in-out infinite alternate;
  will-change: transform;
}
/* Mehr vertikaler Innenabstand, damit der Card-Schatten nicht vom overflow:hidden abgeschnitten wird */
.testimonial-marquee { padding-block: 24px 52px; }
.testimonial-marquee::before, .testimonial-marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 70px; z-index: 1; pointer-events: none;
}
.testimonial-marquee::before { left: 0; background: linear-gradient(to right, var(--c-muted), transparent); }
.testimonial-marquee::after { right: 0; background: linear-gradient(to left, var(--c-muted), transparent); }
.testimonial-marquee .marquee-track { gap: 26px; animation-duration: 60s; align-items: stretch; }
.t-card {
  width: 320px; flex-shrink: 0;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.t-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.t-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.t-body { padding: 20px 22px 24px; }
.t-body header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.t-body h3 { font-size: 1.3rem; margin: 0; }
.t-tag {
  background: var(--c-accent-soft); color: var(--c-casal);
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 999px; padding: .45em 1em; white-space: nowrap;
}
.t-body blockquote { font-size: .92rem; color: var(--c-body); font-style: italic; }

/* ---------- Workshop CTA ---------- */
.workshop-card {
  display: grid; grid-template-columns: 1.618fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  background: linear-gradient(135deg, var(--c-dark) 0%, #1b3340 60%, #1f4a4d 100%);
  border-radius: calc(var(--radius) * 1.4);
  padding: clamp(36px, 6vw, 80px);
  color: rgba(255, 255, 255, .82);
  position: relative;
  overflow: hidden;
}
.workshop-card::before {
  content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 200, 190, .22), transparent 65%);
  bottom: -160px; left: -120px; pointer-events: none;
  animation: ambientDrift 28s ease-in-out infinite alternate;
  will-change: transform;
}
.workshop-text h2 { color: var(--c-white); font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.workshop-text .preheading { color: var(--c-accent); }
.workshop-text .btn { margin-top: .6em; }
.workshop-media img { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .4)); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-dark-2);
  color: rgba(255, 255, 255, .65);
  padding-top: clamp(60px, 8vw, 100px);
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: clamp(32px, 5vw, 70px);
  padding-bottom: 56px;
}
.footer-brand .logo { font-size: 1.25rem; margin-bottom: 1em; display: inline-block; }
.footer-mission { max-width: 30em; }
.footer-follow {
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255, 255, 255, .45); margin: 1.8em 0 .8em;
}
.footer-social { display: flex; gap: 14px; align-items: center; }
.footer-social a { transition: transform .3s var(--ease-out); }
.footer-social a:hover { transform: translateY(-4px); }
.footer-social img { height: 30px; width: auto; }
.footer-col h3 {
  font-family: var(--font-sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-white); margin-bottom: 1.4em;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: rgba(255, 255, 255, .65); text-decoration: none; transition: color .25s; }
.footer-col a:hover { color: var(--c-accent); }
.store-badges { display: grid; gap: 12px; justify-items: start; }
.store-badges img { height: 42px; width: auto; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 18px;
  align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-block: 26px;
}
.footer-bottom p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 22px; }
.legal-links a {
  color: rgba(255, 255, 255, .55); text-decoration: none;
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
}
.legal-links a:hover { color: var(--c-accent); }

/* ---------- Reveal-Animationen ---------- */
/* Nur aktiv, wenn JS verfügbar ist (html.js) – ohne JS bleibt alles sichtbar */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
/* Timeline-Items: Container selbst nicht doppelt animieren */
.js .timeline-item[data-reveal] { opacity: 1; transform: none; }

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal], .timeline-item[data-reveal] .timeline-media, .timeline-item[data-reveal] .timeline-content { opacity: 1; transform: none; }
  .hero-title .line { transform: none; animation: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "feat feat"
      "grow grow"
      "years team"
      "awards awards"
      "boot boot";
  }
  .social-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .grid-2 { grid-template-columns: 1fr; }
  .about-media { order: 2; margin-top: 40px; }
}

@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-bg img { object-position: 68% top; }
  .floater-1 { right: 6%; top: 16%; width: 72px; height: 69px; }
  .floater-2 { display: none; }

  .timeline-line { left: 22px; transform: none; }
  .timeline-item, .timeline-item.reverse {
    grid-template-columns: 1fr;
    padding-left: 58px;
  }
  .timeline-item .timeline-media, .timeline-item.reverse .timeline-media { grid-column: 1; order: 2; margin-top: 18px; }
  .timeline-item .timeline-content, .timeline-item.reverse .timeline-content { grid-column: 1; order: 3; padding-inline: 0; margin-top: 18px; }
  .timeline-year { grid-column: 1; order: 1; justify-self: start; margin-left: -58px; box-shadow: 0 0 0 6px var(--c-white); }
  .js .timeline-item[data-reveal] .timeline-media,
  .js .timeline-item[data-reveal] .timeline-content,
  .js .timeline-item.reverse[data-reveal] .timeline-media,
  .js .timeline-item.reverse[data-reveal] .timeline-content { transform: translateY(30px); }

  .workshop-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .stats-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "feat" "grow" "years" "team" "awards" "boot";
  }
  .footer-grid { grid-template-columns: 1fr; }
  .review-badge { flex-direction: row; padding-right: 18px; }
  .t-card { width: 280px; }
  .airpod-l { left: -20px; }
  .airpod-r { right: -14px; }
}

/* ==========================================================
   Unterseiten (intumind / gratis / medien)
   ========================================================== */

/* ---------- Subpage-Hero ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(160deg, var(--c-dark) 0%, var(--c-dark-2) 58%, #133138 100%);
  color: var(--c-white);
  padding-top: clamp(150px, 22vh, 230px);
  padding-bottom: clamp(60px, 9vw, 116px);
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 200, 190, .16), transparent 65%);
  top: -230px; right: -150px; pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 200, 190, .08), transparent 70%);
  bottom: -220px; left: -120px; pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .preheading { color: var(--c-accent); }
.page-hero h1 {
  color: var(--c-white);
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  letter-spacing: -.018em;
  max-width: 15em;
  margin-bottom: .35em;
}
.page-hero.center h1 { margin-inline: auto; }
.page-hero h1 .accent { color: var(--c-teal); font-style: italic; }
.page-hero-sub {
  max-width: 40em;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: rgba(255, 255, 255, .84);
}
.page-hero.center { text-align: center; }
.page-hero.center .page-hero-sub { margin-inline: auto; }
.page-hero.center .crumbs { justify-content: center; }
.page-hero .btn { margin-top: 1.1em; }

/* Breadcrumb */
.crumbs {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .45); margin-bottom: 1.7em;
}
.crumbs a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .25s; }
.crumbs a:hover { color: var(--c-accent); }
.crumbs span { color: rgba(255, 255, 255, .3); }

/* ---------- Generische Karten-Grids ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(26px, 4vw, 48px); align-items: stretch; }

/* Info- / Angebot-Karten */
.info-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 38px 34px 32px;
  box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.info-card::before {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: var(--c-accent);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease-out);
}
.info-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.info-card:hover::before { transform: scaleY(1); }
.info-card .preheading { margin-bottom: .9em; }
.info-card h3 { font-size: 1.5rem; margin-bottom: .5em; }
.info-card p { font-size: .98rem; }
.info-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- MIND-Methode ---------- */
.method-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: clamp(40px, 5vw, 64px);
}
.method-card {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.method-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.method-letter {
  font-family: var(--font-serif); font-size: 3.4rem; line-height: 1;
  color: var(--c-accent); display: block; margin-bottom: .15em;
}
.method-card h3 { font-size: 1.18rem; margin-bottom: .45em; }
.method-card p { font-size: .92rem; margin: 0; }

/* ---------- Produkt-Karten ---------- */
.product-card .preheading { margin-bottom: .7em; }
.product-card h3 { font-size: 1.55rem; }

/* ---------- Feature-Reihe (Bild + Text) ---------- */
.feature-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  width: 100%;
}
.feature-media.portrait { max-width: 360px; margin-inline: auto; }
.feature-text strong { color: var(--c-ink); font-weight: 600; }
.feature-text .btn { margin-top: .8em; }
.icon-list { display: grid; gap: 14px; margin: 1.4em 0 1.8em; }
.icon-list li { display: flex; gap: 14px; align-items: flex-start; font-size: .98rem; }
.icon-list li::before {
  content: ''; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--c-accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f7d73' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 13px 13px no-repeat;
  margin-top: 2px;
}

/* ---------- Medien / Video-Karten ---------- */
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.media-card {
  display: block; background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.media-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.media-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-dark); }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .7s var(--ease-out), opacity .4s; }
.media-card:hover .media-thumb img { transform: scale(1.06); opacity: 1; }
.media-play { position: absolute; inset: 0; display: grid; place-items: center; }
.media-play span {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(6, 200, 190, .96); color: var(--c-dark);
  display: grid; place-items: center;
  box-shadow: 0 10px 22px -8px rgba(15, 28, 37, .38);
  transition: transform .35s var(--ease-out);
}
.media-play svg { width: 22px; height: 22px; margin-left: 3px; fill: currentColor; }
.media-card:hover .media-play span { transform: scale(1.12); }
.media-body { padding: 20px 22px 24px; }
.media-tag { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent-dark); }
.media-body h3 { font-size: 1.12rem; margin: .35em 0 .25em; color: var(--c-ink); }
.media-body p { font-size: .88rem; margin: 0; color: var(--c-body); }

/* ---------- Subpage-Responsive ---------- */
@media (max-width: 1024px) {
  .cards-3, .media-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .cards-3, .cards-2, .media-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .method-grid { grid-template-columns: 1fr; }
}
