/* ═══════════════════════════════════════════════════════
   SSV-Rattenberg · components.css
   Alle UI-Komponenten
   ═══════════════════════════════════════════════════════ */

/* ══════════════════════════════
   HEADER / NAVIGATION
══════════════════════════════ */
.site-header {
  background: var(--c-navy);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
}

/* Brand / Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
  padding: 3px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0,0,0,0.16);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.brand-ico {
  display: none;
  width: 38px; height: 38px;
  background: var(--c-accent);
  border-radius: 8px;
  align-items: center; justify-content: center;
  color: #fff; font-size: 18px; flex-shrink: 0;
}

.brand-name {
  font-family: 'Oswald', sans-serif;
  font-size: 23px; font-weight: 700;
  color: #fff; line-height: 1.05;
  letter-spacing: 0.015em;
}
.brand-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.58);
  letter-spacing: 0.105em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Desktop Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
  display: block;
  font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,0.74);
  text-decoration: none;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  padding: 0 14px;
  line-height: 78px;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-list > li > a:hover,
.nav-list > li > a[aria-current="page"] { color: #fff; }

/* Dropdown */
.nav-list li:hover .dropdown,
.nav-list li:focus-within .dropdown { display: block; }

.dropdown {
  display: none;
  position: absolute;
  top: 78px; left: 0;
  background: var(--c-navy-2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r);
  min-width: 200px;
  z-index: 300;
  padding: 4px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.dropdown a {
  display: block;
  font-size: 12px; padding: 10px 16px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.04em;
  transition: color 0.15s, background 0.15s;
}
.dropdown a:hover { color: #fff; background: rgba(255,255,255,0.06); }

/* Nav CTA Button */
.nav-cta {
  margin-left: 14px;
  background: var(--c-accent);
  color: #fff;
  border: none;
  padding: 11px 18px;
  border-radius: var(--r);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--c-accent-d); }

/* Dark Mode Toggle */
.dark-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  margin-left: 8px;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.dark-toggle:hover { background: rgba(255,255,255,0.14); color: #fff; }
.dark-toggle .icon-sun  { display: none; }
.dark-toggle .icon-moon { display: block; }
[data-theme="dark"] .dark-toggle .icon-sun  { display: block; }
[data-theme="dark"] .dark-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .dark-toggle .icon-sun  { display: block; }
  :root:not([data-theme="light"]) .dark-toggle .icon-moon { display: none; }
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  margin-left: 6px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── Mobile Menu ── */
.mobile-menu {
  display: none;
  background: var(--c-navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  padding: 0.75rem 1.25rem 1.25rem;
}
.mobile-menu.is-open { display: block; }

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 14px; font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.mobile-menu a:hover { color: #fff; }
.mobile-menu a i { color: var(--c-accent); font-size: 17px; width: 20px; flex-shrink: 0; }
.mobile-menu a:last-of-type { border-bottom: none; }

.mobile-menu-cta {
  display: flex !important;
  justify-content: center;
  background: var(--c-accent) !important;
  color: #fff !important;
  padding: 12px !important;
  border-radius: var(--r);
  margin-top: 12px;
  font-weight: 600 !important;
  border-bottom: none !important;
}
.mobile-menu-cta:hover { background: var(--c-accent-d) !important; }

/* ══════════════════════════════
   TAB BAR (ARIA tablist)
══════════════════════════════ */
.tab-bar {
  display: flex;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface);
  padding: 0 2rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-bar::-webkit-scrollbar { display: none; }

.tab-btn {
  font-size: 11px; font-weight: 600;
  padding: 13px 14px;
  border-bottom: 2px solid transparent;
  color: var(--c-text-3);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  transition: color 0.2s, border-color 0.2s;
}
.tab-btn[aria-selected="true"] { color: var(--c-accent); border-bottom-color: var(--c-accent); }
.tab-btn:hover:not([aria-selected="true"]) { color: var(--c-text); }

/* ══════════════════════════════
   PAGE PANELS
══════════════════════════════ */
.page-panel {
  display: none;
  padding-bottom: 100px;
  /* prevents floating buttons covering bottom content */
}
.page-panel.is-active { display: block; }

/* ══════════════════════════════
   HERO SLIDER
══════════════════════════════ */
.slider {
  position: relative;
  height: clamp(500px, 63vw, 690px);
  overflow: hidden;
  background: var(--c-navy);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  display: flex;
  align-items: center;
  transition: opacity 1s ease;
}
.slide.is-active { opacity: 1; }

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.015);
  transition: transform 8s ease;
}
.slide.is-active .slide-bg { transform: scale(1.06); }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,19,31,0.94) 0%, rgba(8,19,31,0.76) 40%, rgba(8,19,31,0.18) 100%),
              linear-gradient(0deg, rgba(8,19,31,0.48), transparent 40%);
}

.slide-body {
  position: relative;
  z-index: 2;
  padding: 3rem clamp(1.5rem, 7vw, 7rem);
  max-width: 900px;
  width: 100%;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-accent);
  color: #fff;
  font-size: var(--fz-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 99px;
  margin-bottom: 22px;
  padding: 7px 13px;
  letter-spacing: 0.12em;
}

