/* ============================================================
   KiTa St. Johannes – Stylesheet
   ============================================================
   FARBEN: Alle Farben zentral in :root änderbar!
   ============================================================ */

@import url('fonts.css');

/* ============================================================
   1. Farb-Variablen – hier zentral ändern
   ============================================================ */
:root {
  /* Hauptfarben */
  --color-primary:        #C10077;
  --color-primary-light:  #e0339d;
  --color-primary-dark:   #8f005a;
  --color-secondary:      #F5B800;
  --color-secondary-light:#ffd040;
  --color-secondary-dark: #c99600;

  /* Hintergründe */
  --color-bg:             #fdf7fc;
  --color-bg-section:     #fef0f9;
  --color-white:          #ffffff;

  /* Text */
  --color-dark:           #2a2a2a;
  --color-text:           #555555;
  --color-text-light:     #999999;

  /* UI */
  --color-border:         #eeeeee;

  /* Radien */
  --radius-sm:            8px;
  --radius-md:            16px;
  --radius-lg:            24px;
  --radius-xl:            40px;
  --radius-full:          9999px;

  /* Schatten */
  --shadow-sm:            0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:            0 6px 24px rgba(0,0,0,0.11);
  --shadow-lg:            0 12px 48px rgba(0,0,0,0.16);

  /* Abstände */
  --section-pad:          50px;
  --container-w:          1200px;
}

/* ============================================================
   2. Reset & Basis
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--color-primary-dark); }
.nav-links a:visited,
.nav-dropdown-menu a:visited { color: #555555; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
}

/* ============================================================
   3. Utility
   ============================================================ */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
}
.section--white   { background: var(--color-white); }
.section--light   { background: var(--color-bg-section); }
.section--primary { background: var(--color-primary); }
.section--secondary { background: var(--color-secondary); }

.text-center { text-align: center; }

/* Abschnitts-Titel (Handschrift-Stil wie im Plakat) */
.section-label {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--color-primary);
  margin-bottom: 6px;
}
.section-label--white { color: #fff; }
.section-label--dark  { color: var(--color-dark); }

.section-desc {
  font-size: clamp(0.88rem, 2vw, 1rem);
  color: var(--color-text-light);
  margin-bottom: 3rem;
  max-width: 560px;
}
.section-desc--center { margin-left: auto; margin-right: auto; }
.section-desc--white  { color: rgba(255,255,255,0.8); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-full);
  font-family: 'Poppins', sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s;
  text-decoration: none;
  line-height: 1;
}
.btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}
.btn--secondary {
  background: var(--color-secondary);
  color: var(--color-dark);
  border-color: var(--color-secondary);
}
.btn--secondary:hover {
  background: var(--color-secondary-dark);
  border-color: var(--color-secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--white {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}
.btn--white:hover {
  background: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--sm {
  padding: 8px 18px;
  font-size: 0.82rem;
}

/* ============================================================
   4. Navbar
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: box-shadow 0.3s;
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(193,0,119,0.1);
}

.nav-container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}
.nav-logo-box {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.78rem;
  color: #fff;
  letter-spacing: 0.3px;
  flex-shrink: 0;
  line-height: 1.1;
  text-align: center;
}
.nav-brand-text { line-height: 1.2; }
.nav-brand-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
}
.nav-brand-city {
  display: block;
  font-size: 0.72rem;
  color: var(--color-text-light);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-full);
  transition: all 0.2s;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--color-bg-section);
  color: var(--color-primary);
}
.nav-links a.active { font-weight: 600; }

/* Admin-Link (Pill-Button mit Schloss-Icon) */
.nav-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 8px;
}
.nav-admin-link:hover {
  background: var(--color-primary);
  color: #fff;
}
@media (max-width: 768px) {
  .nav-admin-link { display: none; }
}

/* ── Dropdown-Menü ── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-full);
  transition: all 0.2s;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active {
  background: var(--color-bg-section);
  color: var(--color-primary);
}
.nav-dropdown-toggle.active { font-weight: 600; }
.nav-dropdown-toggle svg {
  transition: transform 0.2s;
  flex-shrink: 0;
}
.nav-dropdown:focus-within .nav-dropdown-toggle svg,
.nav-dropdown.hover-open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  border: 1px solid var(--color-border);
  min-width: 160px;
  padding: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.18s, transform 0.18s;
  z-index: 200;
}
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.hover-open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 9px 14px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: var(--color-bg-section);
  color: var(--color-primary);
}
.nav-dropdown-menu a.active { font-weight: 600; }

/* ── Admin-Tabs ── */
.admin-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--color-border);
}
.admin-tab-btn {
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.admin-tab-btn:hover { color: var(--color-primary); }
.admin-tab-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

/* ── Termin-Buchungskarten ── */
.termin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.termin-slot { position: relative; }
.termin-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0; height: 0;
}
.termin-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 10px 12px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  background: #fff;
  user-select: none;
}
.termin-label:hover {
  border-color: var(--color-primary-light);
  background: var(--color-bg-section);
}
.termin-radio:checked + .termin-label {
  border-color: var(--color-primary);
  background: var(--color-bg-section);
  box-shadow: 0 0 0 3px rgba(193,0,119,0.12);
}
.termin-label-day {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-light);
  margin-bottom: 2px;
}
.termin-label-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 6px;
}
.termin-label-time {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}
.termin-label-dauer {
  font-size: 0.7rem;
  color: var(--color-text-light);
  margin-top: 4px;
}
.termin-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-bg-section);
}
@media (max-width: 600px) {
  .termin-grid { grid-template-columns: repeat(2, 1fr); }
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all 0.3s;
}
.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); }

