/* ─────────────────────────────────────────────────────────────
   AStA Bingen · style.css
   TH Bingen Corporate Identity · Stand 2026
───────────────────────────────────────────────────────────────── */

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --blau:      #005694;
  --blau-d:    #004578;
  --blau-l:    #ddeaf7;
  --gruen:     #39b86e;
  --gruen-d:   #2a9a58;
  --bg:        #f2f6fa;
  --card:      #ffffff;
  --nav-bg:    #005694;
  --t1:        #0d1b2a;
  --t2:        #4a607a;
  --t3:        #8fa4b8;
  --border:    rgba(0, 86, 148, 0.11);
  --border-md: rgba(0, 86, 148, 0.22);
  --shadow-sm: 0 1px 3px rgba(0,86,148,0.05), 0 2px 8px rgba(0,86,148,0.06);
  --shadow:    0 2px 8px rgba(0,86,148,0.07), 0 8px 32px rgba(0,86,148,0.08);
  --shadow-lg: 0 8px 24px rgba(0,86,148,0.10), 0 24px 64px rgba(0,86,148,0.11);
  --radius:    10px;
  --nav-h:     60px;
}

[data-theme="dark"] {
  --bg:        #06101d;
  --card:      #0c1a28;
  --nav-bg:    #041020;
  --t1:        #e2edf7;
  --t2:        #7aa0bb;
  --t3:        #38546a;
  --border:    rgba(0, 86, 148, 0.18);
  --border-md: rgba(0, 86, 148, 0.34);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.22), 0 2px 8px rgba(0,0,0,0.26);
  --shadow:    0 2px 8px rgba(0,0,0,0.22), 0 8px 32px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.32), 0 24px 64px rgba(0,0,0,0.42);
  --blau-l:    rgba(0, 86, 148, 0.18);
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--t1);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background .3s, color .3s;
}
img { max-width: 100%; display: block; }
a { color: var(--blau); text-decoration: none; transition: color .15s; }
a:hover { color: var(--blau-d); }
:focus-visible {
  outline: 2px solid var(--blau);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── NAVIGATION ──────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: var(--nav-h);
  box-shadow: none;
  transition: background .3s, box-shadow .3s;
}
nav.scrolled {
  background: var(--nav-bg);
  box-shadow: 0 2px 20px rgba(0,0,0,0.22);
}

.nav-logo {
  display: flex; align-items: center; gap: .65rem;
  color: #fff; font-weight: 800; font-size: .88rem;
  letter-spacing: .025em; flex-shrink: 0;
  transition: opacity .15s;
}
.nav-logo:hover { opacity: .85; color: #fff; }
.nav-logo svg { flex-shrink: 0; }

.nav-links {
  display: flex; list-style: none;
  gap: 0; align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,.72);
  font-size: .76rem; font-weight: 600;
  padding: .42rem .7rem; border-radius: 6px;
  transition: background .15s, color .15s;
  white-space: nowrap; letter-spacing: .01em;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,.13);
  color: #fff;
}

.nav-right { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }

.nav-shop {
  background: var(--gruen) !important;
  color: #fff !important;
  padding: .34rem .82rem !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  font-size: .74rem !important;
  letter-spacing: .02em !important;
  transition: background .15s, transform .15s !important;
  white-space: nowrap;
}
.nav-shop:hover {
  background: var(--gruen-d) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.theme-fab {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 200;
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--blau); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,86,148,.32), 0 1px 4px rgba(0,0,0,.18);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.theme-fab:hover { background: var(--blau-d); transform: scale(1.08); }
[data-theme="dark"] .theme-fab { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 4px 16px rgba(0,0,0,.4); }
[data-theme="dark"] .theme-fab:hover { background: rgba(255,255,255,.2); }

/* ── TICKETS EMBED ───────────────────────────────────────────── */
.tickets-embed {
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--bg);
}
.tickets-embed iframe {
  width: 100%; height: 100%; border: none; display: block;
}

