/* ============================================================================
   ELARA AI — Refined KI-Strategieberatung CSS
   Brand: "The Sage" — Wise, Calm, Modern, Refined
   ============================================================================ */

/* === 1. VARIABLES === */
:root {
  --blush: #C9929B;
  --blush-light: #D4A5AD;
  --blush-deep: #B07882;
  --lavender: #A594C0;
  --lavender-light: #BDB0D0;
  --charcoal: #3A2F33;
  --charcoal-soft: #5C4F54;
  --nude: #EAD9CE;
  --nude-light: #F2E8E0;
  --pearl: #FBF7F5;
  --gradient: linear-gradient(135deg, #C9929B, #A594C0);
  --font-head: 'Raleway', sans-serif;
  --font-body: 'Lato', sans-serif;
  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(58,47,51,0.07);
  --shadow-md: 0 8px 24px rgba(58,47,51,0.10);
  --shadow-lg: 0 16px 48px rgba(58,47,51,0.14);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === 2. RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--charcoal);
  background: var(--pearl);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === 3. TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 400;
  margin-bottom: 0.6rem;
}

h4 {
  font-size: 1.05rem;
  font-weight: 400;
}

p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

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

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-center { text-align: center; }

.section-label {
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--blush);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  margin-bottom: 2.5rem;
}

.section-title .subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: var(--charcoal-soft);
  font-weight: 300;
  max-width: 560px;
  margin: 0.5rem auto 0;
}

.section-dark .section-title .subtitle,
.section-dark .subtitle {
  color: rgba(251,247,245,0.65);
}

.subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 300;
  color: rgba(251,247,245,0.7);
  margin-bottom: 2rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(251,247,245,0.8);
  margin-bottom: 2rem;
}

/* Hero rotating text */
.hero-rotating-wrapper {
  display: inline;
}

.hero-rotating {
  display: inline;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.hero-rotating.visible {
  opacity: 1;
}

/* Logo marquee ticker */
.logo-marquee-section {
  padding: 1.5rem 0;
  background: var(--charcoal);
  overflow: hidden;
}

.logo-marquee {
  overflow: hidden;
  position: relative;
}

.logo-marquee::before,
.logo-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--charcoal), transparent);
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--charcoal), transparent);
}

.logo-marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee-scroll 30s linear infinite;
  width: max-content;
}

.logo-marquee-item {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251,247,245,0.5);
  white-space: nowrap;
  transition: color 0.3s;
  padding: 0.3rem 0;
}

