/* ============================================================
   SPORTBOOTSCHULE JURA-ALTMÜHLTAL — Ocean Design System v2
   Maritime · Modern · Conversion-Focused
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── Design Tokens — OCEAN PALETTE ── */
:root {
  /* Ocean blues */
  --navy: #0a2540;            /* deep ocean night */
  --navy-light: #132e54;
  --ocean: #0077b6;           /* main ocean */
  --ocean-deep: #023e8a;
  --ocean-mid: #0096c7;
  --sky: #00b4d8;             /* aqua accent */
  --sky-light: #48cae4;
  --foam: #90e0ef;
  --seafoam: #caf0f8;         /* very light aqua */

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f0f9ff;       /* new: aqua-tinted */
  --cream: #f8fbfd;
  --light-gray: #dbeafe;
  --medium-gray: #94a3b8;
  --dark-gray: #475569;

  /* Warm contrast — used only for CTAs & highlights */
  --orange: #ff6b35;
  --orange-light: #ff9e5e;
  --orange-dark: #d94e16;

  /* States */
  --green: #059669;
  --green-light: #ecfdf5;
  --red: #dc2626;
  --red-light: #fef2f2;
  --yellow-light: #fffbeb;

  /* Glass */
  --glass-bg: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.16);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Layout */
  --section-pad: clamp(64px, 8vw, 120px);
  --container: 1280px;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(10,37,64,0.06);
  --shadow-md: 0 4px 24px rgba(10,37,64,0.08);
  --shadow-lg: 0 12px 48px rgba(10,37,64,0.12);
  --shadow-xl: 0 20px 60px rgba(10,37,64,0.18);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; border: none; outline: none; }

/* ── Utilities ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.section-pad { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-off-white { background: var(--off-white); }
.bg-cream { background: var(--cream); }
.bg-seafoam { background: var(--seafoam); }
.text-center { text-align: center; }

/* ── Typography ── */
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

.section-label {
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px; color: var(--ocean);
  margin-bottom: 14px; display: block;
}
.section-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.12rem); color: var(--dark-gray);
  max-width: 620px; margin: 14px auto 0; line-height: 1.85;
}
.section-header { text-align: center; margin-bottom: clamp(40px, 6vw, 70px); }

/* ── ICON SYSTEM ── */
.si-icon {
  width: 1em; height: 1em; display: inline-block;
  vertical-align: -0.125em; flex-shrink: 0;
  color: inherit;
}
.si-icon-img {
  width: 1em; height: 1em;
  object-fit: contain;
  vertical-align: -0.125em;
}
.si-icon-lg { width: 1.6em; height: 1.6em; }
.si-icon-xl { width: 2.4em; height: 2.4em; }
.si-icon-2xl { width: 3.2em; height: 3.2em; }

/* Icon-Container (farbige Kreis-/Rechteck-Hintergründe) */
.icon-circle {
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--ocean));
  color: var(--white); display: inline-flex;
  align-items: center; justify-content: center; font-size: 1.4rem;
  flex-shrink: 0;
}
.icon-square {
  width: 54px; height: 54px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--sky), var(--ocean));
  color: var(--white); display: inline-flex;
  align-items: center; justify-content: center; font-size: 1.4rem;
  flex-shrink: 0;
}
.icon-soft {
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0,180,216,0.14), rgba(0,119,182,0.06));
  color: var(--ocean); display: inline-flex;
  align-items: center; justify-content: center; font-size: 1.15rem;
  flex-shrink: 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 34px; border-radius: 60px; font-weight: 600;
  font-size: 0.95rem; transition: all 0.4s var(--ease);
  letter-spacing: 0.3px; white-space: nowrap;
}
.btn-primary {
  background: var(--orange); color: var(--white);
  box-shadow: 0 4px 20px rgba(255,107,53,0.35);
}
.btn-primary:hover {
  background: var(--orange-dark); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,107,53,0.45);
}
.btn-ocean {
  background: var(--ocean); color: var(--white);
  box-shadow: 0 4px 20px rgba(0,119,182,0.3);
}
.btn-ocean:hover { background: var(--ocean-deep); transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-outline-dark { border: 2px solid var(--navy); color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 10px 22px; font-size: 0.88rem; }
.btn-ghost { color: var(--ocean); font-weight: 600; padding: 8px 0; }
.btn-ghost:hover { color: var(--ocean-deep); }
.btn-arrow::after { content: '→'; transition: transform 0.3s var(--ease); }
.btn-arrow:hover::after { transform: translateX(5px); }
.btn-danger { background: var(--red); color: var(--white); }
.btn-danger:hover { background: #b91c1c; }
.btn:disabled { opacity: 0.5; pointer-events: none; }

/* ── NAVBAR ── */
.navbar {
  position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important;
  width: 100% !important; transform: none !important;
  padding: 16px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
  z-index: 1000;
}
.navbar.scrolled {
  background: var(--navy);
  padding: 10px 0;
}
.navbar.solid {
  background: var(--navy);
  padding: 10px 0;
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--container);
  margin: 0 auto; padding: 0 24px;
}

/* Logo (mit Bild) */
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: #fff; font-weight: 700;
  font-size: 1.05rem; font-family: var(--font-body);
  white-space: nowrap; flex-shrink: 0;
}
.nav-logo-img {
  width: 44px; height: 44px; object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-text small {
  font-size: 0.7rem; font-weight: 400; opacity: 0.75; letter-spacing: 0.5px;
}

/* Navigation Links */
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: rgba(255,255,255,0.78); text-decoration: none;
  font-size: 0.92rem; font-weight: 500; font-family: var(--font-body);
  transition: color 0.25s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }

.nav-cta {
  background: var(--orange) !important; color: #fff !important;
  padding: 8px 20px !important; border-radius: 10px;
  font-weight: 600 !important; transition: background 0.25s, transform 0.25s;
}
.nav-cta:hover { background: var(--orange-dark) !important; transform: translateY(-1px); }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 4px; z-index: 1001;
}
.nav-toggle span {
  display: block; width: 24px; height: 2.5px; background: #fff;
  border-radius: 2px; transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(145deg, var(--navy), var(--ocean-deep) 45%, var(--ocean));
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 85%, rgba(0,180,216,0.18), transparent 50%),
    radial-gradient(circle at 85% 15%, rgba(255,107,53,0.08), transparent 40%),
    linear-gradient(145deg, rgba(10,37,64,0.7), rgba(0,119,182,0.4) 50%, rgba(10,37,64,0.65));
}
.hero-wave {
  position: absolute; bottom: -2px; left: 0; right: 0; z-index: 3;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: auto; display: block; }

/* Bubbles (Blubber-Effekt) */
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-particles span {
  position: absolute; width: 4px; height: 4px;
  background: radial-gradient(circle, rgba(144,224,239,0.9), rgba(144,224,239,0.2));
  border-radius: 50%;
  animation: bubbleUp linear infinite;
  box-shadow: 0 0 6px rgba(144,224,239,0.5);
}
@keyframes bubbleUp {
  0%   { transform: translateY(100vh) scale(0) translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  50%  { transform: translateY(50vh) scale(1) translateX(15px); }
  90%  { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1.3) translateX(-10px); opacity: 0; }
}

.hero .container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; padding-top: 110px; padding-bottom: 80px;
}

.hero-content { animation: fadeUp 0.9s var(--ease) 0.15s both; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,180,216,0.14); border: 1px solid rgba(0,180,216,0.3);
  color: var(--foam); padding: 7px 18px; border-radius: 60px;
  font-size: 0.82rem; font-weight: 600; margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.hero-badge .si-icon { color: var(--foam); }
.hero h1 { color: var(--white); margin-bottom: 20px; font-weight: 800; }
.hero h1 em { font-style: italic; color: var(--foam); }
.hero-text {
  color: rgba(255,255,255,0.8); font-size: clamp(1rem,1.5vw,1.12rem);
  margin-bottom: 34px; max-width: 520px; line-height: 1.9;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
  display: flex; gap: 40px; margin-top: 44px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat h3 { color: var(--foam); font-size: 2rem; }
.hero-stat p { color: rgba(255,255,255,0.6); font-size: 0.83rem; margin-top: 2px; }

.hero-visual { animation: fadeUp 0.9s var(--ease) 0.4s both; position: relative; }
.hero-card {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: 24px; padding: 36px;
}
.hero-card-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--sky), var(--ocean));
  border-radius: 16px; display: flex; align-items: center;
  justify-content: center; font-size: 1.8rem;
  color: #fff; margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0,180,216,0.3);
}
.hero-card h3 { color: var(--white); margin-bottom: 10px; }
.hero-card p { color: rgba(255,255,255,0.65); font-size: 0.93rem; }
.hero-card-list { margin-top: 18px; }
.hero-card-list li {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.78); padding: 7px 0; font-size: 0.93rem;
}
.hero-card-list li::before { content: '✓'; color: var(--foam); font-weight: 700; }

.hero-floating {
  position: absolute; background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px; padding: 10px 16px; display: flex;
  align-items: center; gap: 8px; animation: floatBob 4s ease-in-out infinite;
  color: #fff; font-size: 0.82rem; font-weight: 500;
}
.hero-floating .si-icon { color: var(--foam); font-size: 1rem; }
.hero-floating.f1 { top: -16px; right: -16px; }
.hero-floating.f2 { bottom: -8px; left: -24px; animation-delay: 1.8s; }
.hero-floating-dot {
  width: 9px; height: 9px; background: #4ade80; border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes floatBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes pulseDot { 0%,100% { opacity: 1; } 50% { opacity: 0.4; transform: scale(1.4); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

/* ── PAGE HERO (kleinere Hero für Unterseiten) ── */
.page-hero {
  background: linear-gradient(145deg, var(--navy), var(--ocean-deep) 60%, var(--ocean));
  color: #fff; padding: 150px 0 70px; text-align: center; position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(0,180,216,0.18), transparent 50%);
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ── COURSES ── */
.courses-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.course-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--light-gray);
  transition: all 0.45s var(--ease);
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.course-card-image {
  height: 180px; position: relative; display: flex;
  align-items: center; justify-content: center;
  color: #fff; font-size: 3rem;
  background: linear-gradient(135deg, var(--ocean-deep), var(--ocean));
  overflow: hidden;
}
.course-card-image .si-icon { width: 3rem; height: 3rem; color: rgba(255,255,255,0.95); }
.course-card-image .si-icon-img { width: 3rem; height: 3rem; }

/* ---- ITEM-HERO-COVER (Full-Fill Bilder in Karten) ---- */
.course-card-image .item-hero-cover,
.feature-icon .item-hero-cover,
.about-value-icon .item-hero-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
.item-hero-icon-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.course-card-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--orange); color: #fff;
  padding: 4px 12px; border-radius: 60px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1px;
}
.course-card-body { padding: 26px; }
.course-card-body h3 { margin-bottom: 8px; font-size: 1.25rem; }
.course-card-body > p {
  color: var(--dark-gray); font-size: 0.93rem;
  line-height: 1.75; margin-bottom: 14px;
}
.course-card-meta {
  display: flex; flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem; color: var(--dark-gray); margin-bottom: 18px;
}
.course-card-meta span {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--seafoam); padding: 4px 10px; border-radius: var(--radius-xs);
}
.course-card-meta span .si-icon { color: var(--ocean); }
.course-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; border-top: 1px solid var(--light-gray);
}
.course-price {
  font-family: var(--font-display); font-size: 1.5rem; color: var(--navy);
  font-weight: 700; line-height: 1;
}
.course-price small { display: block; font-size: 0.7rem; color: var(--medium-gray); font-weight: 400; }

/* ── FEATURE GRID (Werte / Vorteile) ── */
/* OLD feature-card styles removed – canonical block is below (line ~2752+) */

/* ── REVIEWS ── */
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.review-card {
  background: var(--white); padding: 32px;
  border-radius: var(--radius); border: 1px solid var(--light-gray);
  position: relative; transition: all 0.4s var(--ease);
}
.review-card:hover { box-shadow: var(--shadow-md); border-color: var(--sky); }
.review-quote {
  position: absolute; top: 16px; right: 24px; font-size: 3.5rem;
  color: var(--seafoam); font-family: var(--font-display); line-height: 1;
}
.review-stars { color: var(--orange); font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 14px; }
.review-text { font-size: 1.02rem; line-height: 1.8; color: var(--navy); margin-bottom: 22px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 46px; height: 46px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; color: var(--white);
  font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: 0.93rem; }
