/* ===== CUSTOM PROPERTIES ===== */
:root {
  --primary: #1e3a8a;          /* tiefes Marineblau (Logo-Hintergrund) */
  --primary-dark: #15265c;
  --primary-light: #2563eb;
  --accent: #c89233;           /* Goldener Logo-Rand */
  --accent-light: #e6b85c;
  --teal: #3a8a9e;             /* Hafenwasser/Gebäude */
  --bg: #f8fafc;
  --bg-alt: #eef2ff;
  --surface: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 1rem;
  --shadow: 0 4px 24px rgba(30,58,138,0.10);
  --shadow-hover: 0 8px 32px rgba(30,58,138,0.20);
  --shadow-gold: 0 4px 18px rgba(200,146,51,0.35);
  --transition: 0.22s ease;
}

/* ===== DARK MODE ===== */
[data-theme="dark"] {
  --primary: #60a5fa;
  --primary-dark: #93c5fd;
  --primary-light: #3b82f6;
  --accent: #e6b85c;
  --accent-light: #f4d57a;
  --teal: #5db5cb;
  --bg: #0a1426;
  --bg-alt: #15243f;
  --surface: #15243f;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: #2c3e5e;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.55);
  --shadow-gold: 0 4px 18px rgba(230,184,92,0.30);
}

/* System-Präferenz als Fallback (ohne JS) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --primary: #60a5fa;
    --primary-dark: #93c5fd;
    --primary-light: #3b82f6;
    --accent: #e6b85c;
    --accent-light: #f4d57a;
    --teal: #5db5cb;
    --bg: #0a1426;
    --bg-alt: #15243f;
    --surface: #15243f;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --border: #2c3e5e;
    --shadow: 0 4px 24px rgba(0,0,0,0.4);
    --shadow-hover: 0 8px 32px rgba(0,0,0,0.55);
    --shadow-gold: 0 4px 18px rgba(230,184,92,0.30);
  }
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== CONTAINER ===== */
.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn--primary {
  background: var(--primary);
  color: #fff;
}
.btn--primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(37,99,235,0.35);
  transform: translateY(-2px);
  text-decoration: none;
}
.btn--outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn--outline:hover {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* ===== HEADER / NAV ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary);
  white-space: nowrap;
  text-decoration: none;
}
.nav__logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(30,58,138,0.25);
  border: 2px solid var(--accent);
  flex-shrink: 0;
}
.logo-icon { font-size: 1.5rem; }
.nav__links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav__links a {
  font-weight: 700;
  color: var(--text);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--primary); text-decoration: none; }

/* Theme Toggle Button */
.nav__actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.theme-toggle {
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: 2rem;
  width: 52px;
  height: 28px;
  cursor: pointer;
  position: relative;
  transition: background var(--transition), border-color var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--primary); }
.theme-toggle__icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: .85rem;
  line-height: 1;
  transition: opacity var(--transition);
}
.theme-toggle__icon--light { left: 5px; }
.theme-toggle__icon--dark  { right: 5px; }

/* Light: zeige Sonne, verstecke Mond */
:root:not([data-theme="dark"]) .theme-toggle__icon--dark  { opacity: .25; }
:root:not([data-theme="dark"]) .theme-toggle__icon--light { opacity: 1; }

/* Dark: zeige Mond, verstecke Sonne */
[data-theme="dark"] .theme-toggle__icon--light { opacity: .25; }
[data-theme="dark"] .theme-toggle__icon--dark  { opacity: 1; }

/* Karte im Dark Mode etwas abdunkeln */
[data-theme="dark"] #map { filter: brightness(.85) saturate(.9); }

