/* ============================================================
   SPORTBOOTSCHULE BEILNGRIES — Design System
   Maritime Luxury · Clean 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 ── */
:root {
  --navy: #0a1628;
  --navy-light: #142742;
  --ocean: #1a3a5c;
  --ocean-mid: #2a5a8c;
  --sky: #3d7ec7;
  --sky-light: #5a9fe0;
  --white: #ffffff;
  --off-white: #f0f4f8;
  --cream: #fafbfd;
  --light-gray: #e2e8f0;
  --medium-gray: #94a3b8;
  --dark-gray: #475569;
  --orange: #e87722;
  --orange-light: #f59e4b;
  --orange-dark: #c75f10;
  --green: #059669;
  --green-light: #ecfdf5;
  --red: #dc2626;
  --red-light: #fef2f2;
  --yellow-light: #fffbeb;

  --glass-bg: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.15);

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

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

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-sm: 0 2px 8px rgba(10,22,40,0.05);
  --shadow-md: 0 4px 24px rgba(10,22,40,0.07);
  --shadow-lg: 0 12px 48px rgba(10,22,40,0.1);
  --shadow-xl: 0 20px 60px rgba(10,22,40,0.15);
}

/* ── 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); }
.text-center { text-align: center; }

/* ── Typography ── */
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
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(--orange);
  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); }

/* ── 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(232,119,34,0.3);
}
.btn-primary:hover {
  background: var(--orange-dark); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232,119,34,0.4);
}
.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(--orange); font-weight: 600; padding: 8px 0; }
.btn-ghost:hover { color: var(--orange-dark); }
.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: absolute; /* nicht mehr fixed */
  top: 50%;           /* vertikal in der Mitte des Viewports */
  left: 0;
  right: 0;
  transform: translateY(-50%); /* perfekt zentriert */
  padding: 20px 0;
  transition: all 0.4s var(--ease);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}

.navbar.scrolled {
  background: rgba(10,22,40,0.95); 
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* position & transform bleiben gleich, damit es weiterhin mittig ist */
}

.navbar.solid { 
  background: var(--navy); 
  padding: 10px 0; 
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .container {
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
}

/* Rest deines Nav-CSS bleibt gleich */

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(145deg, var(--navy), var(--ocean) 50%, var(--ocean-mid));
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(10,22,40,0.88), rgba(26,58,92,0.65) 50%, rgba(10,22,40,0.8));
}
.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; }
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-particles span {
  position: absolute; width: 3px; height: 3px;
  background: rgba(255,255,255,0.12); border-radius: 50%;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; } 90% { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1); 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(232,119,34,0.12); border: 1px solid rgba(232,119,34,0.25);
  color: var(--orange-light); padding: 7px 18px; border-radius: 60px;
  font-size: 0.82rem; font-weight: 600; margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.hero h1 { color: var(--white); margin-bottom: 20px; font-weight: 800; }
.hero h1 em { font-style: italic; color: var(--orange-light); }
.hero-text {
  color: rgba(255,255,255,0.72); 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.1);
}
.hero-stat h3 { color: var(--orange-light); font-size: 2rem; }
.hero-stat p { color: rgba(255,255,255,0.55); font-size: 0.83rem; margin-top: 2px; }
.hero-visual { animation: fadeUp 0.9s var(--ease) 0.4s both; }
.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: 60px; height: 60px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  border-radius: 15px; display: flex; align-items: center;
  justify-content: center; font-size: 1.7rem; margin-bottom: 20px;
}
.hero-card h3 { color: var(--white); margin-bottom: 10px; }
.hero-card p { color: rgba(255,255,255,0.6); 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.72); padding: 7px 0; font-size: 0.93rem;
}
.hero-card-list li::before { content: '✓'; color: var(--orange-light); font-weight: 700; }
.hero-floating {
  position: absolute; background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px; padding: 12px 18px; display: flex;
  align-items: center; gap: 8px; animation: floatBob 4s ease-in-out infinite;
}
.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;
}
.hero-floating span { color: var(--white); font-size: 0.82rem; font-weight: 500; }
@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 (sub-pages) ── */
.page-hero {
  padding: clamp(140px, 18vw, 200px) 0 clamp(60px, 8vw, 100px);
  background: linear-gradient(135deg, var(--navy), var(--ocean));
  text-align: center; color: var(--white); position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(232,119,34,0.07), transparent 60%);
}
.page-hero h1 { position: relative; z-index: 1; margin-bottom: 10px; }
.page-hero p { position: relative; z-index: 1; color: rgba(255,255,255,0.65); font-size: 1.08rem; }

