/* ===== DESIGN TOKENS ===== */
:root {
  --ink: #0B1A2B;
  --ink-dark: #071320;
  --teal: #1E8FA8;
  --teal-light: #4FC3D9;
  --sunset: #E8A33D;
  --sand: #F6F2EA;
  --text-light: #F2F6F8;
  --text-muted: #5A6B78;
  --text-body: #2D3A44;
  --border: rgba(11, 26, 43, 0.12);
  --border-light: rgba(242, 246, 248, 0.18);
  --shadow-sm: 0 1px 3px rgba(11, 26, 43, 0.08);
  --shadow-md: 0 4px 16px rgba(11, 26, 43, 0.10);
  --shadow-lg: 0 8px 32px rgba(11, 26, 43, 0.14);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 20px;
  --font-sans: ui-sans-serif, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: Georgia, "Iowan Old Style", serif;
  --max-width: 1200px;
  --header-h: 72px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }

/* ===== FOCUS ===== */
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 3px;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }

.kicker {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.6rem;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.section {
  padding-block: clamp(5rem, 10vw, 9rem);
}

.section-dark {
  background: var(--ink);
  color: var(--text-light);
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--text-light); }
.section-dark .kicker { color: var(--teal-light); }

.section-light {
  background: var(--sand);
}

/* Section with photo background */
.section-photo {
  position: relative;
  background: var(--ink-dark);
  color: var(--text-light);
  overflow: hidden;
}
.section-photo h1, .section-photo h2, .section-photo h3 { color: var(--text-light); }
.section-photo .section-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.section-photo .section-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,19,32,0.7) 0%, rgba(11,26,43,0.85) 100%);
}
.section-photo .container { position: relative; z-index: 1; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  min-height: 48px;
  min-width: 44px;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--sunset);
  color: var(--ink-dark);
}
.btn-primary:hover {
  background: #f0b44f;
  box-shadow: 0 4px 20px rgba(232, 163, 61, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 1.5px solid rgba(242, 246, 248, 0.5);
}
.btn-secondary:hover {
  background: rgba(242, 246, 248, 0.1);
  border-color: var(--text-light);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: #fff;
}

.btn-ghost {
  color: var(--teal);
  padding: 0.5rem 0;
  border-radius: 0;
  font-weight: 600;
}
.btn-ghost:hover { color: var(--ink); }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.site-header.scrolled {
  background: rgba(11, 26, 43, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.01em;
}
.logo svg { flex-shrink: 0; }

/* Nav */
.nav-links { display: flex; gap: 0.25rem; }
.nav-links a {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(242, 246, 248, 0.85);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-light);
  background: rgba(242, 246, 248, 0.1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(7, 19, 32, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--teal-light); }

/* ===== HERO ===== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + 3rem) 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,19,32,0.55) 0%, rgba(11,26,43,0.8) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero h1 { color: var(--text-light); margin-bottom: 1.2rem; }
.hero .lead {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: rgba(242, 246, 248, 0.85);
  line-height: 1.6;
  margin-bottom: 2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Hero small (inner pages) */
.hero-sm {
  min-height: 50vh;
  min-height: 50svh;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--ink-dark);
  padding-block: 1.2rem;
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(242, 246, 248, 0.8);
}
.trust-list svg { flex-shrink: 0; color: var(--teal-light); }

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}
.section-dark .section-header p { color: rgba(242, 246, 248, 0.7); }

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.card-body { padding: 1.5rem; }
.card-body h3 { margin-bottom: 0.5rem; }
.card-body p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; }
.card-body .btn { margin-top: 0.25rem; }

/* Card dark variant */
.section-dark .card {
  background: rgba(255,255,255,0.06);
  border-color: var(--border-light);
}
.section-dark .card h3 { color: var(--text-light); }
.section-dark .card p { color: rgba(242, 246, 248, 0.65); }

/* Small cards (flotte teaser) */
.card-sm .card-img { aspect-ratio: 4 / 3; }
.card-sm .card-body { padding: 1rem 1.2rem; }
.card-sm h3 { font-size: 1.1rem; }
.card-sm p { font-size: 0.82rem; }

/* ===== FEATURE GRID (Erlebnisse) ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.feature-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  transition: transform 0.2s;
}
.feature-item:hover { transform: translateY(-3px); }
.feature-item svg { flex-shrink: 0; margin-top: 0.15rem; }
.feature-item h4 { font-size: 1rem; margin-bottom: 0.3rem; }
.feature-item p { font-size: 0.9rem; color: var(--text-muted); }

.section-dark .feature-item {
  background: rgba(255,255,255,0.05);
  border-color: var(--border-light);
}
.section-dark .feature-item h4 { color: var(--text-light); }
.section-dark .feature-item p { color: rgba(242,246,248,0.6); }

/* ===== STEPS (Ablauf) ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 3rem;
  text-align: center;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

@media (max-width: 700px) {
  .steps-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ===== REVIERE PANELS ===== */
.revier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.revier-panel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  min-height: 400px;
}
.revier-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.revier-panel:hover img { transform: scale(1.05); }
.revier-panel .revier-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,19,32,0.85) 20%, rgba(7,19,32,0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 1.5rem;
}
.revier-panel h3 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}
.revier-panel p {
  color: rgba(242,246,248,0.75);
  font-size: 0.9rem;
  line-height: 1.55;
}

@media (max-width: 800px) {
  .revier-grid { grid-template-columns: 1fr; }
  .revier-panel { aspect-ratio: 16 / 10; min-height: 280px; }
}