.review-course { color: var(--dark-gray); font-size: 0.82rem; }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--light-gray); border-radius: var(--radius-sm);
  margin-bottom: 10px; overflow: hidden; transition: border-color 0.3s;
  background: #fff;
}
.faq-item:hover { border-color: var(--sky); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 26px; cursor: pointer; font-weight: 600;
  font-size: 1.02rem; gap: 16px; width: 100%; text-align: left;
}
.faq-question:hover { background: var(--off-white); }
.faq-icon {
  width: 26px; height: 26px; border-radius: 50%; background: var(--seafoam);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease); flex-shrink: 0; font-size: 1.15rem;
  color: var(--ocean); font-weight: 700;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--ocean); color: var(--white); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-answer-inner { padding: 0 26px 20px; color: var(--dark-gray); line-height: 1.8; font-size: 0.95rem; }
.faq-answer-inner p { margin-bottom: 10px; }
.faq-answer-inner strong { color: var(--navy); }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--ocean-deep)); border-radius: 28px;
  padding: clamp(40px, 6vw, 72px); text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(0,180,216,0.18), transparent 60%),
    radial-gradient(circle at 75% 50%, rgba(255,107,53,0.1), transparent 55%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.72); margin-bottom: 30px; font-size: 1.08rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ── SIGNAL CARD → jetzt wie normale Kurskarte dargestellt, KEINE Sonder-Styles mehr ── */
/* (wird im index.php als normale .course-card gerendert; diese Klasse bleibt nur Fallback) */
.signal-card {
  background: linear-gradient(135deg, var(--navy), var(--ocean)); color: var(--white);
  border-radius: var(--radius); padding: 40px; text-align: center;
}
.signal-card h3 { color: var(--white); margin-bottom: 10px; }
.signal-card p { color: rgba(255,255,255,0.7); margin-bottom: 22px; max-width: 500px; margin-inline: auto; }

/* ── FORMS ── */
.form-card {
  background: var(--white); border-radius: 24px; padding: 38px;
  box-shadow: var(--shadow-md); border: 1px solid var(--light-gray);
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 7px; }
.form-group label .req { color: var(--orange); }
.form-control {
  width: 100%; padding: 13px 16px; border: 2px solid var(--light-gray);
  border-radius: var(--radius-sm); font-size: 0.95rem; transition: all 0.3s;
  background: var(--off-white); color: var(--navy);
}
.form-control:focus { border-color: var(--ocean); background: var(--white); box-shadow: 0 0 0 4px rgba(0,119,182,0.1); }
.form-control.error { border-color: var(--red); background: var(--red-light); }
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control {
  appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23475569' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-error-text { color: var(--red); font-size: 0.8rem; margin-top: 4px; display: none; }
.form-group.has-error .form-error-text { display: block; }
.form-group.has-error .form-control { border-color: var(--red); }

/* ── ALERT ── */
.alert {
  padding: 14px 20px; border-radius: var(--radius-sm);
  font-weight: 500; font-size: 0.93rem; margin-bottom: 16px;
}
.alert-success { background: var(--green-light); color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: var(--red-light); color: #991b1b; border: 1px solid #fecaca; }
.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* ── TERMINE TABLE ── */
.termine-wrap {
  overflow-x: auto; border-radius: var(--radius-sm);
  border: 1px solid var(--light-gray); box-shadow: var(--shadow-md);
  background: #fff;
}
.termine-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.termine-table thead { background: var(--navy); color: var(--white); }
.termine-table th {
  padding: 14px 22px; text-align: left; font-weight: 600;
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px;
}
.termine-table td { padding: 16px 22px; border-bottom: 1px solid var(--light-gray); font-size: 0.93rem; }
.termine-table tbody tr:hover { background: var(--off-white); }
.termine-table tbody tr:last-child td { border-bottom: none; }
.status-badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 12px;
  border-radius: 60px; font-size: 0.78rem; font-weight: 600;
}
.status-available { background: var(--green-light); color: #065f46; }
.status-few { background: var(--yellow-light); color: #92400e; }
.status-full { background: var(--red-light); color: #991b1b; }

/* ── BLOG ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.blog-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--light-gray); transition: all 0.4s var(--ease);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--sky); }
.blog-card-image {
  height: 195px; overflow: hidden; display: flex;
  align-items: center; justify-content: center; font-size: 2.5rem; color: #fff;
}
.blog-card-image .si-icon { width: 2.5rem; height: 2.5rem; }
.blog-card-body { padding: 26px; }
.blog-card-cat {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; color: var(--ocean);
  margin-bottom: 6px;
}
.blog-card-body h3 { margin-bottom: 8px; font-size: 1.15rem; }
.blog-card-body > p { color: var(--dark-gray); font-size: 0.93rem; line-height: 1.7; }
.blog-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.blog-card-date { color: var(--medium-gray); font-size: 0.82rem; }
.blog-card-link { color: var(--ocean); font-weight: 600; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 4px; }
.blog-card-link:hover { gap: 8px; }

.blog-post-full { max-width: 780px; margin: 0 auto; }
.blog-post-full h1 { margin-bottom: 12px; }
.blog-post-meta { color: var(--dark-gray); margin-bottom: 28px; font-size: 0.93rem; }
.blog-post-content { font-size: 1.05rem; line-height: 1.9; }
.blog-post-content p { margin-bottom: 18px; }
.blog-post-content h2, .blog-post-content h3 { margin-top: 32px; margin-bottom: 14px; }
.blog-post-content a { color: var(--ocean); text-decoration: underline; }
.blog-post-content ul { list-style: disc; margin-left: 24px; margin-bottom: 18px; }
.blog-post-content ol { list-style: decimal; margin-left: 24px; margin-bottom: 18px; }
.blog-post-content strong { color: var(--navy); }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 26px; align-items: flex-start; }
.contact-info-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, rgba(0,180,216,0.15), rgba(0,119,182,0.05));
  border-radius: var(--radius-sm); display: flex; align-items: center;
  justify-content: center; color: var(--ocean); font-size: 1.15rem; flex-shrink: 0;
}
.contact-info-icon .si-icon { width: 1.3rem; height: 1.3rem; }
.contact-info-icon .si-icon-img { width: 1.5rem; height: 1.5rem; }
.contact-info-text h4 { font-size: 0.98rem; margin-bottom: 3px; }
.contact-info-text p { color: var(--dark-gray); font-size: 0.93rem; }
.contact-info-text a { color: var(--ocean); }
.contact-info-text a:hover { color: var(--ocean-deep); }

.map-container {
  border-radius: var(--radius); overflow: hidden; height: 380px;
  margin-top: 40px; box-shadow: var(--shadow-md); border: 1px solid var(--light-gray);
  background: var(--seafoam); /* Fallback bei deaktivierten Cookies */
  position: relative;
}
.map-container iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-consent {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 24px; background: linear-gradient(135deg, var(--seafoam), var(--foam));
  color: var(--navy);
}
.map-consent p { max-width: 420px; margin-bottom: 16px; font-size: 0.95rem; line-height: 1.7; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-image {
  border-radius: 24px; height: 400px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.05rem; opacity: 0.95;
  background: linear-gradient(135deg, var(--navy), var(--ocean));
  position: relative; overflow: hidden;
}
.about-image .owner-name {
  position: absolute; bottom: 20px; left: 20px;
  background: rgba(0,0,0,0.5); padding: 6px 14px; border-radius: 8px;
  font-size: 0.85rem; backdrop-filter: blur(4px);
}
.about-values {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 22px; margin-top: 28px;
}
.about-value {
  text-align: center; padding: 26px 18px;
  border-radius: var(--radius-sm); background: var(--white);
  border: 1px solid var(--light-gray);
  transition: all 0.3s var(--ease);
}
.about-value:hover { border-color: var(--sky); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.about-value-icon {
  width: 64px; height: 64px; margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--sky-light), var(--ocean));
  color: #fff; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  position: relative;
  overflow: hidden;
}
.about-value-icon .si-icon { width: 1.6rem; height: 1.6rem; }
.about-value-icon .si-icon-img { width: 1.8rem; height: 1.8rem; }
.about-value h4 { margin-bottom: 6px; font-size: 1rem; }
.about-value p { color: var(--dark-gray); font-size: 0.88rem; }

/* ── PARTNERS ── */
.partners-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.partner-card {
  background: var(--white); border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm); padding: 26px; text-align: center;
  transition: all 0.3s var(--ease); display: flex; flex-direction: column; align-items: center;
}
.partner-card:hover { border-color: var(--sky); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.partner-logo {
  width: 120px; height: 80px; object-fit: contain;
  margin-bottom: 16px;
}
.partner-placeholder {
  width: 120px; height: 80px; background: var(--seafoam);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--ocean); font-size: 2rem; margin-bottom: 16px;
}
.partner-card h4 { font-size: 1rem; margin-bottom: 8px; }
.partner-card p { font-size: 0.88rem; color: var(--dark-gray); line-height: 1.6; margin-bottom: 12px; }
.partner-card a { color: var(--ocean); font-size: 0.85rem; font-weight: 600; margin-top: auto; }

/* ── BOOKING PAGE ── */
.booking-hero {
  background: linear-gradient(135deg, var(--navy), var(--ocean-deep)); color: var(--white);
  padding: clamp(140px, 18vw, 200px) 0 60px; text-align: center;
}
.booking-form-section { margin-top: -50px; position: relative; z-index: 2; }
.booking-card {
  max-width: 720px; margin: 0 auto; background: var(--white);
  border-radius: 24px; padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-xl); border: 1px solid var(--light-gray);
}
.booking-course-select {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px; margin-bottom: 22px;
}
.booking-course-chip {
  padding: 10px 14px; border: 2px solid var(--light-gray); border-radius: var(--radius-xs);
  text-align: center; font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: all 0.3s var(--ease); background: #fff;
}
.booking-course-chip:hover { border-color: var(--ocean); color: var(--ocean); }
.booking-course-chip.selected {
  border-color: var(--ocean); background: rgba(0,119,182,0.08); color: var(--ocean);
}

/* ── ADMIN PANEL ── */
.admin-login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--ocean-deep)); padding: 20px;
}
.admin-login-card {
  background: var(--white); border-radius: 24px; padding: 44px;
  width: 100%; max-width: 420px; box-shadow: var(--shadow-xl);
}
.admin-layout { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-sidebar {
  background: var(--navy); color: var(--white); padding: 24px 0;
  display: flex; flex-direction: column;
}
.admin-sidebar-brand {
  padding: 0 24px 24px; border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
}
.admin-sidebar-brand img {
  width: 38px; height: 38px; object-fit: contain;
}
.admin-nav { flex: 1; }
.admin-nav-item {
  display: flex; align-items: center; gap: 10px; padding: 12px 24px;
  color: rgba(255,255,255,0.65); font-size: 0.9rem; font-weight: 500;
  cursor: pointer; transition: all 0.3s; width: 100%; text-align: left;
  text-decoration: none;
}
.admin-nav-item:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.admin-nav-item.active {
  color: var(--white); background: rgba(0,180,216,0.16);
  border-right: 3px solid var(--sky);
}
.admin-nav-item .nav-icon {
  font-size: 1.1rem; width: 24px; text-align: center;
  display: inline-flex; align-items: center; justify-content: center;
}
.admin-nav-item .nav-icon .si-icon,
.admin-nav-item .nav-icon .si-icon-img { width: 20px; height: 20px; }
.admin-logout {
  padding: 16px 24px; border-top: 1px solid rgba(255,255,255,0.1); margin-top: auto;
}
.admin-main { background: var(--off-white); overflow-y: auto; }
.admin-topbar {
  background: var(--white); border-bottom: 1px solid var(--light-gray);
  padding: 16px 32px; display: flex; justify-content: space-between;
  align-items: center; position: sticky; top: 0; z-index: 10;
}
.admin-topbar h2 { font-size: 1.3rem; display: inline-flex; align-items: center; gap: 10px; }
.admin-body { padding: 28px 32px; max-width: 1100px; }
.admin-card {
  background: var(--white); border-radius: var(--radius-sm); padding: 28px;
  margin-bottom: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--light-gray);
}
.admin-card h3 {
  margin-bottom: 18px; font-size: 1.1rem; display: flex;
  align-items: center; gap: 8px; padding-bottom: 14px;
  border-bottom: 1px solid var(--light-gray);
}
.admin-list-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; border: 1px solid var(--light-gray);
  border-radius: var(--radius-xs); margin-bottom: 8px;
  transition: background 0.2s; flex-wrap: wrap; gap: 10px;
  background: #fff;
}
.admin-list-item:hover { background: var(--off-white); }
.admin-list-item h4 {
  font-size: 0.95rem; font-family: var(--font-body); font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
}
.admin-list-item h4 .si-icon,
.admin-list-item h4 .si-icon-img { width: 1.2em; height: 1.2em; color: var(--ocean); }
.admin-list-item .meta { font-size: 0.8rem; color: var(--dark-gray); }
.admin-actions { display: flex; gap: 6px; }
.admin-btn {
  padding: 7px 14px; border-radius: var(--radius-xs); font-size: 0.82rem;
  font-weight: 600; transition: all 0.2s; border: 1px solid transparent;
  display: inline-flex; align-items: center; gap: 5px;
}
.admin-btn-edit { background: var(--off-white); color: var(--navy); border-color: var(--light-gray); }
.admin-btn-edit:hover { background: var(--light-gray); }
.admin-btn-delete { background: var(--red-light); color: var(--red); border-color: #fecaca; }
.admin-btn-delete:hover { background: #fee2e2; }
.admin-btn-save { background: var(--orange); color: var(--white); }
.admin-btn-save:hover { background: var(--orange-dark); }
.admin-editor {
  display: none; margin-top: 18px; padding-top: 18px;
  border-top: 1px solid var(--light-gray);
}
.admin-editor.open { display: block; }
.admin-editor textarea { width: 100%; min-height: 180px; }
.admin-editor-actions { display: flex; gap: 8px; margin-top: 14px; justify-content: flex-end; }
.admin-mobile-toggle {
  display: none; background: transparent; color: var(--navy);
  padding: 6px 10px; font-size: 1.4rem; border: 0; line-height: 1; cursor: pointer;
}
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
.status-dot.published { background: var(--green); }
.status-dot.draft { background: var(--medium-gray); }

/* Image upload widget (im Admin) */
.img-upload-widget {
  display: flex; gap: 14px; align-items: center;
  padding: 14px; background: var(--off-white); border: 2px dashed var(--light-gray);
  border-radius: var(--radius-sm); margin-bottom: 10px;
}
.img-upload-widget:hover { border-color: var(--sky); background: var(--seafoam); }
.img-upload-preview {
  width: 80px; height: 80px; border-radius: 8px; background: #fff;
  border: 1px solid var(--light-gray); display: flex; align-items: center;
  justify-content: center; object-fit: contain; flex-shrink: 0;
  color: var(--medium-gray); font-size: 0.78rem; text-align: center; padding: 4px;
}
.img-upload-preview img { width: 100%; height: 100%; object-fit: contain; }
.img-upload-info { flex: 1; }
.img-upload-info strong { display: block; font-size: 0.92rem; color: var(--navy); margin-bottom: 3px; }
.img-upload-info small { display: block; font-size: 0.78rem; color: var(--dark-gray); }
.img-upload-info input[type="file"] { margin-top: 8px; font-size: 0.82rem; }
.img-upload-actions { display: flex; flex-direction: column; gap: 4px; }

/* ── FOOTER ── */
.footer { background: var(--navy); color: rgba(255,255,255,0.65); padding: 56px 0 28px; }
.footer .nav-logo-img { filter: none; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-brand p { margin-top: 14px; font-size: 0.88rem; line-height: 1.7; max-width: 300px; }
.footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 14px; font-family: var(--font-body); font-weight: 600; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.footer-links a:hover { color: var(--foam); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--foam); }

/* ── SCROLL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(28px); transition: all 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.4s; }
.reveal-d6 { transition-delay: 0.48s; }

/* ── LEGAL CONTENT ── */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { margin-top: 36px; margin-bottom: 14px; font-size: 1.4rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin-top: 22px; margin-bottom: 10px; font-size: 1.15rem; color: var(--ocean); }
.legal-content p { color: var(--dark-gray); line-height: 1.85; margin-bottom: 12px; }
.legal-content a { color: var(--ocean); text-decoration: underline; }
.legal-content ul { list-style: disc; margin-left: 24px; margin-bottom: 14px; }
.legal-content li { color: var(--dark-gray); line-height: 1.85; }

/* ── SPINNER / TOAST ── */
.spinner {
  width: 18px; height: 18px; border: 3px solid rgba(255,255,255,0.3);
  border-top-color: var(--white); border-radius: 50%;
  animation: spin 0.6s linear infinite; display: inline-block; vertical-align: middle;
}
.spinner-dark { border-color: var(--light-gray); border-top-color: var(--ocean); }
@keyframes spin { to { transform: rotate(360deg); } }

.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 10000; display: flex; flex-direction: column; gap: 8px; }
.toast { padding: 14px 22px; border-radius: var(--radius-sm); color: var(--white); font-weight: 500; font-size: 0.9rem; box-shadow: var(--shadow-xl); animation: slideInRight 0.4s var(--ease); max-width: 380px; }
.toast-success { background: var(--green); }
.toast-error { background: var(--red); }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── APPOINTMENTS GRID (booking) ── */
.appointment-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 20px 0; }
.appointment-slot {
  border: 2px solid var(--light-gray); border-radius: 12px;
  padding: 16px; cursor: pointer; transition: all 0.3s;
  text-align: center; background: #fff;
}
.appointment-slot:hover { border-color: var(--ocean); transform: translateY(-2px); }
.appointment-slot.selected, .appointment-slot:has(input:checked) {
  border-color: var(--ocean); background: rgba(0,119,182,0.08);
}
.apt-date { font-weight: 700; font-size: 1rem; margin-bottom: 4px; color: var(--navy); }
.apt-time { color: var(--dark-gray); font-size: 0.85rem; }
.apt-course { font-size: 0.78rem; color: var(--ocean); font-weight: 600; margin-top: 4px; }
.apt-spots { font-size: 0.75rem; color: var(--medium-gray); margin-top: 2px; }