.logo-marquee-item:hover {
  color: var(--blush-light);
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.gradient-line {
  width: 60px;
  height: 2px;
  background: var(--gradient);
  margin: 1rem auto;
}

.gradient-line.left {
  margin-left: 0;
}

/* === 4. LAYOUT === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* === 5. GRID === */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* === 6. SECTIONS === */
section { position: relative; z-index: 1; }

.section-dark {
  background: var(--charcoal);
  color: var(--pearl);
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.section-light {
  background: var(--pearl);
  color: var(--charcoal);
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.section-nude {
  background: var(--nude-light);
  color: var(--charcoal);
  padding: clamp(4rem, 7vw, 6rem) 0;
}

/* Sub-page hero (leistungen, prozess, etc.) */
.section-hero-sub {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  color: var(--pearl);
  padding: 6rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-hero-sub .container {
  position: relative;
  z-index: 2;
}

.section-hero-sub h1 {
  color: var(--pearl);
  margin-bottom: 0.75rem;
}

.section-hero-sub .subtitle,
.section-hero-sub .hero-subtitle {
  color: rgba(251,247,245,0.7);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* === 7. MAIN HERO (index) === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal) url('img/hero-bg.jpg') center/cover no-repeat;
  color: var(--pearl);
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow behind hero — enhanced overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(201,146,155,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 75% 25%, rgba(165,148,192,0.10) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  text-align: center;
  max-width: 720px;
  z-index: 2;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.hero h1 {
  color: var(--pearl);
  margin-bottom: 1rem;
  animation: fadeUp 0.7s var(--ease);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.7s var(--ease) 0.2s both;
}

/* Hero decorations */
.hero-deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.hero-deco--orbital {
  width: clamp(300px, 50vw, 500px);
  height: auto;
  opacity: 0.07;
  animation: orbit-spin 90s linear infinite;
}

.hero-deco--blob-1 {
  width: clamp(200px, 30vw, 350px);
  top: 10%;
  right: -5%;
  opacity: 0.06;
}

.hero-deco--blob-2 {
  width: clamp(150px, 25vw, 280px);
  bottom: 5%;
  left: -3%;
  opacity: 0.05;
}

/* === 8. NAVIGATION === */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem clamp(1.5rem, 4vw, 3rem);
  background: rgba(58,47,51,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 200;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}

nav.scrolled {
  background: rgba(58,47,51,0.97);
  padding: 0.6rem clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.nav-logo svg {
  width: 30px;
  height: 30px;
}

.nav-brand {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pearl);
  letter-spacing: 0.06em;
}

.nav-menu {
  display: flex;
  gap: clamp(1.2rem, 2.5vw, 2.2rem);
  align-items: center;
}

.nav-menu li { list-style: none; }

.nav-menu a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(251,247,245,0.75);
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}

.nav-menu a:hover { color: var(--blush-light); }

.nav-menu a:not(.cta-button)::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gradient);
  transition: width 0.25s var(--ease);
}

.nav-menu a:not(.cta-button):hover::after { width: 100%; }

/* Nav CTA button — smaller in nav */
.nav-menu .cta-button {
  padding: 0.55rem 1.4rem;
  font-size: 0.8rem;
  border-radius: 8px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 6px;
  padding: 6px;
  z-index: 300;
  position: relative;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--pearl);
  transition: transform 0.3s var(--ease), opacity 0.2s;
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--charcoal);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 250;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
    padding: 4rem 2rem;
    overflow-y: auto;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-menu li {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    width: 100%;
    text-align: center;
  }

  .nav-menu.active li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu.active li:nth-child(1) { transition-delay: 0.06s; }
  .nav-menu.active li:nth-child(2) { transition-delay: 0.12s; }
  .nav-menu.active li:nth-child(3) { transition-delay: 0.18s; }
  .nav-menu.active li:nth-child(4) { transition-delay: 0.24s; }
  .nav-menu.active li:nth-child(5) { transition-delay: 0.30s; }

  .nav-menu a {
    font-size: 1.2rem;
    color: var(--pearl);
    font-family: var(--font-head);
    font-weight: 300;
    letter-spacing: 0.04em;
    display: block;
    padding: 0.75rem 0;
    text-align: center;
  }

  .nav-menu a:not(.cta-button)::after {
    display: none;
  }

  .nav-menu a:hover {
    color: var(--blush-light);
  }

  .nav-menu .cta-button {
    padding: 0.85rem 2.5rem;
    font-size: 0.9rem;
    margin-top: 0.8rem;
    display: inline-flex;
  }

  .hero-ctas { flex-direction: column; align-items: stretch; }

  /* Prevent scroll when menu is open */
  body.menu-open { overflow: hidden; }
}

/* === 9. BUTTONS === */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  background: var(--gradient);
  color: var(--pearl);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,146,155,0.25);
}

.secondary-button,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  background: transparent;
  color: var(--blush-light);
  border: 1.5px solid var(--blush);
}

.secondary-button:hover,
.btn-secondary:hover {
  background: var(--gradient);
  color: var(--pearl);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,146,155,0.2);
}

/* === 10. CARDS === */
.card-light,
.card-dark,
.card-gradient-border {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: 16px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}

/* Light cards */
.card-light {
  background: white;
  color: var(--charcoal);
  border: 1px solid rgba(201,146,155,0.1);
  box-shadow: var(--shadow-sm);
}

.card-light:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(201,146,155,0.12);
  border-color: rgba(201,146,155,0.2);
}