/* ===== GALLERY ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 0.75rem;
}
.gallery a {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
}
.gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery a:nth-child(4) { grid-column: span 2; }
.gallery a:nth-child(8) { grid-column: span 2; }
.gallery a:nth-child(11) { grid-column: span 2; grid-row: span 2; }
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.gallery a:hover img { transform: scale(1.06); }

@media (max-width: 768px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery a:nth-child(1),
  .gallery a:nth-child(4),
  .gallery a:nth-child(8),
  .gallery a:nth-child(11) { grid-column: span 1; grid-row: span 1; }
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7, 19, 32, 0.94);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: var(--text-light);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background 0.2s;
  font-size: 1.5rem;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.2); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ===== CREW ===== */
.crew-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 1.5rem;
}
.crew-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 110px;
}
.crew-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
.crew-avatar-placeholder {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  border: 2px solid var(--border);
}
.crew-name { font-weight: 600; font-size: 0.9rem; }
.crew-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.crew-quote {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  border-left: 4px solid var(--teal);
  box-shadow: var(--shadow-sm);
}
.crew-quote p { font-style: italic; color: var(--text-body); font-size: 0.95rem; }
.crew-quote .attribution { display: block; margin-top: 0.75rem; font-style: normal; font-weight: 600; color: var(--teal); font-size: 0.85rem; }

/* ===== FLEET DETAIL (flotte.html) ===== */
.boat-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: clamp(3rem, 8vw, 6rem);
}
.boat-block:nth-child(even) .boat-img-wrap { order: -1; }
.boat-block + .boat-block { border-top: 1px solid var(--border); }
.boat-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.boat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.boat-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
  margin: 1.2rem 0;
}
.boat-specs dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.boat-specs dd {
  font-size: 0.95rem;
  font-weight: 500;
}
.boat-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--teal);
  margin-top: 0.5rem;
}

@media (max-width: 800px) {
  .boat-block { grid-template-columns: 1fr; gap: 1.5rem; }
  .boat-block:nth-child(even) .boat-img-wrap { order: 0; }
}

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info { color: rgba(242,246,248,0.85); }
.contact-info h3 { color: var(--text-light); margin-bottom: 1rem; }
.contact-info address { font-style: normal; line-height: 1.8; }
.contact-info a {
  color: var(--teal-light);
  transition: color 0.2s;
}
.contact-info a:hover { color: var(--text-light); }

.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
  color: rgba(242,246,248,0.8);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(242,246,248,0.2);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: var(--text-light);
  transition: border-color 0.2s, background 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal-light);
  background: rgba(255,255,255,0.12);
  outline: none;
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-group select option { background: var(--ink); color: var(--text-light); }

.form-success {
  display: none;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(79, 195, 217, 0.15);
  border: 1px solid var(--teal-light);
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}
.form-success.visible { display: block; }

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, var(--teal) 0%, #167a91 100%);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; font-size: 1.1rem; }

/* ===== CHIPS ===== */
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.chip {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  background: rgba(30, 143, 168, 0.1);
  color: var(--teal);
  border: 1px solid rgba(30, 143, 168, 0.2);
  border-radius: 50px;
  white-space: nowrap;
}

/* ===== IMAGE-TEXT SPLIT ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-content p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.section-dark .split-content p { color: rgba(242,246,248,0.7); }

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

/* ===== FLOTTE TEASER ===== */
.flotte-teaser-intro {
  max-width: 650px;
  margin-inline: auto;
  text-align: center;
  font-size: 1.05rem;
  color: rgba(242, 246, 248, 0.7);
  margin-bottom: 2.5rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--ink-dark);
  color: rgba(242, 246, 248, 0.6);
  padding-block: 4rem 2rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-col h4 {
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col a,
.footer-col li {
  display: block;
  padding-block: 0.2rem;
  color: rgba(242,246,248,0.55);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text-light); }

.footer-seals {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.footer-seals img {
  height: 40px;
  width: auto;
  filter: grayscale(1) brightness(1.3);
  opacity: 0.7;
  transition: filter 0.3s, opacity 0.3s;
}
.footer-seals img:hover {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(242,246,248,0.08);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
}
.footer-bottom .credit {
  color: var(--teal-light);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: var(--ink); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== COURSE SECTION ===== */
.course-section {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}
.course-section + .course-section {
  border-top: 1px solid var(--border);
}
.course-section h2 { margin-bottom: 1rem; }
.course-section .price-tag {
  display: inline-block;
  font-weight: 700;
  color: var(--teal);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.course-section p { color: var(--text-muted); line-height: 1.75; margin-bottom: 0.75rem; }
.section-dark .course-section p { color: rgba(242,246,248,0.7); }
.section-dark .course-section + .course-section { border-color: var(--border-light); }

.requirements-list {
  padding-left: 1.5rem;
  margin: 1rem 0;
}
.requirements-list li {
  list-style: disc;
  padding-block: 0.3rem;
  color: var(--text-muted);
}
.section-dark .requirements-list li { color: rgba(242,246,248,0.7); }

.pruefungsfaecher {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.pruefungsfach {
  background: rgba(30, 143, 168, 0.08);
  border: 1px solid rgba(30, 143, 168, 0.15);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
}
.pruefungsfach h4 { font-size: 0.85rem; margin-bottom: 0.35rem; font-family: var(--font-sans); }
.pruefungsfach p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ===== HIGHLIGHT TEXT ===== */
.highlight-text {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 720px;
}

/* ===== PAGE HERO OVERRIDE (non-index) ===== */
.page-hero .hero-content { max-width: 650px; }
.page-hero h1 { margin-bottom: 1rem; }

/* ===== RESPONSIVE NAV ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

@media (min-width: 769px) {
  .mobile-nav { display: none !important; }
}

/* ===== UTILITY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* ===== SELECT ARROW ===== */
.form-group select {
  appearance: none;
  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='%23F2F6F8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ===== REQUIRED ASTERISK ===== */
.form-group label .required {
  color: var(--sunset);
}
