:root{
  --bg:#f6fbfd; --surface:#ffffff; --surface-2:#e9f5f9;
  --text:#12303d; --muted:#4e6b78; --line:#d4e6ee;
  --brand:#0a7ea4; --brand-strong:#065b78; --accent:#ff8a5c; --accent-text:#7a2e10;
  --deep-1:#063a52; --deep-2:#0a6c8f; --deep-3:#2bb3c9;
  --shadow:0 6px 24px rgba(6,58,82,.08);
  --radius:18px;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#07161e; --surface:#0d222d; --surface-2:#123040;
    --text:#e3f1f6; --muted:#9dbac6; --line:#1f3f4f;
    --brand:#4cc3e0; --brand-strong:#8bdcef; --accent:#ff9c74; --accent-text:#ffd9c9;
    --deep-1:#031019; --deep-2:#06364a; --deep-3:#0d7894;
    --shadow:0 6px 24px rgba(0,0,0,.35);
  }
}
:root[data-theme="dark"]{
  --bg:#07161e; --surface:#0d222d; --surface-2:#123040;
  --text:#e3f1f6; --muted:#9dbac6; --line:#1f3f4f;
  --brand:#4cc3e0; --brand-strong:#8bdcef; --accent:#ff9c74; --accent-text:#ffd9c9;
  --deep-1:#031019; --deep-2:#06364a; --deep-3:#0d7894;
  --shadow:0 6px 24px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:76px}
body{margin:0;background:var(--bg);color:var(--text);font-family:"Nunito",system-ui,sans-serif;font-size:17px;line-height:1.6}
a{color:var(--brand)}
img,svg{max-width:100%}
/* Bilder bekommen beim Bauen width/height-Attribute (gegen Layout-Springen);
   die Höhe muss sich trotzdem nach Breite bzw. aspect-ratio richten */
img{height:auto}
.wrap{max-width:1120px;margin:0 auto;padding:0 16px}
h1,h2,h3{line-height:1.2;margin:0 0 .5em}
h2{font-size:clamp(1.7rem,3.5vw,2.3rem);font-weight:800}
h3{font-size:1.2rem;font-weight:800}
p{margin:0 0 1em}
.eyebrow{display:inline-block;font-weight:800;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--brand);margin-bottom:.6em}
.lead{font-size:1.1rem;color:var(--muted);max-width:62ch}