/* Dark glassmorphism cards — premium */
.card-dark {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  color: var(--pearl);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

/* Animated gradient border */
.card-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(201,146,155,0.4), rgba(165,148,192,0.2), rgba(201,146,155,0.3));
  background-size: 200% 200%;
  animation: gradient-shift 6s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.3;
  transition: opacity 0.5s var(--ease);
}

/* Inner glow */
.card-dark::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 0%, rgba(201,146,155,0.06), transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.card-dark:hover {
  transform: translateY(-8px);
  background: linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.04));
  border-color: rgba(201,146,155,0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 50px rgba(201,146,155,0.08), 0 0 0 1px rgba(201,146,155,0.1);
}

.card-dark:hover::before {
  opacity: 0.9;
}

.card-dark:hover::after {
  opacity: 1;
}

.card-dark h3 { color: var(--pearl); margin-bottom: 0.6rem; }
.card-dark p { color: rgba(251,247,245,0.65); font-size: 0.92rem; line-height: 1.65; }
.card-dark .section-label { margin-bottom: 0.6rem; }

/* Gradient-border cards (light bg) — premium glassmorphism */
.card-gradient-border {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(251,247,245,0.85));
  color: var(--charcoal);
  border: 1px solid rgba(201,146,155,0.12);
  box-shadow: 0 4px 24px rgba(201,146,155,0.06), 0 1px 3px rgba(0,0,0,0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Animated gradient border — full surround */
.card-gradient-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--blush), var(--lavender), var(--blush));
  background-size: 200% 200%;
  animation: gradient-shift 6s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.4;
  transition: opacity 0.5s var(--ease);
}

/* Soft glow on hover */
.card-gradient-border::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(201,146,155,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.card-gradient-border:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(201,146,155,0.12), 0 8px 24px rgba(165,148,192,0.08), 0 0 0 1px rgba(201,146,155,0.15);
  border-color: rgba(201,146,155,0.25);
}

.card-gradient-border:hover::before {
  opacity: 0.9;
}

.card-gradient-border:hover::after {
  opacity: 1;
}

.card-gradient-border .section-label { margin-bottom: 0.6rem; }

/* Card icon circle */
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(201,146,155,0.12), rgba(165,148,192,0.12));
  border: 1px solid rgba(201,146,155,0.15);
  color: var(--blush);
  transition: all 0.4s var(--ease);
}

.card-gradient-border:hover .card-icon {
  background: linear-gradient(135deg, rgba(201,146,155,0.2), rgba(165,148,192,0.2));
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(201,146,155,0.15);
}

/* Dark card icon variant */
.card-dark .card-icon {
  background: linear-gradient(135deg, rgba(201,146,155,0.15), rgba(165,148,192,0.15));
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--blush);
}

.card-dark:hover .card-icon {
  background: linear-gradient(135deg, rgba(201,146,155,0.25), rgba(165,148,192,0.25));
  box-shadow: 0 4px 16px rgba(201,146,155,0.2);
}

/* === 11. STATS === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  margin-top: 2rem;
}

.stat-item { padding: 1rem 0; }

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--charcoal-soft);
  max-width: 200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* === 12. BIO (Über mich) === */
.bio-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}

.bio-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.bio-content h2 { margin-bottom: 0.5rem; }

.bio-content p {
  font-size: 0.95rem;
  line-height: 1.8;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.skill-tag {
  display: inline-flex;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(201,146,155,0.3);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--blush-deep);
  background: rgba(201,146,155,0.06);
  transition: 0.2s;
}

.skill-tag:hover {
  border-color: var(--blush);
  background: rgba(201,146,155,0.12);
}

@media (max-width: 768px) {
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .bio-image {
    max-width: 280px;
    margin: 0 auto;
  }
}

/* Bio — lead text */
.bio-content .lead-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}

.bio-image-caption {
  text-align: center;
  margin-top: 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blush-deep);
  opacity: 0.85;
}