/* ── IMAGE GRID (media library) ── */
.image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.image-item {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--light-gray);
  transition: all 0.3s; background: #fff;
}
.image-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.image-item img { width: 100%; height: 120px; object-fit: cover; }
.image-item-info { padding: 10px; font-size: 0.78rem; color: var(--dark-gray); }
.image-item-actions { padding: 0 10px 10px; display: flex; gap: 4px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 1; }
  .hero-visual { order: 2; max-width: 460px; margin: 0 auto; }
  .hero-text { margin: 0 auto 34px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar {
    position: fixed; left: -260px; top: 0; bottom: 0; width: 250px;
    z-index: 100; transition: left 0.3s var(--ease);
  }
  .admin-sidebar.open { left: 0; }
  .admin-mobile-toggle { display: block; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none; position: fixed; inset: 0;
    background: var(--navy); backdrop-filter: none;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 22px; z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.15rem; color: var(--white); }
  .nav-toggle { display: flex; }
  .hero-floating { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 22px; }
  .courses-grid, .blog-grid, .reviews-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .booking-course-select { grid-template-columns: repeat(2, 1fr); }
  .appointment-grid { grid-template-columns: 1fr; }
  .image-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-logo-text { display: none; }
}
@media (max-width: 480px) {
  .btn { padding: 13px 26px; font-size: 0.88rem; }
  .hero-card { padding: 26px; }
  .form-card { padding: 22px; }
  .booking-card { padding: 22px; }
  .course-card-body { padding: 20px; }
  .admin-body { padding: 16px; }
  .admin-card { padding: 18px; }
  .image-grid { grid-template-columns: 1fr; }
}

/* ── PRINT ── */
@media print {
  .navbar, .footer, .cc-banner, .hero-wave, .hero-particles,
  .hero-buttons, .cta-banner, .admin-sidebar { display: none !important; }
}

/* ============================================================
   PATCH v1.1 — Logo auf allen Unterseiten + Erweiterte Effekte
   ============================================================ */

/* Page-Hero mit Logo prominent */
.page-hero-with-logo { padding-top: 160px; padding-bottom: 60px; }
.page-hero-logo {
    width: 140px; height: 140px; object-fit: contain;
    margin: 0 auto 18px;
    display: block;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
    animation: logoFloat 5s ease-in-out infinite;
}
.page-hero-logo-sm { width: 80px; height: 80px; margin-bottom: 10px; }
@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(-1.5deg); }
    50%       { transform: translateY(-10px) rotate(1.5deg); }
}

@media (max-width: 768px) {
    .page-hero-with-logo { padding-top: 130px; padding-bottom: 40px; }
    .page-hero-logo { width: 90px; height: 90px; margin-bottom: 14px; }
    .page-hero-logo-sm { width: 60px; height: 60px; }
}

/* Hero: transparente Nav (wenn solidNav=false) */
.navbar:not(.solid):not(.scrolled) {
    background: transparent !important;
}

/* Bessere Scroll-Reveal (etwas "springender") */
.reveal {
    opacity: 0;
    transform: translateY(32px) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Course Cards: hover etwas dynamischer */
.course-card { transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease; }
.course-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: var(--shadow-xl);
}
.course-card-image { transition: all 0.45s ease; overflow: hidden; }
.course-card:hover .course-card-image .si-icon,
.course-card:hover .course-card-image .si-icon-img {
    transform: scale(1.1) rotate(-5deg);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Feature-Card: pulse auf icon beim hover */
/* feature-card transition: see canonical block */
.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(6deg);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Button Hover: glow-Effekt */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}
.btn-primary:hover::before { left: 100%; }

/* Section-Label bekommt einen sanften Pulse */
.section-label::before {
    content: '';
    display: inline-block;
    width: 8px; height: 8px;
    background: var(--sky);
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    animation: labelPulse 2s ease-in-out infinite;
}
@keyframes labelPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.4); opacity: 0.5; }
}

/* CTA-Banner mit subtiler Bewegung */
.cta-banner::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(0,180,216,0.08) 0%, transparent 50%);
    animation: ctaGlow 8s ease-in-out infinite;
    pointer-events: none;
}
@keyframes ctaGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(10%, -10%) scale(1.2); }
}

/* FAQ open animation smoother */
.faq-item { transition: border-color 0.3s, box-shadow 0.3s; }
.faq-item.open {
    border-color: var(--sky);
    box-shadow: 0 8px 24px rgba(0,119,182,0.12);
}

/* Glow im Hero für das zentrale Card-Element */
.hero-card {
    position: relative;
    animation: cardGlow 4s ease-in-out infinite;
}
@keyframes cardGlow {
    0%, 100% { box-shadow: 0 20px 60px rgba(0,180,216,0.15), 0 0 0 1px rgba(255,255,255,0.1); }
    50%       { box-shadow: 0 30px 80px rgba(0,180,216,0.3), 0 0 0 1px rgba(144,224,239,0.3); }
}

/* Hero statistics hover */
.hero-stat h3 {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}
.hero-stat:hover h3 { transform: scale(1.15); }

/* Parallax-ähnlicher Effekt beim Header bei gescrolltem Nav */
.navbar.scrolled .nav-logo-img {
    transform: scale(0.9);
    transition: transform 0.3s ease;
}


/* ============================================================
   PATCH v2 — Icon-Upload-Widgets, FAQ-Icon-Support
   ============================================================ */

/* Icon-Upload-Widget (wiederverwendbar in Admin) */
.icon-upload-field {
    display: flex; gap: 16px; padding: 18px;
    background: linear-gradient(135deg, var(--seafoam), var(--off-white));
    border: 2px dashed var(--foam);
    border-radius: 14px; margin-bottom: 16px;
    transition: border-color 0.25s, background 0.25s;
}
.icon-upload-field:hover {
    border-color: var(--sky);
    background: linear-gradient(135deg, #e0f7fc, var(--seafoam));
}
.iuf-preview {
    width: 92px; height: 92px; flex-shrink: 0;
    background: #fff; border-radius: 12px;
    border: 1px solid var(--light-gray);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; padding: 8px;
    box-shadow: 0 2px 8px rgba(10, 37, 64, 0.06);
}
.iuf-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.iuf-preview .iuf-default {
    color: var(--ocean); font-size: 2.2rem;
    opacity: 0.5;
}
.iuf-preview .iuf-default .si-icon,
.iuf-preview .iuf-default .si-icon-img { width: 2.2rem; height: 2.2rem; }

.iuf-controls { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.iuf-label strong {
    display: block; font-size: 0.95rem; color: var(--navy);
    margin-bottom: 2px;
}
.iuf-label small {
    display: block; font-size: 0.78rem; color: var(--ocean);
    font-weight: 600;
}
.iuf-file {
    font-size: 0.85rem; padding: 6px 0;
    width: 100%;
}
.iuf-status {
    display: flex; align-items: center; gap: 12px;
    flex-wrap: wrap; margin-top: 4px;
}
.iuf-badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 0.75rem; font-weight: 700;
    padding: 3px 10px; border-radius: 60px;
}
.iuf-badge-custom {
    background: #d1fae5; color: #059669;
}
.iuf-badge-default {
    background: var(--light-gray); color: var(--dark-gray);
}
.iuf-remove-label {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.8rem; color: var(--dark-gray);
    cursor: pointer;
}
.iuf-remove-label input[type="checkbox"] {
    width: 14px; height: 14px; cursor: pointer;
}

@media (max-width: 600px) {
    .icon-upload-field { flex-direction: column; align-items: flex-start; }
    .iuf-preview { width: 100%; height: 100px; }
}

/* FAQ-Icon-Support (vor der Frage) */
.faq-question img {
    flex-shrink: 0;
}

/* Partners-Grid verbessert */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.partner-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-sm);
    padding: 28px 24px;
    text-align: center;
    transition: transform 0.4s var(--ease-spring), box-shadow 0.35s ease, border-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--sky);
}
.partner-logo {
    max-width: 160px;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 18px;
    filter: grayscale(0.2);
    transition: filter 0.3s;
}
.partner-card:hover .partner-logo {
    filter: grayscale(0);
}
.partner-placeholder {
    width: 120px; height: 80px;
    background: var(--seafoam);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--ocean); font-size: 2rem;
    margin-bottom: 18px;
}
.partner-card h4 { font-size: 1.05rem; margin-bottom: 10px; color: var(--navy); }
.partner-card p { font-size: 0.88rem; color: var(--dark-gray); line-height: 1.65; margin-bottom: 14px; flex: 1; }
.partner-card a {
    color: var(--ocean); font-size: 0.85rem; font-weight: 600;
    margin-top: auto;
    display: inline-flex; align-items: center; gap: 4px;
    transition: gap 0.25s ease, color 0.25s;
}
.partner-card a:hover { gap: 8px; color: var(--ocean-deep); }