/* Header */
header{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;height:64px;gap:16px}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text);font-weight:800}
.logo-badge{width:48px;height:48px;border-radius:50%;background:#fff;display:grid;place-items:center;flex:none;box-shadow:0 0 0 2px var(--line);overflow:hidden}
.logo-badge img{width:44px;height:44px;object-fit:contain}
.logo small{display:block;font-weight:600;color:var(--muted);font-size:.75rem;line-height:1}
.menu{display:flex;gap:4px;list-style:none;margin:0;padding:0}
.menu a{display:block;padding:8px 12px;border-radius:10px;color:var(--text);text-decoration:none;font-weight:700;font-size:.95rem}
.menu a:hover{background:var(--surface-2)}
.btn{display:inline-flex;align-items:center;gap:8px;padding:12px 20px;border-radius:999px;font-weight:800;text-decoration:none;border:0;cursor:pointer;font:inherit;font-weight:800}
.btn-primary{background:var(--accent);color:#3a1405}
.btn-primary:hover{filter:brightness(1.05)}
.btn-ghost{background:rgba(255,255,255,.14);color:#fff;border:1.5px solid rgba(255,255,255,.5)}
.btn-ghost:hover{background:rgba(255,255,255,.24)}
.nav-cta{padding:9px 16px;font-size:.95rem}
.burger{display:none;background:none;border:0;color:var(--text);padding:8px;cursor:pointer}
.menu a{white-space:nowrap}
.menu-knopf{display:flex;align-items:center;gap:6px;padding:8px 12px;border:0;border-radius:10px;background:none;color:var(--text);font:inherit;font-weight:700;font-size:.95rem;white-space:nowrap;cursor:pointer}
.menu-knopf:hover,.menu-knopf[aria-expanded="true"]{background:var(--surface-2)}
.menu-knopf svg{flex:none;transition:transform .15s}
.menu-knopf[aria-expanded="true"] svg{transform:rotate(180deg)}
.untermenue{display:none;list-style:none;margin:0;padding:6px}
.menu-knopf[aria-expanded="true"]+.untermenue{display:block}
@media (min-width:981px){
  .menu-gruppe{position:relative}
  .untermenue{position:absolute;top:100%;left:0;min-width:200px;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}
}
@media (min-width:981px) and (hover:hover){
  .menu-gruppe:hover .untermenue{display:block}
}
@media (max-width:980px){
  .burger{display:block}
  .nav-cta{display:none}
  .menu{display:none;position:absolute;top:64px;left:0;right:0;flex-direction:column;max-height:calc(100dvh - 64px);overflow-y:auto;background:var(--surface);border-bottom:1px solid var(--line);padding:8px 16px 16px;box-shadow:var(--shadow)}
  .menu.open{display:flex}
  .menu a,.menu-knopf{padding:12px}
  .menu-knopf{width:100%;justify-content:space-between}
  .untermenue{padding:0 0 4px 12px}
}

/* Hero */
.hero{position:relative;color:#fff;background:var(--deep-1);overflow:hidden;isolation:isolate}
.hero-bg,.hero-bg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(3,30,45,.88) 0%,rgba(4,50,72,.62) 55%,rgba(4,50,72,.25) 100%)}
@media (max-width:760px){.hero::before{background:linear-gradient(180deg,rgba(3,30,45,.7),rgba(3,30,45,.88))}}
.photo{display:block;width:100%;border-radius:var(--radius);object-fit:cover;box-shadow:var(--shadow);background:var(--surface-2)}
.photo-cap{font-size:.85rem;color:var(--muted);margin:8px 2px 0}
.stack{display:grid;gap:20px}
.news img{width:calc(100% + 12px);height:170px;object-fit:cover;border-radius:12px;margin:-6px -6px 18px;display:block;background:var(--surface-2)}
.gallery{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:200px 200px;gap:14px;margin-top:32px}
.gallery figure{margin:0;position:relative;overflow:hidden;border-radius:16px;background:var(--surface-2)}
.gallery figure:first-child{grid-row:span 2}
.gallery img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}
.gallery figure:hover img{transform:scale(1.04)}
.gallery figcaption{position:absolute;left:0;right:0;bottom:0;padding:24px 14px 10px;color:#fff;font-weight:700;font-size:.92rem;background:linear-gradient(transparent,rgba(0,0,0,.65))}
@media (max-width:760px){.gallery{grid-template-columns:1fr 1fr;grid-template-rows:none;grid-auto-rows:160px}.gallery figure:first-child{grid-column:span 2;grid-row:auto}}
.hero-inner{position:relative;z-index:2;padding:88px 0 150px;max-width:720px}
.hero h1{font-size:clamp(2.2rem,6vw,3.6rem);font-weight:800;letter-spacing:-.01em}
.hero p{font-size:clamp(1.05rem,2.2vw,1.25rem);opacity:.92;max-width:56ch}
.hero .quote{font-style:italic;opacity:.85;border-left:3px solid var(--accent);padding-left:14px;margin:26px 0 30px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px}
.bubbles span{position:absolute;bottom:-40px;border-radius:50%;border:2px solid rgba(255,255,255,.35);background:rgba(255,255,255,.08);animation:rise linear infinite}
@keyframes rise{to{transform:translateY(-110vh) translateX(20px);opacity:0}}
@media (prefers-reduced-motion:reduce){.bubbles span{animation:none;display:none}}
.hero-fish{position:absolute;right:4%;top:22%;width:min(36vw,380px);opacity:.9;z-index:1}
@media (max-width:760px){.hero-fish{opacity:.22;right:-10%;top:auto;bottom:90px;width:70vw}}
.wave{position:absolute;left:0;right:0;bottom:-1px;z-index:3;line-height:0}
.wave svg{width:100%;height:90px;display:block}

/* Quick facts */
.facts{position:relative;z-index:4;margin-top:-70px}
.facts-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.fact{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow)}
.fact .ico{width:44px;height:44px;border-radius:12px;background:var(--surface-2);display:grid;place-items:center;color:var(--brand);margin-bottom:12px}
.fact b{display:block;font-size:1.05rem}
.fact span{color:var(--muted);font-size:.95rem}
@media (max-width:900px){.facts-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:480px){.facts-grid{grid-template-columns:1fr}}

section{padding:84px 0}
.alt{background:var(--surface-2)}
.two-col{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center}
@media (max-width:860px){.two-col{grid-template-columns:1fr;gap:28px}}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow)}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:32px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:32px}
@media (max-width:860px){.grid-3,.grid-2{grid-template-columns:1fr}}
.tag{display:inline-block;font-size:.8rem;font-weight:800;padding:4px 10px;border-radius:999px;background:var(--surface-2);color:var(--brand-strong);margin-bottom:12px}
.tag.warm{background:color-mix(in srgb,var(--accent) 22%,transparent);color:var(--accent-text)}
ul.check{list-style:none;padding:0;margin:0}
ul.check li{position:relative;padding-left:30px;margin-bottom:10px}
ul.check li::before{content:"";position:absolute;left:0;top:4px;width:20px;height:20px;border-radius:50%;background:var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat}
.muted{color:var(--muted)}
.small{font-size:.92rem}