/* Dark-Mode: Galerie-Placeholder */
[data-theme="dark"] .gallery__item { background: linear-gradient(135deg, #1e3a5f, #2d1b4e); }

/* Dark-Mode: Kontaktformular Inputs */
[data-theme="dark"] .kontakt__form input,
[data-theme="dark"] .kontakt__form textarea {
  background: #0f172a;
  color: var(--text);
}

/* Dark-Mode: Hero bleibt dunkel, passt gut */
[data-theme="dark"] .header {
  background: rgba(15,23,42,0.92);
}

/* Dark-Mode: Burger-Striche */
[data-theme="dark"] .nav__burger span { background: var(--text); }

/* Burger – hidden on desktop */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .3rem;
}
.nav__burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav__burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 80% 20%, rgba(200,146,51,0.18) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(58,138,158,0.25) 0%, transparent 55%),
    linear-gradient(135deg, #0a1f47 0%, #1e3a8a 55%, #15265c 100%);
  color: #fff;
  padding: 5.5rem 0 5rem;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__content {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.hero__logo {
  width: clamp(140px, 22vw, 200px);
  height: clamp(140px, 22vw, 200px);
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 1.5rem;
  box-shadow:
    0 0 0 4px rgba(200,146,51,0.55),
    0 0 0 8px rgba(255,255,255,0.08),
    0 12px 36px rgba(0,0,0,0.45);
  animation: heroLogoFloat 6s ease-in-out infinite;
}
@keyframes heroLogoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.hero__title {
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -.01em;
}
.hero__title .accent {
  color: var(--accent-light);
  background: linear-gradient(135deg, #f4d57a 0%, #e6b85c 50%, #c89233 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub {
  font-size: 1.08rem;
  opacity: .92;
  margin: 0 auto 2rem;
  max-width: 560px;
  line-height: 1.65;
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}
.hero__wave svg { width: 100%; height: 60px; }

/* ===== SECTIONS ===== */
.section { padding: 5rem 0; }
.section--alt { background: var(--bg-alt); }
.section__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 1.1rem;
  position: relative;
  display: inline-block;
  padding-bottom: .35rem;
}
.section__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 60%, transparent 100%);
  border-radius: 2px;
}
.section__sub {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}
.accent { color: var(--primary); }