/* Mobile-Logo in Hero prominenter */
@media (max-width: 768px) {
    .nav-logo-text { display: flex !important; }
    .nav-logo-text strong { font-size: 0.9rem; }
    .nav-logo-text small { font-size: 0.65rem; }
}


/* ============================================================
   PATCH v3 — Mega-Animations, Water-Texture, Typography
   ============================================================ */

/* ⚓ Schönere Schriftart für Kurse - handgeschrieben/maritim */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;700&family=Quicksand:wght@500;600;700&display=swap');

.course-card-body h3 {
    font-family: 'Caveat', 'Playfair Display', cursive;
    font-size: 1.85rem !important;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.3px;
    line-height: 1.1;
    margin-bottom: 12px !important;
}
.course-card-body > p {
    font-family: 'Quicksand', var(--font-body);
    font-weight: 500;
    line-height: 1.75;
}
.course-card-meta span {
    font-family: 'Quicksand', var(--font-body);
    font-weight: 600;
}

/* Kurs-Titel mit Wellen-Unterstreichung */
.course-card-body h3::after {
    content: '';
    display: block;
    width: 36px;
    height: 4px;
    margin-top: 6px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 4'%3E%3Cpath d='M0 2 Q 9 -1 18 2 T 36 2' fill='none' stroke='%23ff6b35' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    transition: width 0.4s ease;
}
.course-card:hover .course-card-body h3::after {
    width: 64px;
}

/* ─── WASSER-TEXTUR (Caustics-Effekt im Hero) ─── */
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 600px 100px at 20% 85%, rgba(255,255,255,0.08), transparent 60%),
        radial-gradient(ellipse 800px 120px at 80% 90%, rgba(144,224,239,0.1), transparent 60%),
        radial-gradient(ellipse 400px 80px at 50% 92%, rgba(255,255,255,0.06), transparent 60%);
    z-index: 3;
    pointer-events: none;
    animation: waterShimmer 12s ease-in-out infinite alternate;
}
@keyframes waterShimmer {
    0%   { transform: translateX(-30px) scale(1); opacity: 0.7; }
    100% { transform: translateX(30px) scale(1.05); opacity: 1; }
}

/* Animierte Caustics (Wasserlinsen) */
.water-caustics {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 250px;
    z-index: 4;
    pointer-events: none;
    opacity: 0.35;
    mix-blend-mode: overlay;
}
.water-caustics svg { width: 100%; height: 100%; display: block; }

/* OLD "krasse Animationen" feature-card block removed – canonical block below */

/* ─── COURSE-CARDS mit Premium-Hover ─── */
.course-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.4s ease;
}
.course-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: linear-gradient(135deg, transparent 40%, rgba(0,180,216,0.1) 60%, transparent 80%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}
.course-card:hover::after { opacity: 1; }
.course-card-image::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.8s ease;
    z-index: 2;
}
.course-card:hover .course-card-image::before {
    left: 100%;
}

/* Badge hüpft */
.course-card-badge {
    animation: badgeHop 2.5s ease-in-out infinite;
    z-index: 3;
}
@keyframes badgeHop {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25%       { transform: translateY(-3px) rotate(-3deg); }
    75%       { transform: translateY(-2px) rotate(3deg); }
}

/* ─── REVEAL mit Spring + Tilt ─── */
.reveal {
    opacity: 0;
    transform: translateY(40px) rotateX(-5deg);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
}

/* ─── SECTION-HEADER Animations ─── */
.section-header h2 {
    position: relative;
    display: inline-block;
}
.section-header h2::before,
.section-header h2::after {
    content: '〜';
    color: var(--sky);
    font-size: 0.6em;
    display: inline-block;
    margin: 0 16px;
    vertical-align: middle;
    animation: waveSymbol 3s ease-in-out infinite;
}
.section-header h2::before { animation-delay: 0s; }
.section-header h2::after  { animation-delay: 1.5s; }
@keyframes waveSymbol {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
    50%       { transform: translateY(-4px) rotate(10deg); opacity: 1; }
}

/* ─── SECTION LABEL animated dot ─── */
.section-label::before {
    content: '';
    display: inline-block;
    width: 10px; height: 10px;
    background: var(--orange);
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
    box-shadow: 0 0 0 0 var(--orange);
    animation: pulseDotBig 1.8s ease-out infinite;
}
@keyframes pulseDotBig {
    0%   { box-shadow: 0 0 0 0 rgba(255,107,53,0.6); }
    100% { box-shadow: 0 0 0 12px rgba(255,107,53,0); }
}

/* ─── BUTTONS mit mega Glow + Ripple ─── */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}
.btn-primary:hover::before {
    left: 100%;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}
.btn-primary:active::after {
    width: 200%; height: 200%;
    transition: 0s;
}

/* ─── HERO-CARD floaty + pulse ─── */
.hero-card {
    animation: heroCardFloat 6s ease-in-out infinite;
}
@keyframes heroCardFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25%       { transform: translateY(-8px) rotate(0.5deg); }
    75%       { transform: translateY(-4px) rotate(-0.5deg); }
}

.hero-card-icon {
    animation: iconSpin 8s ease-in-out infinite;
}
@keyframes iconSpin {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25%       { transform: rotate(5deg) scale(1.05); }
    50%       { transform: rotate(-5deg) scale(1); }
    75%       { transform: rotate(3deg) scale(1.05); }
}

.hero-card-list li {
    transition: transform 0.3s ease, color 0.3s;
}
.hero-card-list li:hover {
    transform: translateX(8px);
    color: var(--foam);
}

/* ─── STATS mit Counter-Animation ─── */
.hero-stat {
    animation: statsBreath 4s ease-in-out infinite;
}
.hero-stat:nth-child(1) { animation-delay: 0s; }
.hero-stat:nth-child(2) { animation-delay: 1.3s; }
.hero-stat:nth-child(3) { animation-delay: 2.6s; }
@keyframes statsBreath {
    0%, 100% { border-color: rgba(255,255,255,0.1); }
    50%       { border-color: rgba(144,224,239,0.4); }
}

/* ─── REVIEW-CARDS swinging ─── */
.review-card {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.4s ease;
}
.review-card:hover {
    transform: translateY(-6px) rotate(-0.5deg);
    box-shadow: 0 20px 40px rgba(0,119,182,0.15);
}
.review-card:nth-child(even):hover {
    transform: translateY(-6px) rotate(0.5deg);
}

.review-quote {
    transition: transform 0.4s ease, color 0.3s;
}
.review-card:hover .review-quote {
    transform: scale(1.3) rotate(-10deg);
    color: var(--orange);
}

/* ─── FAQ mit Bounce ─── */
.faq-item {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.faq-item:hover {
    transform: translateX(8px);
    border-color: var(--sky);
}
.faq-icon {
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.faq-item.open .faq-icon {
    transform: rotate(135deg) scale(1.2);
    background: var(--orange);
    color: #fff;
}

/* ─── PARTNERS mit 3D-Tilt ─── */
.partner-card {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.4s ease;
    transform-style: preserve-3d;
}
.partner-card:hover {
    transform: translateY(-8px) perspective(500px) rotateY(3deg);
    box-shadow: 0 25px 50px rgba(0,119,182,0.25);
}

/* ─── CTA-Banner mega-Glow ─── */
.cta-banner {
    position: relative;
    overflow: hidden;
}
.cta-banner::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0,180,216,0.15), transparent, rgba(255,107,53,0.1), transparent);
    animation: ctaRotate 10s linear infinite;
    pointer-events: none;
}
@keyframes ctaRotate {
    to { transform: rotate(360deg); }
}

/* ─── NAVBAR Logo pulse on scroll ─── */
.navbar.scrolled .nav-logo-img {
    animation: navLogoPulse 2s ease-in-out infinite;
}
@keyframes navLogoPulse {
    0%, 100% { filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2)); }
    50%       { filter: drop-shadow(0 4px 12px rgba(144,224,239,0.6)); }
}

/* ─── PAGE-HERO-LOGO hinten: schwebendes BG-Logo ─── */
.page-hero {
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -50px; right: -80px;
    width: 400px; height: 400px;
    background-image: inherit;
    opacity: 0.06;
    z-index: 0;
    animation: heroFloatBg 15s ease-in-out infinite;
}
@keyframes heroFloatBg {
    0%, 100% { transform: rotate(-3deg) translateY(0); }
    50%       { transform: rotate(3deg)  translateY(-20px); }
}

/* ─── ICON-UPLOAD-WIDGET besser ─── */
.iuf-preview {
    background: linear-gradient(135deg, #fff, var(--seafoam));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.icon-upload-field:hover .iuf-preview {
    transform: scale(1.08) rotate(-4deg);
}

/* ─── SCROLL-INDICATOR (runterscrollen-Pfeil im Hero) ─── */
.scroll-hint {
    position: absolute;
    bottom: 180px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 7;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    animation: scrollHintBounce 2.5s ease-in-out infinite;
    pointer-events: none;
}
.scroll-hint::after {
    content: '↓';
    display: block;
    margin-top: 6px;
    font-size: 1.4rem;
    animation: arrowDown 2.5s ease-in-out infinite;
}
@keyframes scrollHintBounce {
    0%, 100% { opacity: 0.4; }
    50%       { opacity: 1; }
}
@keyframes arrowDown {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(8px); }
}
@media (max-width: 768px) {
    .scroll-hint { display: none; }
}

