/* ============================================================
   DELFI KURSE – Stylesheet
   ============================================================ */

/* ---- Coming Soon Overlay ---- */
#coming-soon {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
}
.cs-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg,
      rgba(255,240,235,1) 0%,
      rgba(255,248,252,1) 40%,
      rgba(235,245,255,1) 100%);
}
.cs-bg::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  top: -200px; left: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,195,165,0.45) 0%, transparent 65%);
  filter: blur(60px);
}
.cs-bg::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  bottom: -150px; right: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180,210,255,0.40) 0%, transparent 65%);
  filter: blur(60px);
}
.cs-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px 24px;
  max-width: 520px;
  width: 100%;
  animation: csFadeIn 0.7s ease both;
}
@keyframes csFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cs-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
  margin-bottom: 28px;
  mix-blend-mode: multiply;
}
.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,112,67,0.10);
  color: #FF6E8A;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255,110,138,0.22);
  margin-bottom: 24px;
}
.cs-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: #1A2332;
  margin-bottom: 20px;
}
.cs-gradient {
  background: linear-gradient(130deg, #FF7043 0%, #FF6E8A 55%, #FF4F9E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cs-text {
  font-size: 17px;
  color: #5A6C7D;
  line-height: 1.7;
  margin-bottom: 20px;
}
.cs-contact {
  font-size: 14px;
  color: #7A8FA6;
}
.cs-contact a {
  color: #FF6E8A;
  font-weight: 600;
  text-decoration: none;
}
.cs-contact a:hover { text-decoration: underline; }

/* Admin-Button (versteckt unten rechts) */
#cs-admin-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  background: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(0,0,0,0.10);
  color: rgba(0,0,0,0.50);
  font-size: 14px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  cursor: pointer;
  padding: 11px 20px;
  border-radius: 100px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.2s;
}
#cs-admin-btn:hover { background: white; color: rgba(0,0,0,0.75); box-shadow: 0 4px 16px rgba(0,0,0,0.12); }

/* Admin Login Box */
#cs-login {
  position: fixed;
  bottom: 60px;
  right: 18px;
  z-index: 10000;
  background: white;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  padding: 20px;
  width: 220px;
  animation: csFadeIn 0.2s ease both;
}
#cs-login p {
  font-size: 13px;
  font-weight: 700;
  color: #1A2332;
  margin-bottom: 10px;
}
#cs-login input {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid #E0E7EF;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  margin-bottom: 8px;
}
#cs-login input:focus { border-color: #FF6E8A; }
#cs-error {
  font-size: 12px;
  color: #e53935;
  margin-bottom: 8px;
}
#cs-login button[type="submit"] {
  width: 100%;
  padding: 9px;
  background: linear-gradient(130deg, #FF7043, #FF4F9E);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
#cs-login button[type="submit"]:hover { opacity: 0.9; }

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../assets/fonts/nunito.woff2') format('woff2');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/opensans.woff2') format('woff2');
}

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

:root {
  --blue:        #1E88E5;
  --blue-dark:   #1565C0;
  --blue-light:  #E3F2FD;
  --blue-mid:    #BBDEFB;
  --warm:        #FF7043;
  --warm-dark:   #E64A19;
  --warm-light:  #FBE9E7;
  --yellow:      #FFD54F;
  --yellow-dark: #F9A825;
  --green:       #43A047;
  --red:         #E53935;
  --text:        #1A2332;
  --text-muted:  #5A6C7D;
  --text-light:  #7A8FA6;
  --border:      #D0DFF0;
  --bg:          #F7FBFF;
  --bg-alt:      #EEF6FF;
  --white:       #FFFFFF;
  --radius:      16px;
  --radius-sm:   10px;
  --shadow:      0 4px 24px rgba(30, 136, 229, 0.10);
  --shadow-md:   0 8px 40px rgba(30, 136, 229, 0.18);
  --shadow-warm: 0 8px 32px rgba(255, 112, 67, 0.25);
  --transition:  0.22s ease;
}

