/* ============================================================
   Skiclub Ochsenhausen e.V. — modernes Design
   Farben aus dem Vereinslogo: Rot / Gelb / Schwarz auf Schnee.
   ============================================================ */

:root {
  --snow: #f5f8fb;
  --ice: #e9f1f7;
  --white: #ffffff;
  --ink: #14263a;
  --ink-soft: #45596e;
  --navy: #0d1f33;
  --navy-2: #122b46;
  --red: #d31021;
  --red-dark: #ab0c1a;
  --gold: #ffd400;
  --line: #dbe5ee;

  --font-head: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-1: 0 1px 2px rgba(13, 31, 51, .06), 0 4px 16px rgba(13, 31, 51, .07);
  --shadow-2: 0 6px 20px rgba(13, 31, 51, .13), 0 2px 6px rgba(13, 31, 51, .08);
  --wrap: 1180px;
  --header-h: 72px;

  --ease-out: cubic-bezier(.22, .8, .3, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--snow);
  overflow-x: clip;
}

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

a { color: var(--red); text-decoration: none; transition: color .2s var(--ease-out); }
a:hover { color: var(--red-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.22;
  color: var(--ink);
  text-wrap: balance;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); }

::selection { background: var(--gold); color: #1a1a00; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease-out), box-shadow .35s var(--ease-out),
              backdrop-filter .35s var(--ease-out);
  background: transparent;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7, 16, 28, .62), rgba(7, 16, 28, 0));
  opacity: 1; transition: opacity .35s;
}
.site-header.scrolled {
  background: rgba(10, 22, 38, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .07), 0 8px 30px rgba(5, 12, 22, .35);
}
.site-header.scrolled::before { opacity: 0; }

.header-inner {
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 32px);
  display: flex; align-items: center; gap: 18px;
}

.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--font-head); }
.brand:hover { color: #fff; }
.brand img {
  width: 46px; height: 46px; object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35));
  transition: transform .3s var(--ease-out);
}
.brand:hover img { transform: rotate(-6deg) scale(1.06); }
.brand b { font-size: 19px; font-weight: 700; letter-spacing: .01em; line-height: 1.1; display: block; }
.brand small { display: block; font-size: 11.5px; font-weight: 500; opacity: .82; letter-spacing: .14em; text-transform: uppercase; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.main-nav > ul { display: flex; list-style: none; gap: 2px; align-items: center; }
.main-nav li { position: relative; }
.main-nav a.top {
  display: flex; align-items: center; gap: 5px;
  color: rgba(255, 255, 255, .92); font-weight: 500; font-size: 15px;
  padding: 9px 13px; border-radius: 999px;
  transition: background .25s, color .25s;
}
.main-nav a.top:hover, .main-nav li:hover > a.top, .main-nav a.top[aria-current] {
  background: rgba(255, 255, 255, .13); color: #fff;
}
.main-nav a.top .chev { width: 9px; height: 9px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .7; transition: transform .25s; }
.main-nav li:hover > a.top .chev { transform: rotate(225deg) translateY(-1px); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  translate: -50% 8px;
  min-width: 250px; padding: 10px;
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 16px; box-shadow: var(--shadow-2);
  border: 1px solid rgba(13, 31, 51, .06);
  list-style: none;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .28s var(--ease-out), translate .28s var(--ease-out), visibility .28s;
}
.main-nav li:hover > .dropdown, .main-nav li:focus-within > .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; translate: -50% 0;
}
.dropdown::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.dropdown a {
  display: block; padding: 9px 14px; border-radius: 10px;
  color: var(--ink); font-size: 14.5px; font-weight: 500;
  transition: background .2s, color .2s, padding-left .2s;
}
.dropdown a:hover { background: var(--ice); color: var(--red); padding-left: 18px; }
.dropdown a.sub { padding-left: 28px; font-size: 13.5px; color: var(--ink-soft); position: relative; }
.dropdown a.sub::before { content: "›"; position: absolute; left: 15px; opacity: .6; }
.dropdown a.sub:hover { padding-left: 32px; color: var(--red); }