.slide-title {
  font-size: clamp(3rem, 6vw, 5.25rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 18px;
  max-width: 780px;
  letter-spacing: -0.025em;
}

.slide-text {
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  color: rgba(255,255,255,0.84);
  line-height: 1.65;
  max-width: 570px;
}

.slide-actions {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.slide-actions .btn { min-height: 50px; padding-inline: 22px; }
.slide-actions .btn-outline { background: rgba(255,255,255,0.08); backdrop-filter: blur(8px); }

/* Slider Controls */
.slider-dots {
  position: absolute;
  bottom: 26px; right: clamp(1.25rem, 4vw, 4rem);
  display: flex;
  gap: 7px;
  z-index: 5;
}
.slider-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  border: none;
  transition: background 0.3s, width 0.3s;
  padding: 0;
}
.slider-dot.is-active {
  background: var(--c-accent);
  width: 24px;
  border-radius: var(--r-xs);
}
.slider-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-left: 5px;
  border: 1px solid rgba(255,255,255,0.42);
  border-radius: 50%;
  background: rgba(13,27,42,0.48);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.slider-toggle:hover, .slider-toggle:focus-visible {
  background: var(--c-accent);
  border-color: var(--c-accent);
  outline: none;
}

/* ══════════════════════════════
   STATS BAR
══════════════════════════════ */
.stats-bar {
  background: var(--c-navy);
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding: 1.35rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.stat-number {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem; font-weight: 600;
  color: #fff;
}

.stat-label {
  display: block;
  font-size: var(--fz-xs);
  font-weight: 500;
  color: rgba(255,255,255,0.56);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 4px;
}

/* ══════════════════════════════
   FEATURE CARDS
══════════════════════════════ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.4rem 1.2rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Dezente Interaktionen statt dauernder Bewegung */
.btn { transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0) scale(0.99); }
.feature-card, .news-card { transition: transform 0.24s ease, box-shadow 0.24s ease; }
.feature-card:hover, .news-card:hover { transform: translateY(-3px); }
.feature-card:nth-child(2), .news-card:nth-child(2) { transition-delay: 50ms; }
.feature-card:nth-child(3), .news-card:nth-child(3) { transition-delay: 100ms; }
.feature-card:nth-child(4) { transition-delay: 150ms; }

.card-icon {
  width: 42px; height: 42px;
  background: var(--c-accent-l);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-accent);
  font-size: 20px;
  margin-bottom: 1rem;
}

.feature-card h3 { font-size: var(--fz-md); font-weight: 600; margin-bottom: 6px; }
.feature-card p  { font-size: var(--fz-md); color: var(--c-text-2); line-height: 1.65; }

/* Partner area */
.partners-section { scroll-margin-top: 100px; }
.partners-heading { max-width: 650px; margin-bottom: 1.75rem; }
.partners-heading .sec-h { margin-bottom: 0.6rem; }
.partners-heading > p:last-child { max-width: 580px; color: var(--c-text-2); font-size: 1rem; line-height: 1.65; }
.partners-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.partner-card {
  min-height: 224px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  position: relative;
  padding: 20px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  color: var(--c-text);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.partner-card:hover, .partner-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--c-border-2);
  box-shadow: var(--shadow-lg);
}
.partner-logo-window {
  width: 100%;
  height: 104px;
  flex: 0 0 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  background: #f5f5f3;
}
.partner-logo-window img { display: block; max-width: 100%; max-height: 80px; width: auto; height: auto; object-fit: contain; }
.partner-logo-isb img { max-width: 80px; max-height: 80px; }
.partner-logo-ammoworx img { width: min(100%, 310px); max-height: 80px; }
.partner-logo-hasler img { width: min(100%, 262px); height: 80px; max-height: 80px; }
.partner-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.partner-kind { color: var(--c-accent); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.partner-copy strong { font-family: 'Oswald', sans-serif; font-size: 1.05rem; line-height: 1.2; }
.partner-copy > span:last-child { color: var(--c-text-2); font-size: 0.82rem; line-height: 1.45; }

/* ══════════════════════════════
   GALLERY
══════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
  background: var(--c-surface2);
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img,
.gallery-item:focus-within img { transform: scale(1.05); }
.gallery-item img.gallery-logo-img {
  object-fit: contain;
  object-position: center;
  background: #fff;
  padding: 1rem;
}
.gallery-item:hover img.gallery-logo-img,
.gallery-item:focus-within img.gallery-logo-img { transform: none; }

.gallery-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.78) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex; align-items: flex-end;
  padding: 0.9rem;
}
.gallery-item:hover .gallery-caption,
.gallery-item:focus-within .gallery-caption { opacity: 1; }
.gallery-caption span {
  font-size: 12px; font-weight: 500;
  color: #fff; letter-spacing: 0.04em;
}

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed; inset: 0;
  z-index: 900;
  background: rgba(0,0,0,0.92);
  align-items: center; justify-content: center;
  padding: 1.5rem;
}
.lightbox.is-open { display: flex; }

.lightbox-img {
  max-width: 90vw; max-height: 88vh;
  border-radius: var(--r-lg);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: rgba(255,255,255,0.12);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* ══════════════════════════════
   TABLE
══════════════════════════════ */
.table-wrap {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow);
}