/* ─── FISHES - schwimmende Fische im Hero ─── */
/* Emojis 🐟🐠 zeigen nativ nach LINKS — für Rechts-Schwimmen: scaleX(-1) */
.fish {
    position: absolute;
    z-index: 5;
    pointer-events: none;
    font-size: 1.8rem;
    opacity: 0.55;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

/* Fisch 1 — schwimmt von links nach rechts */
.fish.f1 {
    bottom: 120px;
    font-size: 1.5rem;
    animation: fishSwimRight 28s linear infinite;
}
/* Fisch 2 — schwimmt von rechts nach links (Gegenrichtung, sieht lebendiger aus) */
.fish.f2 {
    bottom: 160px;
    font-size: 2rem;
    animation: fishSwimLeft 35s linear infinite;
    animation-delay: -12s;
}
/* Fisch 3 — wieder nach rechts, etwas tiefer */
.fish.f3 {
    bottom: 90px;
    font-size: 1.3rem;
    animation: fishSwimRight 22s linear infinite;
    animation-delay: -8s;
}

/* Fisch schwimmt NACH RECHTS → gespiegelt damit Kopf nach rechts zeigt */
@keyframes fishSwimRight {
    0%   { left: -30px;  transform: scaleX(-1) translateY(0); }
    25%  { transform: scaleX(-1) translateY(-8px); }
    50%  { transform: scaleX(-1) translateY(4px); }
    75%  { transform: scaleX(-1) translateY(-6px); }
    100% { left: 105%;   transform: scaleX(-1) translateY(0); }
}

/* Fisch schwimmt NACH LINKS → normal (Emoji zeigt nativ links) */
@keyframes fishSwimLeft {
    0%   { left: 105%;   transform: scaleX(1) translateY(0); }
    25%  { transform: scaleX(1) translateY(-6px); }
    50%  { transform: scaleX(1) translateY(5px); }
    75%  { transform: scaleX(1) translateY(-4px); }
    100% { left: -30px;  transform: scaleX(1) translateY(0); }
}

/* ─── ORANGE ACCENT ELEMENTS ─── */
.hero h1 em {
    position: relative;
    display: inline-block;
    animation: accentWobble 3s ease-in-out infinite;
}
@keyframes accentWobble {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50%       { transform: translateY(-5px) rotate(1deg); }
}

/* ─── TOOLTIPS für Stats ─── */
.hero-stat { cursor: default; }

/* ─── MEHR SHAKE beim Clicken ─── */
.btn:active {
    transform: scale(0.96);
}

/* Item-hero-icon-wrapper in kleineren Kreisen zentrieren */
.feature-icon .item-hero-icon-wrapper,
.about-value-icon .item-hero-icon-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.feature-icon .item-hero-icon-wrapper .si-icon,
.about-value-icon .item-hero-icon-wrapper .si-icon {
    color: #fff;
}
.course-card-image .item-hero-icon-wrapper {
    color: #fff;
    font-size: 3rem;
}
.course-card-image .item-hero-icon-wrapper .si-icon {
    width: 3rem;
    height: 3rem;
    color: rgba(255,255,255,0.95);
}


/* ============================================================
   PATCH v4 — FIXES + ANIMATIONS ÜBERALL
   ============================================================ */

/* === Kurs-Karten-Bild: Force overflow hidden auf ALLEN Stellen === */
.course-card-image {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate;
}

/* === kurse.php: .about-image als Cover-Container === */
.about-image.course-visual {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    height: 400px;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-direction: column;
}
.about-image.course-visual .item-hero-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
/* Wenn Bild hochgeladen → dunkler Overlay damit alles lesbar bleibt */
.about-image.course-visual.has-cover-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,37,64,0.15) 0%, rgba(10,37,64,0.55) 100%);
    z-index: 1;
    pointer-events: none;
}
.about-image.course-visual .course-visual-subtitle {
    position: relative;
    z-index: 2;
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    text-align: center;
    padding: 0 24px;
}
.about-image.course-visual .item-hero-icon-wrapper {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 4rem;
}
.about-image.course-visual .item-hero-icon-wrapper .si-icon {
    width: 5rem;
    height: 5rem;
    color: rgba(255,255,255,0.95);
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

/* === Vorteile: FIX die Icons werden jetzt DEFINITIV sichtbar === */
.feature-icon {
    width: 72px !important;
    height: 72px !important;
    position: relative;
    overflow: hidden;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.feature-icon .item-hero-cover {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 1;
}
.feature-icon .item-hero-icon-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.feature-icon .item-hero-icon-wrapper .si-icon {
    width: 2rem !important;
    height: 2rem !important;
    color: #fff !important;
    stroke: #fff !important;
    display: block;
}

/* === About-Value Icons === */
.about-value-icon .item-hero-icon-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-value-icon .item-hero-icon-wrapper .si-icon {
    width: 1.8rem !important;
    height: 1.8rem !important;
    color: #fff !important;
    stroke: #fff !important;
}

/* === Neue Hero-Wasser-Optik: ordentliche Wellen in der Tiefe === */

/* Alte wave-1/2/3 werden sanfter, damit mehr realistisch */
.wave-1 { opacity: 0.35 !important; }
.wave-2 { opacity: 0.5 !important; }
.wave-3 { opacity: 0.85 !important; }

/* Neuer Wasser-Bereich: tieferer Ocean-Gradient */
.ocean-bg {
    height: 240px !important;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(0,119,182,0.15) 20%,
        rgba(0,119,182,0.45) 50%,
        rgba(3,62,138,0.75) 80%,
        rgba(3,62,138,0.9) 100%) !important;
}

/* Wasser-Shimmer viel subtiler, keine harten Linien mehr */
.water-caustics {
    opacity: 0.25 !important;
    height: 200px !important;
    mix-blend-mode: screen !important;
}

/* Hero-Stars: nur oberer Bereich, keine über dem Wasser */
.hero-stars {
    inset: 0 0 60% 0 !important;
}

/* === "Bereit für Ihr Abenteuer"-CTA-Banner: Conic überlagerung weg === */
/* Die rotierende Conic verursacht visuelle Unruhe — ersetzt durch sanften Gradient */
.cta-banner::after {
    animation: none !important;
    background: radial-gradient(circle at 50% 50%, rgba(0,180,216,0.15), transparent 70%) !important;
    opacity: 0.7;
}
.cta-banner {
    box-shadow: 0 30px 80px rgba(3,4,94,0.25);
}
.cta-banner h2 {
    position: relative;
    z-index: 2;
    color: #fff !important;
}
/* Die 〜-Symbole um die H2 entfernen innerhalb des CTA-Banners (sahen komisch aus) */
.cta-banner .section-header h2::before,
.cta-banner .section-header h2::after,
.cta-banner h2::before,
.cta-banner h2::after {
    display: none !important;
}

/* Die 〜-Symbole haben sowieso Fehler verursacht — subtiler machen */
.section-header h2::before,
.section-header h2::after {
    display: none !important;
}

/* === Kurs-Titel: Caveat-Font wird zu locker — lieber Playfair Italic === */
.course-card-body h3 {
    font-family: var(--font-display) !important;
    font-size: 1.35rem !important;
    font-style: italic !important;
    font-weight: 700 !important;
    letter-spacing: 0;
    line-height: 1.2 !important;
}
.course-card-body h3::after {
    display: none !important; /* Die Wellen-Unterstreichung auch weg */
}

/* === ANIMATIONEN ÜBERALL — nicht nur Home === */

/* Page-Hero auf allen Unterseiten: Wasser-Partikel */
.page-hero {
    position: relative !important;
    overflow: hidden !important;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(144,224,239,0.2), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,180,100,0.12), transparent 50%);
    animation: pageHeroBgShift 12s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}
@keyframes pageHeroBgShift {
    0%   { transform: translateX(-20px) scale(1); }
    100% { transform: translateX(20px) scale(1.1); }
}
.page-hero .container {
    position: relative;
    z-index: 2;
}

/* Floating Bubbles auf allen Page-Heroes */
.page-hero-with-logo::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(144,224,239,0.12), transparent);
    z-index: 1;
    pointer-events: none;
}

.page-hero-logo {
    animation: logoFloat3D 6s ease-in-out infinite !important;
}
@keyframes logoFloat3D {
    0%, 100% { transform: translateY(0) rotateY(0deg) scale(1); }
    25%       { transform: translateY(-6px) rotateY(5deg) scale(1.02); }
    50%       { transform: translateY(-10px) rotateY(0deg) scale(1.04); }
    75%       { transform: translateY(-6px) rotateY(-5deg) scale(1.02); }
}

/* Alle Seiten: Sections animiert sichtbar werden */
.section-pad {
    position: relative;
    overflow: hidden;
}
.section-pad::before {
    content: '';
    position: absolute;
    top: 50%; left: -10%;
    width: 120%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,180,216,0.15), transparent);
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.5;
    z-index: 0;
}
.section-pad .container {
    position: relative;
    z-index: 1;
}

/* Alle Buttons: sanftes Hover-Scale */
.btn {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.25s ease,
                box-shadow 0.25s ease !important;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }

/* Contact-Info-Items animiert */
.contact-info-item {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.contact-info-item:hover {
    transform: translateX(8px);
}
.contact-info-item:hover .contact-info-icon {
    transform: rotate(10deg) scale(1.15);
    box-shadow: 0 6px 20px rgba(0,119,182,0.3);
}
.contact-info-icon {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
}

/* Termine-Tabelle Rows pulsieren bei Hover */
.termine-table tbody tr {
    transition: background 0.25s ease, transform 0.25s ease;
}
.termine-table tbody tr:hover {
    background: var(--seafoam) !important;
    transform: translateX(4px);
}

/* Blog-Karten: mehr pop */
.blog-card {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.4s ease;
}
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,119,182,0.2);
}
.blog-card-image {
    transition: transform 0.6s ease;
}
.blog-card:hover .blog-card-image {
    transform: scale(1.05);
}
.blog-card .si-icon {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.blog-card:hover .si-icon {
    transform: rotate(-8deg) scale(1.15);
}

/* Form-Felder animieren */
.form-control {
    transition: border-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.form-control:focus {
    transform: translateY(-1px);
    box-shadow: 0 0 0 4px rgba(0,119,182,0.12), 0 4px 12px rgba(0,119,182,0.1) !important;
}

/* Links-Hover mit Underline-Animation */
.legal-content a {
    position: relative;
    text-decoration: none !important;
    background-image: linear-gradient(90deg, var(--ocean), var(--ocean));
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size 0.3s ease;
}
.legal-content a:hover {
    background-size: 100% 2px;
}

/* Footer animierte Links */
.footer-links a {
    position: relative;
    display: inline-block;
    transition: color 0.3s, transform 0.3s;
}
.footer-links a:hover {
    transform: translateX(4px);
    color: var(--foam);
}

/* Admin-Links animieren */
.admin-nav-item {
    transition: all 0.3s ease;
    position: relative;
}
.admin-nav-item:hover {
    padding-left: 30px !important;
}
.admin-nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--sky);
    animation: navDot 2s ease-in-out infinite;
}
@keyframes navDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,180,216,0.5); }
    50%       { box-shadow: 0 0 12px 2px rgba(0,180,216,0.6); }
}

/* === WASSER-TEXTUR NEU: Realistische Oberflächen-Reflexionen === */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 40px,
            rgba(144,224,239,0.08) 40px,
            rgba(144,224,239,0.12) 45px,
            transparent 45px,
            transparent 85px
        );
    z-index: 3;
    pointer-events: none;
    mix-blend-mode: overlay;
    animation: oceanRipple 8s ease-in-out infinite;
}
@keyframes oceanRipple {
    0%, 100% { transform: translateX(0); opacity: 0.4; }
    50%       { transform: translateX(-40px); opacity: 0.7; }
}


/* ============================================================
   PATCH v4 — KOMPLETTES FIX: Item-Hero-Icons, Wasser, CTA-Bug
   ============================================================ */

/* ═══════════════════════════════════════════════════════════
   1. ITEM-HERO: klare Regeln für Bilder vs SVG-Icons
   ═══════════════════════════════════════════════════════════ */

/* --- FEATURE-ICON (die blauen Kreise bei "Was uns besonders macht") --- */
.feature-icon {
    width: 84px !important;
    height: 84px !important;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--sky-light), var(--ocean));
    color: #ffffff;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,119,182,0.3);
}
/* Wenn Bild hochgeladen: füllt den kompletten Kreis */
.feature-icon > .item-hero-cover {
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
/* Wenn Default-SVG: weiß, groß und zentriert */
.feature-icon > .item-hero-svg {
    width: 44px !important;
    height: 44px !important;
    color: #ffffff !important;
    stroke: #ffffff !important;
    position: relative;
    z-index: 1;
}

/* --- ABOUT-VALUE-ICON (Über uns Werte) --- */
.about-value-icon {
    width: 72px !important;
    height: 72px !important;
    margin: 0 auto 14px;
    background: linear-gradient(135deg, var(--sky-light), var(--ocean));
    color: #ffffff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,119,182,0.25);
}
.about-value-icon > .item-hero-cover {
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.about-value-icon > .item-hero-svg {
    width: 38px !important;
    height: 38px !important;
    color: #ffffff !important;
    stroke: #ffffff !important;
    position: relative;
    z-index: 1;
}

/* --- COURSE-CARD-IMAGE (der ganze blaue Bereich) --- */
.course-card-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ocean-deep), var(--ocean));
}
.course-card-image > .item-hero-cover {
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.course-card-image > .item-hero-svg {
    width: 80px !important;
    height: 80px !important;
    color: rgba(255,255,255,0.95) !important;
    stroke: rgba(255,255,255,0.95) !important;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
   2. HERO-WASSER: Wellen aufgeräumt, keine hässlichen Kanten
   ═══════════════════════════════════════════════════════════ */

/* Alten Wasser-Caustics-Block entfernen (war zu körnig) */
.water-caustics { display: none !important; }

/* Unterer Ozean-Gradient sanfter, tiefer */
.ocean-bg {
    height: 240px !important;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(0,119,182,0.15) 20%,
        rgba(0,119,182,0.45) 50%,
        rgba(3,62,138,0.7) 80%,
        rgba(3,62,138,0.9) 100%
    ) !important;
}

/* Wellen-Container höher & reicht über den ganzen Hero-Boden */
.waves-wrap {
    height: 180px !important;
    bottom: 0 !important;
}

/* Wellen weicher + transparenter */
.wave-svg {
    filter: blur(0.3px);
}

.wave-1 { opacity: 0.35 !important; bottom: 18px !important; }
.wave-2 { opacity: 0.5 !important; bottom: 10px !important; }
.wave-3 { opacity: 1 !important; bottom: 0 !important; }

/* Schimmernde Reflexe auf Wasseroberfläche — dezent, nicht körnig */
.water-shimmer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    z-index: 4;
    pointer-events: none;
    background:
        radial-gradient(ellipse 200px 30px at 15% 80%, rgba(255,255,255,0.15), transparent 70%),
        radial-gradient(ellipse 300px 40px at 50% 85%, rgba(144,224,239,0.12), transparent 70%),
        radial-gradient(ellipse 250px 35px at 85% 82%, rgba(255,255,255,0.1), transparent 70%);
    animation: waterShine 8s ease-in-out infinite alternate;
}
@keyframes waterShine {
    0%   { transform: translateX(-20px); opacity: 0.7; }
    100% { transform: translateX(20px);  opacity: 1; }
}

