/* ==========================================================================
   Frankfurter Motorbootclub e.V. — Stylesheet
   Farbwelt nach dem Vereinsstander: Marineblau, Signalrot, Weiß
   ========================================================================== */

:root {
  --navy: #1d3e7e;
  --navy-dark: #16305f;
  --navy-deep: #0e2145;
  --red: #e0252c;
  --red-dark: #b81d23;
  --white: #ffffff;
  --off-white: #f4f6fb;
  --ink: #1c2233;
  --muted: #5a6379;
  --line: #dde3ef;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 29, 63, 0.10);
  --shadow-lg: 0 24px 60px rgba(20, 29, 63, 0.18);
  --header-h: 72px;
  /* Systemschriften statt Webfonts — keine externen Font-Anbieter (DSGVO) */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy); }

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Header / Navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(20, 29, 63, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background .3s ease;
  padding-top: env(safe-area-inset-top);
}

.site-header.scrolled,
body.subpage .site-header {
  background: rgba(20, 29, 63, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .75rem;
}

/* Header darf breiter sein als der Inhalt, damit der Vereinsname
   samt "e.V." vollständig neben der Navigation Platz hat */
.site-header .container.header-inner {
  width: min(1240px, 100% - 2rem);
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--white);
  min-width: 0;
}

/* Freiraum gleichmäßig verteilen: Marke links, Navigation mittig,
   Mitglieder-Icon rechts — statt allen Abstand zwischen Marke und Menü */
.main-nav { order: 2; margin-left: auto; }
.member-btn { margin-left: auto; }

/* Mitgliederbereich: rotes Icon, immer oben rechts sichtbar */
.member-btn {
  order: 3;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(224, 37, 44, .4);
  transition: background .2s ease, transform .15s ease;
}

.member-btn:hover { background: var(--red-dark); }
.member-btn:active { transform: scale(.94); }
.member-btn svg { width: 22px; height: 22px; }

.nav-toggle { order: 4; }

/* Desktop: Icon genügt — Menüpunkt "Mitglieder" nur im mobilen Dropdown */
@media (min-width: 861px) {
  .nav-mitglieder { display: none; }
}

/* Mobil: Icon etwas kompakter, damit Logo + Name + Icon + Burger passen */
@media (max-width: 560px) {
  .member-btn { width: 38px; height: 38px; }
  .member-btn svg { width: 20px; height: 20px; }
}

.brand-flag {
  width: 74px;
  height: auto;
  flex: 0 0 auto;
  /* drop-shadow folgt der Dreiecksform des Standers (statt box-shadow am Rechteck) */
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.brand-text { line-height: 1.2; min-width: 0; }

.brand-name {
  display: block;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-sub {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: .5rem .8rem;
  border-radius: 999px;
  color: rgba(255,255,255,.88);
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  transition: background .2s ease, color .2s ease;
}

.main-nav a:hover { background: rgba(255,255,255,.14); color: var(--white); }

.main-nav a.active {
  background: var(--red);
  color: var(--white);
}

.nav-toggle {
  display: none;
  appearance: none;
  background: none;
  border: 0;
  padding: .6rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--white);
  transition: transform .3s ease, opacity .3s ease;
}

.nav-toggle span + span { margin-top: 6px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: calc(var(--header-h) + env(safe-area-inset-top));
    left: 0;
    right: 0;
    background: rgba(20, 29, 63, 0.97);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  body.nav-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    padding: 1rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
  }

  .main-nav a { border-radius: 10px; padding: .85rem 1rem; font-size: 1.05rem; }
}

/* --------------------------------------------------------------------------
   Hero (Startseite) mit Video-Hintergrund
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
  text-align: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Natives Hintergrundvideo, formatfüllend (16:9 → cover); das
   poster-Attribut überbrückt die Ladezeit */
.hero-media .hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,29,63,.62) 0%, rgba(20,29,63,.35) 40%, rgba(20,29,63,.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: .45rem 1.1rem;
  margin-bottom: 1.4rem;
}

.hero h1 {
  margin: 0 0 1.4rem;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-shadow: 0 4px 24px rgba(0,0,0,.35);
}

.hero-quote {
  max-width: 46rem;
  margin: 0 auto 2.2rem;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-style: italic;
  color: rgba(255,255,255,.92);
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: .98rem;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}

.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(200, 53, 60, .4);
}

.btn-primary:hover { background: var(--red-dark); }

.btn-ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover { background: rgba(255,255,255,.22); }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); }

.hero-scroll {
  position: absolute;
  bottom: calc(1.6rem + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
}

.hero-scroll svg { animation: bob 2s ease-in-out infinite; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll svg { animation: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Inhaltsbereiche
   -------------------------------------------------------------------------- */

.section { padding: 5rem 0; }
.section.alt { background: var(--off-white); }

.section-head { text-align: center; max-width: 44rem; margin: 0 auto 3rem; }

.section-kicker {
  display: inline-block;
  color: var(--red);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}

.section-head h2, .page-head h1 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-dark);
}

.section-head h2::after, .page-head h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: var(--red);
  margin: 1.1rem auto 0;
}