/* ===== TERMINE ===== */
.termine__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.termin-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.termin-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.termin-card__date {
  background: var(--primary);
  color: #fff;
  border-radius: .6rem;
  padding: .5rem .75rem;
  text-align: center;
  min-width: 56px;
  flex-shrink: 0;
}
.termin-card__day { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.termin-card__month { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.termin-card__info h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .25rem; }
.termin-card__info p { color: var(--text-muted); font-size: .9rem; }
.termin-card__tag {
  display: inline-block;
  background: #dbeafe;
  color: var(--primary);
  border-radius: 2rem;
  padding: .15rem .65rem;
  font-size: .78rem;
  font-weight: 700;
  margin-top: .5rem;
}

/* ===== RSVP (Anmeldung pro Termin) ===== */
.rsvp {
  margin-top: .85rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}
.rsvp__buttons {
  display: flex;
  gap: .35rem;
  margin-bottom: .65rem;
}
.rsvp-btn {
  flex: 1 1 0;
  min-width: 0;
  padding: .5rem .15rem;
  border-radius: .55rem;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}
.rsvp-btn__emoji { font-size: 1.05rem; line-height: 1; }
.rsvp-btn__label { font-size: .72rem; line-height: 1.1; white-space: nowrap; }
.rsvp-btn:hover { border-color: var(--primary); transform: translateY(-1px); }
.rsvp-btn.active.rsvp-btn--yes   { background: #dcfce7; border-color: #16a34a; color: #166534; }
.rsvp-btn.active.rsvp-btn--maybe { background: #fef3c7; border-color: #d97706; color: #92400e; }
.rsvp-btn.active.rsvp-btn--no    { background: #fee2e2; border-color: #dc2626; color: #991b1b; }
[data-theme="dark"] .rsvp-btn.active.rsvp-btn--yes   { background: #14532d; border-color: #22c55e; color: #bbf7d0; }
[data-theme="dark"] .rsvp-btn.active.rsvp-btn--maybe { background: #78350f; border-color: #f59e0b; color: #fde68a; }
[data-theme="dark"] .rsvp-btn.active.rsvp-btn--no    { background: #7f1d1d; border-color: #ef4444; color: #fecaca; }

.rsvp__counts {
  display: flex;
  gap: .4rem;
}
.rsvp-status {
  flex: 0 0 auto;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: .25rem .65rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition), border-color var(--transition);
}
.rsvp-status:hover { border-color: var(--primary); color: var(--text); }

.rsvp__names {
  margin-top: .55rem;
  padding: .55rem .75rem;
  background: var(--bg-alt);
  border-radius: .5rem;
  font-size: .85rem;
  color: var(--text);
  line-height: 1.45;
}
.rsvp__names em { color: var(--text-muted); font-style: italic; }

.rsvp__cal {
  display: block;
  width: 100%;
  margin-top: .55rem;
  padding: .55rem .75rem;
  border-radius: .5rem;
  border: 1.5px dashed var(--primary);
  background: transparent;
  color: var(--primary);
  font-family: inherit;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.rsvp__cal:hover { background: var(--primary); color: #fff; }

/* Name-Modal */
.name-modal__hint {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 1rem;
}
.name-modal__input {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--border);
  border-radius: .6rem;
  font-family: inherit;
  font-size: 1rem;
  background: var(--surface);
  color: var(--text);
  margin-bottom: 1rem;
  transition: border-color var(--transition);
}
.name-modal__input:focus { outline: none; border-color: var(--primary); }
.name-modal__actions { display: flex; gap: .5rem; }
.name-modal__actions .btn { flex: 1; }

/* ===== EVENTS ===== */
.events__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}
.event-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.event-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.event-card__img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
}
.event-card__body { padding: 1.25rem; }
.event-card__date { color: var(--text-muted); font-size: .85rem; font-weight: 700; margin-bottom: .35rem; }
.event-card__body h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: .5rem; }
.event-card__body p { color: var(--text-muted); font-size: .9rem; }

/* ===== GALLERY ===== */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.gallery__item {
  border-radius: .75rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #dbeafe, #ede9fe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.gallery__item:hover { transform: scale(1.03); box-shadow: var(--shadow-hover); }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.gallery__hint { color: var(--text-muted); font-size: .9rem; text-align: center; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 500;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
}

/* ===== WETTER-WIDGET (im Hero) ===== */
.weather-widget {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1.5rem;
  padding: .55rem 1rem;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 2rem;
  font-size: .92rem;
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(8px);
}
.weather-widget__icon { font-size: 1.4rem; line-height: 1; }
.weather-widget__main { font-weight: 800; }
.weather-widget__sub  { opacity: .8; font-size: .82rem; }
.weather-widget__loading { opacity: .7; font-style: italic; }

/* ===== DGS-WORT DES TAGES ===== */
.word-of-day {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-gold);
  border-left: 4px solid var(--accent);
  text-align: center;
}
.word-of-day__hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .85rem;
  font-size: .85rem;
}
.word-of-day__label {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  color: var(--accent-light);
}
.word-of-day__date { opacity: .85; }
.word-of-day__word {
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 800;
  margin: .4rem 0 .55rem;
  letter-spacing: -.01em;
}
.word-of-day__hint { opacity: .85; margin-bottom: 1.1rem; }
.word-of-day__btn {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}
.word-of-day__btn:hover {
  background: var(--accent-light);
  color: var(--primary-dark);
}

/* ===== DGS-MEMORY ===== */
.memory-widget {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.memory-widget__hd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.memory-widget__hd h3 { font-size: 1.15rem; font-weight: 800; }
.memory-widget__stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .9rem;
  color: var(--text-muted);
}
.memory-widget__stats strong { color: var(--text); }
.memory-widget__reset { padding: .35rem 1rem; font-size: .85rem; }
.memory-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .65rem;
  max-width: 480px;
  margin: 0 auto;
}
.memory-card {
  aspect-ratio: 3/4;
  perspective: 800px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.memory-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .4s;
  transform-style: preserve-3d;
}
.memory-card.flipped .memory-card__inner { transform: rotateY(180deg); }
.memory-card__back, .memory-card__front {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .55rem;
  font-size: 2.2rem;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.memory-card__back {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}
.memory-card__front {
  background: var(--bg-alt);
  border: 2px solid var(--accent);
  transform: rotateY(180deg);
}
.memory-card.matched .memory-card__front {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  border-color: #16a34a;
  animation: matchPulse .4s;
}
[data-theme="dark"] .memory-card.matched .memory-card__front {
  background: linear-gradient(135deg, #14532d, #166534);
}
@keyframes matchPulse {
  0%   { transform: rotateY(180deg) scale(1); }
  50%  { transform: rotateY(180deg) scale(1.08); }
  100% { transform: rotateY(180deg) scale(1); }
}
.memory-widget__win {
  text-align: center;
  margin-top: 1.25rem;
  padding: 1rem;
  background: var(--bg-alt);
  border-radius: .65rem;
  font-weight: 700;
  font-size: 1.05rem;
}

/* ===== LERN-EMPFEHLUNGEN ===== */
.recos-widget h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 1rem; }
.recos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.reco-card {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: .7rem;
  text-decoration: none;
  color: var(--text);
  transition: transform var(--transition), box-shadow var(--transition);
}
.reco-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
}
.reco-card__emoji {
  font-size: 1.65rem;
  flex-shrink: 0;
  line-height: 1;
}
.reco-card h4 {
  font-size: .98rem;
  font-weight: 800;
  margin-bottom: .25rem;
  color: var(--primary);
}
.reco-card p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ===== LIVE CHECK-IN ===== */
.checkin {
  margin-top: .55rem;
  padding-top: .55rem;
  border-top: 1px dashed var(--border);
}
.checkin__btn {
  display: block;
  width: 100%;
  padding: .55rem .75rem;
  border: 1.5px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-family: inherit;
  font-weight: 700;
  font-size: .85rem;
  border-radius: .5rem;
  cursor: pointer;
  transition: all var(--transition);
}
.checkin__btn:hover { background: var(--accent); color: var(--primary-dark); }
.checkin__btn.active {
  background: var(--accent);
  color: var(--primary-dark);
}
.checkin__list {
  margin-top: .5rem;
  padding: .45rem .65rem;
  background: var(--bg-alt);
  border-radius: .45rem;
  font-size: .82rem;
  color: var(--text);
  line-height: 1.4;
}
.checkin__list em { color: var(--text-muted); }

/* ===== AKTUELLES (Telegram News) ===== */
.news-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto 1.75rem;
}
.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  min-height: 100px;
  position: relative;
}
.news-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.news-card iframe {
  display: block;
  width: 100% !important;
  border: 0 !important;
  border-radius: var(--radius);
}
.news-card:has(script:only-child)::before,
.news-card:empty::before {
  content: "📰 Lade Telegram-Post …";
  display: block;
  color: var(--text-muted);
  font-size: .9rem;
  font-style: italic;
  text-align: center;
  padding: 1.75rem 1rem;
}