/* Hero::before (die alte Caustics) entfernen */
.hero::before { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   3. CTA-BANNER Y-GLITCH FIX (der komische Strich unten)
   ═══════════════════════════════════════════════════════════ */

.cta-banner {
    overflow: hidden !important;
    isolation: isolate; /* neuer stacking context, verhindert overflow-bleed */
}

.cta-banner::after {
    /* alten rotierenden Conic-Gradient zähmen */
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    z-index: 0 !important;
    opacity: 0.7;
}

.cta-banner > * {
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
   4. ANIMATIONEN AUF ALLEN SEITEN (nicht nur Home)
   ═══════════════════════════════════════════════════════════ */

/* Page-Hero (Unterseiten) bekommt auch Spielereien */
.page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #0a2540 0%, #023e8a 45%, #0077b6 100%) !important;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse 500px 200px at 20% 100%, rgba(0,180,216,0.3), transparent 60%),
        radial-gradient(ellipse 400px 150px at 80% 100%, rgba(144,224,239,0.2), transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: heroGlowPulse 6s ease-in-out infinite alternate;
}
@keyframes heroGlowPulse {
    0%   { opacity: 0.7; transform: scale(1); }
    100% { opacity: 1;   transform: scale(1.1); }
}

/* Sparkles auf allen Page-Heroes */
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 15% 20%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 40% 40%, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 70% 30%, rgba(144,224,239,0.9), transparent),
        radial-gradient(1px 1px at 85% 70%, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 25% 75%, rgba(144,224,239,0.6), transparent),
        radial-gradient(1px 1px at 55% 85%, rgba(255,255,255,0.5), transparent);
    background-size: 200% 200%;
    animation: sparkleShift 12s linear infinite;
    pointer-events: none;
    z-index: 1;
}
@keyframes sparkleShift {
    0%   { background-position:   0%   0%; }
    100% { background-position: 100% 100%; }
}

.page-hero > .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    animation: fadeUp 0.8s var(--ease) 0.15s both;
}
.page-hero p {
    animation: fadeUp 0.8s var(--ease) 0.35s both;
}

/* Schwimmende Welle unten auf page-hero */
.page-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 3;
    pointer-events: none;
}
.page-hero-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Section-Pad bekommt auf allen Seiten dezente BG-Patterns */
.section-pad {
    position: relative;
}

/* Sanfte Wellen-Trennung zwischen Sections */
.bg-off-white {
    position: relative;
}
.bg-off-white::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 20 Q 360 0 720 20 T 1440 20 L1440 40 L0 40 Z' fill='%23f0f9ff'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   5. EXTRA Animationen
   ═══════════════════════════════════════════════════════════ */

/* Termine-Tabelle: Zeilen slide-in */
.termine-table tbody tr {
    transition: background 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.termine-table tbody tr:hover {
    transform: scale(1.01);
    background: linear-gradient(90deg, var(--seafoam), transparent);
}

/* Form-Controls mit focus-glow */
.form-control:focus {
    box-shadow: 0 0 0 4px rgba(0,119,182,0.15) !important;
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

/* Contact-Info-Items */
.contact-info-item {
    transition: transform 0.3s ease;
}
.contact-info-item:hover {
    transform: translateX(6px);
}
.contact-info-item:hover .contact-info-icon {
    transform: rotate(-10deg) scale(1.1);
    background: linear-gradient(135deg, var(--sky-light), var(--ocean));
    color: #fff;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.contact-info-icon {
    transition: all 0.3s ease;
}

/* Blog-Cards mit Fancy Hover */
.blog-card {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.4s ease;
}
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,119,182,0.2);
}
.blog-card-image {
    position: relative;
    overflow: hidden;
}
.blog-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
.blog-card:hover .blog-card-image::after {
    transform: translateX(100%);
}
.blog-card-image .si-icon,
.blog-card-image .si-icon-img {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.blog-card:hover .blog-card-image .si-icon,
.blog-card:hover .blog-card-image .si-icon-img {
    transform: scale(1.2) rotate(-10deg);
}

/* Termine: Buttons mit Hop */
.termine-table .btn-primary {
    animation: smallHop 3s ease-in-out infinite;
}
@keyframes smallHop {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-2px); }
}

/* Buchen-Card animated border-glow */
.booking-card {
    position: relative;
}
.booking-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--sky), var(--orange), var(--sky));
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}
.booking-card:hover::before {
    opacity: 0.5;
}

/* Legal-Content: Überschriften slide-in */
.legal-content h2,
.legal-content h3 {
    position: relative;
    padding-left: 16px;
}
.legal-content h2::before,
.legal-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--ocean);
    border-radius: 2px;
}
.legal-content h2::before {
    height: 30px;
    background: var(--orange);
}

/* FAQ-Item: Stagger-Animation bei Open */
.faq-answer-inner {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
}
.faq-item.open .faq-answer-inner {
    opacity: 1;
    transform: translateY(0);
}

/* Booking-course-chips */
.booking-course-chip {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.booking-course-chip:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0,119,182,0.2);
}

/* Footer-Links: Underline animation */
.footer-links a {
    position: relative;
    transition: color 0.25s ease, padding-left 0.25s ease;
}
.footer-links a::before {
    content: '→';
    position: absolute;
    left: -16px;
    opacity: 0;
    transition: all 0.25s ease;
    color: var(--foam);
}
.footer-links a:hover {
    padding-left: 4px;
    color: var(--foam);
}
.footer-links a:hover::before {
    opacity: 1;
    left: -12px;
}


/* ============================================================
   PATCH v4.1 — Icon-Rendering FINAL FIX
   ============================================================ */

/* Bare SVG in feature-icon/about-value-icon/course-card-image sichtbar machen */
.feature-icon .item-hero-svg,
.about-value-icon .item-hero-svg,
.about-image.course-visual .item-hero-svg {
    color: #fff !important;
    stroke: #fff !important;
    display: block;
}
.feature-icon .item-hero-svg {
    width: 34px !important;
    height: 34px !important;
    position: relative;
    z-index: 1;
}
.about-value-icon .item-hero-svg {
    width: 28px !important;
    height: 28px !important;
    position: relative;
    z-index: 1;
}
.course-card-image .item-hero-svg {
    color: rgba(255,255,255,0.95) !important;
    stroke: rgba(255,255,255,0.95) !important;
    width: 48px !important;
    height: 48px !important;
    position: relative;
    z-index: 1;
}
.about-image.course-visual .item-hero-svg {
    width: 80px !important;
    height: 80px !important;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

/* item-hero-cover (Bild-Mode) muss über SVG liegen können */
.feature-icon .item-hero-cover,
.about-value-icon .item-hero-cover,
.course-card-image .item-hero-cover,
.about-image.course-visual .item-hero-cover {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 0;
}


/* ============================================================
   PATCH v4.2 — FINAL FORCE Icon-Sichtbarkeit
   ============================================================ */

/* Greife ALLES was in einem feature-icon/about-value-icon ist */
.feature-icon svg,
.feature-icon svg *,
.about-value-icon svg,
.about-value-icon svg * {
    color: #ffffff !important;
    stroke: #ffffff !important;
}
.feature-icon svg {
    width: 34px !important;
    height: 34px !important;
    display: block !important;
}
.about-value-icon svg {
    width: 28px !important;
    height: 28px !important;
    display: block !important;
}
.course-card-image svg {
    color: rgba(255,255,255,0.95) !important;
    stroke: rgba(255,255,255,0.95) !important;
    width: 52px !important;
    height: 52px !important;
}
.about-image.course-visual > svg,
.about-image.course-visual .item-hero-svg {
    color: rgba(255,255,255,0.95) !important;
    stroke: rgba(255,255,255,0.95) !important;
    width: 90px !important;
    height: 90px !important;
    z-index: 2;
    position: relative;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

/* Fülle-Zustände: Wenn SVG fill hat, behalte es */
.feature-icon svg[fill]:not([fill="none"]),
.about-value-icon svg[fill]:not([fill="none"]) {
    fill: #ffffff !important;
}


/* ============================================================
   PATCH v5 — Feature-Cards wie Kurs-Karten + Ruhige Page-Hero
   ============================================================ */

/* === Neue Feature-Cards wie Kurs-Karten === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--white) !important;
    border: 1px solid var(--light-gray) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    padding: 0 !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.4s ease, border-color 0.3s !important;
    position: relative;
}
.feature-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 50px rgba(0,119,182,0.2) !important;
    border-color: var(--sky) !important;
}

/* Feature-Card-Image: identisch zu course-card-image */
.feature-card-image {
    height: 180px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}
.feature-card-image.no-cover {
    background: linear-gradient(135deg, var(--ocean-deep), var(--ocean));
}
.feature-card-image.has-cover {
    background: var(--navy);
}

/* Cover-Bild füllt komplett */
.feature-card-image .feature-cover-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    transition: transform 0.6s ease;
}
.feature-card:hover .feature-cover-img {
    transform: scale(1.08);
}

/* Default-SVG zentriert im blauen Bereich */
.feature-card-image .item-hero-svg,
.feature-card-image svg {
    width: 56px !important;
    height: 56px !important;
    color: #fff !important;
    stroke: #fff !important;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feature-card:hover .feature-card-image svg {
    transform: rotate(-8deg) scale(1.1);
}

/* Body des Feature-Cards */
.feature-card-body {
    padding: 22px 24px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.feature-card-body h4 {
    margin-bottom: 10px;
    font-size: 1.15rem;
    color: var(--navy);
    font-family: var(--font-display);
    font-weight: 700;
}
.feature-card-body p {
    color: var(--dark-gray);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

/* Alte feature-icon-Styles ausblenden (nicht mehr genutzt) */
.feature-card > .feature-icon { display: none !important; }

/* === Ruhiger Page-Hero — keine schwebenden Symbole === */
.page-hero-simple {
    position: relative;
    overflow: hidden;
    padding: 130px 20px 80px;
    background:
        linear-gradient(135deg, var(--navy) 0%, var(--ocean-deep) 50%, var(--ocean) 100%);
    color: #fff;
    text-align: center;
}
/* Disable ALL animations/decorations on simple hero */
.page-hero-simple::before,
.page-hero-simple::after {
    display: none !important;
    content: none !important;
}
.page-hero-simple .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}
.page-hero-simple h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    color: #fff;
    margin-bottom: 12px;
    font-family: var(--font-display);
    font-weight: 700;
}
.page-hero-simple p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin: 0;
}
.page-hero-simple .page-hero-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    margin: 0 auto 22px;
    display: block;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.35));
    animation: logoBreath 4s ease-in-out infinite;
}
@keyframes logoBreath {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-6px) scale(1.03); }
}

/* About-Image Classic: runder Hintergrund für kein-Bild-Fall */
.about-image-classic {
    position: relative;
    border-radius: 24px;
    height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ocean-deep), var(--ocean));
}
.about-image-classic .owner-name {
    position: absolute;
    bottom: 20px; left: 20px;
    background: rgba(255,255,255,0.92);
    color: var(--navy);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.92rem;
    z-index: 2;
    backdrop-filter: blur(8px);
}
.about-image-classic svg {
    width: 100px !important;
    height: 100px !important;
    color: rgba(255,255,255,0.8) !important;
    stroke: rgba(255,255,255,0.8) !important;
}

/* Mobile für Page-Hero-Simple */
@media (max-width: 768px) {
    .page-hero-simple { padding: 100px 16px 60px; }
    .page-hero-simple .page-hero-logo { width: 80px; height: 80px; }
}


/* === Entferne störende page-hero Dekos (v4 hatte komische Bg-Shifts) === */
.page-hero-simple::before,
.page-hero-simple::after {
    display: none !important;
    content: none !important;
    background: none !important;
}

/* Stelle sicher dass feature-card Altes CSS nicht mehr greift */
.feature-card .feature-icon { display: none !important; }

/* ============================================================
   PATCH v5.1 — Kurse-Seite neu mit sauberem Bild-Container
   ============================================================ */

/* Neues course-visual-big für kurse.php */
.course-visual-big {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    min-height: 420px;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    box-shadow: 0 12px 40px rgba(3,4,94,0.15);
}

/* Bild-Modus: Bild füllt komplett */
.course-visual-big.has-cover-image {
    background: var(--navy);
}
.course-visual-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    transition: transform 0.7s ease;
}
.course-row:hover .course-visual-cover {
    transform: scale(1.05);
}