.data-table {
  width: 100%; border-collapse: collapse;
  font-size: 13px; min-width: 380px;
}

.data-table th {
  text-align: left;
  font-size: var(--fz-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--c-text-3);
  padding: 11px 15px;
  border-bottom: 1px solid var(--c-border);
}

.data-table td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: var(--c-surface2); }

/* ══════════════════════════════
   CTA BLOCK
══════════════════════════════ */
.cta-block {
  background: var(--c-navy);
  border-radius: var(--r-lg);
  padding: 2rem 2.25rem;
  display: flex; align-items: center;
  gap: 1.5rem; flex-wrap: wrap;
  box-shadow: var(--shadow);
}

.cta-icon {
  width: 48px; height: 48px;
  background: rgba(200,24,26,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-accent); font-size: 22px; flex-shrink: 0;
}

.cta-block h3 {
  font-size: 1.1rem; font-weight: 700;
  color: #fff; margin-bottom: 4px;
}
.cta-block p { font-size: 13px; color: rgba(255,255,255,0.4); }

.cta-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* ══════════════════════════════
   WAFFENFÜHRERSCHEIN
══════════════════════════════ */
.info-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.6rem; margin-bottom: 14px;
  box-shadow: var(--shadow);
}

.info-card-tag {
  display: inline-block;
  background: var(--c-accent-l); color: #9a1012;
  font-size: var(--fz-xs); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--r-xs);
  margin-bottom: 12px;
}

.info-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 9px; }
.info-card p  { font-size: var(--fz-md); color: var(--c-text-2); line-height: 1.7; }

.info-card-header {
  display: flex; align-items: center; gap: 9px; margin-bottom: 10px;
}
.info-card-header i { color: var(--c-accent); font-size: 18px; }
.info-card-header h3 { margin: 0; font-size: 14px; }

.contact-dark {
  background: var(--c-navy);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.8rem;
}
.contact-dark-label {
  font-size: var(--fz-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.25); margin-bottom: 14px;
}
.contact-row {
  display: flex; align-items: center; gap: 11px;
  font-size: 14px; color: rgba(255,255,255,0.8);
  margin-bottom: 11px;
}
.contact-row:last-child { margin-bottom: 0; }
.contact-row i { color: var(--c-accent); font-size: 17px; width: 20px; flex-shrink: 0; }
.contact-row a { color: var(--c-accent); text-decoration: none; }
.contact-row a:hover { text-decoration: underline; }

/* ══════════════════════════════
   BEWERBE / RESULTS
══════════════════════════════ */
.year-tabs { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 1.75rem; }

.year-tab {
  font-size: 12px; font-weight: 600;
  padding: 7px 16px; border-radius: var(--r);
  border: 1px solid var(--c-border);
  color: var(--c-text-3);
  background: var(--c-surface);
  transition: all 0.2s;
}
.year-tab[aria-selected="true"] {
  background: var(--c-navy); color: var(--c-accent);
  border-color: var(--c-navy);
}
.year-tab:hover:not([aria-selected="true"]) { border-color: var(--c-accent); color: var(--c-accent); }

.year-panel { display: none; }
.year-panel.is-active { display: block; }

/* Bewerb Group */
.result-group {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden; margin-bottom: 12px;
  box-shadow: var(--shadow);
}

.result-group-header {
  display: flex; align-items: center; gap: 12px;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface2);
}
.result-dot {
  width: 10px; height: 10px;
  border-radius: 50%; background: var(--c-accent);
  flex-shrink: 0;
}
.result-dot-win { background: var(--c-green); }
.result-group-header h3 { font-size: var(--fz-md); font-weight: 600; flex: 1; }
.result-date { font-size: 11px; color: var(--c-text-3); white-space: nowrap; }

/* PDF List */
.pdf-list { padding: 4px 0; }

.pdf-row {
  display: flex; align-items: center; gap: 12px;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--c-border);
  transition: background 0.15s;
}
.pdf-row:last-child { border-bottom: none; }
.pdf-row:hover { background: var(--c-surface2); }

.pdf-icon {
  width: 36px; height: 36px;
  background: var(--c-accent-l);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-accent); font-size: 18px; flex-shrink: 0;
}

.pdf-info { flex: 1; min-width: 0; }
.pdf-name {
  font-size: 13px; font-weight: 500;
  display: block; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  color: var(--c-text);
}
.pdf-filename { font-size: 11px; color: var(--c-text-3); display: block; margin-top: 2px; }

.pdf-actions { display: flex; gap: 7px; flex-shrink: 0; }