/* Träger-Logo rechts in der Navbar */
.nav-traeger {
  display: flex;
  align-items: center;
  padding-left: 16px;
  border-left: 1px solid var(--color-border);
  flex-shrink: 0;
}
.nav-traeger-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
}
.nav-traeger-text {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-align: center;
  line-height: 1.35;
}

/* ── Trägerband (direkt unter dem Hero) ── */
.traeger-band {
  background: #fff;
  padding: 0.8rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.traeger-band-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--color-text);
}
.traeger-band-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.traeger-band-text strong {
  color: var(--color-dark);
}

/* ============================================================
   5. Wellen-Trenner
   ============================================================ */
.wave-divider {
  line-height: 0;
  overflow: hidden;
}
.wave-divider svg {
  display: block;
  width: 100%;
}

/* CSS-gesteuerte Füllfarben für SVG-Pfade */
.wave-fill-white   path { fill: #ffffff; }
.wave-fill-bg      path { fill: #fdf7fc; }
.wave-fill-section path { fill: #fef0f9; }
.wave-fill-primary path { fill: #C10077; }
.wave-fill-secondary path { fill: #F5B800; }

/* ============================================================
   6. Hero
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, var(--color-primary-light) 100%);
  position: relative;
  overflow: hidden;
  padding: 90px 0 8rem;
}
/* Dekorativer Kreis im Hintergrund */
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 420px; height: 420px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
/* Organische gelbe Kurve am unteren Hero-Rand */
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 160px;
  background: var(--color-secondary);
  border-top-left-radius: 70% 100%;
  border-top-right-radius: 30% 100%;
}

.hero-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text { color: #fff; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.95);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.1;
}

.hero-location {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.4rem;
}

.hero-motto {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  color: var(--color-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-circle {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid rgba(255,255,255,0.25);
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-circle-placeholder {
  font-size: 6rem;
  text-align: center;
  line-height: 1;
}

/* ============================================================
   7. Kennzahlen / Stats
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.stat-icon { font-size: 2.4rem; margin-bottom: 12px; }
.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.88rem;
  color: var(--color-text-light);
  font-weight: 500;
}

/* ============================================================
   7b. Team-Kacheln
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}

.team-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--color-border);
  padding: 28px 16px 20px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  box-shadow: var(--shadow-sm);
  user-select: none;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}
.team-card:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

.team-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.team-avatar img,.team-modal-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block;}

.team-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}
.team-role {
  font-size: 0.78rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 6px;
}
.team-group {
  font-size: 0.73rem;
  color: var(--color-text-light);
}
.team-card-hint {
  margin-top: 10px;
  font-size: 0.7rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* ── Team-Modal ── */
.team-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.48);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.team-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.team-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s, opacity 0.25s;
  overflow: hidden;
}
.team-modal-overlay.visible .team-modal {
  transform: translateY(0) scale(1);
}
.team-modal-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, #a0006e 100%);
  padding: 28px 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  text-align: center;
}
.team-modal-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  transform: translateZ(0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  border: 4px solid rgba(255,255,255,0.5);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.team-modal-title { color: #fff; }
.team-modal-title h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 4px;
}
.team-modal-title p {
  font-size: 0.82rem;
  opacity: 0.85;
  margin: 0;
}
.team-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.team-modal-close:hover { background: rgba(255,255,255,0.3); }

.team-modal-body {
  padding: 24px 28px 28px;
}
.team-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.team-modal-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-bg-section);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
}
.team-modal-quote {
  font-style: italic;
  color: var(--color-text);
  font-size: 0.92rem;
  border-left: 3px solid var(--color-primary);
  padding-left: 14px;
  margin: 0 0 16px;
  line-height: 1.55;
}
.team-modal-desc {
  font-size: 0.88rem;
  color: var(--color-text);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   8. Aktivitäten / News
   ============================================================ */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.activity-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--color-border);
}
.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.activity-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--color-bg-section);
}
.activity-img-placeholder {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: var(--color-bg-section);
  color: var(--color-text-light);
}
.activity-card-body { padding: 20px; }
.activity-date {
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}
.activity-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.activity-text {
  font-size: 0.86rem;
  color: var(--color-text);
  line-height: 1.65;
}