.nav-cta {
  margin-left: 10px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff !important;
  font-weight: 600; font-size: 15px;
  padding: 10px 20px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(211, 16, 33, .35);
  transition: transform .25s var(--ease-out), box-shadow .25s, background .25s;
}
.nav-cta:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(211, 16, 33, .45); }

/* Burger */
.burger {
  margin-left: auto; display: none;
  width: 46px; height: 46px; border: 0; border-radius: 12px;
  background: rgba(255, 255, 255, .12); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  transition: background .25s;
}
.burger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease-out), opacity .2s; }
.burger:hover { background: rgba(255, 255, 255, .22); }
body.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 90;
  background: linear-gradient(165deg, var(--navy) 0%, #16344f 100%);
  padding: calc(var(--header-h) + 18px) 26px 40px;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-3%);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), visibility .35s;
}
body.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.mobile-nav ul { list-style: none; }
.mobile-nav > ul > li { border-bottom: 1px solid rgba(255, 255, 255, .09); }
.mobile-nav > ul > li > a, .mobile-nav .acc-btn {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  color: #fff; font-family: var(--font-head); font-size: 19px; font-weight: 600;
  padding: 15px 4px; background: none; border: 0; cursor: pointer; text-align: left;
}
.mobile-nav .acc-btn .chev { width: 10px; height: 10px; border-right: 2px solid rgba(255,255,255,.7); border-bottom: 2px solid rgba(255,255,255,.7); transform: rotate(45deg); transition: transform .3s; }
.mobile-nav li.open .acc-btn .chev { transform: rotate(225deg); }
.mobile-nav .acc-panel { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease-out); }
.mobile-nav li.open .acc-panel { max-height: 600px; }
.mobile-nav .acc-panel a { display: block; color: rgba(255, 255, 255, .85); padding: 10px 4px 10px 18px; font-size: 16px; }
.mobile-nav .acc-panel a.sub { padding-left: 36px; font-size: 14.5px; color: rgba(255, 255, 255, .65); }
.mobile-nav .acc-panel a:hover { color: var(--gold); }
.mobile-nav .m-cta {
  display: block; text-align: center; margin-top: 26px;
  background: var(--red); color: #fff; font-weight: 600; font-size: 17px;
  padding: 14px; border-radius: 999px;
}
.mobile-nav .m-social { display: flex; gap: 14px; justify-content: center; margin-top: 26px; }
.mobile-nav .m-social a { color: rgba(255,255,255,.8); }
.mobile-nav .m-social a:hover { color: var(--gold); }

@media (max-width: 1020px) {
  .main-nav { display: none; }
  .burger { display: flex; }
}

/* ============================================================
   Hero — Startseite
   ============================================================ */
.hero {
  position: relative; min-height: clamp(520px, 78vh, 820px);
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
  background: var(--navy);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 62%;
  animation: kenburns 26s var(--ease-out) both;
}
@keyframes kenburns {
  from { transform: scale(1.12) translateY(1.5%); }
  to { transform: scale(1); translateY(0); }
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 16, 28, .48) 0%, rgba(7, 16, 28, .18) 42%, rgba(9, 20, 34, .72) 100%),
    radial-gradient(90% 60% at 30% 80%, rgba(9, 20, 34, .35), transparent);
}
#snow { position: absolute; inset: 0; pointer-events: none; z-index: 2; }