/* Bio — stats strip */
.bio-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2rem 2.5rem;
  margin-top: 2rem;
  background: linear-gradient(135deg, rgba(201,146,155,0.08), rgba(165,148,192,0.08));
  border: 1px solid rgba(201,146,155,0.18);
  border-radius: var(--radius);
}

.bio-stat {
  text-align: center;
  padding: 0.5rem;
}

.bio-stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.3rem;
  font-variant-numeric: tabular-nums;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  will-change: transform;
}

/* Stat-animate: subtle scale-pulse during count, gentle settle on done */
.bio-stat-number.stat-animate {
  display: inline-block;
}

.bio-stat-number.stat-animate.is-animating {
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(0 6px 16px rgba(201, 146, 155, 0.25));
}

.bio-stat-number.stat-animate.is-done {
  animation: stat-land 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes stat-land {
  0%   { transform: translateY(-2px) scale(1.04); }
  50%  { transform: translateY(0) scale(1.08); }
  100% { transform: translateY(0) scale(1); }
}

.bio-stat-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--charcoal-soft);
}

@media (max-width: 768px) {
  .bio-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.5rem 1rem;
  }
}

/* === CAREER TIMELINE (Über mich) === */
.career-timeline {
  max-width: 820px;
  margin: 3rem auto 0;
  position: relative;
}

.career-timeline::before {
  content: '';
  position: absolute;
  left: 180px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(201,146,155,0.6), rgba(165,148,192,0.6));
  opacity: 0.4;
}

.career-entry {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2.5rem;
  padding: 0 0 2.5rem 0;
  position: relative;
}

.career-entry:last-child { padding-bottom: 0; }

.career-entry::before {
  content: '';
  position: absolute;
  left: 174px;
  top: 0.5rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 0 4px rgba(251,247,245,0.08), 0 0 16px rgba(201,146,155,0.4);
  z-index: 2;
}

.career-entry--education::before {
  background: transparent;
  border: 2px solid var(--blush);
}

.career-period {
  text-align: right;
  padding-right: 1rem;
  padding-top: 0.3rem;
}

.career-year {
  display: block;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--blush);
  letter-spacing: 0.02em;
}

.career-location {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(251,247,245,0.55);
  margin-top: 0.3rem;
}

.career-content h3 {
  color: var(--pearl);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.career-company {
  font-size: 0.88rem;
  color: var(--blush-light);
  letter-spacing: 0.02em;
  margin-bottom: 0.8rem;
  font-weight: 300;
}

.career-content p {
  color: rgba(251,247,245,0.78);
  font-size: 0.94rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.career-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.career-tag {
  display: inline-flex;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(201,146,155,0.35);
  border-radius: 20px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--blush-light);
  background: rgba(201,146,155,0.08);
}

@media (max-width: 768px) {
  .career-timeline::before {
    left: 8px;
  }
  .career-entry {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    padding-left: 2.5rem;
  }
  .career-entry::before {
    left: 2px;
    top: 0.4rem;
  }
  .career-period {
    text-align: left;
    padding-right: 0;
  }
  .career-year { font-size: 0.95rem; }
  .career-location { display: inline-block; margin-left: 0.8rem; margin-top: 0; }
}

/* === EDITORIAL SECTION (Über mich) === */
.editorial-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #F5EFEC 0%, #F0E8E4 50%, #E8DDD8 100%);
  position: relative;
  overflow: hidden;
}

.editorial-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(165,148,192,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.editorial-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.editorial-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(58,47,51,0.22), 0 10px 30px rgba(58,47,51,0.12);
  transform: translateY(0);
  transition: transform 0.6s var(--ease);
}

.editorial-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,22,32,0) 60%, rgba(28,22,32,0.18) 100%);
  pointer-events: none;
}

.editorial-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.editorial-image:hover { transform: translateY(-6px); }

.editorial-image-tag {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  padding: 0.5rem 1rem;
  background: rgba(251,247,245,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blush-deep);
}

.editorial-content {
  padding: 0;
}

.editorial-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blush-deep);
  margin-bottom: 1.5rem;
}

.editorial-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.editorial-content .gradient-line {
  margin: 1.5rem 0 1.75rem;
}

