/* ============================================================
   MARIN MARINOV – PREMIUM ONE-PAGER
   Design: Apple White · Silent Luxury · Cobalt Blue Accent
   Fonts: Cormorant Garamond (headlines) + Inter (body)
============================================================ */

/* ── Custom Properties ──────────────────────────────────── */
:root {
  /* Palette */
  --white:       #ffffff;
  --off-white:   #f8f8f6;
  --surface:     #f4f4f2;
  --surface-2:   #eeede9;
  --border:      #e8e7e3;
  --border-2:    #d8d7d2;

  --ink:         #0f0f0e;
  --ink-2:       #2a2a28;
  --ink-3:       #4a4a48;
  --ink-4:       #7a7a78;
  --ink-5:       #a8a8a6;

  --cobalt:      #2B9AC8;
  --cobalt-dark: #1d7fa8;
  --cobalt-light:#e8f4fb;
  --cobalt-mid:  #c8e8f5;

  /* Typography */
  --font-serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;

  /* Layout */
  --container: 1160px;
  --nav-h:     72px;

  /* Transitions */
  --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:  cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15,15,14,0.06), 0 1px 2px rgba(15,15,14,0.04);
  --shadow-md: 0 4px 16px rgba(15,15,14,0.08), 0 2px 6px rgba(15,15,14,0.04);
  --shadow-lg: 0 16px 48px rgba(15,15,14,0.10), 0 4px 16px rgba(15,15,14,0.06);
  --shadow-xl: 0 32px 80px rgba(15,15,14,0.12), 0 8px 24px rgba(15,15,14,0.06);
}

/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ol, ul { list-style: none; }
blockquote { quotes: none; }

/* ── Container ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

@media (max-width: 768px) {
  .container { padding-inline: var(--space-5); }
}

/* ── Typography Scale ───────────────────────────────────── */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: var(--space-4);
}

.section-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.section-intro {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-3);
  max-width: 640px;
  margin-inline: auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-9);
}

.section-header .section-headline {
  margin-bottom: var(--space-5);
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  transition: all 0.22s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.btn--large {
  font-size: 0.9375rem;
  padding: 0.875rem 1.875rem;
}

.btn--primary {
  background: var(--cobalt);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(43,154,200,0.28);
}

.btn--primary:hover {
  background: var(--cobalt-dark);
  box-shadow: 0 4px 16px rgba(43,154,200,0.36);
  transform: translateY(-1px);
}

.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--ink-2);
  border: 1.5px solid var(--border-2);
}

.btn--ghost:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
  background: var(--cobalt-light);
}

/* ── Scroll Animations ──────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nav.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo-img { height: 48px; width: auto; max-width: 200px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-3);
  padding: 0.375rem 0.75rem;
  border-radius: 4px;
  transition: color 0.18s, background 0.18s;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--ink);
  background: var(--surface);
}

.nav__cta { margin-left: var(--space-2); }

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.18s;
}

.nav__toggle:hover { background: var(--surface); }

.nav__toggle-bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink-2);
  border-radius: 2px;
  transition: transform 0.28s var(--ease), opacity 0.2s;
}

.nav__toggle.is-open .nav__toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.is-open .nav__toggle-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.is-open .nav__toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: flex; }

  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
    padding: var(--space-6);
    background: var(--white);
    border-top: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.32s var(--ease);
    overflow-y: auto;
  }

  .nav__links.is-open { transform: none; }

  .nav__link {
    font-size: 1.125rem;
    padding: 0.75rem 1rem;
    width: 100%;
  }

  .nav__cta { margin-left: 0; margin-top: var(--space-4); width: 100%; text-align: center; }
}

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* Subtle decorative line accent top-right */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cobalt));
  opacity: 0.35;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
  padding-block: var(--space-10);
}

.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--cobalt);
  flex-shrink: 0;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}

.hero__headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--cobalt);
}

.hero__sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-3);
  margin-bottom: var(--space-7);
  max-width: 480px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-7);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8125rem;
  color: var(--ink-4);
  font-weight: 400;
}

