/* ═══════════════════════════════════════════════════════════════
   artikel.css — gemeinsames Stylesheet für alle Berichtsseiten
   und das Merkblatt. Übernimmt die Design-Tokens der Startseite
   und von vereinsboot.html, damit alles aus einem Guss wirkt.

   Liegt im Hauptverzeichnis. Einbinden:
     Seiten im Hauptverzeichnis   →  href="artikel.css"
     Seiten im Ordner /berichte/  →  href="../artikel.css"
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --slate:   #1a2e3b;
  --teal:    #2d7d6f;
  --teal-lt: #3a9e8d;
  --sand:    #f5f6f4;
  --muted:   #6b7b85;
  --border:  #d8dfe3;
  --white:   #ffffff;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--slate);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--teal-lt); outline-offset: 3px; border-radius: 4px;
}

/* ── NAV (identisch zur Startseite) ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 64px;
  background: rgba(26,46,59,0.95); backdrop-filter: blur(8px);
}
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em; transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-cta { background: var(--teal); color: var(--white) !important; padding: 0.4rem 1rem; border-radius: 6px; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--teal-lt) !important; }
.hamburger { display: none; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: white; margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* ── HERO ── */
.artikel-hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: 68vh; padding: 130px 5vw 3.25rem;
  overflow: hidden; background: var(--slate);
}
.artikel-hero-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center 55%; }
.artikel-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,30,40,0.95) 0%, rgba(15,30,40,0.66) 48%, rgba(15,30,40,0.5) 100%);
}
.artikel-hero-inner { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; width: 100%; }

/* Die Brotkrumen sind ebenfalls ein <nav>. Ohne diesen Reset würde die
   Regel für die fixierte Hauptnavigation weiter oben auch hier greifen. */
.breadcrumb {
  position: static; display: block; height: auto;
  padding: 0; background: none; backdrop-filter: none;
  font-size: 0.8rem; color: rgba(255,255,255,0.62); margin-bottom: 1.5rem;
}
.breadcrumb a { color: rgba(255,255,255,0.75); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }

.hero-eyebrow { display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal-lt); margin-bottom: 1rem; }
.artikel-hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); font-weight: 800; line-height: 1.1; color: var(--white); max-width: 20ch; text-shadow: 0 2px 24px rgba(0,0,0,0.3); }
.artikel-hero .lead { font-size: 1.08rem; font-weight: 300; color: rgba(255,255,255,0.85); max-width: 60ch; margin: 1.25rem 0 2rem; line-height: 1.75; }

/* Fakten-Leiste im Hero: Datum, Ort, Methode, Top-Fang */
.fact-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,0.15); border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
}
.fact { background: rgba(15,30,40,0.55); padding: 1.1rem 1.25rem; backdrop-filter: blur(4px); }
.fact-num { font-size: 1.15rem; font-weight: 700; color: var(--white); line-height: 1.2; }
.fact-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); margin-top: 0.25rem; letter-spacing: 0.03em; }

/* ── ARTIKEL-KÖRPER ── */
.artikel { padding: 4.5rem 5vw 3rem; }
.artikel-inner { max-width: 720px; margin: 0 auto; }
.artikel-meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 2.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.artikel h2 { font-size: clamp(1.35rem, 2.8vw, 1.75rem); font-weight: 700; line-height: 1.25; margin: 3rem 0 1rem; }
.artikel h2:first-of-type { margin-top: 0; }
.artikel h3 { font-size: 1.1rem; font-weight: 650; margin: 2rem 0 0.6rem; }
.artikel p { margin-bottom: 1.15rem; }
.artikel p.intro { font-size: 1.12rem; line-height: 1.75; color: var(--slate); }
.artikel a { color: var(--teal); font-weight: 500; }
/* Buttons im Artikel: .artikel a (0,1,1) schlägt sonst .btn-primary (0,1,0)
   und färbt die Schrift teal auf teal — der Text wird unsichtbar. */
.artikel a.btn-primary { color: var(--white); font-weight: 600; }
.artikel a.btn-ghost { color: var(--slate); font-weight: 500; }
.artikel ul { margin: 0 0 1.15rem 1.25rem; }
.artikel li { margin-bottom: 0.5rem; }
.artikel li::marker { color: var(--teal); }

/* Bilder: volle Textbreite, mit Bildlegende */
figure { margin: 2.25rem 0; }
figure img { width: 100%; height: auto; display: block; border-radius: 12px; box-shadow: 0 12px 34px rgba(26,46,59,0.12); }
figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.7rem; line-height: 1.55; }