.editorial-content p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: 1.1rem;
  max-width: 560px;
}

.editorial-quote-cite {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(176,120,130,0.25);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cite-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 400;
  color: var(--blush-deep);
  letter-spacing: 0.02em;
}

.cite-role {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}

@media (max-width: 968px) {
  .editorial-section { padding: 4rem 0; }
  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .editorial-image {
    max-width: 380px;
    margin: 0 auto;
  }
}

/* === PERSONAL NOTE (Über mich) === */
.personal-note {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, rgba(201,146,155,0.05), rgba(165,148,192,0.05));
  border-left: 3px solid var(--blush);
  border-radius: var(--radius);
}

.personal-note-quote {
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-family: var(--font-head);
  font-size: 5rem;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.35;
}

.personal-note p {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}

.personal-note-sign {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--blush-deep);
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .personal-note { padding: 2.5rem 1.5rem; }
}

/* === 13. TIMELINE (Prozess) === */
.timeline {
  position: relative;
  max-width: 600px;
  margin: 2rem auto 0;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient);
  opacity: 0.4;
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
  padding-left: 1.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.4rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
  margin-left: -3px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-content h4 {
  color: var(--pearl);
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.timeline-content p {
  font-size: 0.9rem;
  color: rgba(251,247,245,0.65);
}

/* === 14. FAQ (Prozess) === */
.faq-container {
  max-width: 700px;
  margin: 2rem auto 0;
}

.faq-item {
  border-bottom: 1px solid rgba(201,146,155,0.15);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--blush); }

.faq-question h4 {
  font-size: 0.95rem;
  font-weight: 400;
  margin: 0;
}

.faq-toggle {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--blush);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-toggle { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.2rem;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--charcoal-soft);
  line-height: 1.7;
}

/* FAQ in dark sections */
.section-dark .faq-item {
  border-bottom-color: rgba(255,255,255,0.1);
}

.section-dark .faq-question h4 {
  color: var(--pearl);
}

.section-dark .faq-question:hover h4 {
  color: var(--blush-light);
}

.section-dark .faq-answer p {
  color: rgba(251,247,245,0.7);
}

/* === 15. CONTACT (Kontakt) === */
.path-toggle {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  background: rgba(201,146,155,0.06);
  border-radius: 8px;
  padding: 4px;
  max-width: 400px;
  margin: 0 auto;
}

.path-button {
  flex: 1;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  cursor: pointer;
  transition: 0.25s var(--ease);
  background: transparent;
  color: var(--charcoal-soft);
}

.path-button.active {
  background: var(--gradient);
  color: white;
  box-shadow: 0 2px 8px rgba(201,146,155,0.2);
}

.path-content { display: none; }
.path-content.active { display: block; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
  color: var(--charcoal);
}

.form-group label.required::after {
  content: ' *';
  color: var(--blush);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(201,146,155,0.2);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  background: white;
  color: var(--charcoal);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blush);
  box-shadow: 0 0 0 3px rgba(201,146,155,0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Submit button full-width in form */
form .cta-button {
  width: 100%;
  margin-top: 0.5rem;
}

/* === 16. TRANSFORMATION LIST === */
.transformation-list {
  list-style: none;
  padding: 0;
}

.transformation-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
}

.transformation-list .icon {
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.transformation-after .icon {
  color: var(--blush-light);
}

/* === 17. FOOTER === */
footer {
  background: var(--charcoal);
  color: var(--pearl);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.footer-logo svg {
  width: 28px;
  height: 28px;
}

.footer-logo span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--pearl);
}

.footer-column h4 {
  color: var(--pearl);
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}

.footer-column p {
  color: rgba(251,247,245,0.5);
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-column a {
  display: block;
  color: rgba(251,247,245,0.55);
  font-size: 0.85rem;
  padding: 0.2rem 0;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: var(--blush-light);
}

/* Footer variants used in ueber-mich, prozess */
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.footer-col h4 { color: var(--pearl); font-size: 0.9rem; margin-bottom: 0.75rem; }
.footer-col p { color: rgba(251,247,245,0.5); font-size: 0.85rem; }
.footer-col a { display: block; color: rgba(251,247,245,0.55); font-size: 0.85rem; padding: 0.15rem 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--blush-light); }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 0.3rem; }

