/* Lazy Divers Oldenburg – neue Homepage (Entwurf 2026, helle Variante)
   Keine externen Schriften oder Dienste: schnell und datenschutzfreundlich. */

:root {
  --bg: #f5fafd;
  --bg-2: #e6f3fa;
  --card: #ffffff;
  --line: rgba(11, 74, 104, 0.14);
  --text: #12384c;
  --muted: #5b7889;
  --blue: #0b6e99;
  --blue-dark: #0a4a68;
  --gold: #f1c232;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(11, 74, 104, 0.10);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  /* Fuß bleibt auch bei kurzen Seiten unten */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

img, svg { max-width: 100%; height: auto; }

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--blue-dark);
  padding: .6rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0; }

/* ---------- Kopfbereich ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--blue-dark);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: .01em;
  line-height: 1.1;
}
.brand:hover { color: var(--blue-dark); }
.brand-img {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  background: #fff;
}
.brand { white-space: nowrap; }
.brand small {
  display: block;
  font-weight: 600;
  font-size: .78rem;
  color: var(--blue);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.menu-btn {
  display: none;
  background: #fff;
  color: var(--blue-dark);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .5rem .9rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .15rem;
}
.nav a {
  display: block;
  white-space: nowrap;
  padding: .5rem .65rem;
  border-radius: 999px;
  color: var(--blue-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: .94rem;
}
.nav a:hover { background: var(--bg-2); }
.nav a[aria-current="page"] { background: var(--gold); color: var(--blue-dark); }

@media (min-width: 1061px) and (max-width: 1200px) {
  .nav a { padding: .45rem .45rem; font-size: .88rem; }
}

@media (max-width: 1060px) {
  .menu-btn { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: .75rem 1.25rem 1.25rem;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: .2rem; }
  .nav a { padding: .8rem 1rem; font-size: 1.05rem; }
}

/* ---------- Hero (nur Startseite) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 12vw, 8rem) 0 clamp(7rem, 16vw, 11rem);
  background:
    linear-gradient(180deg, rgba(230, 244, 251, 0.58), rgba(230, 244, 251, 0.58)),
    #dff1f9 url("../images/hero.jpg") center calc(70px - 12.7vw) / cover no-repeat;
}

@media (max-width: 820px) { .hero { background-position: center, 86% 50%; } }

.hero .wrap { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

/* Die traditionelle Zeichnung: weißer Rahmen und goldener Schein wie auf der alten Seite */
.hero-pic { margin: 0; justify-self: center; align-self: end; width: 100%; max-width: 400px; }
.hero-pic img {
  display: block;
  width: 100%;
  height: auto;
  border: 6px solid #fff;
  border-radius: 18px;
  box-shadow:
    0 0 0 2px rgba(241, 194, 50, 0.95),
    0 0 34px 6px rgba(241, 194, 50, 0.5),
    0 16px 32px rgba(11, 74, 104, 0.22);
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-pic { justify-self: start; max-width: 360px; }
}

.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .82rem;
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--blue-dark);
}
.hero h1 span { color: var(--blue); }

.hero p.lead {
  max-width: 34rem;
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  color: #2b5870;
  margin: 0 0 2rem;
}

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.btn {
  display: inline-block;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--blue);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--gold); border-color: var(--gold); color: var(--blue-dark); }
.btn.primary:hover { background: #ffd34f; border-color: #ffd34f; color: var(--blue-dark); }
.btn.ghost { color: var(--blue); background: rgba(255, 255, 255, 0.6); }
.btn.ghost:hover { background: #fff; color: var(--blue-dark); }

.waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(70px, 12vw, 130px);
  z-index: 1;
  overflow: hidden;
}
.waves svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  max-width: none;
  height: 100%;
  animation: drift 22s linear infinite;
}
.waves svg:nth-child(2) { animation-duration: 34s; animation-direction: reverse; }
@keyframes drift { to { transform: translateX(-50%); } }

.bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bubbles i {
  position: absolute;
  bottom: -30px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.25);
  animation: rise 14s linear infinite;
}
.bubbles i:nth-child(1) { left: 68%; animation-duration: 12s; }
.bubbles i:nth-child(2) { left: 78%; width: 22px; height: 22px; animation-duration: 17s; animation-delay: 3s; }
.bubbles i:nth-child(3) { left: 88%; width: 10px; height: 10px; animation-duration: 10s; animation-delay: 6s; }
.bubbles i:nth-child(4) { left: 58%; width: 18px; height: 18px; animation-duration: 15s; animation-delay: 1s; }
@keyframes rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(-110vh) translateX(-30px); opacity: 0; }
}

/* ---------- Inhalt ---------- */

section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
section.alt { background: var(--bg-2); }

h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: -.01em;
  color: var(--blue-dark);
}
h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: var(--gold);
  margin-top: .6rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}
.card + .card { margin-top: 1rem; }
.card h3 { margin: 0 0 .3rem; font-size: 1.15rem; color: var(--blue-dark); }
.card p { margin: .3rem 0 0; }
.meta { color: var(--muted); font-size: .92rem; }

.termin {
  display: flex;
  gap: 1.1rem;
  align-items: center;
}
.termin .datum {
  flex: none;
  width: 68px;
  text-align: center;
  background: var(--gold);
  color: var(--blue-dark);
  border-radius: 12px;
  padding: .45rem 0;
  line-height: 1.1;
}
.termin .datum b { display: block; font-size: 1.7rem; }
.termin .datum span {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.leer {
  color: var(--muted);
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
}

.cta {
  text-align: center;
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(241, 194, 50, 0.30), transparent 70%),
    var(--bg-2);
}
.cta p { max-width: 36rem; margin: 0 auto 1.8rem; }
.cta h2::after { margin-inline: auto; }
.cta .btn-row { justify-content: center; }

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}
.facts li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.3rem;
  font-weight: 700;
  color: var(--blue-dark);
}
.facts li::before {
  content: "◆";
  color: var(--gold);
  margin-right: .6rem;
  font-size: .8rem;
}

/* ---------- Unterseiten mit Banner ---------- */

.page-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(190px, 28vw, 300px);
  padding: 2.2rem 0;
  color: #fff;
  background: #0b6e99 url("../images/banner.jpg") center / cover no-repeat;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 40, 60, 0.62) 0%, rgba(5, 40, 60, 0.18) 65%, rgba(5, 40, 60, 0) 100%);
}
.page-head .wrap { position: relative; }
.page-head h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -.01em;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
.page-head h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: var(--gold);
  margin-top: .7rem;
}
.platzhalter { max-width: 44rem; }

/* ---------- Fuß ---------- */

.site-footer {
  background: var(--blue-dark);
  padding: 2.5rem 0 2rem;
  color: #bcd8e6;
  font-size: .95rem;
}
.site-footer .cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }

/* ---------- Texte, Berichte, Galerien ---------- */

.text { max-width: 46rem; }
.text.bericht { max-width: 56rem; }
.text p { margin: 0 0 1.1rem; }
.text h2 { margin: 2.4rem 0 1rem; }
.text h2:first-child { margin-top: 0; }
.text h3 { margin: 1.8rem 0 .5rem; color: var(--blue-dark); font-size: 1.15rem; }
.text ul { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.text .lead { font-size: 1.2rem; font-weight: 600; color: var(--blue-dark); }
.untertitel { font-size: 1.3rem; font-weight: 800; color: var(--blue); margin: 0 0 1.2rem; }

.zurueck {
  display: inline-block;
  margin-bottom: 1.4rem;
  font-weight: 700;
  text-decoration: none;
}
.zurueck:hover { text-decoration: underline; }

.bilder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: .8rem;
  margin: 1.2rem 0 1.8rem;
  align-items: start;
}
.bilder a {
  display: block;
  line-height: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.bilder img { width: 100%; height: auto; transition: transform .25s ease; }
.bilder a:hover img { transform: scale(1.03); }

.galerie {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .6rem;
}
.galerie a {
  display: block;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-2);
}
.galerie img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.galerie a:hover img { transform: scale(1.06); }