/* Overlay mit Titel unten */
.course-visual-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 30px;
    background: linear-gradient(
        to top,
        rgba(10,37,64,0.85) 0%,
        rgba(10,37,64,0.45) 35%,
        rgba(10,37,64,0.05) 70%,
        transparent 100%
    );
    pointer-events: none;
}
.course-visual-title {
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    line-height: 1.2;
}

/* Icon-Modus: Default-Icon + Subtitle */
.course-visual-big.no-cover-image {
    color: #fff;
}
.course-visual-big.no-cover-image .item-hero-svg,
.course-visual-big.no-cover-image svg {
    width: 90px !important;
    height: 90px !important;
    color: rgba(255,255,255,0.95) !important;
    stroke: rgba(255,255,255,0.95) !important;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
    position: relative;
    z-index: 1;
}
.course-visual-subtitle {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    text-align: center;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

/* === Rich-Text Rendering (vom Quill-Editor) === */
.course-description,
.course-contents-body {
    color: var(--dark-gray);
    line-height: 1.85;
    font-size: 1rem;
}
.course-description p,
.course-contents-body p {
    margin-bottom: 12px;
    line-height: 1.85;
}
.course-description p:last-child,
.course-contents-body p:last-child {
    margin-bottom: 0;
}
.course-description h2,
.course-description h3,
.course-contents-body h2,
.course-contents-body h3 {
    color: var(--navy);
    font-family: var(--font-display);
    margin: 18px 0 10px;
    font-size: 1.15rem;
}
.course-description ul,
.course-description ol,
.course-contents-body ul,
.course-contents-body ol {
    margin: 10px 0 14px 20px;
    padding-left: 10px;
}
.course-description li,
.course-contents-body li {
    margin-bottom: 6px;
    line-height: 1.75;
}
.course-description strong,
.course-description b,
.course-contents-body strong,
.course-contents-body b {
    color: var(--navy);
    font-weight: 700;
}
.course-description a,
.course-contents-body a {
    color: var(--ocean);
    text-decoration: underline;
    text-decoration-color: rgba(0,119,182,0.3);
    transition: text-decoration-color 0.2s;
}
.course-description a:hover,
.course-contents-body a:hover {
    text-decoration-color: var(--ocean);
}

/* Inhalte-Box */
.course-contents {
    margin: 20px 0 22px;
    padding: 18px 20px;
    background: var(--seafoam);
    border-radius: 14px;
    border-left: 4px solid var(--ocean);
}
.course-contents-title {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--navy);
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

/* === Meta-Pills === */
.course-meta-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.course-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--seafoam);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.88rem;
    color: var(--navy);
    font-weight: 600;
    border: 1px solid transparent;
    transition: border-color 0.25s, transform 0.25s;
}
.course-meta-pill:hover {
    border-color: var(--sky);
    transform: translateY(-2px);
}
.course-meta-pill svg { width: 16px; height: 16px; }

/* === Course-Row Grid === */
.course-row {
    grid-template-columns: 1fr 1fr !important;
    gap: 48px !important;
    align-items: start;            /* Bild oben, statt vertikal zentriert */
}
/* Bild bleibt beim Scrollen mit langem Text sichtbar */
@media (min-width: 901px) {
    .course-row .course-visual-big {
        position: sticky;
        top: 100px;
        max-height: calc(100vh - 140px);  /* nicht über Viewport hinaus */
    }
}
.course-content h2 {
    margin-bottom: 18px;
    line-height: 1.15;
}

/* Lange Beschreibungstexte: Spalt-Breite beschränken für besseren Lesefluss */
.course-content {
    max-width: 640px;
}

@media (max-width: 900px) {
    .course-row {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        direction: ltr !important;
    }
    .course-visual-big {
        min-height: 300px;
    }
    .course-content {
        direction: ltr !important;
    }
}


/* ============================================================
   PATCH v6 — Adaptive Partner-Grid + Psychology Elements
   ============================================================ */

/* Basis: Default auto-fill Grid */
.partners-grid {
    display: grid;
    gap: 28px;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* 1 Partner → groß und mittig (wie Hero-Card) */
.partners-grid.partners-count-1 {
    grid-template-columns: 1fr;
    max-width: 520px;
}
.partners-grid.partners-count-1 .partner-card {
    padding: 48px 40px;
    text-align: center;
    width: 100%;
}
.partners-grid.partners-count-1 .partner-logo {
    max-width: 260px;
    max-height: 160px;
    margin-bottom: 24px;
}
.partners-grid.partners-count-1 .partner-card h4 {
    font-size: 1.5rem;
}
.partners-grid.partners-count-1 .partner-card p {
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto 18px;
}

/* 2 Partner → nebeneinander, gleich groß */
.partners-grid.partners-count-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
}
.partners-grid.partners-count-2 .partner-card {
    padding: 36px 28px;
    width: 100%;
}
.partners-grid.partners-count-2 .partner-logo {
    max-width: 200px;
    max-height: 130px;
}

/* 3 Partner → 3 nebeneinander */
.partners-grid.partners-count-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
}

/* 4 Partner → 2x2 oder 4 nebeneinander auf breiten Screens */
.partners-grid.partners-count-4 {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) {
    .partners-grid.partners-count-4 {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
}

/* 5 Partner → 3+2 Layout */
.partners-grid.partners-count-5 {
    grid-template-columns: repeat(6, 1fr);
}
.partners-grid.partners-count-5 .partner-card:nth-child(1) { grid-column: 1 / 3; }
.partners-grid.partners-count-5 .partner-card:nth-child(2) { grid-column: 3 / 5; }
.partners-grid.partners-count-5 .partner-card:nth-child(3) { grid-column: 5 / 7; }
.partners-grid.partners-count-5 .partner-card:nth-child(4) { grid-column: 2 / 4; }
.partners-grid.partners-count-5 .partner-card:nth-child(5) { grid-column: 4 / 6; }
@media (max-width: 900px) {
    .partners-grid.partners-count-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    .partners-grid.partners-count-5 .partner-card:nth-child(n) {
        grid-column: auto;
    }
}

/* 6+ Partner → 3er-Grid */
.partners-grid.partners-count-6 {
    grid-template-columns: repeat(3, 1fr);
}

/* Mobile: bei mehr als 2 Partnern → gestapelt */
@media (max-width: 700px) {
    .partners-grid[class*="partners-count-"] {
        grid-template-columns: 1fr !important;
        max-width: 400px !important;
    }
    .partners-grid[class*="partners-count-"] .partner-card:nth-child(n) {
        grid-column: auto !important;
    }
}

/* === PSYCHOLOGICAL ELEMENTS === */

/* Urgency-Banner oben im Hero unter Badge (optional) */
.urgency-banner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff6b35, #d94e16);
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(255,107,53,0.4);
    animation: urgencyPulse 2s ease-in-out infinite;
}
.urgency-banner::before {
    content: '🔥';
    font-size: 1rem;
    animation: fireFlicker 1s ease-in-out infinite;
}
@keyframes urgencyPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(255,107,53,0.4); }
    50%       { box-shadow: 0 4px 25px rgba(255,107,53,0.7); }
}
@keyframes fireFlicker {
    0%, 100% { transform: scale(1) rotate(-3deg); }
    50%       { transform: scale(1.15) rotate(3deg); }
}

/* Social-Proof-Ticker: zeigt kürzliche Anmeldungen */
.social-proof-ticker {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #fff;
    border-radius: 14px;
    padding: 14px 20px 14px 16px;
    box-shadow: 0 10px 40px rgba(10,37,64,0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9998;
    max-width: 340px;
    border: 1px solid var(--light-gray);
    transform: translateX(-120%);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.social-proof-ticker.show {
    transform: translateX(0);
}
.social-proof-ticker-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    animation: checkBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes checkBounce {
    0%   { transform: scale(0); }
    100% { transform: scale(1); }
}
.social-proof-ticker-text {
    font-size: 0.85rem;
    color: var(--navy);
    line-height: 1.4;
}
.social-proof-ticker-text strong { color: var(--ocean); }
.social-proof-ticker-close {
    position: absolute;
    top: 6px; right: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--medium-gray);
    font-size: 1.1rem;
    padding: 0;
    line-height: 1;
}
@media (max-width: 600px) {
    .social-proof-ticker {
        bottom: 12px; left: 12px; right: 12px;
        max-width: calc(100vw - 24px);
    }
}

/* Scarcity-Banner auf Kurs-Karten (wenige Plätze) */
.scarcity-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(220,38,38,0.4);
    animation: scarcityPulse 2s ease-in-out infinite;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.scarcity-badge::before {
    content: '⚡';
    animation: lightningFlicker 2s ease-in-out infinite;
}
@keyframes scarcityPulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.05); }
}
@keyframes lightningFlicker {
    0%, 92%, 100% { opacity: 1; }
    95%            { opacity: 0.3; }
}

/* Trust-Badges Row (Siegel, Zertifikate) */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--light-gray);
    flex-wrap: wrap;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-gray);
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.85;
    transition: opacity 0.3s, transform 0.3s;
}
.trust-badge:hover {
    opacity: 1;
    transform: translateY(-2px);
}
.trust-badge-icon {
    width: 44px; height: 44px;
    background: var(--seafoam);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ocean);
    flex-shrink: 0;
}
.trust-badge-icon svg { width: 22px; height: 22px; }

/* Count-down timer für nächsten Kurs */
.countdown-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--orange), #d94e16);
    color: #fff;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 700;
    margin-top: 14px;
    box-shadow: 0 6px 20px rgba(255,107,53,0.3);
}
.countdown-box-icon { font-size: 1.1rem; }

/* Live-Counter (XX Personen schauen gerade) */
.live-counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    margin-bottom: 20px;
}
.live-dot {
    width: 8px; height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(16,185,129,0.8);
    animation: livePulse 1.5s ease-in-out infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,0.7); }
    50%       { opacity: 0.8; box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

/* Guarantee-Box unter CTAs */
.guarantee-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--seafoam);
    border: 1px solid var(--sky-light);
    border-radius: 14px;
    padding: 16px 20px;
    margin-top: 20px;
    font-size: 0.92rem;
    color: var(--navy);
}
.guarantee-box-icon {
    width: 44px; height: 44px;
    background: #fff;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--ocean);
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,119,182,0.15);
}
.guarantee-box-icon svg { width: 22px; height: 22px; }
.guarantee-box strong { display: block; color: var(--navy); margin-bottom: 2px; }



/* ============================================================
   PATCH v6 — Sub-Page Hero Decorations + Trust Badges Dynamic
   + New Booking Page + Hero Image Upload Preview
   ============================================================ */

/* ── Icon-Upload-Widget: Hero-Preview-Modus (breit für Cover-Fotos) ── */
.iuf-preview-hero {
    width: 220px !important;
    height: 130px !important;
    aspect-ratio: 3 / 2;
    background: linear-gradient(135deg, var(--ocean-deep), var(--ocean));
    border-color: var(--ocean) !important;
    padding: 0 !important;
    overflow: hidden;
    position: relative;
}
.iuf-preview-hero img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
}
.iuf-preview-hero .iuf-default {
    color: rgba(255,255,255,0.85);
    font-size: 2.4rem;
    opacity: 0.7;
}
@media (max-width: 600px) {
    .iuf-preview-hero {
        width: 100% !important;
        height: 140px !important;
    }
}

/* ── Trust-Badges: Bild-Variante (statt nur Icons) ── */
.trust-badge-icon-img {
    background: #fff !important;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 4px 12px rgba(10,37,64,0.1);
}
.trust-badge-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
}

/* ── Page-Hero-Decorated: dezente Animationen für Sub-Seiten ── */
.page-hero-decorated {
    padding: 130px 20px 110px !important;
    position: relative;
}
.page-hero-decorated > .container { position: relative; z-index: 6; }

/* Sun-Glow rechts oben */
.sub-hero-sun {
    position: absolute;
    top: 8%;
    right: 6%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255,220,140,0.35) 0%, rgba(255,180,100,0.12) 45%, transparent 70%);
    border-radius: 50%;
    filter: blur(8px);
    pointer-events: none;
    z-index: 1;
    animation: subHeroSunGlow 7s ease-in-out infinite;
}
@keyframes subHeroSunGlow {
    0%, 100% { transform: scale(1);    opacity: 0.7; }
    50%      { transform: scale(1.12); opacity: 1; }
}

/* Bubbles */
.sub-hero-bubbles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}
.sub-hero-bubbles span {
    position: absolute;
    bottom: -10px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.85), rgba(144,224,239,0.25) 60%, transparent);
    border: 1px solid rgba(255,255,255,0.18);
    animation: subHeroBubbleRise linear infinite;
}
@keyframes subHeroBubbleRise {
    0%   { transform: translateY(0) translateX(0) scale(0.5); opacity: 0; }
    10%  { opacity: 0.9; }
    50%  { transform: translateY(-20vh) translateX(8px) scale(1); }
    90%  { opacity: 0.7; }
    100% { transform: translateY(-50vh) translateX(-12px) scale(1.15); opacity: 0; }
}