.footer-divider {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 0;
  border-top: 1px solid rgba(201,146,155,0.15);
  text-align: center;
  font-size: 0.78rem;
  color: rgba(251,247,245,0.4);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201,146,155,0.15);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(251,247,245,0.4);
}

@media (max-width: 768px) {
  .footer-content,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* === 18. ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes orbit-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Scroll reveal — ONLY activates when JS adds .anim-ready to <html>.
   Without JS, everything is fully visible by default. */
html.anim-ready .fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

html.anim-ready .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

html.anim-ready .slide-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

html.anim-ready .slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

html.anim-ready .slide-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

html.anim-ready .slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

html.anim-ready .scale-in {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

html.anim-ready .scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children */
.stagger-container > *:nth-child(1) { transition-delay: 0s; }
.stagger-container > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-container > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-container > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-container > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-container > *:nth-child(6) { transition-delay: 0.5s; }

/* Floating elements */
.float { animation: float 6s var(--ease) infinite; }
.float-slow { animation: float-slow 8s var(--ease) infinite; }

/* Gradient text shimmer */
.gradient-text-animated {
  background: linear-gradient(90deg, #C9929B, #A594C0, #C9929B);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 4s ease infinite;
}

/* Glow pulse for hero decorations */
.glow-pulse {
  animation: pulse-glow 4s ease-in-out infinite;
}

/* Card hover glow effect */
.card-dark:hover,
.card-gradient-border:hover {
  animation: none;
}

/* Stats counter glow on visible */
.stat-number .counter.visible-counter {
  animation: scale-in 0.5s var(--ease);
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--gradient);
  z-index: 999;
  width: 0%;
  transition: width 0.1s linear;
}

/* Sections have no opacity transition — only .fade-up children animate */

/* CTA button shimmer on hover */
.cta-button {
  position: relative;
  overflow: hidden;
}

.cta-button::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255,255,255,0.12) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: none;
}

.cta-button:hover::after {
  transform: translateX(100%);
  transition: transform 0.6s var(--ease);
}

/* Hero content entrance */
.hero-content > * {
  animation: fadeUp 0.7s var(--ease) both;
}
.hero-content > *:nth-child(1) { animation-delay: 0s; }
.hero-content > *:nth-child(2) { animation-delay: 0.1s; }
.hero-content > *:nth-child(3) { animation-delay: 0.2s; }
.hero-content > *:nth-child(4) { animation-delay: 0.3s; }
.hero-content > *:nth-child(5) { animation-delay: 0.4s; }

/* === 19. CONTACT INFO === */
.contact-info {
  max-width: 500px;
  margin: 0 auto;
}

.contact-info h3 {
  margin-bottom: 0.5rem;
}

.contact-info a {
  color: var(--blush);
  transition: color 0.2s;
}

.contact-info a:hover {
  color: var(--lavender);
}

/* === 19b. QUIZ / KI-CHECK === */
.quiz-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

.quiz-progress {
  height: 4px;
  background: rgba(201,146,155,0.12);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.quiz-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient);
  border-radius: 4px;
  transition: width 0.5s var(--ease);
}

.quiz-progress-text {
  font-size: 0.8rem;
  color: var(--charcoal-soft);
  text-align: right;
  margin-bottom: 2rem;
}

.quiz-question {
  display: none;
  animation: fadeUp 0.4s var(--ease) both;
}

.quiz-question.active {
  display: block;
}

.quiz-question h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  margin-bottom: 1.5rem;
  line-height: 1.35;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.quiz-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1rem 1.2rem;
  border: 1.5px solid rgba(201,146,155,0.15);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(251,247,245,0.85));
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.quiz-option::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.quiz-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,146,155,0.1);
  border-color: rgba(201,146,155,0.3);
}