.pdf-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600;
  padding: 6px 12px; border-radius: var(--r-sm);
  transition: all 0.2s; white-space: nowrap; text-decoration: none;
}
.pdf-btn-preview { background: var(--c-navy); color: rgba(255,255,255,0.8); }
.pdf-btn-preview:hover { background: var(--c-navy-2); color: #fff; }
.pdf-btn-download { background: var(--c-accent-l); color: var(--c-accent-d); }
.pdf-btn-download:hover { background: var(--c-accent); color: #fff; }

/* PDF Modal */
.pdf-modal {
  display: none;
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.88);
  align-items: center; justify-content: center;
  padding: 1.5rem;
}
.pdf-modal.is-open { display: flex; }

.pdf-modal-inner {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  width: 100%; max-width: 920px; max-height: 90vh;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.pdf-modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.25rem;
  background: var(--c-navy); flex-shrink: 0;
}
.pdf-modal-header span { font-size: var(--fz-md); font-weight: 600; color: #fff; }
.pdf-modal-close {
  background: rgba(255,255,255,0.1); color: #fff;
  width: 32px; height: 32px; border-radius: var(--r-sm);
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.pdf-modal-close:hover { background: rgba(255,255,255,0.2); }

.pdf-modal-frame {
  flex: 1; border: none; min-height: 500px;
}
/* Bilder (jpg/png/webp) passen sich dem Fenster an statt zu scrollen */
.pdf-modal-image {
  flex: 1; min-height: 0; width: 100%; max-height: calc(100vh - 11rem);
  object-fit: contain; background: #111;
}
.pdf-modal-image[hidden] { display: none; }

.result-empty { padding: 1.25rem 0; color: var(--c-text-3); font-size: var(--fz-md); }

.pdf-modal-footer {
  display: flex; justify-content: flex-end; align-items: center;
  padding: 0.875rem 1.25rem;
  border-top: 1px solid var(--c-border);
  gap: 10px; flex-shrink: 0;
}
.pdf-modal-note {
  font-size: 12px; color: var(--c-text-3); margin-right: auto;
}

/* Bewerbe Info Box */
.results-meta {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.4rem; margin-top: 1.25rem;
}
.results-meta-label {
  font-size: var(--fz-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--c-text-3); margin-bottom: 10px;
}
.results-meta p { font-size: 13px; margin-bottom: 4px; color: var(--c-text); }
.results-meta p.muted { color: var(--c-text-3); font-size: 12px; }

/* ══════════════════════════════
   KONTAKT
══════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px; margin-bottom: 1.75rem;
}

.contact-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.6rem; box-shadow: var(--shadow);
}

.contact-card-label {
  font-size: var(--fz-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--c-text-3); margin-bottom: 14px;
}

.contact-item {
  display: flex; align-items: flex-start;
  gap: 11px; font-size: 13px; margin-bottom: 11px;
}
.contact-item:last-of-type { margin-bottom: 0; }
.contact-item i { color: var(--c-accent); font-size: 17px; width: 20px; flex-shrink: 0; margin-top: 1px; }
.contact-item a { color: var(--c-accent); text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

/* Opening Hours */
.hours-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0; border-bottom: 1px solid var(--c-border); font-size: 13px;
}
.hours-row:last-of-type { border-bottom: none; }
.hours-dot {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; background: var(--c-green);
  margin-right: 8px; vertical-align: middle;
}

.hours-note {
  margin-top: 14px; padding: 11px 13px;
  background: var(--c-surface2); border-radius: var(--r);
  font-size: 12px; color: var(--c-text-3); line-height: 1.6;
  display: flex; align-items: flex-start; gap: 7px;
}
.hours-note i { color: var(--c-accent); font-size: 14px; flex-shrink: 0; margin-top: 1px; }

/* Contact Buttons */
.contact-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 1rem; }
.contact-actions a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px; border-radius: var(--r);
  font-size: 13px; font-weight: 600;
  text-decoration: none; transition: background 0.2s;
}
.cbtn-tel  { background: var(--c-accent);  color: #fff; }
.cbtn-tel:hover { background: var(--c-accent-d); }
.cbtn-wa   { background: var(--c-wa); color: #fff; }
.cbtn-wa:hover  { background: var(--c-wa-d); }
.cbtn-mail { background: var(--c-surface2); color: var(--c-text); border: 1px solid var(--c-border); }
.cbtn-mail:hover { background: var(--c-surface3); }

/* Google Maps consent wrapper */
.map-container {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--c-border); box-shadow: var(--shadow);
  margin-bottom: 1.75rem; position: relative;
}
.map-container iframe {
  display: block; width: 100%; height: 340px; border: none;
}

.map-consent-overlay {
  position: absolute; inset: 0;
  background: var(--c-surface2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem; padding: 2rem; text-align: center;
}
.map-consent-overlay.hidden { display: none; }

.map-consent-overlay i { font-size: 40px; color: var(--c-text-3); }
.map-consent-overlay p { font-size: 13px; color: var(--c-text-3); max-width: 320px; line-height: 1.6; }

/* ══════════════════════════════
   AKTUELLES / NEWS-KARTEN
══════════════════════════════ */

/* Sektion-Header mit "Alle anzeigen"-Button */
.aktuelles-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.75rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.aktuelles-header > div { min-width: 0; }
.aktuelles-header .sec-h { margin-bottom: 0; }

/* Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* Einzelne Karte */
.news-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Foto-Bereich */
.news-card-media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
  background: var(--c-navy);
}
.news-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.news-card-media:hover .news-card-img { transform: scale(1.04); }

/* Scroll reveals are enabled by JavaScript only when motion is allowed. */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.feature-card:hover.reveal.is-visible, .news-card:hover.reveal.is-visible { transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  .slide-bg, .slide.is-active .slide-bg,
  .reveal, .reveal.is-visible,
  .feature-card, .feature-card:hover,
  .news-card, .news-card:hover,
  .gallery-item img, .news-card-img, .partner-card, .partner-card:hover, .partner-card:focus-visible, .btn, .btn:hover, .btn:active {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  .reveal, .reveal.is-visible { opacity: 1 !important; }
}

.news-card-no-img {
  cursor: default;
  background: var(--c-navy);
}
.news-card-img-logo {
  object-fit: contain !important;
  padding: 1.25rem;
  background: var(--c-navy);
}

.news-card-img-count {
  position: absolute;
  bottom: 0.6rem; right: 0.7rem;
  background: rgba(13,27,42,0.82);
  color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--r-sm);
  backdrop-filter: blur(4px);
  pointer-events: none;
}

/* Karten-Body */
.news-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.news-card-date {
  font-size: 11px; font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.05em;
}

.news-card-type {
  font-size: 10px; font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-xs);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.type-termin { background: #e8f4e8; color: #2d6a0a; }
.type-news   { background: var(--c-accent-l); color: #9a1012; }

[data-theme="dark"] .type-termin { background: rgba(45,106,10,0.25); color: #6fcf6f; }
[data-theme="dark"] .type-news   { background: rgba(200,24,26,0.2);  color: #f08080; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .type-termin { background: rgba(45,106,10,0.25); color: #6fcf6f; }
  :root:not([data-theme="light"]) .type-news   { background: rgba(200,24,26,0.2);  color: #f08080; }
}

.news-card-title {
  font-size: 15px; font-weight: 700;
  color: var(--c-text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.news-card-text {
  font-size: var(--fz-md);
  color: var(--c-text-2);
  line-height: 1.7;
  flex: 1;
}

/* PDF-Buttons */
.news-card-pdfs {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid var(--c-border);
  padding-top: 12px;
}

.news-card-pdf {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px; font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--r-sm);
  background: var(--c-accent-l);
  color: var(--c-accent-d);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  font-family: 'Barlow', sans-serif;
}
.news-card-pdf:hover { background: var(--c-accent); color: #fff; }

.news-card-pdf-dl {
  padding: 5px 8px;
  flex-shrink: 0;
}

/* Leerzustand */
.news-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 3rem;
  color: var(--c-text-3);
  text-align: center;
}
.news-empty i { font-size: 48px; opacity: 0.3; }
.news-empty p { font-size: 14px; }
.news-empty code {
  background: var(--c-surface2);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 12px;
}

/* Karten-Footer */
.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.25rem;
  border-top: 1px solid var(--c-border);
  background: var(--c-surface2);
  margin-top: auto;
}
.news-card-open {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: var(--c-accent); background: none; border: none;
  cursor: pointer; padding: 0;
  font-family: 'Barlow', sans-serif;
  transition: gap 0.2s;
}
.news-card-open:hover { gap: 10px; }
.news-card-open i { font-size: 14px; transition: transform 0.2s; }
.news-card-open:hover i { transform: translateX(3px); }
.news-card-attachment {
  font-size: 11px; color: var(--c-text-3);
  display: flex; align-items: center; gap: 4px;
}

/* ══════════════════════════════
   ARTIKEL-MODAL
══════════════════════════════ */
.artikel-modal {
  display: none;
  position: fixed; inset: 0; z-index: 950;
  background: rgba(0,0,0,0.88);
  align-items: center; justify-content: center;
  padding: 1.5rem;
}
.artikel-modal.is-open { display: flex; }

.artikel-box {
  background: var(--c-surface);
  border-radius: var(--r-xl);
  width: 100%; max-width: 740px;
  max-height: 90vh;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

/* Header */
.artikel-hd {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--c-border);
  flex-shrink: 0;
}
.artikel-hd-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.artikel-close-btn {
  background: var(--c-surface2); color: var(--c-text-3); border: none;
  width: 36px; height: 36px; border-radius: 50%; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; transition: background 0.2s, color 0.2s;
}
.artikel-close-btn:hover { background: var(--c-surface3); color: var(--c-text); }

/* Body (scrollbar) */
.artikel-body {
  flex: 1; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--c-border) transparent;
}

/* Hero-Foto */
.artikel-hero img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block;
}

/* Foto-Streifen */
.artikel-strip {
  display: flex; gap: 6px;
  padding: 8px 1.5rem;
  background: var(--c-surface2);
  overflow-x: auto; scrollbar-width: thin;
}
.artikel-thumb {
  flex-shrink: 0; width: 76px; height: 57px;
  border-radius: var(--r-sm); overflow: hidden;
  border: 2px solid transparent;
  padding: 0; background: none; cursor: pointer;
  transition: border-color 0.2s;
}
.artikel-thumb:hover { border-color: var(--c-accent); }
.artikel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Text-Bereich */
.artikel-inhalt { padding: 1.75rem 1.5rem 0.5rem; }
.artikel-titel {
  font-size: 1.5rem; font-weight: 700;
  color: var(--c-text); margin-bottom: 1.25rem; line-height: 1.2;
}
.artikel-absatz {
  font-size: 14.5px; color: var(--c-text-2);
  line-height: 1.85; margin-bottom: 1rem;
}
.artikel-absatz:last-child { margin-bottom: 0; }

/* PDFs im Modal */
.artikel-pdfs-wrap { padding: 1.25rem 1.5rem 1.5rem; }
.artikel-pdfs-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--c-text-3);
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 12px;
  border-top: 1px solid var(--c-border); padding-top: 1.25rem;
}
.artikel-pdf-row {
  display: flex; align-items: center; gap: 12px;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--c-border);
}
.artikel-pdf-row:last-child { border-bottom: none; }