/* Zwei Bilder nebeneinander — gleiche Höhe, damit die Bildlegenden fluchten */
.figure-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 2.25rem 0; }
.figure-paar figure { margin: 0; }
.figure-paar img { aspect-ratio: 4 / 3; object-fit: cover; }

/* Bild etwas breiter als der Text, für die Hauptaufnahme im Querformat */
.figure-breit { margin-left: calc(-1 * min(9vw, 110px)); margin-right: calc(-1 * min(9vw, 110px)); }

/* Hochformat: schmaler halten, sonst füllt ein Handyfoto den halben Bildschirm */
.figure-hoch { max-width: 460px; margin-left: auto; margin-right: auto; }

/* Zitat aus dem Bericht */
blockquote {
  margin: 2.25rem 0; padding: 1.4rem 1.6rem;
  background: var(--sand); border-left: 4px solid var(--teal); border-radius: 0 10px 10px 0;
  font-size: 1.06rem; line-height: 1.7; font-style: italic; color: var(--slate);
}
blockquote cite { display: block; margin-top: 0.6rem; font-size: 0.85rem; font-style: normal; color: var(--muted); }

/* Eckdaten-Tabelle */
.daten-tabelle { width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem; }
.daten-tabelle th, .daten-tabelle td { text-align: left; padding: 0.9rem 0.5rem; border-bottom: 1px solid var(--border); font-size: 0.95rem; vertical-align: top; }
.daten-tabelle th { width: 40%; font-weight: 600; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.daten-tabelle td { font-weight: 500; }
.daten-tabelle caption { text-align: left; font-size: 0.8rem; color: var(--muted); padding-bottom: 0.6rem; }

/* Hinweisbox */
.hinweis { background: var(--sand); border-radius: 12px; padding: 1.5rem 1.6rem; margin: 2rem 0; font-size: 0.96rem; }
.hinweis strong { display: block; margin-bottom: 0.4rem; }

/* ── CTA am Artikelende ── */
.artikel-cta { background: var(--slate); padding: 4rem 5vw; text-align: center; }
.artikel-cta h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; margin-bottom: 1rem; }
.artikel-cta p { color: rgba(255,255,255,0.65); max-width: 52ch; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary { display: inline-block; padding: 0.85rem 1.9rem; background: var(--teal); color: var(--white); border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: background 0.2s, transform 0.15s; }
.btn-primary:hover { background: var(--teal-lt); transform: translateY(-1px); }
.btn-ghost { display: inline-block; padding: 0.85rem 1.9rem; border: 1px solid rgba(255,255,255,0.35); color: rgba(255,255,255,0.9); border-radius: 8px; text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: border-color 0.2s, color 0.2s, transform 0.15s; }
.btn-ghost:hover { border-color: white; color: white; transform: translateY(-1px); }

/* ── WEITERE BERICHTE (interne Verlinkung) ── */
.weitere { background: var(--sand); padding: 4rem 5vw; }
.weitere-inner { max-width: 1100px; margin: 0 auto; }
.weitere h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: 1.75rem; }
.weitere-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.weitere-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
.weitere-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(26,46,59,0.11); }
.weitere-card img { width: 100%; height: 150px; object-fit: cover; display: block; }
.weitere-card-body { padding: 1.1rem 1.2rem 1.35rem; }
.weitere-datum { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.weitere-card h3 { font-size: 1.02rem; font-weight: 650; margin: 0.45rem 0 0.4rem; line-height: 1.35; }
.weitere-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.55; }

/* ── ÜBERSICHTSSEITE /berichte/ ── */
.hub-hero { background: var(--slate); padding: 130px 5vw 4rem; }
.hub-hero-inner { max-width: 1100px; margin: 0 auto; }
.hub-hero h1 { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 800; color: var(--white); line-height: 1.1; max-width: 18ch; }
.hub-hero .lead { font-size: 1.08rem; font-weight: 300; color: rgba(255,255,255,0.75); max-width: 62ch; margin-top: 1.25rem; line-height: 1.75; }

