/* ============================================================
   DITIB Berlin — ditib-berlin.de (Relaunch 2026)
   Farben: Teal (ditib.de-Hintergrund) + DITIB-Rot (Logo) + Weiß
   Schrift: Playfair Display (Überschriften) / Inter (Fließtext)
   ============================================================ */

:root {
  --teal: #0C8AA4;
  --teal-dark: #086B82;
  --teal-deeper: #054C5D;
  --teal-ink: #04303B;
  --red: #E30613;
  --red-dark: #C10510;
  --gold: #C9A227;
  --ink: #16333C;
  --muted: #567179;
  --bg: #F4F8F9;
  --card: #FFFFFF;
  --line: #DFEAED;
  --teal-soft: #E4F1F4;
  --shadow: 0 10px 30px rgba(4, 48, 59, .10);
  --shadow-lg: 0 24px 60px rgba(4, 48, 59, .16);
  --radius: 16px;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 66px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--red); }
ul { list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* Teal-Ornament-Hintergrund (übernommen von ditib.de) */
.pattern-bg {
  background-color: var(--teal);
  background-image: linear-gradient(160deg, rgba(8,107,130,.55), rgba(5,76,93,.75)), url('../images/pattern.png');
  background-size: auto, 1000px auto;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--teal-ink);
  color: #CFE7ED;
  font-size: 13.5px;
  padding: 8px 0;
  position: relative;
  z-index: 60;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.topbar-items { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.topbar a { color: #CFE7ED; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; flex: none; }
.topbar-cta { color: #fff !important; font-weight: 600; background: rgba(255,255,255,.12); padding: 3px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); }
.topbar-cta:hover { background: var(--red); border-color: var(--red); }

/* ---------- Header (Logo-Ebene) ---------- */
.site-header {
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-dark) 100%);
  background-image: linear-gradient(160deg, rgba(12,138,164,.94), rgba(8,107,130,.96)), url('../images/pattern.png');
  background-size: auto, 1000px auto;
  position: relative;
  z-index: 55;
}
.header-main { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 81px; width: auto; }

/* ---------- Nav-Strip (klebt beim Scrollen) ---------- */
.nav-strip {
  background: var(--teal-deeper);
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 4px 18px rgba(4,48,59,.25);
}
.nav-desktop { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-desktop > li { position: relative; }
.nav-desktop > li > a {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 15px 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.nav-desktop > li > a:hover,
.nav-desktop > li > a.active { background: rgba(255,255,255,.12); color: #fff; }
.nav-desktop > li > a.active { box-shadow: inset 0 -3px 0 var(--red); }
.nav-desktop .caret { width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 2px; }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 268px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .22s ease;
  z-index: 70;
}
/* Lange Menüs (Islam, Tätigkeiten) zweispaltig — kein Scrollbalken nötig */
.nav-desktop > li:nth-child(3) > .dropdown,
.nav-desktop > li:nth-child(5) > .dropdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 10px;
  min-width: 560px;
}
.nav-desktop > li:nth-child(5) > .dropdown { left: auto; right: 0; }
.nav-desktop li:hover > .dropdown,
.nav-desktop li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(4px); }
.dropdown a {
  display: block;
  padding: 9px 14px;
  border-radius: 9px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
}
.dropdown a:hover, .dropdown a.active { background: var(--teal-soft); color: var(--teal-dark); }
.dropdown .dd-ext { color: var(--muted); font-size: 12px; margin-left: 5px; }

/* Hamburger — immer sichtbar auf Mobil (display:flex !important) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 52px;
  height: 48px;
  border-radius: 12px;
  background: var(--teal-ink);
  border: 1px solid rgba(255,255,255,.28);
  cursor: pointer;
  padding: 0 13px;
  z-index: 210;
  flex: none;
}
.nav-toggle span { display: block; height: 3px; border-radius: 3px; background: #fff; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobiles Menü */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: linear-gradient(170deg, var(--teal-deeper), var(--teal-ink));
  z-index: 200;
  padding: 20px 22px 40px;
  overflow-y: auto;
  display: none;
}
.mobile-menu.open { display: block; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mobile-logo-card { background: var(--teal-dark); border: 1px solid rgba(255,255,255,.2); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); }
.mobile-logo-card img { height: 52px; width: auto; }
.mobile-close { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 22px; cursor: pointer; }
.mobile-nav > li { border-bottom: 1px solid rgba(255,255,255,.12); }
.mobile-nav > li > a,
.mobile-nav .sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #fff;
  font-size: 17.5px;
  font-weight: 600;
  padding: 15px 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  text-align: left;
}
.mobile-nav .sub-toggle .caret { width: 10px; height: 10px; border-right: 2px solid #9FCDD8; border-bottom: 2px solid #9FCDD8; transform: rotate(45deg); transition: .25s; }
.mobile-nav li.open .sub-toggle .caret { transform: rotate(225deg); }
.mobile-sub { display: none; padding: 2px 0 12px; }
.mobile-nav li.open .mobile-sub { display: block; }
.mobile-sub a { display: block; color: #C8E4EB; font-size: 15.5px; padding: 9px 16px; border-left: 2px solid rgba(255,255,255,.18); margin-left: 6px; }
.mobile-sub a:hover { color: #fff; border-left-color: var(--red); }
.mobile-contact { margin-top: 24px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 18px; color: #D6ECF1; font-size: 15px; }
.mobile-contact a { color: #fff; font-weight: 600; }

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero .container { position: relative; z-index: 2; padding-top: 84px; padding-bottom: 88px; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.25);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(227,6,19,.3); }
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.15;
  font-weight: 700;
  max-width: 820px;
  margin-bottom: 20px;
}
.hero p.lead { font-size: clamp(16.5px, 2vw, 19.5px); max-width: 720px; color: #E3F2F6; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15.5px;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: .22s;
  font-family: var(--font-body);
}
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(227,6,19,.35); }
.btn-red:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.btn-ghost:hover { background: #fff; color: var(--teal-dark); }
.btn-teal { background: var(--teal-dark); color: #fff; box-shadow: 0 10px 24px rgba(8,107,130,.3); }
.btn-teal:hover { background: var(--teal-deeper); color: #fff; transform: translateY(-2px); }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 58px; }
.stat-card {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: var(--radius);
  padding: 20px 22px;
  backdrop-filter: blur(4px);
}
.stat-card b { display: block; font-family: var(--font-head); font-size: 32px; line-height: 1.1; color: #fff; }
.stat-card span { font-size: 13.5px; color: #CBE6ED; }

/* ---------- Sektionen ---------- */
.section { padding: 84px 0; }
.section.alt { background: #fff; }
.section-head { max-width: 760px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 { font-family: var(--font-head); font-size: clamp(28px, 3.6vw, 40px); line-height: 1.2; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* Karten-Raster */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: 0 2px 10px rgba(4,48,59,.05);
  transition: .25s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #C7DDE3; }
.card .icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex: none;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; margin-bottom: 10px; font-weight: 700; color: var(--ink); }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--teal-dark); }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.card .card-link { margin-top: 16px; font-weight: 700; font-size: 14.5px; color: var(--red); display: inline-flex; align-items: center; gap: 6px; }
.card .card-link:hover { gap: 10px; }

/* ---------- Gemeinde-Karten ---------- */
.gemeinde-card { padding: 26px; }
.gemeinde-card { overflow: hidden; }
.gemeinde-card .g-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.gemeinde-card h3 { font-size: 17.5px; line-height: 1.35; margin: 0; }
.gemeinde-card .g-head, .gemeinde-card .g-meta { position: relative; z-index: 1; }
/* Moschee-Silhouette als Wasserzeichen unten rechts */
.g-sil {
  position: absolute;
  right: -8px;
  bottom: -10px;
  width: 112px;
  height: auto;
  color: var(--teal);
  opacity: .13;
  pointer-events: none;
}
.badge {
  flex: none;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  white-space: nowrap;
}
.badge.green { background: #E4F3EA; color: #1F7A44; }
.g-meta { font-size: 14.5px; color: var(--muted); display: grid; gap: 7px; }
.g-meta li { display: flex; gap: 9px; align-items: flex-start; }
.g-meta svg { width: 15px; height: 15px; flex: none; margin-top: 4px; color: var(--teal); }
.g-meta a { color: var(--teal-dark); font-weight: 600; }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: .2s;
}
.filter-btn:hover { border-color: var(--teal); color: var(--teal-dark); }
.filter-btn.active { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }

/* ---------- CTA-Band ---------- */
.cta-band { color: #fff; text-align: center; }
.cta-band .container { padding-top: 72px; padding-bottom: 76px; }
.cta-band h2 { font-family: var(--font-head); font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 14px; }
.cta-band p { color: #DDF0F4; max-width: 640px; margin: 0 auto 30px; font-size: 17px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Unterseiten: Page-Hero ---------- */
.page-hero { color: #fff; }
.page-hero .container { padding-top: 58px; padding-bottom: 58px; }
.breadcrumbs { font-size: 13.5px; color: #B7DCE5; margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumbs a { color: #DFF1F5; }
.breadcrumbs a:hover { color: #fff; }
.page-hero h1 { font-family: var(--font-head); font-size: clamp(30px, 4.2vw, 46px); line-height: 1.18; max-width: 860px; }
.page-hero p.sub { color: #DCEFF3; font-size: 17.5px; max-width: 760px; margin-top: 14px; }

/* ---------- Inhalt mit Seitenleiste ---------- */
.content-layout { display: grid; grid-template-columns: 280px 1fr; gap: 44px; align-items: start; }
.side-nav {
  position: sticky;
  top: 84px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 2px 10px rgba(4,48,59,.05);
}
.side-nav h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 8px 12px 10px; }
.side-nav a { display: block; padding: 9px 13px; border-radius: 9px; font-size: 14.5px; font-weight: 500; color: var(--ink); border-left: 3px solid transparent; }
.side-nav a:hover { background: var(--teal-soft); color: var(--teal-dark); }
.side-nav a.active { background: var(--teal-soft); color: var(--teal-dark); border-left-color: var(--red); font-weight: 700; }

.prose { max-width: 800px; }
.prose h2 { font-family: var(--font-head); font-size: clamp(24px, 3vw, 32px); margin: 44px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin: 30px 0 12px; }
.prose p { margin-bottom: 16px; color: #2A4750; }
.prose ul { margin: 0 0 18px; display: grid; gap: 9px; }
.prose ul li { position: relative; padding-left: 26px; color: #2A4750; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--teal);
  transform: rotate(45deg);
}
.prose blockquote {
  border-left: 4px solid var(--red);
  background: #fff;
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 22px 0;
  font-style: italic;
  color: var(--teal-deeper);
  box-shadow: 0 2px 10px rgba(4,48,59,.05);
}
.info-box {
  background: var(--teal-soft);
  border: 1px solid #C6E0E7;
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 26px 0;
  font-size: 15.5px;
}
.info-box b { color: var(--teal-deeper); }

.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 20px 0; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(4,48,59,.05); }
.prose th { background: var(--teal-dark); color: #fff; text-align: left; padding: 12px 14px; font-size: 13.5px; letter-spacing: .04em; }
.prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.table-wrap { overflow-x: auto; }

/* ---------- Kontakt ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 34px; align-items: start; }
.contact-info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: 0 2px 10px rgba(4,48,59,.05); }
.contact-info-card h3 { font-family: var(--font-head); font-size: 24px; margin-bottom: 20px; }
.contact-list { display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-dark); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list b { display: block; font-size: 15.5px; }
.contact-list span, .contact-list a { font-size: 15px; color: var(--muted); }
.contact-list a { color: var(--teal-dark); font-weight: 600; }

.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.contact-form h3 { font-family: var(--font-head); font-size: 24px; margin-bottom: 8px; }
.contact-form .form-sub { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.form-group label .req { color: var(--red); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  background: #FBFDFD;
  transition: .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(12,138,164,.13);
  background: #fff;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.form-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal-dark); flex: none; }

/* Captcha — bunte Ziffern-Chips */
.captcha-box {
  background: var(--teal-soft);
  border: 1.5px dashed #A9CFD9;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 18px;
}
.captcha-box label { font-weight: 600; font-size: 14px; display: block; margin-bottom: 10px; }
.captcha-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.captcha-q { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; color: var(--teal-deeper); }
.captcha-digit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(4,48,59,.18);
}
.captcha-row input { width: 90px; padding: 11px 13px; border: 1.5px solid #A9CFD9; border-radius: 11px; font-size: 17px; font-weight: 700; text-align: center; background: #fff; font-family: var(--font-body); }
.captcha-row input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(12,138,164,.13); }
.captcha-refresh { background: none; border: none; color: var(--teal-dark); font-size: 13.5px; font-weight: 600; cursor: pointer; text-decoration: underline; font-family: var(--font-body); }

.form-status { display: none; padding: 14px 18px; border-radius: 11px; font-weight: 600; font-size: 15px; margin-bottom: 16px; }
.form-status.ok { display: block; background: #E6F6EC; color: #14683A; border: 1px solid #B9E4C9; }
.form-status.err { display: block; background: #FCE8E9; color: var(--red-dark); border: 1px solid #F5C1C4; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); margin-top: 40px; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Externe Links / Partner ---------- */
.link-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.link-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  transition: .22s;
}
.link-tile:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--teal-dark); }
.link-tile .dot { width: 42px; height: 42px; border-radius: 11px; background: var(--teal-soft); color: var(--teal-dark); display: flex; align-items: center; justify-content: center; flex: none; }
.link-tile .dot svg { width: 20px; height: 20px; }
.link-tile small { display: block; color: var(--muted); font-weight: 500; font-size: 12.5px; }

/* ---------- Footer ---------- */
.site-footer { color: #C9E3EA; font-size: 15px; }
.site-footer a { color: #DDF0F4; }
.site-footer a:hover { color: #fff; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding: 66px 0 46px; }
.footer-brand img { height: 58px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 14.5px; line-height: 1.65; color: #A9D2DC; }
.site-footer h4 { color: #fff; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links li { margin-bottom: 10px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: #8FC5D2; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 20px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: #9CC8D3; }
.footer-bottom a { color: #C9E3EA; margin-left: 16px; }

/* ---------- Cookie-Banner ---------- */
.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 300;
  background: var(--teal-ink);
  color: #DCEFF3;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14.5px;
  max-width: 860px;
  margin: 0 auto;
}
.cookie-banner p { flex: 1; min-width: 220px; margin: 0; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner button {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 24px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  font-family: var(--font-body);
}
.cookie-banner button:hover { background: var(--red-dark); }

/* ---------- Scroll-Reveal (nur mit JS aktiv — ohne JS bleibt alles sichtbar) ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-strip { display: none; }
  .nav-toggle { display: flex !important; }
  .site-header { position: sticky; top: 0; box-shadow: 0 4px 18px rgba(4,48,59,.25); }
  html { scroll-padding-top: 112px; }
  /* Logo darf nie breiter werden als der Platz neben dem Hamburger */
  .brand { min-width: 0; }
  .brand img { height: auto; width: min(500px, calc(100vw - 130px)); }
  .grid-4, .link-tiles { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; order: -1; }
}

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .topbar-items.right { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .brand img { width: min(310px, calc(100vw - 110px)); height: auto; }
  .header-main { padding-top: 12px; padding-bottom: 12px; }
  .grid-3, .grid-2, .grid-4, .link-tiles { grid-template-columns: 1fr; }
  .hero .container { padding-top: 60px; padding-bottom: 64px; }
  .section { padding: 62px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom a { margin-left: 0; margin-right: 16px; }
  .contact-form { padding: 26px 20px; }
  .map-wrap iframe { height: 320px; }
}