/* Custom-Cards (RSSHub-Render) */
.news-card--custom {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.25rem 1rem;
  border-left: 4px solid var(--accent);
}
.news-card__head {
  display: flex;
  gap: .7rem;
  align-items: center;
  margin-bottom: .8rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--border);
}
.news-card__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #229ED9 0%, #1c8cc0 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.news-card__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}
.news-card__meta strong {
  font-size: .92rem;
  color: var(--primary);
  font-weight: 800;
}
.news-card__date {
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 600;
}
.news-card__body {
  color: var(--text);
  font-size: .95rem;
  line-height: 1.55;
  word-break: break-word;
}
.news-card__body p { margin: 0 0 .5rem; }
.news-card__body p:last-child { margin-bottom: 0; }
.news-card__body img,
.news-card__body video {
  max-width: 100%;
  height: auto;
  border-radius: .55rem;
  margin: .55rem 0;
  display: block;
}
.news-card__media {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: .65rem;
  margin: 0 0 .85rem;
  background: var(--bg-alt);
}
img.news-card__media {
  cursor: zoom-in;
  transition: transform var(--transition);
}
img.news-card__media:hover { transform: scale(1.01); }

/* Bild-Lightbox (Click-to-Zoom) */
.img-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  cursor: zoom-out;
  animation: lightboxFade .2s ease;
}
.img-lightbox.open { display: flex; }
@keyframes lightboxFade {
  from { background: rgba(0,0,0,0); }
  to   { background: rgba(0,0,0,0.92); }
}
.img-lightbox__img {
  max-width: 95vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: .5rem;
  box-shadow: 0 12px 48px rgba(0,0,0,0.55);
  background: #000;
  cursor: default;
}
.img-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
  /* Tap-Reach auf Mobile */
  top: calc(env(safe-area-inset-top) + 1rem);
  right: calc(env(safe-area-inset-right) + 1rem);
}
.img-lightbox__close:hover {
  background: rgba(255,255,255,0.22);
  transform: scale(1.05);
}
.news-card__body a {
  color: var(--primary);
  font-weight: 600;
  word-break: break-all;
}
.news-card__body br + br { display: none; } /* doppelte Leerzeilen reduzieren */
.news-card__link {
  display: inline-block;
  margin-top: .85rem;
  padding-top: .7rem;
  border-top: 1px solid var(--border);
  color: var(--primary);
  font-weight: 700;
  font-size: .85rem;
}

