/* ==========================================================================
   Gebetshaus Minden — Design System
   ========================================================================== */

:root {
  /* Color */
  --ink: #191c20;
  --ink-soft: #565d66;
  --ink-faint: #8b929b;
  --line: #e7e5e0;
  --line-soft: #f0efeb;
  --bg: #ffffff;
  --bg-soft: #f8f7f4;
  --bg-tint: #eef2f6;
  --brand: #1c4f82;
  --brand-dark: #123a5e;
  --brand-tint: #eaf1f8;
  --white: #ffffff;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  /* Misc */
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 28px;
  --shadow-s: 0 1px 2px rgba(25, 28, 32, 0.06), 0 1px 1px rgba(25, 28, 32, 0.04);
  --shadow-m: 0 12px 28px -12px rgba(25, 28, 32, 0.18);
  --shadow-l: 0 30px 60px -20px rgba(25, 28, 32, 0.25);
  --container: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-size: 16px;
}
img, picture, video, canvas { display: block; max-width: 100%; }
svg { display: block; width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }
svg.icon-outline { fill: none; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { cursor: pointer; background: none; border: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); font-weight: 560; }
h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); font-weight: 600; }
p { color: var(--ink-soft); }
p + p { margin-top: var(--sp-4); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--brand);
}

/* ---- Layout helpers ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
@media (max-width: 640px) {
  .container { padding-inline: var(--sp-4); }
}
.section { padding-block: var(--sp-9); }
.section-tight { padding-block: var(--sp-7); }
.section-soft { background: var(--bg-soft); }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; }
.narrow { max-width: 760px; margin-inline: auto; }

.section-head {
  max-width: 640px;
  margin-bottom: var(--sp-7);
}
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: var(--sp-3); }
.section-head p { margin-top: var(--sp-4); font-size: 1.05rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: var(--white); box-shadow: var(--shadow-s); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: var(--shadow-m); }
.btn-ghost { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-outline-light { border: 1px solid rgba(255,255,255,0.55); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-text { font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 0.4em; }
.btn-text svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.btn-text:hover svg { transform: translateX(3px); }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: var(--sp-5);
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand img { height: 40px; width: auto; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.15;
}
.brand-name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.08em; color: var(--ink-faint); text-transform: uppercase; }

.nav-primary { display: flex; align-items: center; gap: var(--sp-6); }
.nav-primary > ul { display: flex; align-items: center; gap: var(--sp-6); }
.nav-primary a.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.4rem 0;
  position: relative;
}
.nav-primary a.nav-link:hover { color: var(--ink); }
.nav-primary li.has-dropdown { position: relative; }
.nav-primary li.has-dropdown > a { display: flex; align-items: center; gap: 0.3rem; }
.nav-primary li.has-dropdown > a svg { width: 12px; height: 12px; transition: transform 0.2s var(--ease); }
.nav-primary li.has-dropdown:hover > a svg { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-l);
  padding: var(--sp-2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.nav-primary li.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-s);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.dropdown-menu a:hover { background: var(--bg-soft); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: var(--sp-4); }
.lang-switch a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}
.lang-switch a:hover { color: var(--ink); border-color: var(--ink-faint); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.menu-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }

.mobile-nav {
  position: fixed;
  inset: 84px 0 0 0;
  background: var(--white);
  z-index: 99;
  padding: var(--sp-6) var(--sp-5) var(--sp-8);
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.mobile-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--line-soft); }
.mobile-nav a.nav-link { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-4) 0; font-size: 1.15rem; font-weight: 600; font-family: var(--font-display); }
.mobile-nav a.nav-link svg { width: 13px; height: 13px; flex-shrink: 0; }
.mobile-nav .has-dropdown.open-sub > a svg { transform: rotate(180deg); }
.mobile-nav .sub-list { max-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 0.2rem; transition: max-height 0.3s var(--ease); }
.mobile-nav .has-dropdown.open-sub .sub-list { max-height: 320px; padding-bottom: var(--sp-3); }
.mobile-nav .sub-list a { padding: 0.5rem 0; font-size: 0.98rem; font-weight: 500; color: var(--ink-soft); }
.mobile-nav .btn { margin-top: var(--sp-6); width: 100%; }

@media (max-width: 980px) {
  .nav-primary, .header-cta { display: none; }
  .menu-toggle { display: flex; }
}
body.nav-open { overflow: hidden; }
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,14,20,0.82) 0%, rgba(10,14,20,0.32) 46%, rgba(10,14,20,0.18) 100%);
}
.hero-content { position: relative; z-index: 1; padding-block: var(--sp-9) var(--sp-8); width: 100%; }
.hero-content .eyebrow { color: rgba(255,255,255,0.85); }
.hero-content .eyebrow::before { background: rgba(255,255,255,0.7); }
.hero h1 { color: var(--white); margin-top: var(--sp-3); max-width: 780px; }
.hero p.lead { color: rgba(255,255,255,0.86); font-size: 1.15rem; max-width: 560px; margin-top: var(--sp-4); }
.hero-actions { display: flex; gap: var(--sp-4); margin-top: var(--sp-6); flex-wrap: wrap; }

.page-hero {
  position: relative;
  padding-block: calc(var(--sp-9) + 40px) var(--sp-8);
  background: linear-gradient(180deg, var(--bg-tint), var(--bg));
  overflow: hidden;
}
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { margin-top: var(--sp-3); }
.page-hero p.lead { max-width: 620px; margin-inline: auto; margin-top: var(--sp-4); font-size: 1.1rem; }

/* ==========================================================================
   Cards: video / event / team
   ========================================================================== */