html { scroll-behavior: smooth; }

sup { font-weight: 400; font-size: 0.6em; vertical-align: super; }

/* Focus-States für Tastaturnavigation */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.nav-links a:focus-visible,
.mobile-nav a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.faq-question:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

/* ---- Cookie Banner ---- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1A2332;
  color: #fff;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
  transform: translateY(120%);
  transition: transform 0.35s ease;
}

.cookie-text { flex: 1; }

.cookie-text strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
}

.cookie-text p {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  margin: 0;
}

.cookie-text a {
  color: var(--blue);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.cookie-btn-decline {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.3);
}

.cookie-btn-decline:hover { background: rgba(255,255,255,0.08); }

.cookie-btn-accept {
  background: var(--blue);
  color: #fff;
}

.cookie-btn-accept:hover { background: var(--blue-dark); }

@media (max-width: 640px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 20px;
  }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}

body {
  font-family: 'Open Sans', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6,
.section-title, .hero-title-main, .kurs-title, .nav-logo {
  font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* ---- Layout ---- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

section[id] { scroll-margin-top: 100px; }

/* ---- Typography ---- */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--warm-dark);
  background: var(--warm-light);
  border-radius: 100px;
  padding: 5px 16px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-intro {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 56px;
  line-height: 1.75;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--warm);
  color: var(--white);
  border-color: var(--warm);
  box-shadow: 0 4px 16px rgba(255, 112, 67, 0.30);
}
.btn-primary:hover {
  background: var(--warm-dark);
  border-color: var(--warm-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 112, 67, 0.45);
  text-decoration: none;
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-secondary:hover {
  background: var(--blue-light);
  text-decoration: none;
}

.btn-full { width: 100%; justify-content: center; }

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 12px; left: 12px; right: 12px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  border: 1px solid rgba(30, 136, 229, 0.10);
  box-shadow: 0 2px 16px rgba(30, 136, 229, 0.08);
  transition: box-shadow var(--transition);
}

#navbar.scrolled { box-shadow: 0 4px 28px rgba(0,0,0,0.12); }

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 24px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; opacity: 0.85; }
.logo-icon { font-size: 26px; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-city { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); opacity: 0.75; }
.nav-logo-img { height: 70px; width: auto; object-fit: contain; display: block; mix-blend-mode: multiply; }
.hero-logo-img { height: 130px; width: auto; object-fit: contain; margin-bottom: 20px; mix-blend-mode: screen; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 100px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}
.nav-links a:hover { color: var(--blue); background: var(--blue-light); }

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-nav {
  display: none;
  list-style: none;
  flex-direction: column;
  gap: 0;
  padding: 12px 24px 16px;
  border-top: 1px solid var(--blue-light);
  border-radius: 0 0 18px 18px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--blue-light);
}
.mobile-nav li:last-child a { border-bottom: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(175deg,
      rgba(255, 251, 248, 0.40) 0%,
      rgba(255, 251, 248, 0.65) 45%,
      rgba(238, 246, 255, 0.82) 100%),
    url('../assets/images/fancycrave1-infant-821627_1920.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 140px 24px 120px;
}

/* Soft floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  top: -200px; left: -150px;
  background: radial-gradient(circle, rgba(255, 195, 165, 0.55) 0%, transparent 65%);
  filter: blur(50px);
  animation: heroOrb1 18s ease-in-out infinite;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  top: 80px; right: -150px;
  background: radial-gradient(circle, rgba(180, 220, 255, 0.50) 0%, transparent 65%);
  filter: blur(45px);
  animation: heroOrb2 22s ease-in-out infinite;
}
.hero-orb-3 {
  width: 420px; height: 420px;
  bottom: 60px; left: 25%;
  background: radial-gradient(circle, rgba(195, 240, 220, 0.45) 0%, transparent 65%);
  filter: blur(55px);
  animation: heroOrb3 16s ease-in-out infinite;
}
@keyframes heroOrb1 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(30px, 20px); }
}
@keyframes heroOrb2 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-20px, 30px); }
}
@keyframes heroOrb3 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(20px, -25px); }
}

/* WebGL canvas – unsichtbar bis JS es aktiviert (CSS-Orbs als Fallback) */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  opacity: 0;
}