.quiz-option:hover::before {
  opacity: 0.5;
}

.quiz-option.selected {
  background: var(--gradient);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,146,155,0.2);
}

.quiz-option.selected::before {
  opacity: 0;
}

/* Score ring */
.quiz-score-ring {
  width: 160px;
  height: 160px;
  margin: 0 auto 1.5rem;
  position: relative;
}

.quiz-score-ring svg {
  width: 100%;
  height: 100%;
}

.quiz-score-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 300;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.quiz-result {
  text-align: center;
  animation: fadeUp 0.6s var(--ease) both;
}

.quiz-result h2 {
  margin-bottom: 0.8rem;
}

.quiz-result-text {
  color: var(--charcoal-soft);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.quiz-result-tips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.quiz-tip {
  padding: 1.2rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(251,247,245,0.85));
  border: 1px solid rgba(201,146,155,0.12);
}

.quiz-tip strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--blush-deep);
  margin-bottom: 0.3rem;
}

.quiz-tip p {
  font-size: 0.85rem;
  color: var(--charcoal-soft);
  line-height: 1.55;
  margin: 0;
}

/* Lead capture */
.quiz-lead-capture {
  background: linear-gradient(135deg, rgba(201,146,155,0.06), rgba(165,148,192,0.06));
  border: 1px solid rgba(201,146,155,0.15);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
  text-align: center;
}

.quiz-lead-capture h3 {
  margin-bottom: 0.4rem;
}

.quiz-lead-capture > p {
  color: var(--charcoal-soft);
  font-size: 0.88rem;
  margin-bottom: 1.2rem;
}

.quiz-lead-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.quiz-lead-form-row input,
.quiz-lead-capture input[name="company"] {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(201,146,155,0.2);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  background: white;
  color: var(--charcoal);
  transition: border-color 0.2s;
}

.quiz-lead-form-row input:focus,
.quiz-lead-capture input[name="company"]:focus {
  outline: none;
  border-color: var(--blush);
  box-shadow: 0 0 0 3px rgba(201,146,155,0.1);
}

@media (max-width: 768px) {
  .quiz-result-tips {
    grid-template-columns: 1fr;
  }
  .quiz-lead-form-row {
    grid-template-columns: 1fr;
  }
}

/* === 20. TESTIMONIALS === */
.testimonial-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(251,247,245,0.85));
  border: 1px solid rgba(201,146,155,0.12);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2rem);
  position: relative;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(201,146,155,0.1);
}

.testimonial-quote {
  font-family: var(--font-head);
  font-size: 3rem;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.testimonial-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--charcoal-soft);
  margin-bottom: 1.2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.testimonial-author strong {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--charcoal);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--charcoal-soft);
}

/* === 20b. LEAD MAGNET === */
.lead-magnet {
  text-align: center;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(201,146,155,0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lead-magnet h2 {
  margin-bottom: 0.6rem;
  color: var(--pearl);
}

.lead-magnet p {
  color: rgba(251,247,245,0.7);
  max-width: 520px;
  margin: 0 auto 1.5rem;
}

.lead-magnet .section-label {
  margin-bottom: 0.6rem;
}

/* === 20c. FLOATING CTA === */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.floating-cta a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 50px;
  background: var(--gradient);
  color: white;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 30px rgba(201,146,155,0.3), 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  text-decoration: none;
}

.floating-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201,146,155,0.4), 0 4px 12px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .floating-cta {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
  }
  .floating-cta a {
    justify-content: center;
    width: 100%;
  }
}

/* === 21. CASE STUDIES === */

/* Full-width case block */
.case-block {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
}

.case-block:nth-child(odd) {
  background: var(--pearl);
}

.case-block:nth-child(even) {
  background: var(--charcoal);
  color: var(--pearl);
}

.case-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* Case header row */
.case-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.case-header-text {
  flex: 1;
}

.case-number {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.3;
  flex-shrink: 0;
}

.case-header-text .section-label {
  margin-bottom: 0.4rem;
}