.grid { display: grid; gap: var(--sp-5); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.media-card {
  background: var(--white);
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.media-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.media-card-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-tint); }
.media-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.media-card:hover .media-card-thumb img { transform: scale(1.06); }
.media-badge {
  position: absolute; top: var(--sp-3); left: var(--sp-3); z-index: 1;
  background: var(--brand); color: var(--white); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.03em; text-transform: uppercase; padding: 0.3rem 0.65rem; border-radius: 999px;
}

.media-filter { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: var(--sp-6); }
.media-filter button {
  padding: 0.6rem 1.2rem; border-radius: 999px; font-weight: 600; font-size: 0.88rem;
  border: 1px solid var(--line); color: var(--ink-soft); transition: all 0.2s var(--ease);
}
.media-filter button.active, .media-filter button:hover { background: var(--brand); color: var(--white); border-color: var(--brand); }
.play-badge {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.play-badge span {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-m);
}
.play-badge svg { width: 18px; height: 18px; fill: var(--brand); margin-left: 2px; }
.media-card-body { padding: var(--sp-5); }
.media-card-date { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--brand); }
.media-card-title { margin-top: 0.4rem; font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; line-height: 1.3; }

.team-card { text-align: center; }
.team-card-photo { position: relative; aspect-ratio: 1/1; border-radius: var(--radius-m); overflow: hidden; background: var(--bg-tint); margin-bottom: var(--sp-4); }
.team-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card-socials {
  position: absolute; bottom: var(--sp-3); left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem; opacity: 0; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.team-card:hover .team-card-socials { opacity: 1; transform: translateX(-50%) translateY(-4px); }
.team-card-socials a { width: 34px; height: 34px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-s); }
.team-card-socials svg { width: 15px; height: 15px; fill: var(--ink); }
.team-card-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.team-card-role { color: var(--brand); font-size: 0.85rem; font-weight: 600; margin-top: 0.15rem; }
.team-card-desc { margin-top: var(--sp-3); font-size: 0.94rem; }
.team-card-contact { margin-top: var(--sp-3); display: flex; flex-direction: column; gap: 0.3rem; }
.team-card-contact a { font-size: 0.88rem; color: var(--brand); font-weight: 600; }
.team-card-contact a:hover { text-decoration: underline; }
.team-card .btn { margin-top: var(--sp-4); }
.team-empty { text-align: center; color: var(--ink-faint); padding: var(--sp-8) 0; }