.hero__trust-icon {
  width: 16px;
  height: 16px;
  color: var(--cobalt);
  flex-shrink: 0;
}

/* Video */
.hero__video-wrap {
  position: relative;
}

.hero__video-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--cobalt);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-3);
}

.hero__video-frame,
.hero__video-wrap > div:last-child {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-7);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  transition: opacity 0.4s;
}

.hero__scroll-text {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-5);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--border-2), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding-block: var(--space-8);
  }
  .br-desktop { display: none; }
  .hero__scroll-indicator { display: none; }
}

/* ── PROBLEM ────────────────────────────────────────────── */
.problem {
  padding-block: var(--space-10);
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem .container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-10);
  align-items: start;
}

.problem__quote blockquote {
  border-left: 2px solid var(--cobalt);
  padding-left: var(--space-5);
}

.problem__quote blockquote p {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: var(--space-3);
}

.problem__quote blockquote footer {
  font-size: 0.8125rem;
  color: var(--ink-4);
  font-style: normal;
}

.problem__content .section-headline {
  margin-bottom: var(--space-5);
}

.problem__text p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-3);
  margin-bottom: var(--space-4);
}

.problem__conclusion {
  font-family: var(--font-serif);
  font-size: 1.25rem !important;
  font-weight: 500;
  color: var(--ink) !important;
  font-style: italic;
}

@media (max-width: 768px) {
  .problem .container { grid-template-columns: 1fr; gap: var(--space-7); }
}

/* ── LEISTUNG ───────────────────────────────────────────── */
.leistung {
  padding-block: var(--space-10);
  background: var(--white);
}

.leistung__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.leistung__card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--space-7) var(--space-6);
  transition: box-shadow 0.28s var(--ease), border-color 0.28s, transform 0.28s var(--ease);
}

.leistung__card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--cobalt-mid);
  transform: translateY(-3px);
}

.leistung__card--featured {
  border-color: var(--cobalt);
  background: linear-gradient(160deg, var(--cobalt-light) 0%, var(--white) 60%);
}

.leistung__card--featured:hover {
  border-color: var(--cobalt-dark);
}

.leistung__card-badge {
  position: absolute;
  top: -1px;
  left: var(--space-6);
  background: var(--cobalt);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 0 0 6px 6px;
}

.leistung__card-icon {
  width: 40px;
  height: 40px;
  color: var(--cobalt);
  margin-bottom: var(--space-5);
}

.leistung__card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}

.leistung__card-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-3);
  margin-bottom: var(--space-5);
}

.leistung__card-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.leistung__card-list li {
  font-size: 0.875rem;
  color: var(--ink-3);
  padding-left: var(--space-5);
  position: relative;
  line-height: 1.5;
}

.leistung__card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 1.5px;
  background: var(--cobalt);
  border-radius: 1px;
}

.leistung__principle {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--cobalt);
  border-radius: 8px;
  padding: var(--space-6) var(--space-7);
  max-width: 800px;
  margin-inline: auto;
}

.leistung__principle p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-3);
}

@media (max-width: 960px) {
  .leistung__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

/* ── METHODE ────────────────────────────────────────────── */
.methode {
  padding-block: var(--space-10);
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.methode__steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  max-width: 900px;
  margin-inline: auto;
  counter-reset: none;
}

.methode__step {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--space-6);
  transition: box-shadow 0.25s, border-color 0.25s;
}

.methode__step:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--cobalt-mid);
}

.methode__step-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--cobalt);
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.5;
  letter-spacing: -0.02em;
}

.methode__step-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.methode__step-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-3);
}

@media (max-width: 700px) {
  .methode__steps { grid-template-columns: 1fr; }
}

/* ── ÜBER MICH ──────────────────────────────────────────── */
.ueber {
  padding-block: var(--space-10);
  background: var(--white);
}

.ueber__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-10);
  align-items: start;
  margin-bottom: var(--space-9);
}

.ueber__text p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink-3);
  margin-bottom: var(--space-5);
}

.ueber__text p:last-child { margin-bottom: 0; }

.ueber__credentials {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.ueber__credential {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-5) var(--space-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--cobalt);
  border-radius: 8px;
}