/* Hamburger */
.nav-burger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,.82); border-radius: 2px;
  transition: transform .22s, opacity .18s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--blau-d);
  z-index: 99; max-height: 0; overflow: hidden;
  transition: max-height .28s ease;
}
.nav-drawer.open { max-height: 540px; }
.nav-drawer a {
  display: block; padding: .82rem 1.75rem;
  color: rgba(255,255,255,.76); font-size: .84rem; font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .15s, color .15s;
}
.nav-drawer a:hover { background: rgba(255,255,255,.05); color: #fff; }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: sticky; top: 0; z-index: 0;
  background: #001e3c url('https://asta-bingen.de/wp-content/uploads/2017/01/Bootsparty-1.jpg') center 30% / cover no-repeat;
  height: 100vh; height: 100svh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(0,28,60,.88) 0%, rgba(0,18,44,.72) 42%, rgba(0,10,28,.44) 100%),
    radial-gradient(ellipse at 12% 85%, rgba(57,184,110,.13) 0%, transparent 48%);
  z-index: 0;
}
.hero-content {
  position: relative; z-index: 1;
  padding: calc(var(--nav-h) + clamp(1.5rem, 4vh, 4rem)) 2rem clamp(3rem, 5vh, 5rem);
  width: 100%; max-width: 720px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.hero-label {
  font-size: .62rem; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255,255,255,.46); margin-bottom: .9rem; font-weight: 700;
}
.hero h1 {
  font-size: clamp(1.9rem, min(4.2vw, 6vh), 3.4rem);
  font-weight: 800; line-height: 1.06; color: #fff;
  margin-bottom: clamp(.5rem, 1.5vh, 1rem);
}
.hero h1 span { color: var(--gruen); }
.hero > .hero-content > p {
  font-size: clamp(.82rem, 1.5vw, .93rem); color: rgba(255,255,255,.68);
  max-width: 480px; line-height: 1.78; margin-bottom: clamp(.75rem, 2vh, 1.5rem);
}
.hero-chips {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: clamp(1rem, 2.5vh, 2rem);
  justify-content: center;
}
.hero-chip {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px; padding: .26rem .72rem;
  font-size: .7rem; font-weight: 600; color: rgba(255,255,255,.82);
  white-space: nowrap;
}
.hero-btns {
  display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center;
}
.hero-float {
  position: absolute; bottom: 2rem; right: 2.5rem;
  background: rgba(255,255,255,.11);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px; padding: .9rem 1.15rem;
  z-index: 3; min-width: 190px;
}
.hero-float-label {
  font-size: .58rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .13em; color: var(--gruen); margin-bottom: .35rem;
  display: flex; align-items: center; gap: .35rem;
}
.hero-float-label::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gruen); flex-shrink: 0;
  animation: hero-pulse 2s ease infinite;
}
@keyframes hero-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}
.hero-float-title { font-size: .96rem; font-weight: 800; color: #fff; margin-bottom: .18rem; }
.hero-float-sub   { font-size: .74rem; color: rgba(255,255,255,.56); }

/* Content that scrolls over the sticky hero */
.page-body {
  position: relative; z-index: 1;
  background: var(--bg);
}

@media (max-width: 820px) {
  .hero { height: 100vh; height: 100svh; }
  .hero-content { padding: calc(var(--nav-h) + 2rem) 1.5rem 4rem; }
  .hero-float { bottom: 1rem; right: 1rem; }
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .65rem 1.5rem; border-radius: 8px;
  font-weight: 700; font-size: .84rem; cursor: pointer; border: none;
  transition: transform .15s, box-shadow .15s, background .15s;
  letter-spacing: .01em; font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--gruen); color: #fff;
}
.btn-primary:hover {
  background: var(--gruen-d); color: #fff;
  box-shadow: 0 6px 22px rgba(57,184,110,.38);
}

.btn-blue {
  background: var(--blau); color: #fff;
}
.btn-blue:hover {
  background: var(--blau-d); color: #fff;
  box-shadow: 0 6px 22px rgba(0,86,148,.32);
}

.btn-outline {
  background: rgba(255,255,255,.1); color: #fff;
  border: 1.5px solid rgba(255,255,255,.28);
}
.btn-outline:hover {
  background: rgba(255,255,255,.18); color: #fff;
}

/* ── LAYOUT ──────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
section { padding: 4.25rem 0; }

.section-label {
  display: block;
  font-size: .61rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--blau); font-weight: 700; margin-bottom: .5rem;
}
[data-theme="dark"] .section-label { color: var(--gruen); }

.section-title {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 800; color: var(--t1); margin-bottom: .5rem;
}
.section-sub {
  color: var(--t2); font-size: .91rem;
  max-width: 580px; margin-bottom: 2.5rem; line-height: 1.78;
}

/* ── GRID ────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

/* ── CARD ────────────────────────────────────────────────────── */
.card {
  background: var(--card); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--border-md);
}
.card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--blau-l); display: flex; align-items: center;
  justify-content: center; margin-bottom: 1rem; font-size: 1.3rem;
}
[data-theme="dark"] .card-icon { background: rgba(0,86,148,.2); }
.card h3 { font-size: .96rem; font-weight: 700; color: var(--t1); margin-bottom: .4rem; }
.card p  { font-size: .84rem; color: var(--t2); line-height: 1.65; }
.card-link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .8rem; font-weight: 700; color: var(--blau);
  margin-top: .85rem; transition: gap .15s, color .15s;
}
.card-link:hover { gap: .55rem; color: var(--blau-d); }