/* Dot grid texture */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(160, 180, 215, 0.18) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

/* Trust badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--warm-dark);
  background: var(--warm-light);
  border: 1.5px solid rgba(255, 112, 67, 0.18);
  border-radius: 100px;
  padding: 7px 18px;
  margin-bottom: 28px;
  animation: heroBadgeIn 0.6s ease forwards;
}

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

.hero-title-main {
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -2.5px;
  animation: fadeInUp 0.7s ease 0.15s both;
}

/* Gradient span on hero headline */
.hero-title-gradient {
  background: linear-gradient(130deg, var(--warm) 0%, #FF6E8A 55%, #FF4F9E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 {
  color: var(--text);
  letter-spacing: -2.5px;
}

.hero-location {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(19px, 2.5vw, 23px);
  color: var(--text-muted);
  margin: 0 auto 40px;
  line-height: 1.8;
  max-width: 540px;
  animation: fadeInUp 0.7s ease 0.30s both;
}

/* Hero CTA row */
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
  animation: fadeInUp 0.7s ease 0.45s both;
}

/* Ghost button */
.btn-ghost {
  background: rgba(255,255,255,0.80);
  color: var(--text-muted);
  border: 2px solid var(--border);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: var(--white);
  color: var(--text);
  border-color: var(--text-light);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Social proof row */
.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
  animation: fadeInUp 0.7s ease 0.60s both;
}

.hero-avatars {
  display: flex;
  align-items: center;
}

.hero-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2.5px solid white;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: -10px;
  font-family: 'Nunito', sans-serif;
  box-shadow: 0 1px 6px rgba(0,0,0,0.10);
}

.hero-avatar:last-child { margin-right: 0; }

.hero-proof-text {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  padding-left: 18px;
  margin: 0;
}

/* Trust chips */
.hero-chips {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.75s both;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  backdrop-filter: blur(4px);
}

.hero-chip svg { color: var(--warm); flex-shrink: 0; }

/* Decorative bubbles – hidden */
.hero-illustration { display: none; }
.bubble            { display: none; }
.wave-circle       { display: none; }

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

.hero-wave {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--bg-alt);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 2;
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

/* --- Was ist DELFI --- */
.delfi-intro-wrap {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.delfi-acronym-wrap {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(30,136,229,0.10);
  border: 1px solid rgba(30,136,229,0.08);
  overflow: hidden;
  margin-bottom: 24px;
}
.delfi-intro-text {
  font-size: 18px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 36px;
}
.delfi-source {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-top: 24px;
  font-style: italic;
}

/* Akronym */
.delfi-acronym {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 8px;
}
.delfi-letter {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 28px;
  position: relative;
  flex: 1;
  max-width: 140px;
}
.delfi-letter:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(30,136,229,0.15);
}
.dl {
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue) 0%, #42a5f5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.dw {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
}

/* 4 animierte Bausteine */
.delfi-pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.delfi-pillar {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.22s ease;
  cursor: default;
}
.delfi-pillar.visible {
  opacity: 1;
  transform: translateY(0);
}
.delfi-pillar.visible:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.delfi-pillar[data-delay="1"] { transition-delay: 0.15s; }
.delfi-pillar[data-delay="2"] { transition-delay: 0.30s; }
.delfi-pillar[data-delay="3"] { transition-delay: 0.45s; }
.delfi-pillar[data-delay="4"] { transition-delay: 0.60s; }
.pillar-icon {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  color: var(--blue);
}
.delfi-pillar h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 10px;
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
}
.delfi-pillar p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 768px) {
  .delfi-pillars { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .delfi-pillars { grid-template-columns: 1fr; }
  .delfi-acronym { gap: 4px; }
  .delfi-letter { padding: 8px 12px; }
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrap {
  font-size: 36px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.feature-card p { color: var(--text-muted); font-size: 15px; }

/* ============================================================
   KURS CARD
   ============================================================ */
.kurs-card-wrapper {
  display: flex;
  justify-content: center;
}

.kurs-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow-md);
  max-width: 600px;
  width: 100%;
  position: relative;
  border-top: 5px solid var(--warm);
  overflow: hidden;
}
.kurs-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(180deg, var(--warm-light) 0%, transparent 100%);
  pointer-events: none;
}