/* ── COURSE CARDS ── */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 26px; }
.course-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); transition: all 0.4s var(--ease);
  border: 1px solid var(--light-gray);
}
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.course-card-image {
  height: 195px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 2.8rem;
}
.course-card-badge {
  position: absolute; top: 14px; right: 14px; background: var(--orange);
  color: var(--white); padding: 5px 14px; border-radius: 60px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.5px;
}
.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; margin-bottom: 18px; line-height: 1.7; }
.course-card-meta { display: flex; gap: 18px; margin-bottom: 18px; flex-wrap: wrap; }
.course-card-meta span { display: flex; align-items: center; gap: 5px; font-size: 0.83rem; color: var(--dark-gray); }
.course-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 18px; border-top: 1px solid var(--light-gray);
}
.course-price { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.course-price small { font-size: 0.78rem; color: var(--dark-gray); font-weight: 400; display: block; font-family: var(--font-body); }

/* ── FEATURE CARDS ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.feature-card {
  padding: 32px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--light-gray); transition: all 0.4s var(--ease);
}
.feature-card:hover { border-color: var(--orange); box-shadow: 0 12px 40px rgba(232,119,34,0.08); transform: translateY(-3px); }
.feature-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(232,119,34,0.1), rgba(232,119,34,0.03));
  border-radius: 13px; display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem; margin-bottom: 18px;
}
.feature-card h4 { margin-bottom: 8px; }
.feature-card p { color: var(--dark-gray); font-size: 0.93rem; line-height: 1.75; }

/* ── TESTIMONIALS / REVIEWS ── */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.review-card {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--light-gray); position: relative;
  transition: all 0.4s var(--ease);
}
.review-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.review-quote {
  position: absolute; top: 16px; right: 24px; font-size: 3.5rem;
  color: var(--off-white); 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;
}
.faq-item:hover { border-color: var(--ocean-mid); }
.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(--off-white);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease); flex-shrink: 0; font-size: 1.15rem;
  color: var(--ocean-mid);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--orange); 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; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--ocean)); 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(232,119,34,0.1), transparent 60%);
}
.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.65); margin-bottom: 30px; font-size: 1.08rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ── SIGNAL CARD ── */
.signal-card {
  background: linear-gradient(135deg, var(--navy), var(--ocean));
  border-radius: var(--radius); padding: 40px; color: var(--white); text-align: center;
}
.signal-card h3 { margin-bottom: 10px; }
.signal-card p { color: rgba(255,255,255,0.65); 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);
}
.form-control:focus { border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 4px rgba(232,119,34,0.08); }
.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 / TOAST ── */
.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; }

.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; } }

/* ── TERMINE TABLE ── */
.termine-wrap {
  overflow-x: auto; border-radius: var(--radius-sm);
  border: 1px solid var(--light-gray); box-shadow: var(--shadow-md);
}
.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 CARDS ── */
.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); }
.blog-card-image {
  height: 195px; overflow: hidden; display: flex;
  align-items: center; justify-content: center; font-size: 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(--orange);
  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(--orange); font-weight: 600; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 4px; }
.blog-card-link:hover { gap: 8px; }

/* Blog post full */
.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(--orange); text-decoration: underline; }

/* ── 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; }
.contact-info-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, rgba(232,119,34,0.1), rgba(232,119,34,0.03));
  border-radius: var(--radius-sm); display: flex; align-items: center;
  justify-content: center; font-size: 1.15rem; flex-shrink: 0;
}
.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-mid); }
.map-container {
  border-radius: var(--radius); overflow: hidden; height: 380px;
  margin-top: 40px; box-shadow: var(--shadow-md); border: 1px solid var(--light-gray);
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* ── ABOUT ── */
/* ── ABOUT ── */
.about-grid { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 56px; 
  align-items: center; 
  justify-content: center; /* Horizontale Zentrierung */
}

.about-image {
  border-radius: 24px; 
  height: 400px; 
  display: flex;
  align-items: center; 
  justify-content: center; 
  color: var(--white);
  font-size: 1.05rem; 
  opacity: 0.85;

  /* Damit das Bild immer mittig bleibt */
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
}