/* ── NEWS BADGE ──────────────────────────────────────────────── */
.news-badge {
  display: inline-block; font-size: .62rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--blau-l); color: var(--blau);
  padding: .2rem .55rem; border-radius: 4px; margin-bottom: .55rem;
}
[data-theme="dark"] .news-badge { background: rgba(0,86,148,.2); color: #7aaed4; }

/* ── TAG ─────────────────────────────────────────────────────── */
.tag {
  display: inline-block; font-size: .72rem; font-weight: 600;
  padding: .2rem .6rem; border-radius: 20px;
  background: var(--blau-l); color: var(--blau);
  margin-right: .3rem; margin-bottom: .3rem;
}
[data-theme="dark"] .tag { background: rgba(0,86,148,.18); color: #7aaed4; }

/* ── STATS BAR ───────────────────────────────────────────────── */
.stats-bar {
  display: flex; gap: 2rem; padding: 2rem 2.5rem;
  background: var(--card); border-radius: var(--radius);
  border: 1px solid var(--border); flex-wrap: wrap;
  justify-content: space-around; margin-top: -2rem;
  position: relative; box-shadow: var(--shadow);
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 1.9rem; font-weight: 800; color: var(--blau); line-height: 1;
}
[data-theme="dark"] .stat-num { color: #7aaed4; }
.stat-label {
  font-size: .68rem; color: var(--t3); margin-top: .28rem;
  font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}

/* ── CONTACT ─────────────────────────────────────────────────── */
.contact-row {
  display: flex; align-items: flex-start; gap: .7rem;
  font-size: .85rem; color: var(--t2); margin-bottom: .62rem;
}
.contact-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--blau-l); display: flex;
  align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .9rem;
}
[data-theme="dark"] .contact-icon { background: rgba(0,86,148,.2); }

/* ── TABLE ───────────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.data-table th {
  text-align: left; padding: .6rem .85rem;
  background: var(--blau-l); color: var(--blau);
  font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 700; border-bottom: 2px solid var(--border-md);
}
[data-theme="dark"] .data-table th { background: rgba(0,86,148,.15); color: #7aaed4; }
.data-table td {
  padding: .65rem .85rem; border-bottom: 1px solid var(--border);
  color: var(--t1);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(0,86,148,.03); }

/* ── ACCORDION ───────────────────────────────────────────────── */
.accordion {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--card);
  transition: border-color .2s, box-shadow .2s;
}
.accordion + .accordion { margin-top: .5rem; }
.accordion:hover { border-color: var(--border-md); }
.accordion.open {
  border-color: rgba(0,86,148,.28);
  box-shadow: var(--shadow-sm);
}
.acc-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; cursor: pointer; gap: 1rem;
  transition: background .15s;
}
.acc-header:hover { background: rgba(0,86,148,.03); }
.acc-header h3 { font-size: .92rem; font-weight: 600; color: var(--t1); }
.acc-chevron {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blau-l); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; transition: transform .22s, background .2s;
  color: var(--blau);
}
[data-theme="dark"] .acc-chevron { background: rgba(0,86,148,.2); color: #7aaed4; }
.accordion.open .acc-chevron {
  transform: rotate(180deg);
  background: var(--blau); color: #fff;
}
.acc-body {
  max-height: 0; overflow: hidden;
  transition: max-height .28s ease;
}
.accordion.open .acc-body { max-height: 800px; }
.acc-body-inner {
  padding: 0 1.25rem 1.15rem; color: var(--t2);
  font-size: .88rem; line-height: 1.8;
}
.acc-body-inner p + p { margin-top: .5rem; }
.acc-body-inner ul { margin: .5rem 0 .5rem 1.1rem; }
.acc-body-inner ul li { margin-bottom: .3rem; }
.acc-body-inner a { color: var(--blau); font-weight: 600; }

/* ── PAGE HERO ───────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #005694 0%, #002f5a 100%);
  padding: calc(var(--nav-h) + 3rem) 2rem 3.25rem; color: #fff;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(57,184,110,.12) 0%, transparent 52%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero .section-label { color: rgba(255,255,255,.44); }
.page-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 800; margin-bottom: .5rem;
}
.page-hero p {
  color: rgba(255,255,255,.68); max-width: 560px;
  font-size: .93rem; line-height: 1.78;
}

/* ── HIGHLIGHT BOX ───────────────────────────────────────────── */
.highlight {
  background: var(--blau-l);
  border: 1px solid rgba(0,86,148,.2);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
[data-theme="dark"] .highlight {
  background: rgba(0,86,148,.1);
  border-color: rgba(0,86,148,.26);
}
.highlight strong { color: var(--blau); }
[data-theme="dark"] .highlight strong { color: #7aaed4; }
.highlight a { color: var(--blau); font-weight: 600; }
[data-theme="dark"] .highlight a { color: #7aaed4; }

/* ── PRICE CARD ──────────────────────────────────────────────── */
.price-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.price-card h3 {
  font-size: .78rem; font-weight: 700; color: var(--blau);
  text-transform: uppercase; letter-spacing: .09em; margin-bottom: 1rem;
}
[data-theme="dark"] .price-card h3 { color: #7aaed4; }
.price-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: .5rem 0; border-bottom: 1px solid var(--border);
  font-size: .87rem; color: var(--t1);
}
.price-row:last-child { border-bottom: none; }
.price-row .price { font-weight: 800; color: var(--blau); }
[data-theme="dark"] .price-row .price { color: #7aaed4; }

/* ── STEPS ───────────────────────────────────────────────────── */
.steps { counter-reset: step; display: flex; flex-direction: column; gap: .85rem; }
.step {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
}
.step:hover { border-color: var(--border-md); box-shadow: var(--shadow); }
.step-num {
  counter-increment: step;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--blau); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 800; flex-shrink: 0;
}
.step-num::before { content: counter(step); }
.step-content h4 { font-size: .92rem; font-weight: 700; color: var(--t1); margin-bottom: .22rem; }
.step-content p  { font-size: .84rem; color: var(--t2); line-height: 1.65; }

/* ── FORM ────────────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: .77rem; font-weight: 700; color: var(--t2); letter-spacing: .01em; }
input, textarea, select {
  padding: .7rem .95rem; border-radius: 8px;
  border: 1.5px solid var(--border-md);
  background: var(--card); color: var(--t1);
  font-size: .9rem; font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--blau);
  box-shadow: 0 0 0 3px rgba(0,86,148,.12);
}
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
  background: rgba(0,86,148,.06);
  border-color: var(--border-md);
  color: var(--t1);
}
textarea { resize: vertical; min-height: 120px; }

/* ── REFERAT CARD ────────────────────────────────────────────── */
.referat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.referat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--border-md);
}
.referat-card h3 { font-size: .96rem; font-weight: 700; color: var(--t1); margin-bottom: .3rem; }
.referat-card .members { font-size: .77rem; color: var(--t3); margin-bottom: .65rem; font-weight: 500; }
.referat-card p { font-size: .84rem; color: var(--t2); line-height: 1.65; margin-bottom: .8rem; }
.referat-card a.email {
  font-size: .8rem; font-weight: 700; color: var(--blau);
  display: inline-flex; align-items: center; gap: .32rem;
  transition: color .15s;
}
.referat-card a.email:hover { color: var(--blau-d); }

/* ── LEGAL ───────────────────────────────────────────────────── */
.legal-content h2 { font-size: 1.1rem; font-weight: 700; color: var(--t1); margin: 2rem 0 .6rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: .95rem; font-weight: 700; color: var(--t1); margin: 1.25rem 0 .4rem; }
.legal-content p { font-size: .88rem; color: var(--t2); line-height: 1.85; margin-bottom: .75rem; }
.legal-content ul { margin: .5rem 0 .75rem 1.2rem; }
.legal-content ul li { font-size: .88rem; color: var(--t2); margin-bottom: .35rem; line-height: 1.65; }
.legal-content a { color: var(--blau); font-weight: 600; }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  background: #eaf0f7;
  border-top: 2px solid rgba(0,86,148,.12);
  padding: 3rem 2rem 2rem;
}
[data-theme="dark"] footer {
  background: #040d18;
  border-top-color: rgba(0,86,148,.22);
}
.footer-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0,86,148,.12);
}
[data-theme="dark"] .footer-grid { border-bottom-color: rgba(0,86,148,.2); }
.footer-brand { color: var(--blau); font-weight: 800; font-size: .92rem; margin-bottom: .65rem; }
[data-theme="dark"] .footer-brand { color: #7aaed4; }
.footer-desc { font-size: .82rem; line-height: 1.75; color: var(--t2); }
.footer-col h4 {
  font-size: .67rem; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; color: var(--blau); margin-bottom: .9rem; opacity: .58;
}
[data-theme="dark"] .footer-col h4 { color: #7aaed4; }
.footer-col a { display: block; font-size: .84rem; color: var(--t2); margin-bottom: .42rem; transition: color .15s; }
.footer-col a:hover { color: var(--blau); }
[data-theme="dark"] .footer-col a:hover { color: #7aaed4; }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem; font-size: .77rem; color: var(--t3);
  flex-wrap: wrap; gap: .5rem;
}
.footer-bottom a { color: var(--t3); transition: color .15s; }
.footer-bottom a:hover { color: var(--blau); }

/* ── EVENT CARD ──────────────────────────────────────────────── */
.event-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s, box-shadow .22s, border-color .22s;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-md);
  color: inherit;
}
.event-card-img-wrap { overflow: hidden; }
.event-card-img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.event-card:hover .event-card-img { transform: scale(1.05); }
.event-card-body {
  padding: 1.25rem 1.35rem 1.4rem;
  flex: 1; display: flex; flex-direction: column;
}
.event-card-type {
  font-size: .61rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gruen); margin-bottom: .4rem;
}
.event-card-title {
  font-size: 1.06rem; font-weight: 800;
  color: var(--t1); margin-bottom: .45rem; line-height: 1.2;
}
.event-card-desc {
  font-size: .84rem; color: var(--t2);
  line-height: 1.65; flex: 1; margin-bottom: .9rem;
}
.event-card-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.event-tag {
  font-size: .67rem; font-weight: 600;
  padding: .18rem .55rem; border-radius: 20px;
  background: var(--blau-l); color: var(--blau);
}
[data-theme="dark"] .event-tag { background: rgba(0,86,148,.18); color: #7aaed4; }
.event-tag.green { background: rgba(57,184,110,.13); color: #1f8a4f; }
[data-theme="dark"] .event-tag.green { color: #39b86e; background: rgba(57,184,110,.16); }

/* ── EVENT MINI ──────────────────────────────────────────────── */
.event-mini {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.1rem 1.25rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
}
.event-mini:hover { border-color: var(--border-md); box-shadow: var(--shadow); }
.event-mini-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--blau-l); display: flex;
  align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
[data-theme="dark"] .event-mini-icon { background: rgba(0,86,148,.2); }
.event-mini h4 { font-size: .92rem; font-weight: 700; color: var(--t1); margin-bottom: .22rem; }
.event-mini p  { font-size: .83rem; color: var(--t2); line-height: 1.62; }

/* ── IMG SHOWCASE ────────────────────────────────────────────── */
.img-showcase {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: .75rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
}
.img-showcase figure {
  overflow: hidden; position: relative; margin: 0;
  max-height: 360px;
}
.img-showcase figure img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  border-radius: 0;
  transition: transform .35s ease;
  max-width: none;
}
.img-showcase figure:hover img { transform: scale(1.04); }
.img-showcase figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: .55rem .85rem;
  background: linear-gradient(transparent, rgba(0,0,0,.52));
  color: rgba(255,255,255,.84); font-size: .7rem; font-weight: 500;
  line-height: 1.3; pointer-events: none;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-links  { display: none; }
  .nav-burger { display: flex; }
  .nav-drawer { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .img-showcase { grid-template-columns: 1fr; }
  .img-showcase figure { max-height: 220px; }
  .form-grid  { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero    { padding: 3.5rem 1.25rem 3rem; }
  .container { padding: 0 1.25rem; }
  section  { padding: 2.75rem 0; }
  .stats-bar { gap: 1.5rem; padding: 1.5rem; }
  .page-hero { padding: calc(var(--nav-h) + 2rem) 1.25rem 2.25rem; }
}

/* Mobile zoom-fix for inputs */
@media (max-width: 768px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="color"]),
  textarea, select { font-size: max(16px, 1em); }
}