.case-header-text h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 0.3rem;
}

.case-subtitle {
  font-size: 0.85rem;
  opacity: 0.5;
  font-weight: 400;
}

/* Metrics bar — the star of the show */
.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.case-metric {
  text-align: center;
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: var(--radius);
  position: relative;
}

/* Light bg metrics */
.case-block:nth-child(odd) .case-metric {
  background: white;
  border: 1px solid rgba(201,146,155,0.1);
  box-shadow: var(--shadow-sm);
}

/* Dark bg metrics */
.case-block:nth-child(even) .case-metric {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.case-metric-value {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 300;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.case-metric-label {
  font-size: 0.78rem;
  font-weight: 400;
  opacity: 0.6;
}

/* Static text metrics (e.g. "Echtzeit") */
.case-metric-text {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

/* Case body — the story */
.case-story {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.case-step {
  padding: 0;
}

.case-step-label {
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  display: block;
}

.case-block:nth-child(odd) .case-step-label { color: var(--blush); }
.case-block:nth-child(even) .case-step-label { color: var(--blush-light); }

.case-step p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.case-block:nth-child(even) .case-step p {
  color: rgba(251,247,245,0.75);
}

/* Tool tags */
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.case-tag {
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 12px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.case-block:nth-child(odd) .case-tag {
  background: rgba(201,146,155,0.08);
  color: var(--blush-deep);
}

.case-block:nth-child(even) .case-tag {
  background: rgba(201,146,155,0.15);
  color: var(--blush-light);
}

/* Responsive */
@media (max-width: 768px) {
  .case-metrics { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .case-story { grid-template-columns: 1fr; gap: 1rem; }
  .case-header { flex-direction: column-reverse; gap: 0.5rem; }
  .case-number { font-size: 2.5rem; }
}

@media (max-width: 480px) {
  .case-metrics { grid-template-columns: 1fr; }
}

/* === 21. GLOW ACCENT (subtle) === */
.glow-accent { position: relative; overflow: hidden; }
.glow-accent::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(201,146,155,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* === 21. SCROLLBAR === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--pearl); }
::-webkit-scrollbar-thumb { background: var(--gradient); border-radius: 4px; border: 2px solid var(--pearl); }

/* === 22a. IMAGE SECTION VISUALS === */

/* Visual break / divider between sections */
.section-visual-break {
  height: 300px;
  background: url('img/section-divider.jpg') center/cover no-repeat;
  position: relative;
}

.section-visual-break::before,
.section-visual-break::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 2;
}

.section-visual-break::before {
  top: 0;
  background: linear-gradient(to bottom, var(--pearl), transparent);
}

.section-visual-break::after {
  bottom: 0;
  background: linear-gradient(to top, var(--pearl), transparent);
}

.section-visual-break.from-dark::before {
  background: linear-gradient(to bottom, var(--charcoal), transparent);
}

.section-visual-break.to-dark::after {
  background: linear-gradient(to top, var(--charcoal), transparent);
}

/* Strategy constellation background for dark sections */
.section-constellation {
  background: var(--charcoal);
  position: relative;
}

.section-constellation::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('img/strategy-visual.jpg') center/cover no-repeat;
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

/* Workflow waves background */
.section-waves {
  background: var(--charcoal);
  position: relative;
}

.section-waves::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('img/workflow-visual.jpg') center/cover no-repeat;
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

/* Readiness growth background */
.section-readiness-bg {
  background: var(--charcoal);
  position: relative;
}

.section-readiness-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('img/readiness-visual.jpg') center/cover no-repeat;
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

/* Ensure content stays above image backgrounds */
.section-constellation > *,
.section-waves > *,
.section-readiness-bg > * {
  position: relative;
  z-index: 1;
}

/* Dark sections: content above decorations */
.section-dark > * {
  position: relative;
  z-index: 1;
}

/* === 22. PRINT === */
@media print {
  nav, .hamburger, .hero-deco { display: none; }
  body { color: #000; background: #fff; }
  section { padding: 1rem 0; }
}
