/* =========================================================
   SSSV – Salzburger Sportschützenverband · Design-Entwurf 2
   Reines CSS, keine externen Schriften oder Bibliotheken.
   ========================================================= */

:root {
  --g950: #08210f;
  --g900: #0d2b1b;
  --g800: #12402a;
  --g700: #17573a;
  --g600: #1f7346;
  --g500: #2d9159;
  --g200: #cfe8d8;
  --g100: #e8f4ec;
  --g50:  #f3f9f5;
  --lime: #a8e063;
  --gold: #c9a24b;

  --ink: #14231a;
  --muted: #5a6b60;
  --line: #e1e8e3;
  --bg: #fbfcfa;
  --white: #fff;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(13,43,27,.06), 0 2px 8px rgba(13,43,27,.05);
  --shadow: 0 8px 30px rgba(13,43,27,.10);
  --shadow-lg: 0 20px 50px rgba(13,43,27,.18);

  --maxw: 1180px;
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--g600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--g800); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--g900); font-weight: 750; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--g200); }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--g900); color: #fff; padding: .6rem 1rem; z-index: 300; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Topbar ---------- */
.topbar { background: var(--g950); color: #bcd3c4; font-size: .84rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #bcd3c4; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar ul { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar svg { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-right: .4rem; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(251,252,250,.88);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(13,43,27,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--g900); flex: none; }
.brand img { height: 54px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; }
.brand-text small { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; margin-top: .2rem; }

.nav-toggle { display: none; background: var(--white); border: 1px solid var(--line); border-radius: 12px; width: 46px; height: 46px; cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--g900); border-radius: 2px; transition: .25s; }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 22px; } .nav-toggle span:nth-child(3) { top: 29px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.main-nav > ul { display: flex; align-items: center; gap: .1rem; }
.main-nav li { position: relative; }
.main-nav a, .main-nav .sub-btn {
  display: flex; align-items: center; gap: .35rem; padding: .7rem .85rem; color: var(--ink); font: inherit; font-size: .95rem; font-weight: 600;
  text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: 10px; white-space: nowrap;
}
.main-nav a:hover, .main-nav .sub-btn:hover, .has-sub:focus-within > .sub-btn { background: var(--g100); color: var(--g800); }
.main-nav [aria-current="page"], .main-nav .is-active > .sub-btn { color: var(--g600); box-shadow: inset 0 -2px 0 var(--g600); border-radius: 0; background: none; }
.sub-btn::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; transition: transform .2s; }
.has-sub.open > .sub-btn::after { transform: rotate(225deg) translateY(-2px); }
.submenu {
  position: absolute; left: 50%; top: calc(100% + 6px); min-width: 250px; transform: translateX(-50%) translateY(6px);
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: .5rem;
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; z-index: 60;
}
.submenu.two-col { min-width: 420px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 .25rem; }
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu, .has-sub.open > .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.submenu a { padding: .6rem .85rem; font-weight: 550; border-radius: 10px; box-shadow: none !important; }
.submenu a:hover { background: var(--g100); }
.submenu li.sep { grid-column: 1 / -1; border-top: 1px solid var(--line); margin: .35rem .4rem; }
.main-nav a.nav-cta { background: var(--g700); color: #fff; padding: .7rem 1.25rem; margin-left: .5rem; border-radius: 999px; box-shadow: none; }
.main-nav a.nav-cta:hover { background: var(--g900); color: #fff; }

/* ---------- Buttons / Badges ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 650; font-size: .98rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--g700); color: #fff; box-shadow: 0 6px 18px rgba(23,87,58,.28); }
.btn-primary:hover { background: var(--g900); color: #fff; }
.btn-lime { background: var(--lime); color: var(--g950); }
.btn-lime:hover { background: #bcee7f; color: var(--g950); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { border-color: var(--g200); color: var(--g800); background: var(--white); }
.btn-outline:hover { border-color: var(--g600); color: var(--g800); }
.badge { display: inline-block; padding: .22rem .65rem; border-radius: 999px; background: var(--g100); color: var(--g700); font-size: .76rem; font-weight: 700; letter-spacing: .02em; }
.badge.dark { background: var(--g900); color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; background: var(--g900); }
.hero-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(100deg, rgba(8,33,15,.96) 0%, rgba(13,43,27,.86) 42%, rgba(13,43,27,.35) 100%); }
.hero-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 3rem; align-items: center; padding: 5.5rem 0 8rem; }
.pill { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem; border-radius: 999px; background: rgba(168,224,99,.14); border: 1px solid rgba(168,224,99,.4); color: var(--lime); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.4rem; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.4rem); letter-spacing: -.035em; line-height: 1.04; margin-bottom: 1.2rem; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lead { font-size: 1.2rem; color: #d3e6da; max-width: 52ch; margin-bottom: 2rem; }
.btn-row { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: var(--radius); padding: 1.6rem; }
.hero-card .label { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: .8rem; display: block; }
.hero-card h2 { color: #fff; font-size: 1.35rem; margin-bottom: .6rem; letter-spacing: -.015em; }
.hero-card time { font-size: .85rem; color: #b6d3c0; display: block; margin-bottom: .7rem; }
.hero-card p { color: #d3e6da; font-size: .96rem; margin-bottom: 1.1rem; }
.hero-card a.more { color: var(--lime); font-weight: 650; text-decoration: none; }
.hero-card a.more:hover { color: #fff; }

/* ---------- Schnellzugriff ---------- */
.quick { margin-top: -4.2rem; position: relative; z-index: 5; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.tile { background: var(--white); border-radius: var(--radius); padding: 1.5rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; gap: .35rem; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--g200); color: var(--ink); }
.tile .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--g100); color: var(--g600); display: grid; place-items: center; margin-bottom: .6rem; transition: background .2s, color .2s; }
.tile:hover .ico { background: var(--g700); color: #fff; }
.tile .ico svg { width: 24px; height: 24px; }
.tile strong { font-size: 1.12rem; letter-spacing: -.01em; }
.tile span.sub { font-size: .92rem; color: var(--muted); line-height: 1.4; }

/* ---------- Sektionen ---------- */
.section { padding: 5.5rem 0; }
.section.tight { padding: 3.5rem 0; }
.section.alt { background: var(--g50); }
.section.dark { background: var(--g900); color: #d3e6da; position: relative; overflow: hidden; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2.4rem; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 0; }
.section-head .kicker { display: block; font-size: .78rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--g500); margin-bottom: .6rem; }
.section.dark .kicker { color: var(--lime); }
.link-arrow { font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- News-Karten ---------- */
.news-feature { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--white); border-radius: calc(var(--radius) + 4px); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-bottom: 1.6rem; text-decoration: none; color: var(--ink); transition: box-shadow .25s, transform .25s; }
.news-feature:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.news-feature .media { min-height: 340px; position: relative; background: var(--g100); }
.news-feature .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-feature .body { padding: 2.6rem; display: flex; flex-direction: column; justify-content: center; }
.news-feature h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin: .8rem 0 .9rem; }
.news-feature p { color: var(--muted); }
.meta { display: flex; align-items: center; gap: .7rem; font-size: .86rem; color: var(--muted); flex-wrap: wrap; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); color: var(--ink); }
.card .media { aspect-ratio: 16 / 10; background: var(--g100); overflow: hidden; position: relative; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .media img { transform: scale(1.04); }
.card .body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card h3 { font-size: 1.22rem; margin: 0; letter-spacing: -.015em; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }
.card .more { margin-top: auto; padding-top: .4rem; font-weight: 650; color: var(--g600); font-size: .95rem; }
.no-img { display: grid; place-items: center; height: 100%; color: var(--g500); background: linear-gradient(135deg, var(--g100), var(--g200)); }
.no-img svg { width: 54px; height: 54px; opacity: .6; }

/* ---------- Disziplinen ---------- */
.disc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.disc { display: flex; align-items: center; gap: 1.1rem; padding: 1.3rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.disc:hover { border-color: var(--g500); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.disc .ring { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--g600); background: radial-gradient(circle, var(--white) 0 30%, transparent 31%), repeating-radial-gradient(circle, var(--g200) 0 3px, var(--g100) 3px 7px); }
.disc .ring svg { width: 22px; height: 22px; }
.disc > span:nth-child(2) { flex: 1; min-width: 0; }
.disc strong { display: block; font-size: 1.08rem; letter-spacing: -.01em; }
.disc small { color: var(--muted); font-size: .88rem; }
.disc .count { margin-left: auto; font-size: .78rem; font-weight: 700; color: var(--g700); background: var(--g100); padding: .2rem .6rem; border-radius: 999px; white-space: nowrap; }

/* ---------- Dateien ---------- */
.file-list { display: grid; gap: .6rem; }
.file { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: .85rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, background .15s; }
.file:hover { border-color: var(--g500); box-shadow: var(--shadow-sm); background: var(--g50); color: var(--ink); }
.file .ext { width: 44px; height: 44px; border-radius: 12px; background: var(--g100); color: var(--g700); font-size: .68rem; font-weight: 800; letter-spacing: .04em; display: grid; place-items: center; }
.file .ext.pdf { background: #fdecec; color: #b3261e; }
.file .ext.xls { background: #e6f4ea; color: #1e7a3c; }
.file .ext.doc { background: #e8f0fe; color: #1a56c9; }
.file .t { font-weight: 600; line-height: 1.35; }
.file .t small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.file .go { color: var(--muted); font-size: 1.1rem; transition: transform .15s, color .15s; }
.file:hover .go { transform: translate(2px, -2px); color: var(--g600); }

/* ---------- Fakten / Verband ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin: 2.2rem 0 2.4rem; }
.fact { padding: 1.5rem; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.fact b { display: block; font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.04em; color: var(--lime); line-height: 1; margin-bottom: .5rem; }
.fact span { color: #c3dccb; font-size: .92rem; line-height: 1.4; display: block; }
.dark-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.dark .rings { position: absolute; right: -180px; top: 50%; width: 720px; height: 720px; transform: translateY(-50%); border-radius: 50%; pointer-events: none; opacity: .5;
  background: repeating-radial-gradient(circle, transparent 0 46px, rgba(255,255,255,.06) 46px 48px); }
.dark .container { position: relative; }

/* ---------- Unterseiten ---------- */
.pagehead { background: var(--g900); color: #fff; position: relative; overflow: hidden; padding: 3.4rem 0 3.2rem; }
.pagehead::after { content: ""; position: absolute; right: -140px; top: 50%; width: 560px; height: 560px; transform: translateY(-50%); border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 40px, rgba(255,255,255,.06) 40px 42px); pointer-events: none; }
.pagehead .container { position: relative; z-index: 1; }
.pagehead h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.3rem); letter-spacing: -.03em; margin: .5rem 0 0; }
.pagehead .lead { color: #c3dccb; font-size: 1.15rem; max-width: 62ch; margin: 1rem 0 0; }
.crumbs { font-size: .88rem; color: #9ec3ac; }
.crumbs a { color: #cfe8d8; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span { margin: 0 .45rem; opacity: .6; }
.pagehead .meta { color: #b6d3c0; margin-top: 1rem; }

.page-body { padding: 3.2rem 0 5.5rem; }
.prose { max-width: 760px; }
.prose p { font-size: 1.08rem; }
.prose h2 { font-size: 1.7rem; margin-top: 2.2rem; }
.prose h3 { font-size: 1.3rem; margin-top: 1.8rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1.1em; }
.prose li { margin-bottom: .3em; }
.card-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.card-box h2, .card-box h3 { font-size: 1.3rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.stack > * + * { margin-top: 1.6rem; }
.grid-2 > *, .grid-3 > *, .quick-grid > *, .cards > *, .disc-grid > * { min-width: 0; }
.note { background: #fff8e6; border: 1px solid #f0dca5; color: #6b5313; padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-size: .95rem; }
.callout { background: var(--g100); border-left: 4px solid var(--g500); padding: 1.1rem 1.4rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.6rem 0; }

/* Werkzeugleiste (Suche / Filter) */
.toolbar { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.6rem; }
.search { position: relative; flex: 1; min-width: 240px; max-width: 460px; }
.search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 100%; padding: .85rem 1.1rem .85rem 3rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font: inherit; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.search input:focus { outline: 0; border-color: var(--g500); box-shadow: 0 0 0 4px rgba(45,145,89,.15); }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip { padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; transition: .15s; }
.chip:hover { border-color: var(--g500); }
.chip.on { background: var(--g700); border-color: var(--g700); color: #fff; }
.result-count { color: var(--muted); font-size: .92rem; margin-left: auto; }
.empty { display: none; text-align: center; color: var(--muted); padding: 2.5rem 1rem; border: 1.5px dashed var(--line); border-radius: var(--radius); }

/* Jahres-Gruppen */
details.year { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .9rem; overflow: hidden; }
details.year > summary { cursor: pointer; list-style: none; padding: 1.1rem 1.4rem; display: flex; align-items: center; gap: 1rem; font-weight: 750; font-size: 1.15rem; letter-spacing: -.01em; }
details.year > summary::-webkit-details-marker { display: none; }
details.year > summary .n { font-weight: 600; font-size: .82rem; color: var(--g700); background: var(--g100); padding: .2rem .65rem; border-radius: 999px; }
details.year > summary::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
details.year[open] > summary::after { transform: rotate(225deg); }
details.year[open] > summary { border-bottom: 1px solid var(--line); background: var(--g50); }
details.year .file-list { padding: 1rem; }

/* Tabellen */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th { text-align: left; padding: .9rem 1.1rem; background: var(--g50); color: var(--g800); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--g50); }
td a { word-break: break-word; }
.ver-name { font-weight: 650; }

/* Zeitleiste */
.timeline { position: relative; margin: 2rem 0; padding-left: 2rem; border-left: 2px solid var(--g200); display: grid; gap: 1.4rem; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(-2rem - 7px); top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--g600); box-shadow: 0 0 0 4px var(--g100); }
.timeline b { font-size: 1.3rem; color: var(--g700); letter-spacing: -.02em; margin-right: .6rem; }

/* Beitrag */
.article { max-width: 760px; margin-inline: auto; }
.article p { font-size: 1.1rem; line-height: 1.75; }
.article h2, .article h3 { margin-top: 2rem; }
.credit { color: var(--muted); font-size: .88rem; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2rem; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 2.4rem auto 0; max-width: var(--maxw); }
.gallery button { padding: 0; border: 0; background: var(--g100); border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.05); }
.post-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); flex-wrap: wrap; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(5,18,10,.94); z-index: 500; display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1200px, 100%); max-height: 86vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 1.2rem; right: 1.2rem; } .lb-prev { left: 1.2rem; top: 50%; } .lb-next { right: 1.2rem; top: 50%; }
.lb-count { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); color: #cfe8d8; font-size: .9rem; }

/* Kontakt */
.contact-card { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.2rem; align-items: start; }
.contact-card dt { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; padding-top: .3rem; }
.contact-card dd { margin: 0; font-size: 1.12rem; font-weight: 550; }

/* ---------- Footer ---------- */
.site-footer { background: var(--g950); color: #a9c4b3; padding: 4.5rem 0 0; }
.site-footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.1rem; font-weight: 750; }
.site-footer a { color: #a9c4b3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3.5rem; }
.footer-grid li { margin-bottom: .55rem; font-size: .96rem; }
.footer-brand { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.2rem; }
.footer-brand img { height: 60px; width: auto; background: #fff; padding: 6px 8px; border-radius: 10px; }
.footer-brand strong { color: #fff; font-size: 1.15rem; display: block; line-height: 1.2; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0; font-size: .86rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem; }
.footer-bottom ul { display: flex; gap: 1.4rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .disc-grid, .cards, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 7rem; }
  .hero-card { max-width: 520px; }
  .dark-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.4rem; }
}
@media (max-width: 1300px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .nav-toggle { display: block; }
  .main-nav { position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; background: var(--bg); overflow-y: auto; padding: 1rem 1.25rem 3rem; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; border-top: 1px solid var(--line); }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a, .main-nav .sub-btn { width: 100%; padding: 1rem .4rem; font-size: 1.08rem; border-bottom: 1px solid var(--line); border-radius: 0; justify-content: space-between; }
  .main-nav [aria-current="page"], .main-nav .is-active > .sub-btn { box-shadow: none; color: var(--g600); }
  .submenu, .submenu.two-col { position: static; transform: none !important; opacity: 1; visibility: visible; display: none; box-shadow: none; border: 0; border-left: 3px solid var(--g200); border-radius: 0; margin: .3rem 0 .6rem .4rem; min-width: 0; padding: .2rem 0; grid-template-columns: 1fr; }
  .has-sub.open > .submenu { display: block; }
  .has-sub:hover > .submenu { display: none; }
  .has-sub.open:hover > .submenu { display: block; }
  .submenu a { border-bottom: 0; padding: .7rem 1rem; font-size: 1rem; }
  .main-nav a.nav-cta { margin: 1.2rem 0 0; justify-content: center; border-bottom: 0; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .section { padding: 3.8rem 0; }
  .hero-inner { padding: 3.5rem 0 6.5rem; }
  .quick-grid, .disc-grid, .cards, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .quick-grid { gap: .8rem; }
  .tile { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; row-gap: .1rem; align-items: center; padding: 1.1rem 1.2rem; min-width: 0; }
  .tile .ico { margin: 0; grid-row: 1 / span 2; }
  .tile strong, .tile span.sub { min-width: 0; overflow-wrap: anywhere; }
  .news-feature { grid-template-columns: 1fr; }
  .news-feature .media { min-height: 220px; }
  .news-feature .body { padding: 1.6rem; }
  .facts { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .hide-sm { display: none; }
  .brand-text small { display: none; }
  .file { grid-template-columns: auto 1fr; }
  .file .go { display: none; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-card dt { padding-top: .8rem; }
  /* Vereinstabelle als Karten */
  table.cards-sm thead { display: none; }
  table.cards-sm, table.cards-sm tbody, table.cards-sm tr, table.cards-sm td { display: block; width: 100%; }
  table.cards-sm tr { padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
  table.cards-sm td { padding: .15rem 0; border: 0; }
  table.cards-sm td[data-l]::before { content: attr(data-l) ": "; color: var(--muted); font-size: .82rem; }
  table.cards-sm td.ver-name::before { content: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; animation: none !important; } }
@media print { .topbar, .site-header, .site-footer, .toolbar, .lightbox { display: none !important; } body { background: #fff; } }

/* =========================================================
   Version 3 – Hero mit wechselnden Fotos + Disziplinen-Übersicht
   ========================================================= */
.hero-v3 { min-height: 640px; }
.hero-slides { position: absolute; inset: 0; z-index: -2; background: var(--g900); }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; opacity: 0; transform: scale(1.04); transition: opacity 1.2s ease, transform 7s ease-out; }
.hero-slide.is-on { opacity: 1; transform: scale(1); }
.hero-v3 .hero-inner { grid-template-columns: 1.05fr .95fr; padding: 5rem 0 8.5rem; align-items: center; }
.hero-ctrl { display: flex; align-items: center; gap: 1rem; margin-top: 2.4rem; flex-wrap: wrap; }
.hero-dots { display: flex; gap: .5rem; }
.hero-dot { width: 34px; height: 5px; border-radius: 4px; border: 0; padding: 0; background: rgba(255,255,255,.3); cursor: pointer; position: relative; overflow: hidden; }
.hero-dot::after { content: ""; position: absolute; inset: 0; background: var(--lime); transform: scaleX(0); transform-origin: left; }
.hero-dot.on::after { transform: scaleX(1); }
.hero-dot:hover { background: rgba(255,255,255,.5); }
.hero-dot { min-height: 24px; background-clip: content-box; border-top: 9.5px solid transparent; border-bottom: 9.5px solid transparent; }
.hero-cap { font-size: .86rem; color: #cfe8d8; font-weight: 600; letter-spacing: .02em; }
.hero-cap::before { content: "Foto: "; opacity: .65; font-weight: 500; }

.disc-panel { background: rgba(8,33,15,.55); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: calc(var(--radius) + 4px); padding: 1.6rem; }
.disc-panel .label { display: block; font-size: .75rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 1rem; }
.disc-mini { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.disc-mini a { display: flex; align-items: center; gap: .8rem; padding: .7rem .85rem; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); text-decoration: none; color: #fff; transition: background .2s, border-color .2s, transform .2s; height: 100%; }
.disc-mini a:hover, .disc-mini a.on { background: rgba(168,224,99,.2); border-color: rgba(168,224,99,.6); color: #fff; transform: translateY(-1px); }
.disc-mini .ring { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(168,224,99,.16); color: var(--lime); }
.disc-mini .ring svg { width: 18px; height: 18px; }
.disc-mini strong { display: block; font-size: .96rem; line-height: 1.2; letter-spacing: -.01em; }
.disc-mini small { display: block; color: #b6d3c0; font-size: .76rem; line-height: 1.3; margin-top: .1rem; }
.disc-mini li { min-width: 0; }
.disc-mini .all a { background: var(--lime); border-color: var(--lime); color: var(--g950); justify-content: space-between; }
.disc-mini .all a:hover { background: #bcee7f; border-color: #bcee7f; color: var(--g950); }
.disc-mini .all small { color: #2c4a20; }
.disc-mini .arr { font-size: 1.2rem; font-weight: 700; }

@media (max-width: 1100px) {
  .hero-v3 .hero-inner { grid-template-columns: 1fr; padding-bottom: 8rem; gap: 2.2rem; }
  .disc-panel { max-width: 640px; }
}
@media (max-width: 560px) {
  .disc-mini { grid-template-columns: 1fr; }
  .hero-v3 { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; transform: none; } }
.hero-v3::before { background: linear-gradient(100deg, rgba(8,33,15,.90) 0%, rgba(10,36,22,.62) 52%, rgba(13,43,27,.22) 100%); }
@media (max-width: 1100px) { .hero-v3::before { background: linear-gradient(180deg, rgba(8,33,15,.88) 0%, rgba(10,36,22,.72) 100%); } }