/* ==========================================================================
   Feature blocks / split sections
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: var(--sp-6); } }
.split-media { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-m); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.split.reverse .split-media { order: 2; }
@media (max-width: 860px) { .split.reverse .split-media { order: 0; } }

.stat-row { display: flex; gap: var(--sp-8); margin-top: var(--sp-7); flex-wrap: wrap; }
.stat-row .stat b { display: block; font-family: var(--font-display); font-size: 2.1rem; color: var(--brand); }
.stat-row .stat span { font-size: 0.88rem; color: var(--ink-faint); }

.trailer {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 16/8;
  box-shadow: var(--shadow-l);
  isolation: isolate;
}
.trailer img { width: 100%; height: 100%; object-fit: cover; }
.trailer::after { content: ""; position: absolute; inset: 0; background: rgba(10,14,20,0.42); z-index: 1; }
.trailer-content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  color: var(--white); padding: var(--sp-6); gap: var(--sp-4);
}
.trailer-content h2 { color: var(--white); }
.trailer-content p { color: rgba(255,255,255,0.85); max-width: 480px; }
.trailer-play {
  width: 74px; height: 74px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}
.trailer:hover .trailer-play { transform: scale(1.08); background: rgba(255,255,255,0.18); }
.trailer-play svg { width: 24px; height: 24px; fill: var(--white); margin-left: 3px; }
.trailer iframe { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; border: 0; }

/* Panorama teaser */
.panorama-teaser {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-l);
}
.panorama-teaser img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panorama-teaser::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,20,0.55), rgba(10,14,20,0.15) 40%, rgba(10,14,20,0.6)); }
.panorama-teaser-content { position: relative; z-index: 1; text-align: center; padding: var(--sp-6); }
.panorama-teaser-content h2 { color: var(--white); max-width: 560px; }
.panorama-teaser-content p { color: rgba(255,255,255,0.85); margin-top: var(--sp-3); }
#panorama { width: 100%; height: 560px; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-l); }

/* Verse / quote band */
.quote-band {
  background: var(--brand);
  color: var(--white);
  border-radius: var(--radius-l);
  padding: var(--sp-8) var(--sp-7);
  text-align: center;
}
.quote-band blockquote { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; line-height: 1.4; max-width: 780px; margin-inline: auto; }
.quote-band cite { display: block; margin-top: var(--sp-4); font-style: normal; font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255,255,255,0.7); }

/* Sunset countdown */
.sunset-strip[hidden] { display: none; }
.sunset-strip {
  display: flex; align-items: center; justify-content: center; gap: var(--sp-8);
  flex-wrap: wrap;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  padding: var(--sp-6) var(--sp-7);
}
.sunset-strip .item { text-align: center; }
.sunset-strip .item b { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--brand); }
.sunset-strip .item span { font-size: 0.8rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.05em; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  padding: var(--sp-7);
  box-shadow: var(--shadow-m);
}
.field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: var(--sp-5); }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 0.85rem 1rem;
  background: var(--bg-soft);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: var(--white);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--ink-faint); margin-top: var(--sp-3); }