/* Footer */
.artikel-ft {
  border-top: 1px solid var(--c-border);
  padding: 0.875rem 1.5rem;
  display: flex; justify-content: flex-end;
  flex-shrink: 0; background: var(--c-surface2);
}

/* Responsive */
@media (max-width: 620px) {
  .artikel-modal { padding: 0; align-items: flex-end; }
  .artikel-box {
    max-height: 92vh;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
  }
  .artikel-hd,
  .artikel-ft      { padding: 0.875rem 1rem; }
  .artikel-inhalt  { padding: 1.25rem 1rem 0.5rem; }
  .artikel-pdfs-wrap { padding: 0.875rem 1rem 1.25rem; }
  .artikel-titel   { font-size: 1.2rem; }
  .artikel-absatz  { font-size: 14px; }
}

/* Responsive */
@media (max-width: 900px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .news-grid { grid-template-columns: 1fr; gap: 14px; }
  .aktuelles-header { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════════
   GESETZ-HINWEIS / NOTICE BANNER
══════════════════════════════ */
.law-notice {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-2) 100%);
  border-left: 4px solid var(--c-accent);
  border-radius: var(--r-lg);
  padding: 1.4rem 1.6rem;
  width: calc(100% - 4rem);
  max-width: calc(1400px - 4rem);
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.law-notice::after {
  content: '§';
  position: absolute;
  right: 1.5rem; top: 50%;
  transform: translateY(-50%);
  font-family: 'Oswald', sans-serif;
  font-size: 5rem; font-weight: 700;
  color: rgba(255,255,255,0.04);
  pointer-events: none;
  line-height: 1;
}

.law-notice-icon {
  width: 42px; height: 42px;
  background: rgba(200,24,26,0.2);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-accent); font-size: 20px;
  flex-shrink: 0; margin-top: 1px;
}