/* Schwimmendes Boot */
.sub-hero-boat {
    position: absolute;
    bottom: 50px;
    left: -120px;
    width: 88px;
    height: 88px;
    z-index: 5;
    pointer-events: none;
    animation: subHeroBoatSail 28s linear infinite;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.3));
}
.sub-hero-boat svg {
    width: 100%;
    height: 100%;
    animation: subHeroBoatBob 3.8s ease-in-out infinite;
}
@keyframes subHeroBoatSail {
    0%   { left: -120px; }
    100% { left: 105%;   }
}
@keyframes subHeroBoatBob {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50%      { transform: translateY(-8px) rotate(2deg); }
}

/* Wellen unten */
.sub-hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    z-index: 4;
    pointer-events: none;
    overflow: hidden;
}
.sub-hero-waves .shw {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
}
.shw-1 { animation: subHeroWaveSlide 16s linear infinite; opacity: 0.55; }
.shw-2 { animation: subHeroWaveSlide 11s linear infinite reverse; opacity: 0.75; bottom: 3px; }
.shw-3 { animation: subHeroWaveSlide 22s linear infinite; opacity: 1; }
@keyframes subHeroWaveSlide {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Override: page-hero-decorated braucht z-index für Inhalt */
.page-hero-decorated .page-hero-logo { position: relative; z-index: 6; }
.page-hero-decorated h1               { position: relative; z-index: 6; }

@media (max-width: 768px) {
    .page-hero-decorated { padding: 110px 16px 100px !important; }
    .sub-hero-boat { width: 64px; height: 64px; bottom: 70px; }
    .sub-hero-sun  { width: 130px; height: 130px; }
    .sub-hero-waves { height: 70px; }
}


/* ============================================================
   NEUE BUCHEN.PHP — modernes, klares Layout
   ============================================================ */

.booking-card-v2 {
    max-width: 920px;
    margin: 30px auto 0;
    background: #fff;
    border-radius: 24px;
    padding: clamp(28px, 4vw, 52px);
    box-shadow: 0 30px 80px rgba(10,37,64,0.18);
    border: 1px solid var(--light-gray);
    position: relative;
    z-index: 5;
}

/* Stepper oben */
.booking-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--medium-gray);
}
.stepper-step.active { color: var(--ocean); }
.stepper-dot {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s var(--ease);
}
.stepper-step.active .stepper-dot {
    background: linear-gradient(135deg, var(--ocean), var(--sky));
    color: #fff;
    box-shadow: 0 6px 16px rgba(0,119,182,0.3);
}
.stepper-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.stepper-line {
    width: 40px;
    height: 2px;
    background: var(--light-gray);
    margin: 0 4px 22px;
}

/* Section-Wrapper */
.booking-section {
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--light-gray);
}
.booking-section:last-of-type { border-bottom: none; }

.booking-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--navy);
    flex-wrap: wrap;
}
.booking-section-title .bs-num {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--ocean), var(--sky));
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    flex-shrink: 0;
}
.bs-optional {
    font-size: 0.78rem;
    color: var(--medium-gray);
    font-weight: 400;
    font-family: var(--font-body);
}

/* Kurs-Auswahl Grid */
.booking-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.bcourse-card {
    background: #fff;
    border: 2px solid var(--light-gray);
    border-radius: 14px;
    padding: 18px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}
.bcourse-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.bcourse-card:hover {
    border-color: var(--ocean);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,119,182,0.12);
}
.bcourse-card.selected {
    border-color: var(--ocean);
    background: linear-gradient(135deg, rgba(0,119,182,0.08), rgba(144,224,239,0.06));
    box-shadow: 0 10px 25px rgba(0,119,182,0.18);
}
.bcourse-card.selected::after {
    content: '✓';
    position: absolute;
    top: 8px; right: 10px;
    width: 22px; height: 22px;
    background: var(--ocean);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}
.bcourse-icon {
    width: 56px; height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--seafoam), #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ocean);
    transition: all 0.3s var(--ease);
    overflow: hidden;
}
.bcourse-icon img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: inherit;
}
.bcourse-icon svg {
    width: 28px !important;
    height: 28px !important;
    color: var(--ocean);
    stroke: var(--ocean);
}
.bcourse-card.selected .bcourse-icon {
    background: linear-gradient(135deg, var(--ocean), var(--sky));
}
.bcourse-card.selected .bcourse-icon svg {
    color: #fff !important;
    stroke: #fff !important;
}
.bcourse-text {
    line-height: 1.3;
}
.bcourse-text strong {
    display: block;
    color: var(--navy);
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 2px;
}
.bcourse-text small {
    font-size: 0.78rem;
    color: var(--orange);
    font-weight: 600;
}

/* Termin-Auswahl */
.bappt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 12px;
}
.bappt-slot {
    background: #fff;
    border: 2px solid var(--light-gray);
    border-radius: 14px;
    padding: 16px 14px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    overflow: hidden;
}
.bappt-slot input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.bappt-slot:hover {
    border-color: var(--ocean);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,119,182,0.1);
}
.bappt-slot.selected {
    border-color: var(--ocean);
    background: linear-gradient(135deg, rgba(0,119,182,0.06), rgba(144,224,239,0.04));
}
.bappt-slot.selected::after {
    content: '✓';
    position: absolute;
    top: 8px; right: 10px;
    width: 22px; height: 22px;
    background: var(--ocean);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}
.bappt-date {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--navy);
    font-size: 1.05rem;
}
.bappt-time {
    color: var(--dark-gray);
    font-size: 0.92rem;
}
.bappt-course {
    color: var(--ocean);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 4px;
    line-height: 1.3;
}
.bappt-spots {
    font-size: 0.78rem;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--light-gray);
}
.bappt-spots-available { color: #059669; font-weight: 600; }
.bappt-spots-few       { color: #d97706; font-weight: 700; }

/* Form-Grid (2-Spalten auf Desktop) */
.booking-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.bfg-col { display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 768px) {
    .booking-form-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* Captcha */
.captcha-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.captcha-equation {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--navy);
    font-weight: 700;
    background: var(--seafoam);
    padding: 10px 16px;
    border-radius: 10px;
    flex-shrink: 0;
    letter-spacing: 1px;
}
.captcha-input {
    max-width: 120px;
}

/* Rechtliches / Checkboxen */
.booking-legal {
    background: var(--off-white);
    border-radius: 14px;
    padding: 22px 26px;
    margin: 28px 0 24px;
    border: 1px solid var(--light-gray);
}
.legal-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--dark-gray);
}
.legal-checkbox:last-of-type { margin-bottom: 0; }
.legal-checkbox input[type="checkbox"] {
    width: 18px; height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--ocean);
    cursor: pointer;
}
.legal-asterisk {
    color: var(--orange);
    font-weight: 700;
}
.legal-link {
    color: var(--orange);
    font-weight: 600;
    text-decoration: underline;
}
.legal-link:hover { color: #d94e16; }
.legal-fineprint {
    font-size: 0.8rem;
    color: var(--medium-gray);
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed var(--light-gray);
    line-height: 1.6;
}
.legal-required-note {
    font-size: 0.8rem;
    color: var(--medium-gray);
    margin-top: 14px;
}

/* Submit-Button (volle Breite) */
.btn-booking-submit {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
    font-size: 1.05rem;
}

/* Erfolgs-View */
.booking-success-v2 {
    text-align: center;
    padding: 20px 10px;
}
.booking-success-v2 .check-circle {
    width: 80px; height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(16,185,129,0.35);
    animation: successCheckPulse 1.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.booking-success-v2 .check-circle svg {
    width: 38px; height: 38px;
}
@keyframes successCheckPulse {
    0%   { transform: scale(0); opacity: 0; }
    60%  { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}
.booking-summary {
    background: var(--off-white);
    border: 1px solid var(--light-gray);
    border-radius: 14px;
    padding: 24px 28px;
    text-align: left;
    max-width: 560px;
    margin: 0 auto;
}
.booking-summary h4 {
    font-family: var(--font-display);
    color: var(--navy);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--light-gray);
}
.booking-summary dl { margin: 0; }
.booking-summary dl > div {
    display: flex;
    gap: 12px;
    padding: 6px 0;
    align-items: flex-start;
}
.booking-summary dt {
    font-weight: 600;
    color: var(--medium-gray);
    min-width: 110px;
    font-size: 0.88rem;
}
.booking-summary dd {
    color: var(--navy);
    margin: 0;
    flex: 1;
    font-weight: 500;
    font-size: 0.92rem;
}

@media (max-width: 768px) {
    .booking-card-v2 { margin-top: 20px; padding: 24px 18px; }
    .stepper-line { width: 22px; }
    .stepper-label { font-size: 0.7rem; }
    .booking-summary dl > div { flex-direction: column; gap: 0; }
    .booking-summary dt { min-width: auto; }
}


/* ============================================================
   PATCH v7 — Dashboard Charts + Security UI
   ============================================================ */

/* KPI-Karten oben */
.dash-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.dash-kpi {
    background: #fff;
    border-radius: 16px;
    padding: 22px 20px;
    border: 1px solid var(--light-gray);
    box-shadow: 0 4px 14px rgba(10,37,64,0.06);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.dash-kpi::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--ocean);
}
.dash-kpi-blue::before   { background: linear-gradient(90deg, #0077b6, #48cae4); }
.dash-kpi-green::before  { background: linear-gradient(90deg, #059669, #10b981); }
.dash-kpi-orange::before { background: linear-gradient(90deg, #ea580c, #f97316); }
.dash-kpi-purple::before { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.dash-kpi:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(10,37,64,0.1);
}
.dash-kpi-icon {
    font-size: 1.6rem;
    margin-bottom: 4px;
}
.dash-kpi-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 4px;
}
.dash-kpi-label {
    font-size: 0.85rem;
    color: var(--dark-gray);
    line-height: 1.4;
}
.dash-kpi-label small { color: var(--medium-gray); font-size: 0.78rem; }

/* Allgemeine Dashboard-Card */
.dash-card {
    background: #fff;
    border: 1px solid var(--light-gray);
    border-radius: 16px;
    padding: 22px 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(10,37,64,0.05);
}
.dash-card-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--light-gray);
}
.dash-card-head h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--navy);
    border: none;
    padding: 0;
}
.dash-card-head small {
    color: var(--medium-gray);
    font-size: 0.82rem;
}
.dash-card-link {
    color: var(--ocean);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}
.dash-card-link:hover { text-decoration: underline; }

/* 2-Spalten Grid */
.dash-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 900px) {
    .dash-grid-2 { grid-template-columns: 1fr; }
}

/* Linien-Chart */
.dash-line-chart svg {
    display: block;
    width: 100%;
}
.dash-line-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 0.74rem;
    color: var(--medium-gray);
}

/* Bar-Chart Liste (Top-Seiten) */
.dash-bar-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.dash-bar-item { font-size: 0.9rem; }
.dash-bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    color: var(--navy);
}
.dash-bar-label strong { color: var(--ocean); font-weight: 700; }
.dash-bar-track {
    width: 100%;
    height: 10px;
    background: var(--light-gray);
    border-radius: 6px;
    overflow: hidden;
}
.dash-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ocean), var(--sky));
    border-radius: 6px;
    transition: width 0.6s ease;
}

/* Donut */
.dash-donut-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.dash-donut { flex-shrink: 0; }
.dash-donut-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    min-width: 140px;
}
.dash-donut-legend li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.9rem;
}
.dash-donut-dot {
    display: inline-block;
    width: 10px; height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}
.dash-donut-name { flex: 1; color: var(--navy); }
.dash-donut-legend li strong { color: var(--ocean); font-weight: 700; }

/* Listen */
.dash-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.dash-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    align-items: start;
}
.dash-list li:last-child { border-bottom: none; }
.dash-list-name {
    grid-column: 1;
    font-weight: 600;
    color: var(--navy);
    font-size: 0.93rem;
}
.dash-list-meta {
    grid-column: 1;
    font-size: 0.8rem;
    color: var(--dark-gray);
}
.dash-list-time {
    grid-column: 2;
    grid-row: 1 / 3;
    font-size: 0.78rem;
    color: var(--medium-gray);
    white-space: nowrap;
}

/* Alerts auf Dashboard (Wartung / Sicherheit) */
.dash-alert {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 14px;
    margin-bottom: 20px;
    border: 1px solid;
}
.dash-alert-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    line-height: 1;
}
.dash-alert strong {
    display: block;
    margin-bottom: 4px;
}
.dash-alert span { font-size: 0.9rem; line-height: 1.5; }
.dash-alert-warn {
    background: #fef3c7;
    border-color: #fbbf24;
    color: #78350f;
}
.dash-alert-danger {
    background: #fee2e2;
    border-color: #f87171;
    color: #7f1d1d;
}