/* Loading + Empty States */
.news-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
  font-style: italic;
}
.news-empty {
  grid-column: 1 / -1;
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: .95rem;
}
.news-empty a { color: var(--primary); font-weight: 700; }
.news-cta {
  display: flex;
  justify-content: center;
}
.news-btn {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  padding: .9rem 1.6rem;
  background: linear-gradient(135deg, #229ED9 0%, #1c8cc0 100%);
  color: #fff !important;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 6px 22px rgba(34,158,217,0.35);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.news-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(34,158,217,0.5);
  text-decoration: none;
}
.news-btn__icon { font-size: 1.4rem; line-height: 1; }
.news-btn__small { font-size: .75rem; opacity: .9; font-weight: 600; display: block; margin-top: 1px; }

/* ===== INSTAGRAM-FEED ===== */
.insta-feed {
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
  min-height: 200px;
}
.insta-feed iframe {
  display: block;
  width: 100%;
}
.insta-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.1rem;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff !important;
  border-radius: 2rem;
  font-weight: 700;
  font-size: .9rem;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.insta-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(220,39,67,0.4);
  text-decoration: none;
}

/* ===== KANAL-BUTTONS (WhatsApp + Telegram in Kontakt) ===== */
.channel-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .75rem;
  margin: 1.25rem 0 1.75rem;
}
.channel-btn {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .8rem 1.1rem;
  border-radius: 1rem;
  font-weight: 700;
  font-size: .92rem;
  color: #fff !important;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  line-height: 1.25;
}
.channel-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}
.channel-btn__icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}
.channel-btn__small {
  font-size: .72rem;
  opacity: .9;
  font-weight: 600;
  display: block;
  margin-top: 1px;
}
.channel-btn--whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 4px 16px rgba(37,211,102,0.32);
}
.channel-btn--whatsapp:hover { box-shadow: 0 6px 22px rgba(37,211,102,0.5); }
.channel-btn--telegram {
  background: linear-gradient(135deg, #229ED9 0%, #1c8cc0 100%);
  box-shadow: 0 4px 16px rgba(34,158,217,0.32);
}
.channel-btn--telegram:hover { box-shadow: 0 6px 22px rgba(34,158,217,0.5); }

/* ===== GOOGLE MAPS ÜBERSICHT ===== */
.gmaps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 2rem;
}
.gmaps__card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.gmaps__card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.gmaps__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 2px solid var(--border);
}
.gmaps__icon {
  font-size: 2.25rem;
  flex-shrink: 0;
  line-height: 1;
}
.gmaps__icon--img {
  width: 44px !important;
  height: 44px !important;
  flex: 0 0 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  box-shadow: 0 2px 8px rgba(30,58,138,0.20);
  background: transparent;
  padding: 0;
  display: block;
}
.gmaps__header h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}
.gmaps__when {
  font-size: .8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .2rem;
}
.gmaps__address {
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: .15rem;
}
.gmaps__frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
}
.gmaps__frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.gmaps__link {
  display: block;
  padding: .85rem 1.5rem;
  font-weight: 700;
  font-size: .9rem;
  color: var(--primary);
  border-top: 2px solid var(--border);
  transition: background var(--transition), color var(--transition);
  text-align: center;
}
.gmaps__link:hover {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
}

/* Navigation-Button auf Treffpunkt-Karten */
.gmaps__nav-btn {
  display: block;
  width: 100%;
  padding: .95rem 1.5rem;
  border: none;
  border-top: 2px solid var(--border);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  text-align: center;
  transition: background var(--transition), transform var(--transition);
}
.gmaps__nav-btn:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
  transform: translateY(-1px);
}