/* Klickbare Aktivitätskarten */
.activity-card--clickable {
  cursor: pointer;
}
.activity-card--clickable:focus {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}
.activity-card--clickable:hover .activity-read-more,
.activity-card--clickable:focus .activity-read-more {
  color: var(--color-primary);
  gap: 6px;
}
.activity-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s, gap 0.2s;
}

.activities-empty {
  text-align: center;
  padding: 64px 32px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 2px dashed var(--color-border);
  color: var(--color-text-light);
  grid-column: 1 / -1;
}
.activities-empty p { margin-top: 12px; font-size: 0.92rem; }

/* ============================================================
   9. Konzept-Karten
   ============================================================ */
.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.concept-card {
  text-align: center;
  padding: 40px 28px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-primary);
  transition: transform 0.3s, box-shadow 0.3s;
}
.concept-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.concept-icon {
  width: 70px;
  height: 70px;
  background: var(--color-bg-section);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.2rem;
}
.concept-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.concept-card p {
  font-size: 0.88rem;
  color: var(--color-text);
  line-height: 1.7;
}

/* Kleinere Variante für "Auf einen Blick" */
.concept-grid--sm { gap: 16px; }
.concept-grid--sm .concept-card { padding: 22px 16px; }
.concept-grid--sm .concept-icon {
  width: 48px; height: 48px;
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.concept-grid--sm .concept-card h3 { font-size: 0.88rem; margin-bottom: 6px; }
.concept-grid--sm .concept-card p  { font-size: 0.78rem; line-height: 1.55; }

/* ============================================================
   10. Schnellinfo (Zeiten & Kosten Preview)
   ============================================================ */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.quick-box {
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.quick-box h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  color: var(--color-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(0,0,0,0.08);
}
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.88rem;
  gap: 12px;
}
.info-row:last-child { border-bottom: none; }
.info-label { color: var(--color-text); }
.info-value { font-weight: 600; color: var(--color-dark); text-align: right; }

.quick-footer {
  text-align: center;
  margin-top: 2.5rem;
}

/* ============================================================
   11. Kontakt-Teaser
   ============================================================ */
.contact-teaser {
  text-align: center;
  padding: var(--section-pad) 24px;
}
.contact-teaser h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--color-dark);
  margin-bottom: 1rem;
}
.contact-teaser p {
  font-size: 1rem;
  color: var(--color-text);
  max-width: 560px;
  margin: 0 auto 2rem;
}
.contact-details {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--color-text);
}
.contact-detail-icon {
  width: 38px;
  height: 38px;
  background: var(--color-bg-section);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-detail-item strong {
  display: block;
  color: var(--color-dark);
  font-weight: 600;
  font-size: 0.95rem;
}
.contact-detail-item span {
  font-size: 0.84rem;
  color: var(--color-text-light);
}

/* ============================================================
   12. Footer
   ============================================================ */
.footer {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-motto {
  font-family: 'Dancing Script', cursive;
  font-size: 1.25rem;
  color: var(--color-secondary);
  margin: 12px 0;
  line-height: 1.5;
}
.footer-address {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
  margin-top: 8px;
}
.footer h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
  color: rgba(255,255,255,0.5);
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--color-secondary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-admin-link {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
.footer-admin-link:hover {
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   13. Seiten-Header (Innenseiten)
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 280px; height: 280px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.page-header-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px 60px;
  position: relative;
  z-index: 1;
}
.page-header h1 {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  color: #fff;
  margin-bottom: 8px;
  font-weight: 700;
}
.page-header p {
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--color-secondary); }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }

/* ============================================================
   14. Inhalts-Karten (Innenseiten)
   ============================================================ */
.content-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  border-left: 4px solid var(--color-primary);
}
.content-card h2 {
  font-family: 'Dancing Script', cursive;
  font-size: 1.9rem;
  color: var(--color-primary);
  margin-bottom: 16px;
  font-weight: 700;
}
.content-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 20px 0 10px;
}
.content-card h3:first-child { margin-top: 0; }
.content-card p {
  font-size: 0.93rem;
  line-height: 1.8;
  margin-bottom: 12px;
  color: var(--color-text);
}
.content-card p:last-child { margin-bottom: 0; }
.content-card ul {
  list-style: none;
  padding: 0;
}
.content-card ul li {
  padding: 5px 0 5px 22px;
  position: relative;
  font-size: 0.93rem;
  color: var(--color-text);
  line-height: 1.6;
}
.content-card ul li::before {
  content: '♥';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: 0.65rem;
  top: 8px;
}
.content-card a { color: var(--color-primary); }
.content-card a.btn--primary { color: #fff !important; }
.content-card a.btn--primary:hover { color: #fff !important; }

.content-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* ============================================================
   15. Akkordeon
   ============================================================ */
.accordion { margin-bottom: 0; }
.accordion-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 10px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.accordion-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
  text-align: left;
  transition: background 0.2s;
}
.accordion-btn:hover { background: var(--color-bg-section); }
.accordion-btn.open {
  background: var(--color-bg-section);
  color: var(--color-primary);
}
.accordion-arrow {
  font-size: 0.7rem;
  color: var(--color-primary);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.accordion-btn.open .accordion-arrow { transform: rotate(180deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-body-inner {
  padding: 4px 24px 24px;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.75;
}

/* ============================================================
   16. Kontaktformular & Formulare
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--color-dark);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(193,0,119,0.08);
}
textarea.form-control {
  min-height: 140px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Download-Karten */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
  text-decoration: none;
  color: var(--color-dark);
}
.download-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--color-dark);
}
.download-icon {
  width: 44px;
  height: 44px;
  background: var(--color-bg-section);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.download-name {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.download-type {
  font-size: 0.78rem;
  color: var(--color-text-light);
}

/* ============================================================
   17. Admin-Oberfläche
   ============================================================ */
body.admin-page {
  background: #f0f2f5;
  min-height: 100vh;
}
.admin-topbar {
  background: var(--color-primary);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}
.admin-topbar-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}
.admin-topbar a {
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.2s;
}
.admin-topbar a:hover { color: #fff; }

.admin-wrap {
  max-width: 1080px;
  margin: 32px auto;
  padding: 0 24px;
}
.admin-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.admin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-border);
}
.admin-panel-header h2 {
  font-size: 1.1rem;
  color: var(--color-dark);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}
.admin-table th {
  text-align: left;
  padding: 10px 14px;
  background: #f8f9fa;
  color: var(--color-text-light);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-bottom: 2px solid var(--color-border);
}
.admin-table td {
  padding: 14px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafbfc; }
.admin-table img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.admin-table .no-img {
  width: 64px;
  height: 48px;
  background: var(--color-bg-section);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--color-text-light);
}
.admin-actions { display: flex; gap: 6px; }