.hub-liste { padding: 4.5rem 5vw; }
.hub-liste-inner { max-width: 1100px; margin: 0 auto; display: grid; gap: 2rem; }
.hub-eintrag {
  display: grid; grid-template-columns: 320px 1fr; gap: 2rem; align-items: start;
  padding-bottom: 2rem; border-bottom: 1px solid var(--border);
}
.hub-eintrag:last-child { border-bottom: none; padding-bottom: 0; }
.hub-eintrag img { width: 100%; height: 210px; object-fit: cover; border-radius: 12px; display: block; }
.hub-datum { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.hub-eintrag h2 { font-size: 1.45rem; font-weight: 700; line-height: 1.25; margin: 0.5rem 0 0.7rem; }
.hub-eintrag h2 a { color: inherit; text-decoration: none; }
.hub-eintrag h2 a:hover { color: var(--teal); }
.hub-eintrag p { color: var(--muted); line-height: 1.7; margin-bottom: 0.9rem; }
.hub-link { color: var(--teal); font-weight: 600; text-decoration: none; font-size: 0.92rem; }
.hub-link:hover { text-decoration: underline; }

/* ── MERKBLATT-SEITE ── */
.mb-download {
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center;
  background: var(--sand); border: 1.5px solid var(--teal); border-radius: 14px;
  padding: 1.75rem 1.9rem; margin: 2.5rem 0;
}
.mb-download h2 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.mb-download p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.mb-block { margin: 3rem 0; }
.mb-block > h2 { margin-bottom: 0.9rem; }
.mb-kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.75rem; margin: 1.25rem 0 1.5rem; }
.mb-kachel { background: var(--sand); border-radius: 10px; padding: 1.1rem 1rem; text-align: center; }
.mb-kachel-wert { font-size: 1.7rem; font-weight: 800; color: var(--teal); line-height: 1; }
.mb-kachel-label { font-size: 0.82rem; color: var(--muted); margin-top: 0.35rem; }
.mb-tabelle { width: 100%; border-collapse: collapse; margin: 1.25rem 0 1.5rem; }
.mb-tabelle th, .mb-tabelle td { text-align: left; padding: 0.8rem 0.6rem; border-bottom: 1px solid var(--border); font-size: 0.94rem; }
.mb-tabelle thead th { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
.mb-tabelle tbody th { font-weight: 600; }
.regel-liste { list-style: none; margin: 1rem 0 1.5rem; padding: 0; }
.regel-liste li { position: relative; padding-left: 1.75rem; margin-bottom: 0.7rem; line-height: 1.65; }
.regel-liste li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.regel-liste.verboten li::before { content: '✕'; color: #b1493f; }

/* ── FAQ ── */
.faq { margin: 2rem 0 0; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; padding: 1.2rem 2.5rem 1.2rem 0; font-weight: 600; font-size: 1rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--teal); line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 2.5rem 1.35rem 0; color: var(--muted); font-size: 0.95rem; line-height: 1.75; margin: 0; }

/* ── FOOTER ── */
footer { background: #0f1e28; padding: 2rem 5vw; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { color: rgba(255,255,255,0.5); font-size: 0.875rem; font-weight: 600; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.35); font-size: 0.8rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-copy { color: rgba(255,255,255,0.25); font-size: 0.75rem; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .fact-strip { grid-template-columns: repeat(2, 1fr); }
  .weitere-grid { grid-template-columns: 1fr; }
  .hub-eintrag { grid-template-columns: 1fr; gap: 1.1rem; }
  .hub-eintrag img { height: 200px; }
  .figure-breit { margin-left: 0; margin-right: 0; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open { display: flex; position: absolute; top: 64px; left: 0; right: 0; background: rgba(26,46,59,0.98); padding: 1rem 5vw; }
  .nav-links.open a { padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); color: white; display: block; }
  .hamburger { display: block; }
  .artikel-hero { min-height: auto; padding-top: 100px; }
  .figure-paar { grid-template-columns: 1fr; }
  .mb-download { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .daten-tabelle th { width: 46%; }
  .mb-tabelle { font-size: 0.88rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── DRUCK: Berichte sollen sich sauber ausdrucken lassen ── */
@media print {
  nav, .artikel-cta, .weitere, .hamburger { display: none !important; }
  .artikel-hero { min-height: auto; padding: 0 0 1.5rem; background: none; }
  .artikel-hero-bg { display: none; }
  .artikel-hero h1, .artikel-hero .lead { color: #000; text-shadow: none; }
  .fact { background: #f2f2f2; }
  .fact-num { color: #000; } .fact-label { color: #444; }
  .breadcrumb { display: none; }
  body { font-size: 11pt; }
  figure img { box-shadow: none; }
}