.law-notice-body { flex: 1; min-width: 0; }

.law-notice-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--c-accent);
  color: #fff;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 9px; border-radius: var(--r-xs);
  margin-bottom: 8px;
}

.law-notice-title {
  font-family: 'Oswald', sans-serif;
  font-size: 15px; font-weight: 700;
  color: #fff; margin-bottom: 5px; line-height: 1.3;
}

.law-notice-text {
  font-size: 13px; color: rgba(255,255,255,0.6);
  line-height: 1.6; margin-bottom: 12px;
}

.law-notice-text strong { color: rgba(255,255,255,0.85); }

.law-notice-actions { display: flex; gap: 9px; flex-wrap: wrap; }

.law-notice-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  padding: 7px 15px; border-radius: var(--r);
  text-decoration: none; transition: all 0.2s; white-space: nowrap;
}
.law-notice-btn-primary {
  background: var(--c-accent); color: #fff;
}
.law-notice-btn-primary:hover { background: var(--c-accent-d); }
.law-notice-btn-secondary {
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.18);
}
.law-notice-btn-secondary:hover { background: rgba(255,255,255,0.16); color: #fff; }

/* Kompakte Variante für WFS-Seite */
.law-notice-compact {
  background: var(--c-surface2);
  border-left: 4px solid var(--c-accent);
  border-radius: var(--r-lg);
  padding: 1.1rem 1.25rem;
  margin-bottom: 14px;
  display: flex; align-items: flex-start; gap: 10px;
}
.law-notice-compact i { color: var(--c-accent); font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.law-notice-compact p { font-size: var(--fz-md); color: var(--c-text-3); line-height: 1.65; }
.law-notice-compact p strong { color: var(--c-text); }
.law-notice-compact a { color: var(--c-accent); text-decoration: none; font-weight: 600; }
.law-notice-compact a:hover { text-decoration: underline; }

@media (max-width: 620px) {
  .law-notice { width: calc(100% - 2rem); padding: 1.1rem 1.2rem; }
  .law-notice::after { display: none; }
  .law-notice-title { font-size: 14px; }
}
@media (max-width: 420px) {
  .law-notice { width: calc(100% - 1.75rem); flex-direction: column; gap: 0.75rem; }
  .law-notice-icon { display: none; }
}

/* ══════════════════════════════
   LEGAL (Impressum / Datenschutz)
══════════════════════════════ */
.legal-wrap { max-width: 800px; }

.legal-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 2rem; margin-bottom: 14px;
  box-shadow: var(--shadow);
}

.legal-card h3 {
  font-size: 1rem; font-weight: 700;
  color: var(--c-text);
  margin-bottom: 0.75rem; margin-top: 1.4rem;
}
.legal-card h3:first-child { margin-top: 0; }

.legal-card p,
.legal-card li { font-size: var(--fz-md); color: var(--c-text-2); line-height: 1.8; }
.legal-card ul { padding-left: 1.25rem; margin: 0.4rem 0 0.75rem; }
.legal-card a { color: var(--c-accent); }

.legal-name { font-size: 15px; font-weight: 600; color: var(--c-text); margin-bottom: 10px; }
.legal-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--c-accent); margin-bottom: 10px; margin-top: 1.6rem;
}
.legal-label:first-child { margin-top: 0; }
.legal-divider { border: none; border-top: 1px solid var(--c-border); margin: 1.25rem 0; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.site-footer {
  background: var(--c-navy);
  padding: 2rem 2rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem; margin-bottom: 1.5rem;
}

.footer-brand-logo { height: 46px; width: auto; margin-bottom: 10px; }
.footer-tagline {
  font-size: 12px; color: rgba(255,255,255,0.28);
  max-width: 220px; line-height: 1.6;
}

.footer-col h4 {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.28); margin-bottom: 12px;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 12.5px; color: rgba(255,255,255,0.45);
  text-decoration: none; margin-bottom: 7px; line-height: 1.5;
}
.footer-col a:hover { color: rgba(255,255,255,0.8); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.5); }