.kacheln {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.3rem;
}
.kachel {
  display: block;
  height: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--blue-dark);
  transition: transform .15s ease;
}
.kachel:hover { transform: translateY(-3px); color: var(--blue-dark); }
.kachel img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.kachel .titel { display: block; padding: .9rem 1.1rem 1rem; font-weight: 800; font-size: 1.1rem; }
.kachel .sub { display: block; font-weight: 500; color: var(--muted); font-size: .9rem; margin-top: .1rem; }

.personen {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.3rem;
}
.person { text-align: center; padding: 1.7rem 1.2rem; }
.person + .person { margin-top: 0; }
.person img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  background: #fff;
  margin-bottom: .9rem;
}
.person .rolle {
  display: block;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.person .name { display: block; font-size: 1.25rem; font-weight: 800; color: var(--blue-dark); margin: .2rem 0 .4rem; }
.person a { word-break: break-word; }

.partner {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.3rem;
}
.partner li { display: flex; }
.partner a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: 1.3rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  font-size: .88rem;
  color: var(--muted);
  transition: transform .15s ease;
}
.partner a:hover { transform: translateY(-3px); color: var(--blue-dark); }
.partner img { max-width: 100%; max-height: 130px; width: auto; height: auto; object-fit: contain; }

.text ul.dl { padding-left: 0; }
.dl {
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
  display: grid;
  gap: .6rem;
}
.dl a {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .85rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-decoration: none;
  font-weight: 600;
}
.dl a::before { content: "↓"; color: var(--blue); font-weight: 800; }
.dl a[data-typ]::after {
  content: attr(data-typ);
  margin-left: auto;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .1rem .45rem;
}
.dl a:hover { border-color: var(--blue); }
.dl a.extern::before { content: "→"; }

.themenkopf { display: flex; align-items: center; gap: .9rem; margin: 2rem 0 1rem; }
.themenkopf:first-child { margin-top: 0; }
.themenkopf img { width: 44px; height: 44px; }
.themenkopf h2 { margin: 0; }
.themenkopf h2::after { display: none; }

.hinweis {
  background: #fff8dc;
  border: 1px solid rgba(241, 194, 50, 0.6);
  border-left: 6px solid var(--gold);
  border-radius: 12px;
  padding: 1rem 1.3rem;
  margin: 0 0 1.8rem;
}
.hinweis p { margin: 0; }
.card.hervor { border-left: 6px solid var(--gold); }

/* ---------- Vollbildansicht ---------- */