.btn-edit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: #e3f2fd;
  color: #1565c0;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-edit:hover { background: #1565c0; color: #fff; }
.btn-delete {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: #fce4ec;
  color: #b71c1c;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-delete:hover { background: #b71c1c; color: #fff; }

/* Admin Login */
.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  padding: 24px;
}
.admin-login-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.admin-login-card h1 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.admin-login-card .subtitle {
  font-size: 0.88rem;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

/* Alerts */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  margin-bottom: 20px;
  text-align: left;
}
.alert--error {
  background: #fce4ec;
  color: #b71c1c;
  border-left: 4px solid #e53935;
}
.alert--success {
  background: #e8f5e9;
  color: #1b5e20;
  border-left: 4px solid #43a047;
}

/* Formular im Admin (Aktivität hinzufügen/bearbeiten) */
.admin-form { display: none; }
.admin-form.visible { display: block; }
.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.admin-form-grid .span-2 { grid-column: 1 / -1; }

/* ============================================================
   18. Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .activities-grid,
  .concept-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > *:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --section-pad: 38px; }

  /* Navbar mobil */
  .nav-burger { display: flex; }
  .nav-traeger { display: none; }
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 20px 24px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
    z-index: 999;
    border-top: 1px solid var(--color-border);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 12px 16px;
    display: block;
    border-radius: var(--radius-sm);
  }

  /* Dropdown mobil: immer aufgeklappt, eingerückt */
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    padding: 0 0 4px 12px;
    min-width: unset;
    background: transparent;
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu, .nav-dropdown.hover-open .nav-dropdown-menu { display: block; }
  .nav-dropdown.open .nav-dropdown-toggle svg,
  .nav-dropdown.hover-open .nav-dropdown-toggle svg { transform: rotate(180deg); }
  .nav-dropdown-menu a,
  .nav-dropdown-menu a:link,
  .nav-dropdown-menu a:visited {
    padding: 10px 16px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    color: #2a2a2a !important;
    display: block;
    background: #fef0f9;
    margin-bottom: 2px;
  }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
    padding-bottom: 60px;
  }
  .hero-visual { order: -1; }
  .hero-circle { width: 220px; height: 220px; }
  .hero-actions { justify-content: center; }

  /* Grids */
  .stats-grid,
  .activities-grid,
  .concept-grid,
  .quick-grid { grid-template-columns: 1fr; }

  /* Innenseiten */
  .content-card { padding: 28px 24px; }
  .content-2col,
  .form-row,
  .download-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Admin */
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-form-grid .span-2 { grid-column: 1; }
  .admin-table { display: block; overflow-x: auto; }
}