.ueber__credential-value {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--cobalt);
  line-height: 1;
  letter-spacing: -0.02em;
}

.ueber__credential-label {
  font-size: 0.8125rem;
  color: var(--ink-3);
  line-height: 1.4;
}

.ueber__quote-featured {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--space-8) var(--space-9);
  text-align: center;
  margin-bottom: var(--space-6);
  position: relative;
}

.ueber__quote-featured::before {
  content: '"';
  position: absolute;
  top: -0.2em;
  left: var(--space-8);
  font-family: var(--font-serif);
  font-size: 8rem;
  color: var(--cobalt-mid);
  line-height: 1;
  pointer-events: none;
}

.ueber__quote-featured blockquote p {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.ueber__quote-featured blockquote footer {
  font-size: 0.875rem;
  color: var(--ink-4);
  font-style: normal;
}

.ueber__book {
  background: var(--cobalt-light);
  border: 1px solid var(--cobalt-mid);
  border-radius: 10px;
  padding: var(--space-5) var(--space-6);
  display: inline-flex;
  align-items: center;
  gap: var(--space-5);
}

.ueber__book-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: var(--space-1);
}

.ueber__book-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink);
  font-style: italic;
  margin-bottom: var(--space-1);
}

.ueber__book-text {
  font-size: 0.8125rem;
  color: var(--ink-3);
}

@media (max-width: 768px) {
  .ueber__grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .ueber__quote-featured { padding: var(--space-6); }
  .ueber__quote-featured::before { display: none; }
}

/* ── REFERENZEN ─────────────────────────────────────────── */
.referenzen {
  padding-block: var(--space-10);
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.referenzen__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.referenzen__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--space-7) var(--space-6);
  transition: box-shadow 0.25s, transform 0.25s var(--ease);
}

.referenzen__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.referenzen__stars {
  color: var(--cobalt);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.referenzen__card blockquote p {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: var(--space-5);
}

.referenzen__card blockquote footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.referenzen__card blockquote footer strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  font-style: normal;
}

.referenzen__card blockquote footer span {
  font-size: 0.8125rem;
  color: var(--ink-4);
  font-style: normal;
}

@media (max-width: 900px) {
  .referenzen__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

/* ── KONTAKT ────────────────────────────────────────────── */
.kontakt {
  padding-block: var(--space-10);
  background: var(--white);
}

.kontakt__inner {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
}

.kontakt__inner .section-eyebrow { margin-bottom: var(--space-3); }

.kontakt__headline { margin-bottom: var(--space-5); }

.kontakt__sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-3);
  margin-bottom: var(--space-8);
}

.kontakt__cards {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}

.cta-contact-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: var(--space-5) var(--space-6);
  min-width: 240px;
  transition: all 0.22s var(--ease);
  text-decoration: none;
}

.cta-contact-card:hover {
  border-color: var(--cobalt);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.cta-contact-card__icon {
  width: 40px;
  height: 40px;
  background: var(--cobalt-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cobalt);
}

.cta-contact-card__icon svg { width: 20px; height: 20px; }

.cta-contact-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.cta-contact-card__label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.cta-contact-card__value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
}

.kontakt__btn { margin-top: var(--space-2); }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-block: var(--space-7);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--ink-4);
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer__legal-btn {
  font-size: 0.8125rem;
  color: var(--ink-4);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.18s;
  font-family: var(--font-sans);
}

.footer__legal-btn:hover { color: var(--cobalt); }

.footer__legal-sep {
  font-size: 0.8125rem;
  color: var(--border-2);
}

/* ── BACK TO TOP ────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 800;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease), box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.back-to-top:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
  box-shadow: var(--shadow-lg);
}

.back-to-top svg { width: 18px; height: 18px; }

/* ── OVERLAY ────────────────────────────────────────────── */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.overlay[hidden] { display: none; }

.overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,15,14,0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
  animation: backdropIn 0.3s var(--ease-out);
}