.hero-content { position: relative; z-index: 3; padding-top: 120px; padding-bottom: 90px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
  animation: rise .8s var(--ease-out) .15s both;
}
.hero-kicker::before { content: ""; width: 34px; height: 2px; background: var(--gold); border-radius: 2px; }
.hero h1 {
  color: #fff; font-size: clamp(40px, 6.4vw, 74px); font-weight: 800;
  letter-spacing: -.015em; line-height: 1.04; margin: 18px 0 20px; max-width: 13ch;
  text-shadow: 0 4px 30px rgba(5, 12, 22, .45);
  animation: rise .8s var(--ease-out) .28s both;
}
.hero p.lead {
  font-size: clamp(17px, 2vw, 20px); max-width: 56ch; color: rgba(255, 255, 255, .92);
  animation: rise .8s var(--ease-out) .42s both;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; animation: rise .8s var(--ease-out) .56s both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.hero-scroll {
  position: absolute; left: 50%; bottom: 22px; translate: -50% 0; z-index: 3;
  width: 30px; height: 48px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 999px;
  animation: rise 1s var(--ease-out) 1s both;
}
.hero-scroll::after {
  content: ""; position: absolute; left: 50%; top: 9px; translate: -50% 0;
  width: 4px; height: 9px; border-radius: 4px; background: #fff;
  animation: scrollhint 2s ease-in-out infinite;
}
@keyframes scrollhint { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(14px); opacity: 0; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  padding: 13px 26px; border-radius: 999px; cursor: pointer; border: 0;
  transition: transform .25s var(--ease-out), box-shadow .25s, background .25s, color .25s;
}
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(211, 16, 33, .38); }
.btn--primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(211, 16, 33, .48); }
.btn--ghost { background: rgba(255, 255, 255, .14); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: rgba(255, 255, 255, .26); color: #fff; transform: translateY(-2px); }
.btn--content { background: var(--red); color: #fff !important; box-shadow: 0 4px 14px rgba(211, 16, 33, .3); margin: 6px 0; }
.btn--content:hover { background: var(--red-dark); transform: translateY(-2px); }

/* ============================================================
   Page hero (Unterseiten)
   ============================================================ */
.page-hero {
  position: relative; padding: calc(var(--header-h) + clamp(46px, 8vw, 84px)) 0 clamp(40px, 6vw, 64px);
  background: var(--navy); color: #fff; overflow: hidden;
}
.page-hero .ph-bg { position: absolute; inset: 0; }
.page-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.06); }
.page-hero .ph-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(9, 20, 34, .88) 20%, rgba(9, 20, 34, .55) 60%, rgba(9, 20, 34, .38));
}
.page-hero .wrap { position: relative; z-index: 2; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; font-size: 13.5px; color: rgba(255, 255, 255, .75); margin-bottom: 12px; }
.breadcrumbs a { color: rgba(255, 255, 255, .75); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .sep { opacity: .5; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 50px); font-weight: 800; letter-spacing: -.01em; max-width: 22ch; }
.page-hero .ph-sub { margin-top: 10px; color: rgba(255, 255, 255, .85); font-size: 17px; max-width: 62ch; }

/* ============================================================
   Sections & cards
   ============================================================ */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section--alt { background: var(--ice); }