/* Schedule */
.schedule{display:grid;gap:14px}
.slot{display:flex;gap:16px;align-items:flex-start;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px 18px}
.slot time{flex:none;min-width:92px;font-weight:800;color:var(--brand-strong)}
.slot b{display:block}

/* Steps */
.steps{counter-reset:s;display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:32px}
.step{position:relative;padding-top:54px}
.step::before{counter-increment:s;content:counter(s);position:absolute;top:22px;left:26px;width:40px;height:40px;border-radius:50%;background:var(--accent);color:#3a1405;font-weight:800;display:grid;place-items:center;font-size:1.15rem}
.step h3{margin-top:22px}
@media (max-width:860px){.steps{grid-template-columns:1fr}}

/* Levels */
.levels{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 6px}
.level{padding:8px 14px;border-radius:12px;background:var(--surface);border:1px solid var(--line);font-weight:700;font-size:.95rem}
.level.free{border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}

/* News */
.news{display:flex;flex-direction:column}
.news .pic{height:140px;border-radius:12px;margin:-6px -6px 18px;display:grid;place-items:center;color:#fff}
.news .date{font-weight:800;color:var(--muted);font-size:.9rem;margin-bottom:6px}
.news p{flex:1}
.more{font-weight:800;text-decoration:none}
.more:hover{text-decoration:underline}

/* Team */
.team{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:28px}
@media (max-width:860px){.team{grid-template-columns:repeat(2,1fr)}}
@media (max-width:480px){.team{grid-template-columns:1fr}}
.person{display:flex;gap:14px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px}
.avatar{width:48px;height:48px;border-radius:50%;flex:none;display:grid;place-items:center;font-weight:800;color:#fff;background:linear-gradient(135deg,var(--deep-2),var(--deep-3))}
.person small{display:block;color:var(--muted);font-weight:700;font-size:.82rem;text-transform:uppercase;letter-spacing:.05em}
.person b{display:block}
.person a{font-size:.88rem;overflow-wrap:anywhere}
.person>div:last-child{min-width:0}
.team-title{margin:36px 0 0;font-size:1.25rem}
.team-title + .team{margin-top:14px}

/* Join / downloads */
.dl{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);text-decoration:none;color:var(--text);font-weight:700}
.dl:last-child{border-bottom:0}
.dl:hover{color:var(--brand)}
.dl span{color:var(--brand);flex:none}

/* Contact band */
.contact{background:linear-gradient(135deg,var(--deep-1),var(--deep-2));color:#fff;border-radius:28px;padding:48px;display:grid;grid-template-columns:1.2fr .8fr;gap:32px;align-items:center}
.contact a{color:#fff}
.contact .lead{color:rgba(255,255,255,.85)}
@media (max-width:860px){.contact{grid-template-columns:1fr;padding:32px 22px}}
.contact-list{display:grid;gap:12px}
.contact-list div{background:rgba(255,255,255,.1);border-radius:14px;padding:14px 16px}
.contact-list small{display:block;opacity:.75;font-weight:700}

footer{padding:40px 0 48px;color:var(--muted);font-size:.92rem}
.foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px}
.foot nav{display:flex;flex-wrap:wrap;gap:6px 18px}
.foot a{color:var(--muted)}
.btn-soft{background:var(--surface-2);color:var(--brand-strong);border:1px solid var(--line)}
.btn-soft:hover{border-color:var(--brand)}

/* Trainingsplan */
.plan{padding:28px}
.plan-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:16px}
.seg{display:inline-flex;background:var(--surface-2);border:1px solid var(--line);border-radius:999px;padding:4px}
.seg button{border:0;background:none;font:inherit;font-weight:800;color:var(--muted);padding:8px 18px;border-radius:999px;cursor:pointer}
.seg button[aria-selected="true"]{background:var(--brand);color:#fff}
:root[data-theme="dark"] .seg button[aria-selected="true"]{color:#04202c}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .seg button[aria-selected="true"]{color:#04202c}}
.plan-note{font-size:.93rem;color:var(--muted);background:var(--surface-2);border-radius:12px;padding:12px 14px;margin-bottom:16px}
.plan-note b{color:var(--text)}
.plan-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.pl{display:flex;align-items:center;gap:16px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.pl-date{flex:none;width:58px;text-align:center;border-radius:12px;background:var(--surface-2);padding:6px 0;line-height:1.1}
.pl-date b{display:block;font-size:1.35rem;color:var(--brand-strong)}
.pl-date span{font-size:.78rem;font-weight:800;text-transform:uppercase;color:var(--muted)}
.pl-body{flex:1;min-width:0}
.pl-body b{display:block}
.pl-body span{font-size:.9rem;color:var(--muted)}
.pl-badge{flex:none;font-size:.75rem;font-weight:800;padding:4px 10px;border-radius:999px;background:var(--accent);color:#3a1405}
.pl.next{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.pl.past{opacity:.5}
.pl.off .pl-date{background:transparent;border:1px dashed var(--line)}
.pl.off .pl-body b{color:var(--muted);font-weight:700}
.pl-badge.alt{background:var(--surface-2);color:var(--brand-strong)}
@media (max-width:520px){.pl{flex-wrap:wrap}.pl-badge{margin-left:74px}}
.plan-foot{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;margin-top:18px}

/* Berichte */
.report-card{text-decoration:none;color:var(--text);transition:transform .2s, box-shadow .2s}
.report-card:hover{transform:translateY(-3px);box-shadow:0 12px 32px rgba(6,58,82,.16)}
.report-card:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.report-card h3{color:var(--text)}
.report-card .more{margin-top:auto}
.report-card .count{font-size:.8rem;font-weight:700;color:var(--muted);margin-left:8px}
.report-actions{display:flex;flex-wrap:wrap;gap:14px 24px;align-items:center;margin-top:28px}
.tours{display:flex;gap:24px;align-items:center;justify-content:space-between;margin-top:40px}
@media (max-width:760px){.tours{flex-direction:column;align-items:flex-start}}

dialog.reader{width:min(820px,calc(100vw - 24px));max-height:calc(100vh - 24px);padding:0;border:0;border-radius:22px;background:var(--surface);color:var(--text);box-shadow:0 30px 80px rgba(0,0,0,.35)}
dialog.reader::backdrop{background:rgba(3,20,30,.65);backdrop-filter:blur(3px)}
.reader-hero{position:relative;height:clamp(180px,38vw,340px);background:var(--surface-2)}
.reader-hero img{width:100%;height:100%;object-fit:cover;display:block}
.reader-close{position:absolute;top:12px;right:12px;width:42px;height:42px;border-radius:50%;border:0;background:rgba(0,0,0,.55);color:#fff;font-size:1.4rem;cursor:pointer;display:grid;place-items:center}
.reader-close:hover{background:rgba(0,0,0,.75)}
.reader-body{padding:28px clamp(18px,5vw,44px) 36px}
.reader-body h2{font-size:clamp(1.5rem,4vw,2rem)}
.reader-body h3{margin-top:1.4em;font-size:1.1rem;color:var(--brand-strong)}
.reader-body h4{margin:1.8em 0 .4em;font-size:1.25rem}
.reader-body p{font-size:1.05rem;line-height:1.7}
.reader-meta{color:var(--muted);font-weight:700;font-size:.92rem;margin-bottom:18px}
.reader-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin:26px 0 8px}
.reader-gallery a{display:block;aspect-ratio:1;border-radius:12px;overflow:hidden;background:var(--surface-2)}
.reader-gallery img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.reader-gallery a:hover img{transform:scale(1.05)}
.reader-nav{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:28px;padding-top:20px}
.reader-nav button{background:none;border:0;font:inherit;font-weight:800;color:var(--brand);cursor:pointer;padding:6px 0;text-align:left}
.reader-nav button:disabled{visibility:hidden}
/* Unterseiten: Bericht & Archiv */
.page-title{font-size:clamp(1.9rem,4.5vw,2.8rem);font-weight:800}
.year{margin:48px 0 0;font-size:1.5rem;color:var(--brand-strong)}
.year + .grid-3{margin-top:18px}
.article-page{padding:32px 0 80px}
.article{max-width:860px;margin:16px auto 0;padding:0;overflow:hidden}
.article .reader-hero{border-radius:0}
.article-title{font-size:clamp(1.7rem,4.5vw,2.4rem);font-weight:800;margin:0 0 .4em}
.reader-body h2{font-size:1.35rem;margin:1.8em 0 .4em}
.reader-nav a{font-weight:800;text-decoration:none;max-width:48%}
.reader-nav a:hover{text-decoration:underline}
.back{display:inline-block;margin:0 0 4px}
.plan-note a{color:var(--brand)}
[hidden]{display:none !important}
/* Fotogalerie der Berichte */
.galerie-link{cursor:zoom-in}
.reader-hero .galerie-link{display:block;height:100%}
.galerie-link:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.galerie-offen{overflow:hidden}
dialog.galerie{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:rgba(3,14,21,.96);color:#fff;overflow:hidden}
dialog.galerie::backdrop{background:rgba(3,14,21,.96)}
.galerie-bild{position:absolute;inset:0 0 56px;display:flex;align-items:center;justify-content:center;padding:12px}
.galerie-bild img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;border-radius:6px}
.galerie-bild picture{display:contents}
.galerie-knopf{position:absolute;width:48px;height:48px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.45);border-radius:50%;background:rgba(0,0,0,.62);color:#fff;font:inherit;font-size:1.9rem;line-height:1;cursor:pointer}
.galerie-knopf:hover{background:rgba(0,0,0,.85)}
.galerie-knopf:focus-visible,.galerie-original:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.galerie-zu{top:12px;right:12px}
.galerie-zurueck{left:12px;top:calc(50% - 52px)}
.galerie-weiter{right:12px;top:calc(50% - 52px)}
.galerie-einzeln .galerie-zurueck,.galerie-einzeln .galerie-weiter{display:none}
.galerie-leiste{position:absolute;left:0;right:0;bottom:0;height:56px;display:flex;align-items:center;justify-content:center;gap:24px;font-size:.95rem}
.galerie-original{color:#fff}
.textseite{max-width:820px;margin:16px auto 0;padding:clamp(24px,5vw,48px)}
.textseite h2{font-size:1.3rem;margin:1.8em 0 .5em;color:var(--brand-strong)}
.textseite p,.textseite li{line-height:1.7}
.textseite ul{padding-left:1.3em;margin:0 0 1em}
picture{display:contents}
.notfound{padding:110px 0 120px;min-height:60vh}
.notfound-bubbles{display:flex;gap:10px;align-items:flex-end;margin-bottom:22px}
.notfound-bubbles span{display:block;border-radius:50%;border:2px solid var(--brand);background:var(--surface-2);animation:bob 3s ease-in-out infinite}
.notfound-bubbles span:nth-child(1){width:16px;height:16px}
.notfound-bubbles span:nth-child(2){width:26px;height:26px;animation-delay:.4s}
.notfound-bubbles span:nth-child(3){width:12px;height:12px;animation-delay:.8s}
@keyframes bob{50%{transform:translateY(-10px)}}
@media (prefers-reduced-motion:reduce){.notfound-bubbles span{animation:none}}
.theme-toggle{background:var(--surface);border:1px solid var(--line);color:var(--text);border-radius:999px;padding:6px 12px;font:inherit;font-size:.85rem;cursor:pointer}