.kurs-badge {
  display: inline-block;
  background: var(--warm);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  border-radius: 100px;
  padding: 5px 16px;
  margin-bottom: 20px;
  position: relative;
}

.kurs-title {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

.kurs-desc {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.kurs-list {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kurs-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.kurs-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.kurs-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  margin-bottom: 28px;
}

.kurs-price-amount {
  font-size: 28px;
  font-weight: 900;
  color: var(--blue-dark);
  font-family: 'Nunito', sans-serif;
}

.kurs-price-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ============================================================
   BOOKING SECTION
   ============================================================ */
.booking-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: start;
}

/* Single-column layout (kein Kalender mehr) */
.booking-layout-single {
  grid-template-columns: 1fr;
  max-width: 680px;
  margin: 0 auto;
}

/* ---- Kurs-Status Bar ---- */
.course-status-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 28px;
  margin-bottom: 36px;
}

.course-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.course-info-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.course-info-dates {
  font-size: 13px;
  color: var(--text-muted);
}

.spots-badge {
  font-size: 13px;
  font-weight: 700;
  border-radius: 100px;
  padding: 6px 16px;
  white-space: nowrap;
  flex-shrink: 0;
}
.spots-available { background: #E8F5E9; color: #2E7D32; }
.spots-limited   { background: #FFF8E1; color: #F57F17; }
.spots-full      { background: #FFEBEE; color: #C62828; }

/* ============================================================
   SCROLL-REVEAL – globale Fade-In Animation
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   DELFI-AKRONYM – animierte Karten
   ============================================================ */
.delfi-acronym-wrap {
  background: none;
  border-radius: 0;
  box-shadow: none;
  border: none;
  overflow: visible;
  margin-bottom: 24px;
}

.delfi-acronym {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 0;
}

.delfi-letter {
  background: var(--white);
  border: 1px solid rgba(30, 136, 229, 0.10);
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(30, 136, 229, 0.07);
  padding: 28px 16px 22px;
  flex: 1;
  max-width: 130px;
  text-align: center;
  opacity: 0;
  transform: translateY(32px) scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.22s ease;
  cursor: default;
}
.delfi-letter.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.delfi-letter[data-delay="1"] { transition-delay: 0.10s; }
.delfi-letter[data-delay="2"] { transition-delay: 0.20s; }
.delfi-letter[data-delay="3"] { transition-delay: 0.30s; }
.delfi-letter[data-delay="4"] { transition-delay: 0.40s; }

.delfi-letter:hover {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 10px 32px rgba(30, 136, 229, 0.30);
  transform: translateY(-4px) scale(1);
}

.delfi-letter:hover .dl {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: white;
}

.delfi-letter:hover .dw {
  color: rgba(255, 255, 255, 0.75);
}

.delfi-letter:not(:last-child)::after { display: none; }

.dl {
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(145deg, var(--blue) 0%, #64b5f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  display: block;
}

.dw {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

@media (max-width: 600px) {
  .delfi-acronym { gap: 6px; }
  .delfi-letter { padding: 18px 8px 14px; max-width: none; border-radius: 12px; }
  .dl { font-size: 36px; }
  .dw { font-size: 9px; letter-spacing: 0.5px; }
}

/* ============================================================
   KURS V4 – Zweispalten-Layout mit Info-Kacheln
   ============================================================ */
.kurs-v4 {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 4px 40px rgba(30, 136, 229, 0.09);
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
}

.kurs-v4-header {
  background: linear-gradient(135deg, var(--blue) 0%, #42a5f5 100%);
  padding: 36px 44px;
  color: white;
}

.kurs-v4-title {
  font-size: 22px;
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
}

.kurs-v4-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

.kurs-v4-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
}

.kurs-v4-dates {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
}

.kurs-v4-dates-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.kurs-v4-date-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.kurs-v4-date-list span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}

.kurs-v4-right {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.kurs-v4-tiles {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kurs-v4-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--bg);
  border-radius: 14px;
  border: 1px solid var(--border);
}

.kurs-tile-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kurs-tile-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kurs-tile-text strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

.kurs-tile-text span {
  font-size: 13px;
  color: var(--text-muted);
}

.kurs-v4-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.kurs-v4 .btn {
  align-self: flex-start;
}

@media (max-width: 640px) {
  .kurs-v4-body { grid-template-columns: 1fr; }
  .kurs-v4-dates { border-right: none; border-bottom: 1px solid var(--border); padding: 24px 24px 20px; }
  .kurs-v4-header { padding: 28px 24px; }
  .kurs-v4-right { padding: 24px; }
  .kurs-v4 .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   KURS-KARTE – ruhiges, luftiges Design (veraltet, behalten für Übergangskompatibilität)
   ============================================================ */
.course-serene-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 2px 32px rgba(30, 136, 229, 0.08);
  padding: 52px 56px;
  max-width: 560px;
  margin: 0 auto;
}

.serene-head {
  text-align: center;
  margin-bottom: 32px;
}

.serene-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.serene-subtitle {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

.serene-divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}

.serene-dates {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.serene-date {
  padding: 10px 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--bg-alt);
  display: flex;
  align-items: center;
  gap: 10px;
}

.serene-date::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  opacity: 0.5;
}

.serene-date:last-child { border-bottom: none; }

.serene-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.serene-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.serene-meta-row svg { color: var(--blue); flex-shrink: 0; opacity: 0.7; }

.serene-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 28px;
}

.serene-cta {
  text-align: center;
  margin-top: 28px;
}

@media (max-width: 600px) {
  .course-serene-card { padding: 36px 24px; }
}

/* ============================================================
   BOOKING MODAL
   ============================================================ */
.booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(26, 35, 50, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.booking-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.booking-modal {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(24px);
  transition: transform 0.25s ease;
}

.booking-overlay.active .booking-modal {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-alt);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}
.modal-close-btn:hover { background: var(--blue-light); color: var(--blue); }

.modal-header {
  margin-bottom: 28px;
  padding-right: 40px;
}

.modal-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 4px;
}

.modal-subtitle {
  font-size: 14px;
  color: var(--text-muted);
}

.course-age-hint {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.course-dates-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 16px 0;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
}

.course-date-item {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.date-num {
  color: var(--blue);
  font-weight: 800;
  min-width: 20px;
}

.course-meta-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid var(--bg-alt);
  margin-bottom: 8px;
}

.course-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.course-meta-item svg { color: var(--blue); flex-shrink: 0; }

.course-status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  border-top: 1px solid var(--bg-alt);
  padding-top: 14px;
}