.lb {
  border: 0;
  padding: 0;
  background: transparent;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  color: #fff;
}
.lb::backdrop { background: rgba(3, 25, 38, 0.93); }
.lb[open] { display: flex; align-items: center; justify-content: center; }
.lb figure { margin: 0; max-width: min(94vw, 1200px); text-align: center; }
.lb img { display: block; margin: 0 auto; max-width: 100%; max-height: 82vh; border-radius: 8px; }
.lb figcaption { margin-top: .7rem; color: #cfe3ee; font-size: .95rem; }
.lb button {
  position: absolute;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.lb button:hover { background: rgba(255, 255, 255, 0.3); }
.lb .lb-x { top: 1rem; right: 1rem; }
.lb .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Rücksicht auf Nutzer, die weniger Bewegung wünschen */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .waves svg, .bubbles i { animation: none; }
  .btn { transition: none; }
}

/* Einzelfoto im Text */
.foto { margin: 1.6rem 0 0; max-width: 46rem; }
.foto img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 14px; border: 6px solid #fff; box-shadow: var(--shadow); }

/* Lockere Foto-Collage */
.collage { list-style: none; margin: 1.5rem 0 0; padding: 0; columns: 3 260px; column-gap: 1.6rem; }
.collage li { break-inside: avoid; margin: 0 0 1.8rem; transform: rotate(var(--r, 0deg)); transition: transform .2s ease; }
.collage li:nth-child(3n+2) { margin-top: 1.4rem; }
.collage li:hover { transform: rotate(0deg) scale(1.03); position: relative; z-index: 2; }
.collage a { display: block; text-decoration: none; color: var(--blue-dark); }
.collage figure { margin: 0; background: #fff; padding: .6rem .6rem .5rem; border-radius: 6px; box-shadow: 0 6px 18px rgba(10, 74, 104, .2); }
.collage img { display: block; width: 100%; height: auto; border-radius: 3px; }
.collage figcaption { font-weight: 800; text-align: center; padding: .65rem .3rem .3rem; font-size: 1.05rem; }
@media (prefers-reduced-motion: reduce) { .collage li { transition: none; } }
@media (max-width: 520px) { .collage { columns: 1; } .collage li { transform: rotate(calc(var(--r, 0deg) * .6)); } }

/* Lockeres Mosaik: unterschiedlich große Fotos, ohne Rahmen */
.mosaik { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(70px, 9vw, 108px); grid-auto-flow: dense; gap: clamp(.6rem, 1.4vw, 1.1rem); }
.mosaik li { grid-column: span var(--c, 2); grid-row: span var(--r, 2); position: relative; }
.mosaik li:nth-child(4n+2) { transform: translateY(.7rem); }
.mosaik li:nth-child(4n+3) { transform: translateY(-.35rem); }
.mosaik a { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 22px; box-shadow: 0 8px 22px rgba(10, 74, 104, .18); position: relative; }
.mosaik li:nth-child(3n) a { border-radius: 22px 70px 22px 22px; }
.mosaik li:nth-child(5n+1) a { border-radius: 70px 22px 22px 22px; }
.mosaik img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mosaik a:hover img { transform: scale(1.06); }
.mosaik .m-titel { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1rem .8rem; color: #fff; font-weight: 800; text-shadow: 0 1px 4px rgba(0,0,0,.5); background: linear-gradient(180deg, transparent, rgba(6, 32, 46, .75)); }
@media (max-width: 700px) {
  .mosaik { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; }
  .mosaik li { grid-column: span 1; grid-row: span 1; transform: none !important; }
  .mosaik li:nth-child(3n+1) { grid-column: span 2; grid-row: span 2; }
}
@media (prefers-reduced-motion: reduce) { .mosaik img { transition: none; } }

/* Fließende Fotospalten: Fotos in ihrer natürlichen Form, ohne Rahmen */
.strom { list-style: none; margin: 1.5rem 0 0; padding: 0; columns: 3 250px; column-gap: clamp(.8rem, 1.6vw, 1.3rem); }
.strom li { break-inside: avoid; margin: 0 0 clamp(.8rem, 1.6vw, 1.3rem); }
.strom li:nth-child(3n+2) { margin-top: 1.6rem; }
.strom a { display: block; overflow: hidden; border-radius: 20px; box-shadow: 0 8px 22px rgba(10, 74, 104, .18); }
.strom li:nth-child(even) a { border-radius: 20px 20px 60px 20px; }
.strom li:nth-child(3n+1) a { border-radius: 60px 20px 20px 20px; }
.strom img { display: block; width: 100%; height: auto; transition: transform .5s ease, filter .3s ease; }
.strom a:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .strom img { transition: none; } }

/* Video in Galerie */
.mosaik li.vid { border-radius: 22px; overflow: hidden; background: #06202e; box-shadow: 0 8px 22px rgba(10, 74, 104, .18); }
.mosaik li.vid video { display: block; width: 100%; height: 100%; object-fit: contain; background: #06202e; }

/* Urlaubsalbum: lockere Polaroids zwischen den Textabschnitten */
.text.album { max-width: 62rem; }
.album-reihe { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.5rem 1.6rem; margin: 1.8rem 0 2.2rem; }
.album-reihe a { flex: 0 1 calc(var(--w, 30%) - 1rem); min-width: 190px; transform: rotate(var(--r, 0deg)); transition: transform .2s ease; text-decoration: none; color: var(--blue-dark); }
.album-reihe a:hover { transform: rotate(0deg) scale(1.03); position: relative; z-index: 2; }
.album-reihe figure { margin: 0; background: #fff; padding: .55rem .55rem .5rem; border-radius: 6px; box-shadow: 0 6px 18px rgba(10, 74, 104, .2); }
.album-reihe img { display: block; width: 100%; height: auto; border-radius: 3px; }
.album-reihe figcaption { font-weight: 800; text-align: center; padding: .55rem .3rem .2rem; font-size: 1rem; }
@media (max-width: 560px) { .album-reihe a { flex-basis: 100%; transform: rotate(calc(var(--r, 0deg) * .5)); } }
@media (prefers-reduced-motion: reduce) { .album-reihe a { transition: none; } }

/* Wir-Seite: Text links, Vereinslogo rechts */
.wir-grid { display: grid; grid-template-columns: minmax(0, 46rem) minmax(260px, 1fr); gap: 2rem clamp(2rem, 5vw, 4rem); align-items: start; }
.wir-logo { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.4rem 1.2rem 1.1rem; box-shadow: var(--shadow); max-width: 26rem; justify-self: center; position: sticky; top: 6rem; }
.wir-logo img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) { .wir-grid { grid-template-columns: 1fr; } .wir-logo { position: static; max-width: 22rem; justify-self: start; } }

/* Untermenü (Ausbildung → Schnuppertauchen) */
.nav .has-sub { position: relative; }
.nav .has-sub > a::after { content: ""; display: inline-block; width: .38em; height: .38em; margin-left: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.15em) rotate(45deg); opacity: .7; }
.nav .has-sub:has(.sub [aria-current="page"]) > a { background: var(--gold); color: var(--blue-dark); }
.nav ul.sub { display: none; flex-direction: column; flex-wrap: nowrap; gap: .1rem; position: absolute; top: 100%; left: 0; min-width: 100%; padding: .4rem; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); z-index: 60; }
.nav .has-sub:hover > .sub, .nav .has-sub:focus-within > .sub { display: flex; }
.nav ul.sub a { border-radius: 10px; }
@media (max-width: 1060px) {
  .nav ul.sub { display: flex; position: static; box-shadow: none; border: 0; background: none; padding: 0 0 0 1.4rem; min-width: 0; }
  .nav ul.sub a { font-size: .98rem; padding: .6rem 1rem; }
}

/* Ausbildung: Infokästen rechts */
.info-spalte { display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: 6rem; max-width: 26rem; }
.info-box { background: var(--bg-2); border-left: 6px solid var(--blue); border-radius: var(--radius); padding: 1.5rem 1.6rem; box-shadow: var(--shadow); }
.info-box h2 { margin: 0 0 1rem; font-size: 1.35rem; color: var(--blue); }
.info-box p { margin: 0 0 .9rem; }
.info-box p:last-child { margin-bottom: 0; }
.info-box a[href^="mailto:"] { overflow-wrap: anywhere; }
@media (max-width: 900px) { .info-spalte { position: static; max-width: none; } }
.info-person { display: flex; align-items: center; gap: 1rem; margin: 0 0 .9rem; }
.info-person img { flex: none; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); background: #fff; }
.info-person p { margin: 0; min-width: 0; }

/* Wir-Seite: Verbandslogos */
.verbaende { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 0 0 1.4rem; }
.verbaende a { display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1.1rem; box-shadow: var(--shadow); transition: transform .15s ease; }
.verbaende a:hover { transform: translateY(-2px); }
.verbaende img { display: block; height: 90px; width: auto; }

/* Vorschaubilder: Hallentraining */
.card.mit-bild { display: flex; align-items: center; gap: 1.1rem; }
.card.mit-bild img { flex: none; width: 84px; height: 84px; object-fit: cover; border-radius: 12px; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(11, 74, 104, 0.18); }
.termin-info { flex: 1; min-width: 0; }
.termin-bild { flex: none; width: 64px; height: 64px; object-fit: cover; border-radius: 12px; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(11, 74, 104, 0.18); }
@media (max-width: 480px) { .card.mit-bild img { width: 60px; height: 60px; } .termin { gap: .8rem; } .termin-bild { width: 46px; height: 46px; border-width: 2px; } }