.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(--off-white); 
}

.about-value-icon { 
  font-size: 2rem; 
  margin-bottom: 10px; 
}

.about-value h4 { 
  margin-bottom: 6px; 
  font-size: 1rem; 
}

.about-value p { 
  color: var(--dark-gray);  
  font-size: 0.88rem; 
}

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

/* ── BOOKING PAGE ── */
.booking-hero {
  background: linear-gradient(135deg, var(--navy), var(--ocean));
  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);
}
.booking-course-chip:hover { border-color: var(--orange); color: var(--orange); }
.booking-course-chip.selected {
  border-color: var(--orange); background: rgba(232,119,34,0.07);
  color: var(--orange);
}
.booking-success {
  text-align: center; padding: 40px 20px; display: none;
}
.booking-success .check-circle {
  width: 72px; height: 72px; background: var(--green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--white); margin: 0 auto 20px;
  animation: scaleIn 0.5s var(--ease-spring);
}
@keyframes scaleIn { from { transform: scale(0); } to { transform: scale(1); } }

/* ── ADMIN PANEL ── */
.admin-login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--ocean)); 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 .nav-logo-icon { width: 36px; height: 36px; font-size: 1.1rem; border-radius: 9px; }
.admin-nav { flex: 1; }
.admin-nav-item {
  display: flex; align-items: center; gap: 10px; padding: 12px 24px;
  color: rgba(255,255,255,0.6); font-size: 0.9rem; font-weight: 500;
  cursor: pointer; transition: all 0.3s; width: 100%; text-align: left;
}
.admin-nav-item:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.admin-nav-item.active {
  color: var(--white); background: rgba(232,119,34,0.15);
  border-right: 3px solid var(--orange);
}
.admin-nav-item .nav-icon { font-size: 1.1rem; width: 24px; text-align: center; }
.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; }
.admin-body { padding: 28px 32px; max-width: 1000px; }
.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;
}
.admin-list-item:hover { background: var(--off-white); }
.admin-list-item h4 { font-size: 0.95rem; font-family: var(--font-body); font-weight: 600; }
.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;
}
.admin-btn-edit { background: var(--off-white); color: var(--navy); border: 1px solid var(--light-gray); }
.admin-btn-edit:hover { background: var(--light-gray); }
.admin-btn-delete { background: var(--red-light); color: var(--red); border: 1px solid #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: 220px; }
.admin-editor-actions { display: flex; gap: 8px; margin-top: 14px; justify-content: flex-end; }
.admin-mobile-toggle {
  display: none; background: var(--navy); color: var(--white);
  padding: 10px 16px; font-size: 1.2rem; border-radius: var(--radius-xs);
}
.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); }

/* ── FOOTER ── */
.footer { background: var(--navy); color: rgba(255,255,255,0.65); padding: 56px 0 28px; }
.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.55); font-size: 0.88rem; }
.footer-links a:hover { color: var(--orange-light); }
.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.45); }
.footer-bottom a:hover { color: var(--orange-light); }

/* ── 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; }

/* ── SPINNER ── */
.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(--orange); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── 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: rgba(10,22,40,0.97); backdrop-filter: blur(20px);
    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); }
}
@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; }
}