@media (max-width: 640px) {
  .course-dates-grid { grid-template-columns: repeat(2, 1fr); }
  .course-meta-row { flex-direction: column; gap: 10px; }
  .course-info-card { padding: 28px 20px; }
  .booking-modal { padding: 28px 20px; }
}

.status-dot-indicator {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot-indicator.green  { background: #43A047; box-shadow: 0 0 0 3px rgba(67,160,71,0.2); }
.status-dot-indicator.yellow { background: #F9A825; box-shadow: 0 0 0 3px rgba(249,168,37,0.2); }
.status-dot-indicator.red    { background: #E53935; box-shadow: 0 0 0 3px rgba(229,57,53,0.2); }

/* ---- Warteliste ---- */
.waitlist-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #FFF8E1;
  border: 1.5px solid #FFD54F;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 28px;
}

.waitlist-icon { flex-shrink: 0; color: var(--yellow-dark); }

.waitlist-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.waitlist-intro {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Calendar ---- */
.calendar-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  position: sticky;
  top: 90px;
}

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cal-month-label {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}

.cal-btn {
  background: var(--blue-light);
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 22px;
  cursor: pointer;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  line-height: 1;
}
.cal-btn:hover { background: var(--blue-mid); }

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}
.calendar-weekdays div {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 4px 0;
}
.sat-header { color: var(--blue) !important; }

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 500;
  cursor: default;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  user-select: none;
}

.cal-day.empty { background: transparent; }

.cal-day.other { color: #ccc; }

.cal-day.disabled { color: #bbb; }

.cal-day.past { color: #bbb; }

.cal-day.available {
  background: #E8F5E9;
  color: var(--green);
  font-weight: 700;
  cursor: pointer;
}
.cal-day.available:hover {
  background: var(--green);
  color: var(--white);
  transform: scale(1.12);
}

.cal-day.booked {
  background: #FFEBEE;
  color: var(--red);
  font-weight: 700;
  cursor: not-allowed;
  text-decoration: line-through;
}

.cal-day.selected {
  background: var(--blue) !important;
  color: var(--white) !important;
  transform: scale(1.12);
  box-shadow: 0 4px 12px rgba(30,136,229,0.4);
}

.calendar-legend {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.calendar-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.legend-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.legend-dot.available { background: var(--green); }
.legend-dot.booked    { background: var(--red); }
.legend-dot.selected  { background: var(--blue); }

/* ---- Form ---- */
.form-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}

.selected-info {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 28px;
  border-left: 4px solid var(--blue);
}

.selected-info-icon { font-size: 28px; }

.selected-info-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
  margin-bottom: 2px;
}

.selected-info-value {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}

.selected-info-time {
  font-size: 14px;
  color: var(--text-muted);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid #E2EAF4;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,136,229,0.12);
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a0aab4;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A6C7D' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

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

/* ---- Honeypot (Bot-Schutz) ---- */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- Consent Checkbox ---- */
.consent-group { margin-top: 4px; }

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.consent-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blue);
  cursor: pointer;
}

.consent-label a {
  color: var(--blue);
  text-decoration: underline;
}

.form-hint {
  background: #FFF8E1;
  border: 1px solid var(--yellow-dark);
  color: #795548;
  font-size: 14px;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 16px;
}

/* ---- Success Box ---- */
.success-box {
  text-align: center;
  padding: 48px 24px;
}

.success-icon {
  width: 72px; height: 72px;
  background: #E8F5E9;
  color: var(--green);
  border-radius: 50%;
  font-size: 36px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.success-box h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}

.success-box p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.7;
}

/* ---- Pending Box (Double Opt-In) ---- */
/* ============================================================
   ANMELDUNG ERFOLG-OVERLAY
   ============================================================ */
.success-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1100;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.success-overlay.active {
  display: flex;
  animation: successFadeIn 0.3s ease forwards;
}
@keyframes successFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.success-card {
  background: #fff;
  border-radius: 24px;
  padding: 56px 40px 48px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  animation: successCardIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes successCardIn {
  from { transform: scale(0.85) translateY(24px); opacity: 0; }
  to   { transform: scale(1) translateY(0);       opacity: 1; }
}

.success-check-wrap {
  width: 88px;
  height: 88px;
  margin: 0 auto 28px;
}

.success-check-svg {
  width: 88px;
  height: 88px;
  display: block;
}

.success-check-circle {
  stroke: #22C55E;
  stroke-width: 2.5;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-linecap: round;
  animation: drawCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.2s forwards;
}
@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}

.success-check-path {
  stroke: #22C55E;
  stroke-width: 3;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: drawCheck 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.75s forwards;
}
@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

.success-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.3;
}