.section--navy { background: linear-gradient(180deg, var(--navy), var(--navy-2)); color: #fff; }
.section--navy h2 { color: #fff; }

.sec-head { max-width: 720px; margin-bottom: clamp(30px, 5vw, 52px); }
.sec-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--red); font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
}
.sec-kicker::before { content: ""; width: 26px; height: 2.5px; background: var(--gold); border-radius: 2px; }
.sec-head h2 { font-size: clamp(27px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.01em; margin-top: 10px; }
.sec-head p { color: var(--ink-soft); margin-top: 12px; font-size: 17px; }
.section--navy .sec-head p { color: rgba(255, 255, 255, .8); }

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-1); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
a.card { color: inherit; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.card-img { aspect-ratio: 16 / 9.5; overflow: hidden; background: var(--ice); position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 19.5px; font-weight: 700; }
.card:hover .card-body h3 { color: var(--red); }
.card-body p { color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.card-more {
  margin-top: auto; padding-top: 10px;
  color: var(--red); font-weight: 600; font-size: 14.5px;
  display: inline-flex; align-items: center; gap: 6px;
}
.card-more::after { content: "→"; transition: transform .25s var(--ease-out); }
.card:hover .card-more::after { transform: translateX(5px); }
.card-date {
  font-size: 13px; color: var(--ink-soft); font-weight: 500;
  display: inline-flex; align-items: center; gap: 7px;
}
.card-date::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* tile (icon quick links) */
.tile {
  position: relative; border-radius: var(--radius); padding: 30px 28px;
  background: var(--white); box-shadow: var(--shadow-1); overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s;
  display: block; color: inherit;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); color: inherit; }
.tile::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out);
}
.tile:hover::after { transform: scaleX(1); }
.tile .t-icon {
  width: 54px; height: 54px; border-radius: 15px;
  background: linear-gradient(145deg, var(--ice), #dceaf5);
  display: grid; place-items: center; margin-bottom: 16px;
  font-size: 26px;
  transition: transform .35s var(--ease-out), background .35s;
}
.tile:hover .t-icon { transform: scale(1.1) rotate(-5deg); }
.tile h3 { font-size: 19px; margin-bottom: 6px; }
.tile:hover h3 { color: var(--red); }
.tile p { font-size: 14.5px; color: var(--ink-soft); }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 26px 10px; }
.stat b {
  font-family: var(--font-head); font-size: clamp(34px, 4.4vw, 52px); font-weight: 800;
  display: block; line-height: 1.1;
  background: linear-gradient(120deg, #fff, #ffd400 220%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat span { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .75); font-weight: 500; }

/* ============================================================
   Prose (Seiteninhalte)
   ============================================================ */
.page-body { padding: clamp(44px, 7vw, 80px) 0; }
.prose { max-width: 820px; }
.prose--wide { max-width: 100%; }
.prose h2 { font-size: clamp(24px, 3vw, 31px); margin: 1.7em 0 .65em; letter-spacing: -.01em; }
.prose h2:first-child { margin-top: 0; }
.prose h3, .prose h4, .prose h5 { font-size: clamp(19px, 2.2vw, 23px); margin: 1.5em 0 .55em; }
.prose p { margin: 0 0 1.05em; }
.prose ul, .prose ol { margin: 0 0 1.2em 1.35em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--red); }
.prose hr { border: 0; height: 2px; margin: 2.2em 0; background: linear-gradient(90deg, var(--line), transparent); border-radius: 2px; }
.prose img { border-radius: var(--radius-sm); box-shadow: var(--shadow-1); }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 10px; }
.prose .img-left { float: left; max-width: min(340px, 46%); margin: 6px 26px 16px 0; }
.prose .img-right { float: right; max-width: min(340px, 46%); margin: 6px 0 16px 26px; }
.prose .img-center { margin-left: auto; margin-right: auto; }
.prose h2, .prose h3, .prose .table-wrap, .prose hr { clear: both; }
.prose a { font-weight: 550; border-bottom: 1.5px solid rgba(211, 16, 33, .25); transition: border-color .2s, color .2s; }
.prose a:hover { border-bottom-color: var(--red); }
.prose a.btn, .prose a.lightbox, .prose a.filelink { border-bottom: 0; }
.prose blockquote { border-left: 4px solid var(--gold); background: var(--white); padding: 18px 24px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; box-shadow: var(--shadow-1); margin: 1.5em 0; }
.prose a.lightbox { display: inline-block; }
.prose a.lightbox img { transition: transform .4s var(--ease-out), box-shadow .4s; cursor: zoom-in; }
.prose a.lightbox:hover img { transform: scale(1.02); box-shadow: var(--shadow-2); }