.page-head h1::after { margin-left: 0; }

.prose { max-width: 48rem; margin-inline: auto; }
.prose p { margin: 0 0 1.2rem; color: var(--muted); }
.prose strong { color: var(--ink); }

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

/* Fakten-Karten */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.fact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}

.fact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.fact-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--white);
}

.fact-card h3 { margin: 0 0 .5rem; font-size: 1.08rem; color: var(--navy-dark); }
.fact-card p { margin: 0; font-size: .93rem; color: var(--muted); }

/* Call-to-Action-Banner */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy));
  color: var(--white);
  border-radius: calc(var(--radius) + 6px);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: auto -10% -60% -10%;
  height: 120%;
  background: radial-gradient(ellipse at bottom, rgba(200,53,60,.35), transparent 65%);
  pointer-events: none;
}

.cta-banner h2 { position: relative; margin: 0 0 .8rem; font-size: clamp(1.5rem, 3.5vw, 2rem); }
.cta-banner p { position: relative; margin: 0 auto 1.6rem; max-width: 36rem; color: rgba(255,255,255,.85); }
.cta-banner .btn { position: relative; }

/* --------------------------------------------------------------------------
   Unterseiten
   -------------------------------------------------------------------------- */

.page-hero {
  background:
    linear-gradient(120deg, rgba(14,33,69,.82), rgba(29,62,126,.45)),
    url("../img/page-hero.jpg") center 30% / cover no-repeat;
  color: var(--white);
  padding: calc(var(--header-h) + env(safe-area-inset-top) + 4.5rem) 0 3.5rem;
}

.page-hero .breadcrumb {
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: .7rem;
  font-weight: 700;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-hero p.lead {
  margin: .9rem 0 0;
  max-width: 40rem;
  color: rgba(255,255,255,.85);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

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

.figure-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.figure-card img { width: 100%; object-fit: cover; }

.figure-card figcaption {
  padding: 1.1rem 1.3rem;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--muted);
  background: var(--off-white);
  border-top: 3px solid var(--red);
}

.badge-list { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 1.2rem 0 0; list-style: none; }

.badge-list li {
  background: var(--off-white);
  border: 1px solid var(--line);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: .86rem;
  padding: .5rem .95rem;
  border-radius: 999px;
}

.notice {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  background: #fdf1f1;
  border: 1px solid #f2c9cb;
  border-left: 5px solid var(--red);
  border-radius: 10px;
  padding: 1.1rem 1.3rem;
  color: var(--red-dark);
  font-weight: 700;
  margin: 1.5rem 0;
}

.notice svg { flex: 0 0 auto; margin-top: .2rem; }

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.8rem;
}

.contact-card h3 { margin-top: 0; color: var(--navy-dark); }

address { font-style: normal; line-height: 1.8; color: var(--muted); }
address strong { color: var(--ink); }

.contact-links { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .7rem; }

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.contact-links a:hover { color: var(--red); }

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

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

.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; color: var(--navy-dark); }

.field input, .field textarea {
  font: inherit;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--off-white);
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(44,58,114,.15);
  background: var(--white);
}

.field textarea { resize: vertical; min-height: 150px; }

form .btn { border: 0; cursor: pointer; font-family: inherit; }

#map {
  height: 420px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  z-index: 1;
}

@media (max-width: 640px) { #map { height: 320px; } }

/* --------------------------------------------------------------------------
   Impressum
   -------------------------------------------------------------------------- */

.legal h3 {
  color: var(--navy-dark);
  margin: 2.4rem 0 .8rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--line);
}

.legal p { color: var(--muted); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.78);
  padding: 3.5rem 0 0;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

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

.site-footer h4 {
  color: var(--white);
  font-size: .85rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }

.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: var(--white); }

.footer-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.footer-brand .brand-flag { width: 86px; height: auto; }
.footer-brand strong { color: var(--white); font-size: 1.05rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.3rem 0 calc(1.3rem + env(safe-area-inset-bottom));
  font-size: .85rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
}

.yt-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1rem;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white) !important;
  font-weight: 700;
  font-size: .9rem;
}

.yt-link:hover { background: var(--red); border-color: var(--red); }

/* Sanfte Einblendung beim Scrollen */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   Verbands-Links (Verein)
   -------------------------------------------------------------------------- */

.badge-list li a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.badge-list li:has(a) {
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.badge-list li:has(a):hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Wetter & Pegel
   -------------------------------------------------------------------------- */

.wx-updated {
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
  margin: 0 0 2rem;
}

.wx-card h3 {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--navy-dark);
}

.wx-sub { color: var(--muted); font-size: .9rem; margin-top: -.4rem; }

.pegel-value {
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin: 1rem 0;
}

.pegel-value small { font-size: .45em; font-weight: 700; color: var(--muted); }

.wx-now { display: flex; align-items: center; gap: 1rem; margin: 1rem 0; }
.wx-now-icon { font-size: 3rem; line-height: 1; }
.wx-now-temp { font-size: 2.2rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.wx-now-desc { color: var(--muted); font-weight: 600; }

.wx-list { list-style: none; padding: 0; margin: 1rem 0 0; }

.wx-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}