.success-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.success-note {
  font-size: 13px;
  color: #aaa;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ============================================================
   PENDING BOX (Warteliste / Kontakt)
   ============================================================ */
.pending-box {
  text-align: center;
  padding: 48px 24px;
}

.pending-icon {
  width: 72px; height: 72px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 50%;
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.pending-box h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}

.pending-box p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
}

.pending-note {
  font-size: 13px !important;
  margin-bottom: 28px !important;
}

/* ============================================================
   KONTAKT
   ============================================================ */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-icon { display: flex; justify-content: center; margin-bottom: 12px; color: var(--blue); }

.contact-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.contact-card p, .contact-card a {
  color: var(--text-muted);
  font-size: 15px;
}

/* ---- Kontakt Invite ---- */
.contact-invite {
  text-align: center;
  padding: 48px 24px;
}

.contact-invite-text {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Google Maps 2-Klick ---- */
.map-heading {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 16px;
  margin-bottom: 16px;
}

.map-wrap {
  margin-top: 0;
}

.map-placeholder {
  background: var(--bg-alt);
  border: 2px dashed var(--border, #D0DFF0);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
}

.map-placeholder-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue);
}

.map-placeholder p {
  color: var(--text);
  margin-bottom: 8px;
  font-size: 16px;
}

.map-privacy-note {
  font-size: 13px !important;
  color: var(--text-muted) !important;
  margin-bottom: 24px !important;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.map-privacy-note a { color: var(--blue); text-decoration: underline; }

.map-load-btn { margin-top: 8px; }

/* ============================================================
   ÜBER MICH
   ============================================================ */
.about-intro {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

.about-photo-placeholder {
  width: 220px;
  height: 260px;
  background: var(--blue-light);
  border-radius: 16px;
  border: 2px dashed var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}
.about-photo-placeholder span { font-size: 52px; }

.about-photo {
  width: 220px;
  height: 260px;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  display: block;
}

.about-intro-text h3 {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 16px;
}
.about-intro-text p {
  color: var(--text-muted);
  line-height: 1.85;
  font-size: 16px;
  margin-bottom: 14px;
}

.about-timeline-wrap {
  margin-top: 48px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 36px;
  box-shadow: var(--shadow);
}

.about-timeline-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue-light);
}