.table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-1); margin: 1.5em 0; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 420px; }
.table-wrap td, .table-wrap th { padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap tr:hover td { background: #f2f7fb; }
.table-wrap th, .table-wrap thead td { background: var(--navy); color: #fff; font-weight: 600; }

a.filelink {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 10px 18px; margin: 4px 0; font-weight: 550; color: var(--ink);
  transition: border-color .25s, transform .25s var(--ease-out), box-shadow .25s;
}
a.filelink::before { content: "📄"; font-size: 18px; }
a.filelink:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow-1); }

/* Subpage cards under content */
.subpages { margin-top: 46px; }
.subpages h2 { font-size: 22px; margin-bottom: 18px; }

/* ============================================================
   News
   ============================================================ */
.year-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 34px; }
.year-chips button {
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink-soft);
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  padding: 7px 16px; border-radius: 999px; cursor: pointer;
  transition: all .25s var(--ease-out);
}
.year-chips button:hover { border-color: var(--red); color: var(--red); transform: translateY(-1px); }
.year-chips button.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.year-group { margin-bottom: 40px; }
.year-group > h2 {
  font-size: 21px; color: var(--ink-soft); font-weight: 700;
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
}
.year-group > h2::after { content: ""; flex: 1; height: 1.5px; background: var(--line); border-radius: 2px; }

.article { max-width: 820px; }
.article-hero { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2); margin-bottom: 34px; }
.article-hero img { width: 100%; max-height: 460px; object-fit: cover; }
.post-nav { display: flex; gap: 16px; justify-content: space-between; margin-top: 50px; flex-wrap: wrap; }
.post-nav a {
  flex: 1; min-width: 220px; background: var(--white); border-radius: var(--radius-sm);
  padding: 16px 20px; box-shadow: var(--shadow-1); color: var(--ink);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.post-nav a:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); color: var(--red); }
.post-nav a span { display: block; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.post-nav a b { font-size: 15.5px; font-weight: 600; }
.post-nav a.next { text-align: right; }

/* ============================================================
   Galerie
   ============================================================ */
.album-card .card-img { aspect-ratio: 4 / 3; }
.album-card .count {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(9, 20, 34, .72); color: #fff; font-size: 12.5px; font-weight: 600;
  padding: 4px 12px; border-radius: 999px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.masonry { columns: 4 240px; column-gap: 14px; }
.masonry a { display: block; margin-bottom: 14px; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-1); position: relative; }
.masonry a img { transition: transform .5s var(--ease-out), filter .5s; width: 100%; }
.masonry a:hover img { transform: scale(1.05); filter: brightness(1.08); }

/* Lightbox */
.lb-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(6, 13, 24, .94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lb-overlay.open { opacity: 1; visibility: visible; }
.lb-overlay img {
  max-width: min(94vw, 1500px); max-height: 88vh; border-radius: 10px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, .5);
  transform: scale(.96); opacity: 0; transition: transform .35s var(--ease-out), opacity .35s;
}
.lb-overlay.open img { transform: scale(1); opacity: 1; }
.lb-btn {
  position: absolute; z-index: 2; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .1); color: #fff;
  width: 52px; height: 52px; border-radius: 50%;
  font-size: 22px; line-height: 1; display: grid; place-items: center;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .25s, transform .25s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .24); transform: scale(1.08); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 18px; top: 50%; translate: 0 -50%; }
.lb-next { right: 18px; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; bottom: 20px; left: 50%; translate: -50% 0; color: rgba(255,255,255,.75); font-size: 14px; letter-spacing: .08em; }
@media (max-width: 640px) { .lb-prev, .lb-next { width: 44px; height: 44px; } }

/* ============================================================
   Video-Facade
   ============================================================ */
.video-embed { max-width: 760px; margin: 1.8em 0; }
.video-embed__btn {
  position: relative; display: block; width: 100%; aspect-ratio: 16/9;
  border: 0; padding: 0; cursor: pointer; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--navy); box-shadow: var(--shadow-1);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.video-embed__btn:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.video-embed__btn img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .5s var(--ease-out); }