.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { font-size: 11px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.85); }

.footer-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 2rem 10px;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  user-select: none;
}
.footer-counter i { font-size: 11px; }
.footer-counter-sep { opacity: 0.4; }
.footer-counter-value {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.28);
  min-width: 4ch;
}

/* ══════════════════════════════
   FLOATING ACTION BUTTONS
══════════════════════════════ */
.fabs {
  position: fixed;
  bottom: 24px; right: 20px;
  z-index: 500;
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 9px;
  /* Sanftes Ausblenden wenn Footer sichtbar */
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.fabs.is-hidden {
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}
/* Schwebende Buttons ausblenden, solange der Consent-Banner offen ist
   (verhindert Überlagerung mit dem Banner am unteren Rand) */
body.consent-open .fabs {
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

.fab-row {
  display: flex; align-items: center; gap: 8px;
}

.fab-label {
  font-size: 11px; font-weight: 600;
  background: rgba(13,27,42,0.9);
  color: rgba(255,255,255,0.8);
  padding: 4px 9px; border-radius: 6px;
  letter-spacing: 0.04em;
  opacity: 0; transform: translateX(6px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none; white-space: nowrap;
}
.fab-row:hover .fab-label { opacity: 1; transform: translateX(0); }

.fab {
  width: 52px; height: 52px;
  border-radius: 50%; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.fab:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(0,0,0,0.35); }
.fab-whatsapp { background: var(--c-wa); }
.fab-phone    { background: var(--c-accent); }

/* ══════════════════════════════
   COOKIE BANNER (DSGVO)
══════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 800;
  background: var(--c-navy);
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 -4px 32px rgba(0,0,0,0.3);
  padding: 1.25rem 2rem;
  display: none;
}
.cookie-banner.is-visible { display: block; }

.cookie-banner-inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; align-items: flex-start;
  gap: 1.5rem; flex-wrap: wrap;
}

.cookie-icon { font-size: 28px; flex-shrink: 0; margin-top: 2px; }

.cookie-text { flex: 1; min-width: 260px; }
.cookie-text strong {
  display: block; font-size: 14px; font-weight: 700;
  color: #fff; margin-bottom: 5px;
}
.cookie-text p { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.6; }
.cookie-text a { color: rgba(255,255,255,0.7); text-decoration: underline; }
.cookie-text a:hover { color: #fff; }

.cookie-actions {
  display: flex; gap: 10px; align-items: center;
  flex-shrink: 0; flex-wrap: wrap;
}

.cookie-btn {
  padding: 9px 20px; border-radius: var(--r);
  font-size: 12px; font-weight: 600;
  white-space: nowrap; transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 5px;
}
.cookie-btn-accept {
  background: var(--c-accent); color: #fff;
}
.cookie-btn-accept:hover { background: var(--c-accent-d); }
.cookie-btn-reject {
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
}
.cookie-btn-reject:hover { background: rgba(255,255,255,0.16); color: #fff; }

/* ══════════════════════════════
   MAP (Rahmen, Aktionen) + CONSENT OVERLAY (DSGVO)
══════════════════════════════ */
.map-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 340px;
  position: relative;
}
.map-actions { text-align: right; margin-top: 8px; }
.legal-stand { font-size: 12px; color: var(--c-text-3); }
.gallery-logo-img { object-fit: contain; }

.map-consent-overlay {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.75rem; text-align: center;
  padding: 1.5rem;
  background: var(--c-navy);
  background-image: linear-gradient(rgba(13,27,42,0.92), rgba(13,27,42,0.92));
  border-radius: var(--r-lg);
}
.map-consent-overlay.is-hidden { display: none; }
.map-consent-overlay > i { font-size: 34px; color: var(--c-accent); }
.map-consent-overlay p {
  font-size: 13px; color: rgba(255,255,255,0.75);
  line-height: 1.6; max-width: 420px; margin: 0;
}
.map-consent-overlay strong { color: #fff; }
.map-consent-overlay .btn { margin-top: 0.25rem; }
.map-consent-hint { font-size: 11px !important; color: rgba(255,255,255,0.55) !important; }
.map-consent-hint a { color: rgba(255,255,255,0.8); text-decoration: underline; }

/* ══════════════════════════════
   RESPONSIVE MEDIA QUERIES
══════════════════════════════ */

/* ── XL: Großes Display (≥ 1400px) ── */
@media (min-width: 1400px) {
  .main-nav { padding: 0 max(2rem, calc(50vw - 700px)); }
  .tab-bar   { padding: 0 max(2rem, calc(50vw - 700px)); }
  .stats-bar { padding: 1.4rem max(2rem, calc(50vw - 700px)); }
  .site-footer { padding: 2.5rem max(2rem, calc(50vw - 700px)) 2rem; }
  .sec { max-width: 1400px; margin-inline: auto; }
  .slider { height: min(690px, 65vh); }
}

/* ── MD: Tablet (≤ 900px) ── */
@media (max-width: 900px) {
  .nav-list, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .main-nav { padding: 0 1.25rem; }
  .tab-bar { padding: 0 1.25rem; }

  .slider { height: 560px; }
  .slide-title { font-size: clamp(2.7rem, 7vw, 4rem); }
  .slide-body { padding: 2rem 1.75rem 2.5rem; }

  .sec { padding: 2.5rem 1.5rem; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { display: grid; grid-template-columns: 1fr 1fr; }
  .cta-actions { margin-left: 0; width: 100%; }
  .cta-actions .btn { flex: 1; justify-content: center; }
}

/* ── SM: Mobil (≤ 620px) ── */
@media (max-width: 620px) {
  .brand-sub { font-size: 9px; letter-spacing: 0.08em; }
  .brand-logo { width: 52px; height: 52px; }
  .brand-name { font-size: 20px; }
  .partners-grid { grid-template-columns: 1fr; }

  .slider { height: 72vh; height: min(620px, 72svh); min-height: 510px; }
  .slide-title { font-size: clamp(2.6rem, 11vw, 4rem); }
  .slide-text { font-size: 1rem; }
  .slide-body { padding: 2rem 1.25rem 3.25rem; max-width: 100%; }
  .slider-dots { right: 1.25rem; }

  .sec { padding: 2rem 1rem; }
  .sec-h { font-size: 1.4rem; }

  .stats-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; }
  .stat-item { padding: 1rem 0.5rem; border-right: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(even) { border-right: none; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }
  .stat-label { font-size: 11px; letter-spacing: 0.06em; }

  .card-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feature-card { padding: 1.1rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }

  .cta-block { flex-direction: column; align-items: flex-start; padding: 1.4rem 1.25rem; }
  .cta-icon { display: none; }
  .cta-actions { margin-left: 0; width: 100%; }

  /* Adresse & Öffnungszeiten auch mobil zeigen (2×2-Raster statt Ausblenden) */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; }

  .legal-card { padding: 1.25rem; }
  .map-container iframe { height: 260px; }

  .pdf-actions { flex-direction: column; gap: 5px; }
  .pdf-btn { font-size: 10.5px; padding: 5px 10px; }

  .fabs { bottom: 18px; right: 14px; }
  .fab { width: 48px; height: 48px; font-size: 20px; }
  .fab-label { display: none; }

  .cookie-banner { padding: 1rem 1.25rem; }
  .cookie-btn { padding: 8px 14px; font-size: 11.5px; }
}

/* ── XS: Kleines Mobil (≤ 420px) ── */
@media (max-width: 420px) {
  .brand-logo { width: 44px; height: 44px; border-radius: 10px; }
  .brand-name { font-size: 18px; }
  .brand { gap: 10px; }

  .slider { min-height: 490px; height: 76vh; height: 76svh; }
  .slide-title { font-size: clamp(2.45rem, 12vw, 3.2rem); }
  .slide-text { display: block; font-size: 0.95rem; }
  .slide-body { padding: 1.5rem 1rem 3.5rem; }
  .slide-actions { flex-direction: row; }
  .slide-actions .btn { width: auto; flex: 1 1 auto; justify-content: center; padding-inline: 13px; font-size: 0.8rem; }

  .sec { padding: 1.75rem 0.875rem; }
  .sec-h { font-size: 1.25rem; }
  .card-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }

  .contact-actions { flex-direction: column; }
  .contact-actions a { width: 100%; justify-content: center; }

  .fabs { gap: 7px; }
  .fab { width: 44px; height: 44px; font-size: 19px; }

  .footer-links { gap: 1rem; }
}