.about-timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-timeline li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}
.about-timeline li strong { color: var(--text); }

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 5px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  gap: 16px;
  transition: color var(--transition), background var(--transition);
  border-radius: var(--radius) var(--radius) 0 0;
}
.faq-item:not([open]) .faq-question:hover {
  color: var(--blue);
  background: var(--bg);
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-item[open] .faq-question {
  border-bottom: 1px solid var(--border);
}

.faq-answer {
  padding: 16px 24px 20px;
}

.faq-answer p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 15px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(135deg, #1A2332 0%, #1E3A5F 100%);
  color: rgba(255,255,255,0.7);
  padding: 32px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}

.footer-copy { font-size: 14px; }

/* ---- Social Icons (Footer) ---- */
.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transition: transform var(--transition), opacity var(--transition);
  opacity: 0.85;
}

.social-btn:hover { transform: scale(1.12); opacity: 1; }

.social-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #fff;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }
  .calendar-panel {
    position: static;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .hero { padding: 110px 20px 100px; }
  .hero-proof { flex-direction: column; gap: 10px; }
  .hero-proof-text { padding-left: 0; }
  .hero-chip { font-size: 12px; padding: 5px 11px; }
  .hero-illustration { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .about-photo-placeholder { width: 100%; height: 220px; }
  .about-timeline-wrap { padding: 24px 20px; }
  .kurs-card { padding: 28px 20px; }
  .form-panel { padding: 24px 16px; }
  .contact-cards { grid-template-columns: 1fr; }
  .map-placeholder { padding: 32px 16px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .delfi-pillar {
    opacity: 1;
    transform: none;
  }
  html { scroll-behavior: auto; }
}