.video-embed__btn:hover img { opacity: 1; transform: scale(1.04); }
.video-embed__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 74px; height: 74px; border-radius: 50%;
  background: rgba(211, 16, 33, .92);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .4);
  transition: transform .3s var(--ease-out), background .3s;
}
.video-embed__play::after {
  content: ""; position: absolute; left: 55%; top: 50%; translate: -50% -50%;
  border-left: 22px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent;
}
.video-embed__btn:hover .video-embed__play { transform: scale(1.12); background: var(--red); }
.video-embed__title, .video-embed > p { font-weight: 600; margin: 12px 0 0; font-size: 15.5px; }
.video-embed iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius-sm); box-shadow: var(--shadow-2); }
.video-embed__hint { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }

/* ============================================================
   Kontakt
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 30px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 30px; }
.contact-card h3 { font-size: 20px; margin-bottom: 16px; }
.contact-card ul { list-style: none; }
.contact-card li { display: flex; gap: 13px; padding: 11px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-card li:last-child { border-bottom: 0; }
.contact-card li .ico { font-size: 19px; flex-shrink: 0; }
.contact-card li b { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }

.mail-form { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 30px; }
.mail-form h3 { font-size: 20px; margin-bottom: 6px; }
.mail-form .hint { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 20px; }
.mail-form label { display: block; font-weight: 600; font-size: 14px; margin: 14px 0 6px; }
.mail-form input, .mail-form textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 12px 15px; font: inherit; font-size: 15.5px; color: var(--ink);
  background: var(--snow); outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.mail-form input:focus, .mail-form textarea:focus {
  border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(211, 16, 33, .1);
}
.mail-form textarea { min-height: 140px; resize: vertical; }
.mail-form .btn { margin-top: 20px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: linear-gradient(180deg, var(--navy), #091627);
  color: rgba(255, 255, 255, .82); margin-top: 0; position: relative;
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 44px;
  padding: clamp(50px, 7vw, 76px) 0 40px;
}
@media (max-width: 880px) { .footer-top { grid-template-columns: 1fr; gap: 34px; } }
.site-footer .f-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.site-footer .f-brand img { width: 52px; height: 52px; object-fit: contain; }
.site-footer .f-brand b { font-family: var(--font-head); color: #fff; font-size: 19px; display: block; }
.site-footer .f-brand small { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.site-footer p { font-size: 14.5px; line-height: 1.75; }
.site-footer h4 { color: #fff; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer a { color: rgba(255, 255, 255, .82); font-size: 14.5px; }
.site-footer a:hover { color: var(--gold); }
.f-social { display: flex; gap: 12px; margin-top: 20px; }
.f-social a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .09); transition: background .25s, transform .25s var(--ease-out);
}
.f-social a:hover { background: var(--red); transform: translateY(-3px); color: #fff; }
.f-social svg { width: 19px; height: 19px; fill: currentColor; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0; font-size: 13.5px; color: rgba(255, 255, 255, .55);
  display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: space-between; align-items: center;
}
.footer-bottom a { font-size: 13.5px; color: rgba(255, 255, 255, .65); margin-left: 18px; }
.footer-bottom a:first-child { margin-left: 0; }

/* To top */
#totop {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 48px; height: 48px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--navy); color: #fff; font-size: 20px;
  box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .3s var(--ease-out), background .25s, visibility .3s;
}
#totop.show { opacity: 1; visibility: visible; transform: none; }
#totop:hover { background: var(--red); }

/* ============================================================
   Reveal-Animationen
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-36px); }
.reveal--right { transform: translateX(36px); }
.reveal--left.in, .reveal--right.in { transform: none; }

/* View Transitions (MPA) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .3s var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in .45s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
/* Fallback-Eintrittsanimation für Browser ohne View Transitions */
@supports not (view-transition-name: none) {
  body { animation: page-in .5s var(--ease-out) both; }
  @keyframes page-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  #snow { display: none; }
}

/* Print */
@media print {
  .site-header, .mobile-nav, #totop, .hero-scroll, #snow, .site-footer .f-social { display: none !important; }
  .page-hero, .hero { background: #fff !important; color: #000; }
  .page-hero h1, .hero h1 { color: #000; text-shadow: none; }
}