/* Contact info list */
.info-list { display: flex; flex-direction: column; gap: var(--sp-4); }
.info-list .row { display: flex; gap: var(--sp-4); align-items: flex-start; }
.info-list .icon {
  width: 42px; height: 42px; border-radius: 12px; background: var(--brand-tint);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.info-list .icon svg { width: 18px; height: 18px; fill: var(--brand); }
.info-list .row strong { display: block; font-size: 0.95rem; }
.info-list .row a, .info-list .row span { color: var(--ink-soft); font-size: 0.95rem; }
.info-list .row a:hover { color: var(--brand); }

.person-block { border-top: 1px solid var(--line-soft); padding-top: var(--sp-5); margin-top: var(--sp-5); }
.person-block:first-child { border-top: none; padding-top: 0; margin-top: 0; }

/* Donation tabs */
.tabs-head { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; margin-bottom: var(--sp-7); }
.tabs-head button {
  padding: 0.75rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 0.92rem;
  border: 1px solid var(--line); color: var(--ink-soft); transition: all 0.2s var(--ease);
}
.tabs-head button.active, .tabs-head button:hover { background: var(--brand); color: var(--white); border-color: var(--brand); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.donation-detail { max-width: 460px; margin-inline: auto; text-align: center; }
.donation-detail dl { margin-top: var(--sp-5); text-align: left; display: grid; grid-template-columns: auto 1fr; gap: 0.6rem var(--sp-4); background: var(--bg-soft); border-radius: var(--radius-m); padding: var(--sp-6); }
.donation-detail dt { font-size: 0.82rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.04em; }
.donation-detail dd { font-weight: 600; }
.donation-detail .btn { margin-top: var(--sp-6); }

/* ==========================================================================
   World page
   ========================================================================== */
.continent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); margin-bottom: var(--sp-8); }
@media (max-width: 720px) { .continent-grid { grid-template-columns: 1fr; } }
.continent-card {
  background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: var(--radius-m);
  padding: var(--sp-6); text-align: center; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.continent-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.continent-card-icon {
  width: 60px; height: 60px; border-radius: 50%; background: var(--brand-tint);
  display: flex; align-items: center; justify-content: center; margin: 0 auto var(--sp-4);
}
.continent-card-icon svg { width: 26px; height: 26px; color: var(--brand); }
.continent-card p { color: var(--ink); font-weight: 600; margin: 0; }

.region-block { margin-top: var(--sp-8); }
.region-block h2 { padding-bottom: var(--sp-3); border-bottom: 1px solid var(--line-soft); margin-bottom: var(--sp-5); }
.location-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem var(--sp-5); }
@media (max-width: 640px) { .location-grid { grid-template-columns: 1fr; } }
.location-item {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding: 0.9rem 1.1rem; border: 1px solid var(--line-soft); border-radius: var(--radius-s);
  font-weight: 600; font-size: 0.94rem; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.location-item:hover { border-color: var(--brand); background: var(--brand-tint); }
.location-item svg { width: 16px; height: 16px; fill: var(--ink-faint); }

.modal-overlay {
  position: fixed; inset: 0; background: rgba(15,18,22,0.6); backdrop-filter: blur(3px);
  z-index: 200; display: none; align-items: center; justify-content: center; padding: var(--sp-5);
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white); border-radius: var(--radius-l); max-width: 460px; width: 100%;
  overflow: hidden; box-shadow: var(--shadow-l); position: relative;
}
.modal-close {
  position: absolute; top: var(--sp-3); right: var(--sp-3); z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
}
.modal-close svg { width: 14px; height: 14px; }
.modal-img { aspect-ratio: 16/10; background: var(--bg-tint); }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: var(--sp-6); }
.modal-body .kicker { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--brand); font-weight: 700; }
.modal-body h3 { margin-top: 0.3rem; }
.modal-body p { margin-top: var(--sp-3); font-size: 0.92rem; }

/* ==========================================================================
   Long-form text pages (Impressum / Datenschutz)
   ========================================================================== */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { margin-top: var(--sp-8); margin-bottom: var(--sp-4); font-size: 1.4rem; }
.prose h3 { margin-top: var(--sp-6); margin-bottom: var(--sp-3); }
.prose p { margin-top: var(--sp-3); font-size: 0.98rem; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.prose > *:first-child { margin-top: 0; }

/* ==========================================================================
   404
   ========================================================================== */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.error-page .code { font-family: var(--font-display); font-size: clamp(5rem, 14vw, 9rem); color: var(--brand-tint); font-weight: 700; line-height: 1; }
.error-page h1 { margin-top: -1.5rem; }
.error-page p { margin-top: var(--sp-3); }
.error-page .btn { margin-top: var(--sp-6); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #12151a;
  color: rgba(255,255,255,0.72);
  padding-block: var(--sp-8) var(--sp-6);
}
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-7); padding-bottom: var(--sp-7); border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: var(--sp-4); }
.footer-brand img { height: 34px; }
.footer-brand span { font-family: var(--font-display); font-weight: 600; color: var(--white); font-size: 1.05rem; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.5); margin-bottom: var(--sp-4); font-family: var(--font-body); font-weight: 600; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { font-size: 0.92rem; color: rgba(255,255,255,0.75); }
.footer-col a:hover { color: var(--white); }
.footer-social { display: flex; gap: 0.6rem; margin-top: var(--sp-5); }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; }
.footer-social svg { width: 15px; height: 15px; fill: rgba(255,255,255,0.8); }
.footer-social a:hover { background: rgba(255,255,255,0.1); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--sp-5); flex-wrap: wrap; gap: var(--sp-3); font-size: 0.84rem; color: rgba(255,255,255,0.5); }
.footer-bottom .legal-links { display: flex; gap: var(--sp-5); }
.footer-bottom a:hover { color: var(--white); }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

.mt-0 { margin-top: 0 !important; }