@keyframes backdropIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.overlay__panel {
  position: relative;
  z-index: 1;
  background: var(--white);
  width: 100%;
  max-width: 720px;
  height: 90vh;
  max-height: 90vh;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -8px 60px rgba(15,15,14,0.18), 0 -2px 12px rgba(15,15,14,0.08);
  animation: panelSlideUp 0.42s var(--ease-out);
  overflow: hidden;
}

@keyframes panelSlideUp {
  from { transform: translateY(100%); opacity: 0.7; }
  to   { transform: translateY(0); opacity: 1; }
}

.overlay__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) var(--space-7);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.overlay__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* Cobalt left accent on overlay title */
.overlay__title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 1.2em;
  background: var(--cobalt);
  border-radius: 2px;
  margin-right: var(--space-3);
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.overlay__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--ink-3);
  transition: background 0.18s, color 0.18s;
  flex-shrink: 0;
}

.overlay__close:hover {
  background: var(--surface);
  color: var(--ink);
}

.overlay__close svg { width: 18px; height: 18px; }

.overlay__body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-7);
  -webkit-overflow-scrolling: touch;
}

.overlay__body h3 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.overlay__body h3:first-child { margin-top: 0; }

.overlay__body p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--ink-3);
  margin-bottom: var(--space-3);
}

.overlay__body ul {
  list-style: disc;
  padding-left: var(--space-5);
  margin-bottom: var(--space-4);
}

.overlay__body ul li {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-3);
  margin-bottom: var(--space-2);
}

.overlay__body a {
  color: var(--cobalt);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.overlay__body a:hover { color: var(--cobalt-dark); }

@media (max-width: 680px) {
  .overlay { align-items: flex-end; justify-content: stretch; }
  .overlay__panel {
    max-width: 100%;
    height: 92vh;
    border-radius: 16px 16px 0 0;
  }
}

/* ── Keyboard focus ─────────────────────────────────────── */
.keyboard-nav :focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-animate] { opacity: 1; transform: none; }
}

/* ── KLARHEITS-CHECK GADGET ─────────────────────────────── */
.check {
  background: var(--off-white);
  padding: var(--space-10) 0;
}

.check__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.check__headline { margin-bottom: var(--space-4); }

.check__sub {
  font-size: 1rem;
  color: var(--ink-3);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.check__widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--space-8) var(--space-7);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  min-height: 260px;
}

/* Steps */
.check__step {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  animation: checkFadeIn 0.35s var(--ease-out);
}

.check__step.is-active { display: flex; }

@keyframes checkFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.check__question {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.5;
  max-width: 520px;
}

.check__options {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
  max-width: 480px;
}

.check__option {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 14px var(--space-5);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--ink-2);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, color 0.18s, transform 0.15s;
  min-height: 52px;
  line-height: 1.4;
}

.check__option:hover {
  border-color: var(--cobalt);
  background: var(--cobalt-light);
  color: var(--cobalt-dark);
  transform: translateX(4px);
}

.check__option:active { transform: translateX(2px) scale(0.99); }

/* Result */
.check__result {
  text-align: center;
}

.check__result-icon {
  color: var(--cobalt);
  width: 52px;
  height: 52px;
}

.check__result-icon svg { width: 100%; height: 100%; }

.check__result-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}

.check__result-text {
  font-size: 1rem;
  color: var(--ink-3);
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto;
}

.check__result-cta {
  margin-top: var(--space-2);
}

.check__restart {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--ink-4);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  transition: color 0.15s;
  padding: var(--space-2) var(--space-3);
  min-height: 44px;
}

.check__restart:hover { color: var(--cobalt); }

/* Progress bar */
.check__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border);
}

.check__progress-bar {
  height: 100%;
  background: var(--cobalt);
  border-radius: 0 2px 2px 0;
  transition: width 0.4s var(--ease-out);
  width: 0%;
}

@media (max-width: 600px) {
  .check__widget { padding: var(--space-6) var(--space-5); }
  .check__question { font-size: 1.125rem; }
  .check__option { font-size: 0.875rem; }
}

/* ── Mobile tap-target improvements ─────────────────────── */
@media (max-width: 768px) {
  .nav__link,
  .footer__legal-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .check__option { min-height: 52px; }
}