@media (max-width: 480px) {
  .hero-circle { width: 180px; height: 180px; }
  .stat-number { font-size: 2.2rem; }
  .contact-details { flex-direction: column; align-items: center; gap: 16px; }
}

/* ============================================================
   Rundgang – klickbare Karten & Modal
   ============================================================ */

/* Karten klickbar */
.rundgang-card {
  cursor: pointer;
  transition: transform 0.22s, box-shadow 0.22s;
}
.rundgang-card:hover,
.rundgang-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  outline: none;
}
.rundgang-card-cta {
  display: inline-block;
  margin-top: 1rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.85rem;
}

/* Modal Overlay */
.rundgang-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.rundgang-modal.open { display: flex; }

.rundgang-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(5px);
}

/* Modal Box */
.rundgang-modal-box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

.rundgang-modal-close {
  position: sticky;
  top: 14px;
  float: right;
  margin: 14px 14px 0 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--color-bg-section);
  color: var(--color-dark);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s, color 0.2s;
}
.rundgang-modal-close:hover { background: var(--color-primary); color: #fff; }

.rundgang-modal-header {
  padding: 28px 32px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  clear: both;
}
.rundgang-modal-icon  { font-size: 2.2rem; line-height: 1; }
.rundgang-modal-title { font-size: 1.55rem; color: var(--color-dark); margin: 0; }

/* Galerie */
.rundgang-modal-gallery {
  position: relative;
  margin: 22px 32px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg);
  aspect-ratio: 16 / 9;
}
.gallery-stage { width: 100%; height: 100%; }
.gallery-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s;
}
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--color-border);
}
.gallery-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  transition: background 0.2s, color 0.2s;
  color: var(--color-dark);
  line-height: 1;
}
.gallery-arrow:hover { background: var(--color-primary); color: #fff; }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-arrow.hidden { display: none; }

.gallery-dots {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 7px;
}
.gallery-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.gallery-dot.active {
  background: #fff;
  transform: scale(1.25);
}

/* ── Rundgang-Admin-Bildgitter ── */
.rdg-bild-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 10px;
}
.rdg-bild-item {
  background: #f8f9fb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rdg-bild-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 5px;
  background: #eee;
}
.rdg-bild-item .form-control {
  font-size: 0.8rem;
  padding: 5px 8px;
}
.rdg-bild-item .btn-delete {
  font-size: 0.78rem;
  padding: 3px 8px;
  width: 100%;
}