/* Nav-Modal (Auswahl der Navigation-App) */
.nav-modal__box {
  max-width: 460px;
}
.nav-modal__address {
  background: var(--bg-alt);
  border-radius: .55rem;
  padding: .65rem .85rem;
  font-size: .92rem;
  color: var(--text);
  margin-bottom: 1.1rem;
  font-weight: 600;
}
.nav-modal__list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.nav-modal__option {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .8rem 1rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: .65rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.nav-modal__option:hover {
  border-color: var(--primary);
  transform: translateX(2px);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.nav-modal__icon {
  width: 44px;
  height: 44px;
  border-radius: .55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.nav-modal__text {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  line-height: 1.3;
  min-width: 0;
}
.nav-modal__text strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}
.nav-modal__text span {
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 500;
}
[data-theme="dark"] .gmaps__frame-wrap iframe {
  filter: brightness(.85) saturate(.9);
}

/* ===== MAP ===== */
#map {
  height: 480px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  border: 2px solid var(--border);
}
.map__hint { color: var(--text-muted); font-size: .9rem; text-align: center; }

/* ===== KONTAKT ===== */
.kontakt__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.kontakt__text p { color: var(--text-muted); margin-bottom: 1.5rem; }
.kontakt__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  font-weight: 600;
}
.kontakt__list li { display: flex; align-items: center; gap: .5rem; }

/* WhatsApp-Channel-Button */
.whatsapp-channel {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin: 1rem 0 1.5rem;
  padding: .8rem 1.25rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff !important;
  border-radius: 2rem;
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.whatsapp-channel:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37,211,102,0.5);
  text-decoration: none;
}
.whatsapp-channel__icon { font-size: 1.25rem; line-height: 1; }
.whatsapp-channel__small { font-size: .72rem; opacity: .85; font-weight: 600; display: block; margin-top: 1px; }