.wx-list li:last-child { border-bottom: 0; }
.wx-list li span { color: var(--muted); }
.wx-list li strong { color: var(--ink); text-align: right; }

.wx-source { font-size: .78rem; color: var(--muted); margin: 1rem 0 0; }

/* Vier Tageskarten: Desktop nebeneinander, darunter als wischbare Reihe */
.wx-days {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 1020px) {
  .wx-days {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: .9rem;
    padding-bottom: .75rem;
    scrollbar-width: thin;
  }

  .wx-days .wx-day-card {
    flex: 0 0 252px;
    scroll-snap-align: start;
  }
}

.wx-day-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.1rem;
}

.wx-day-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; }
.wx-day-icon { font-size: 2rem; line-height: 1; }
.wx-day-head h3 { margin: 0; font-size: .95rem; color: var(--navy-dark); text-transform: capitalize; }
.wx-day-head p { margin: 0; font-size: .78rem; color: var(--muted); line-height: 1.35; }

.wx-day-card .wx-slots { gap: .4rem; margin-bottom: .8rem; }
.wx-day-card .wx-slot { padding: .45rem .25rem; border-radius: 8px; }
.wx-day-card .wx-slot span { font-size: .62rem; letter-spacing: .04em; }
.wx-day-card .wx-slot strong { font-size: .95rem; }

.wx-day-card .wx-list { margin-top: 0; }
.wx-day-card .wx-list li { font-size: .84rem; padding: .4rem 0; }

.wx-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
  margin-bottom: 1rem;
}

.wx-slot {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .6rem .4rem;
  text-align: center;
}

.wx-slot span { display: block; font-size: .75rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.wx-slot strong { font-size: 1.15rem; color: var(--navy); }

.wx-loading { text-align: center; color: var(--muted); grid-column: 1 / -1; }

/* Wetter: Heute in vier Tagesabschnitten */
.wx-slots.four {
  grid-template-columns: repeat(4, 1fr);
  margin: 1.2rem 0;
}

@media (max-width: 560px) {
  .wx-slots.four { grid-template-columns: repeat(2, 1fr); }
}

.wx-slot em {
  display: block;
  font-style: normal;
  font-size: .8rem;
  color: var(--muted);
  margin-top: .1rem;
}

.wx-slot em.wx-slot-icon { font-size: 1.7rem; line-height: 1.25; margin: .2rem 0; }

/* Pegel: Verlaufsdiagramm */
.pegel-chart-wrap { position: relative; height: 380px; }

@media (max-width: 640px) { .pegel-chart-wrap { height: 260px; } }

/* --------------------------------------------------------------------------
   Mobile Feinschliff: Markenname vollständig zeigen, Hero-Überlappung lösen
   -------------------------------------------------------------------------- */

/* Auf schmalen Bildschirmen: Logo/Schrift und Abstände so verdichten,
   dass "Frankfurter Motorbootclub e.V." vollständig lesbar bleibt */
@media (max-width: 560px) {
  .site-header .header-inner { gap: .5rem; }
  .site-header .brand-flag { width: 48px; }
  .site-header .brand { gap: .5rem; }
  .site-header .brand-name { font-size: .78rem; }
  .site-header .brand-sub { font-size: .58rem; letter-spacing: .08em; }
  .site-header .nav-toggle { padding: .6rem .35rem; }
}

/* Hero: unten Platz für den "Entdecken"-Hinweis reservieren, damit er
   nicht mit den Buttons kollidiert (v. a. iPhone-Hochformat) */
@media (max-width: 700px) {
  .hero-content { padding-bottom: 8.5rem; }
  .hero-scroll { bottom: calc(2.2rem + env(safe-area-inset-bottom)); }
}

/* --------------------------------------------------------------------------
   Mitgliederseite / Klubraum
   -------------------------------------------------------------------------- */

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

.klubraum-logo {
  height: 46px;
  width: auto;
  margin: 0 auto 1.6rem;
}

.klubraum-card .btn { margin-top: 1.6rem; }

.klubraum-intro {
  max-width: 44rem;
  margin: 0 auto;
  color: var(--muted);
}

.klubraum-intro strong { color: var(--ink); }

/* Ablauf-Schritte für den Zugang */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  counter-increment: step;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem 1.2rem 4rem;
  box-shadow: var(--shadow);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: .95rem;
}

.steps li strong { color: var(--navy-dark); }
.steps li p { margin: .2rem 0 0; color: var(--muted); font-size: .95rem; }

/* App-Download */
.app-box {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.app-recommend {
  display: none;
  margin-bottom: 1.2rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.store-badges a {
  display: block;
  border-radius: 12px;
  transition: transform .15s ease, box-shadow .2s ease;
}

.store-badges a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.store-badges img { height: 54px; width: auto; display: block; }

/* Das für das erkannte System passende Badge wird hervorgehoben */
.store-badges a.is-recommended {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}