/* Bildunterschrift */
.gallery-caption {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(0,0,0,0.03);
  border-left: 3px solid var(--color-primary);
  min-height: 1.4em;
  margin: 8px 32px 0;
  padding: 7px 14px;
  border-radius: 0 4px 4px 0;
  display: none;
}
.gallery-caption:not(:empty) {
  display: block;
}

/* Beschreibungstext */
.rundgang-modal-text {
  padding: 20px 32px 32px;
  color: var(--color-text);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Responsive Modal */
@media (max-width: 600px) {
  .rundgang-modal-header { padding: 20px 20px 0; }
  .rundgang-modal-gallery { margin: 14px 20px 0; }
  .rundgang-modal-text  { padding: 14px 20px 24px; }
  .rundgang-modal-title { font-size: 1.25rem; }
}

/* ============================================================
   ADMIN – Mobile Optimierung
   ============================================================ */

/* ── Topbar ── */
@media (max-width: 600px) {
  .admin-topbar {
    height: auto;
    padding: 10px 16px;
    flex-wrap: wrap;
    gap: 6px;
  }
  .admin-topbar-title {
    font-size: 0.85rem;
    flex: 1 1 100%;
  }
  .admin-topbar a {
    font-size: 0.8rem;
  }
}

/* ── Wrap & Panel ── */
@media (max-width: 768px) {
  .admin-wrap {
    margin: 16px auto;
    padding: 0 12px;
  }
  .admin-panel {
    padding: 20px 16px;
  }
  .admin-panel-header {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
  }
  .admin-panel-header h2,
  .admin-panel-header h3 {
    font-size: 1rem;
    flex: 1 1 auto;
  }
}

/* ── Tabs: 2-Spalten-Grid auf Handy ── */
@media (max-width: 600px) {
  .admin-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    border-bottom: none;
    margin-bottom: 16px;
  }
  .admin-tab-btn {
    padding: 10px 8px;
    font-size: 0.78rem;
    text-align: center;
    white-space: normal;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    margin-bottom: 0;
    line-height: 1.3;
  }
  .admin-tab-btn.active {
    border-color: var(--color-primary);
    background: #fdf0f8;
    color: var(--color-primary);
  }
}

/* ── Tabellen → Karten-Layout auf Handy ── */
@media (max-width: 640px) {
  .admin-table,
  .admin-table thead,
  .admin-table tbody,
  .admin-table th,
  .admin-table td,
  .admin-table tr { display: block; }

  .admin-table thead { display: none; } /* Spaltenköpfe ausblenden */

  .admin-table tr {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    padding: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  }
  .admin-table tr:hover td { background: transparent; }

  .admin-table td {
    padding: 4px 0;
    border: none;
    font-size: 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }

  /* Datenspalten mit Label */
  .admin-table td[data-label]::before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--color-text-light);
    min-width: 70px;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .admin-table td:first-child { padding-top: 0; }
  .admin-table td:last-child  { padding-bottom: 0; border-top: 1px solid #f0f0f0; margin-top: 8px; padding-top: 8px; }

  .admin-table img {
    width: 48px;
    height: 36px;
  }
  .admin-table .no-img {
    width: 48px;
    height: 36px;
    font-size: 1.1rem;
  }

  /* Aktionen-Buttons untereinander */
  .admin-actions {
    flex-direction: column;
    gap: 6px;
    width: 100%;
  }
  .btn-edit,
  .btn-delete {
    width: 100%;
    justify-content: center;
    padding: 8px 12px;
    font-size: 0.82rem;
  }
  .admin-actions form { width: 100%; }
  .admin-actions form .btn-delete { width: 100%; }
}

/* ── Team-Tabelle auf Handy ── */
@media (max-width: 640px) {
  /* Foto-Spalte kompakter */
  .team-admin-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
  }
}

/* ── Rundgang: Bildgitter auf Handy ── */
@media (max-width: 480px) {
  .rdg-bild-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* ── Formular-Grid: 1 Spalte auf Handy ── */
@media (max-width: 640px) {
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
  .admin-form-grid .span-2 { grid-column: 1; }

  /* Abbrechen-/Speichern-Buttons volle Breite */
  .admin-panel .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-bottom: 6px;
  }
}

/* ── Team-Kacheln im Admin: 2 Spalten auf Handy ── */
@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