/* Admin-Team in Kontakt */
.team {
  margin-top: 2rem;
  padding: 1.4rem 1.5rem 1.6rem;
  background: linear-gradient(135deg, var(--bg-alt) 0%, transparent 80%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}
.team__title {
  font-size: .82rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: .25rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.team__sub {
  color: var(--text-muted);
  font-size: .92rem;
  margin-bottom: 1.1rem;
}
.team__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .9rem 1.25rem;
}
.team__member {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  font-size: .96rem;
  color: var(--text);
}
.team__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 1.02rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.18);
  border: 2px solid rgba(255,255,255,0.4);
}
.team__avatar[data-color="0"] { background: linear-gradient(135deg, #1e3a8a, #2563eb); }
.team__avatar[data-color="1"] { background: linear-gradient(135deg, #c89233, #e6b85c); }
.team__avatar[data-color="2"] { background: linear-gradient(135deg, #3a8a9e, #5db5cb); }
.team__avatar[data-color="3"] { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.team__avatar[data-color="4"] { background: linear-gradient(135deg, #16a34a, #22c55e); }
.kontakt__form {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.kontakt__form label {
  font-weight: 700;
  font-size: .9rem;
}
.kontakt__form input,
.kontakt__form textarea {
  padding: .75rem 1rem;
  border: 2px solid var(--border);
  border-radius: .6rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  transition: border-color var(--transition);
  resize: vertical;
}
.kontakt__form input:focus,
.kontakt__form textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form__feedback {
  font-size: .9rem;
  font-weight: 700;
  min-height: 1.4em;
}
.form__feedback.success { color: #16a34a; }
.form__feedback.error { color: #dc2626; }

/* ===== ADMIN-UI ===== */
.admin-fab {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--surface);
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 250;
  box-shadow: var(--shadow-gold);
  transition: transform var(--transition), box-shadow var(--transition);
  padding: 0;
  bottom: calc(1.25rem + env(safe-area-inset-bottom));
}
.admin-fab:hover { transform: translateY(-2px) scale(1.05); }
body.is-admin .admin-fab {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-color: var(--accent);
}

.admin-toolbar {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.25rem;
  padding: .75rem 1rem;
  background: var(--bg-alt);
  border: 1.5px dashed var(--accent);
  border-radius: var(--radius);
}

.termin-card { position: relative; }
.termin-card__admin {
  position: absolute;
  top: .5rem;
  right: .5rem;
  display: flex;
  gap: .25rem;
  z-index: 5;
}
.card-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform var(--transition), border-color var(--transition);
}
.card-btn:hover { transform: scale(1.1); border-color: var(--primary); }
.card-btn--danger:hover { border-color: #dc2626; }

.termin-card__note {
  margin-top: .35rem;
  padding: .35rem .55rem;
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  border-radius: .35rem;
  font-size: .82rem;
  color: var(--text);
  font-style: italic;
}
.termine-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--text-muted);
  font-style: italic;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

/* Admin-Modal Styles (für Login + Termin-Editor) */
.admin-modal__box { max-width: 460px; }
.admin-modal__hint {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 1rem;
}
.admin-label {
  display: block;
  font-weight: 700;
  font-size: .88rem;
  color: var(--text);
  margin-bottom: .85rem;
}
.admin-label > .admin-input { margin-top: .35rem; }
.admin-input {
  display: block;
  width: 100%;
  padding: .65rem .85rem;
  border: 2px solid var(--border);
  border-radius: .55rem;
  font-family: inherit;
  font-size: 1rem;
  background: var(--surface);
  color: var(--text);
  transition: border-color var(--transition);
}
.admin-input:focus {
  outline: none;
  border-color: var(--primary);
}
.admin-modal__error {
  font-size: .9rem;
  color: #dc2626;
  font-weight: 700;
  min-height: 1.4em;
  margin: .25rem 0 .75rem;
}
.admin-modal__submit { width: 100%; }
.admin-modal__actions {
  display: flex;
  gap: .5rem;
  margin-top: 1rem;
}
.admin-modal__actions .btn { flex: 1; }
.admin-custom {
  background: var(--bg-alt);
  border-radius: .55rem;
  padding: .85rem;
  margin-bottom: .85rem;
  border-left: 3px solid var(--accent);
}
.admin-custom.hidden { display: none; }
.admin-modal__box--wide { max-width: 560px; }
.admin-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem 1rem;
}
@media (max-width: 480px) {
  .admin-grid-2 { grid-template-columns: 1fr; }
}
.gmaps__card { position: relative; }

/* ===== INSTALL MODALS (Edge / iOS Anleitung) ===== */
.install-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.install-modal.open { display: flex; }
.install-modal__box {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: 0 16px 48px rgba(0,0,0,.25);
}
.install-modal__box h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--primary);
}
.install-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}
.install-modal__close:hover { color: var(--text); }
.install-modal__steps {
  list-style: none;
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-bottom: 1.5rem;
}
.install-modal__steps li {
  counter-increment: steps;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .95rem;
  color: var(--text);
  line-height: 1.5;
}
.install-modal__steps li::before {
  content: counter(steps);
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: .1rem;
}

/* ===== INSTALL BANNER ===== */
.install-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  transform: translateY(100%);
  width: 100%;
  background: var(--surface);
  border-top: 2px solid var(--primary);
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -4px 24px rgba(37,99,235,0.2);
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .875rem 1.25rem;
  padding-bottom: calc(.875rem + env(safe-area-inset-bottom));
  z-index: 200;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.install-banner.visible {
  transform: translateY(0);
}
.install-banner__icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}
.install-banner__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .1rem;
  font-size: .9rem;
}
.install-banner__text strong { color: var(--text); }
.install-banner__text span  { color: var(--text-muted); font-size: .8rem; }
.install-banner__btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 2rem;
  padding: .5rem 1.1rem;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition);
}
.install-banner__btn:hover { background: var(--primary-dark); }
.install-banner__dismiss {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: .25rem;
  flex-shrink: 0;
  line-height: 1;
}
.install-banner__dismiss:hover { color: var(--text); }

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, #0a1f47 0%, #15265c 100%);
  color: #cbd5e1;
  padding: 2.5rem 0 2rem;
  border-top: 3px solid var(--accent);
}
.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem 2rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  font-size: .95rem;
  line-height: 1.3;
  color: #fff;
}
.footer__logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  object-fit: cover;
  box-shadow: var(--shadow-gold);
}
.footer__sub {
  font-size: .82rem;
  color: var(--accent-light);
  font-weight: 700;
  letter-spacing: .03em;
}
.footer nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer nav a {
  color: #94a3b8;
  font-size: .9rem;
  font-weight: 600;
  transition: color var(--transition);
}
.footer nav a:hover { color: var(--accent-light); text-decoration: none; }
.footer__copy {
  font-size: .82rem;
  color: #94a3b8;
  text-align: right;
  white-space: nowrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav__burger { display: flex; }
  .nav__links {
    display: none;
    flex-direction: column;
    gap: 1.25rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .nav__links.open { display: flex; }
  .nav { position: relative; }

  .kontakt__wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero { padding: 4rem 0 3.5rem; }
  .hero__cta { flex-direction: column; align-items: center; }
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer__brand { justify-content: center; text-align: left; }
  .footer__copy { text-align: center; white-space: normal; }
}

@media (max-width: 480px) {
  .termine__grid, .events__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}