/* ═══ UPDATE: Dark Mode + Neue Components ═══ */
[data-theme="dark"]{--page-bg:#0c1220;--page-text:#e2e8f0;--off-white:#141c2e;--white:#0c1220;--light-gray:#1e2a42;--medium-gray:#64748b;--dark-gray:#94a3b8;--cream:#101828;--navy:#e2e8f0;--navy-light:#0c1220}
[data-theme="dark"] body{background:#0c1220;color:#e2e8f0}
[data-theme="dark"] .navbar.solid{background:#0c1220}[data-theme="dark"] .hero-wave svg path{fill:#0c1220}[data-theme="dark"] .bg-off-white{background:#101828}
[data-theme="dark"] .course-card,[data-theme="dark"] .review-card,[data-theme="dark"] .feature-card,[data-theme="dark"] .faq-item,[data-theme="dark"] .blog-card,[data-theme="dark"] .form-card,[data-theme="dark"] .booking-card,[data-theme="dark"] .admin-card,[data-theme="dark"] .about-value{background:#141c2e;border-color:#1e2a42}
[data-theme="dark"] .form-control{background:#1a2438;border-color:#2a3a52;color:#e2e8f0}[data-theme="dark"] .form-control:focus{border-color:var(--orange);background:#141c2e}
[data-theme="dark"] .faq-question{color:#e2e8f0}[data-theme="dark"] .termine-table thead{background:#1a2438}[data-theme="dark"] .termine-table td{background:#141c2e;border-color:#1e2a42}[data-theme="dark"] .termine-table tbody tr:hover td{background:#1a2438}
[data-theme="dark"] .footer{background:#080e1a}[data-theme="dark"] .admin-sidebar{background:#0c1220}[data-theme="dark"] .admin-topbar{background:#141c2e;border-color:#1e2a42}
[data-theme="dark"] .admin-list-item{background:#141c2e;border-color:#1e2a42}[data-theme="dark"] .admin-list-item:hover{background:#1a2438}[data-theme="dark"] .admin-login-card{background:#141c2e}
[data-theme="dark"] .booking-course-chip{background:#141c2e;border-color:#1e2a42;color:#e2e8f0}[data-theme="dark"] .review-quote{color:#1e2a42}
[data-theme="dark"] .status-available{background:rgba(5,150,105,.15);color:#34d399}[data-theme="dark"] .status-few{background:rgba(245,158,11,.15);color:#fbbf24}[data-theme="dark"] .status-full{background:rgba(220,38,38,.15);color:#f87171}
[data-theme="dark"] .alert-success{background:rgba(5,150,105,.15);color:#34d399;border-color:rgba(5,150,105,.3)}[data-theme="dark"] .alert-error{background:rgba(220,38,38,.15);color:#f87171;border-color:rgba(220,38,38,.3)}
[data-theme="dark"] .admin-btn-edit{background:#1a2438;color:#e2e8f0;border-color:#2a3a52}[data-theme="dark"] .admin-btn-delete{background:rgba(220,38,38,.15);border-color:rgba(220,38,38,.3)}

.theme-toggle{position:relative;width:52px;height:28px;border-radius:14px;background:var(--light-gray);cursor:pointer;transition:background .3s;border:2px solid transparent;flex-shrink:0}
.theme-toggle::after{content:'☀️';position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font-size:.65rem;transition:transform .3s cubic-bezier(.34,1.56,.64,1);box-shadow:0 1px 4px rgba(0,0,0,.15)}
[data-theme="dark"] .theme-toggle{background:#2a5a8c}[data-theme="dark"] .theme-toggle::after{content:'🌙';transform:translateX(24px)}

.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 .3s;text-align:center}
[data-theme="dark"] .appointment-slot{border-color:#1e2a42;background:#141c2e}
.appointment-slot:hover{border-color:var(--orange);transform:translateY(-2px)}
.appointment-slot.selected,.appointment-slot:has(input:checked){border-color:var(--orange);background:rgba(232,119,34,.07)}
.apt-date{font-weight:700;font-size:1rem;margin-bottom:4px}.apt-time{color:var(--dark-gray);font-size:.85rem}
.apt-course{font-size:.78rem;color:var(--orange);font-weight:600;margin-top:4px}.apt-spots{font-size:.75rem;color:var(--medium-gray);margin-top:2px}

.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 .3s}
[data-theme="dark"] .image-item{border-color:#1e2a42;background:#141c2e}
.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:.78rem;color:var(--dark-gray)}
.image-item-actions{padding:0 10px 10px;display:flex;gap:4px}

.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)}
[data-theme="dark"] .legal-content h3{color:#5a9fe0}
.legal-content p{color:var(--dark-gray);line-height:1.85;margin-bottom:12px}.legal-content a{color:var(--orange);text-decoration:underline}

.spinner{width:18px;height:18px;border:3px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .6s linear infinite;display:inline-block;vertical-align:middle}
@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:12px;color:#fff;font-weight:500;font-size:.9rem;box-shadow:var(--shadow-xl);animation:slideInRight .4s var(--ease);max-width:380px;transition:opacity .3s}
.toast-success{background:var(--green)}.toast-error{background:var(--red)}
@keyframes slideInRight{from{transform:translateX(100%);opacity:0}to{transform:translateX(0);opacity:1}}

@media(max-width:768px){.appointment-grid{grid-template-columns:1fr}.image-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.image-grid{grid-template-columns:1fr}}

