/* ═══════════════════════════════════════════════════════
   Kreativgården Sydals — style.css
   Fonts: Fraunces (display serif) + Inter (sans)
   Theme: light default, dark via [data-theme="dark"]
   localStorage key: kg-theme
═══════════════════════════════════════════════════════ */

/* ── Local Fonts ────────────────────────────────────── */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

/* ── Design Tokens — Light (default) ───────────────── */
:root {
  --warm:        #f7f3ee;
  --warm2:       #f0ebe3;
  --sage:        #e8ede6;
  --sage2:       #d5ddd2;
  --plum:        #5c3476;
  --plum2:       #8b5daa;
  --rose:        #c4748a;
  --honey:       #c47c20;
  --ink:         #2a1f30;
  --muted:       #8a7e8c;
  --border:      rgba(42,31,48,0.1);

  --bg:          var(--warm);
  --text:        var(--ink);
  --text-muted:  var(--muted);
  --accent:      var(--plum);
  --accent2:     var(--plum2);
  --nav-bg:      rgba(247,243,238,0.88);
  --nav-shadow:  rgba(42,31,48,0.07);
  --card-bg:     var(--sage);

  --nav-h:       68px;
  --content-w:   1100px;
  --ease:        cubic-bezier(0.16,1,0.3,1);
  --serif:       'Fraunces', Georgia, serif;
  --sans:        'Inter', system-ui, -apple-system, sans-serif;
}

/* ── Dark Mode ──────────────────────────────────────── */
[data-theme="dark"] {
  --warm:       #16111e;
  --warm2:      #1e1726;
  --sage:       #231a2e;
  --sage2:      #2e2440;
  --plum:       #b888e0;
  --plum2:      #d4a8f0;
  --rose:       #e09ab0;
  --honey:      #e8a040;
  --ink:        #f0e8f8;
  --muted:      #8a7ea0;
  --border:     rgba(240,232,248,0.09);

  --nav-bg:     rgba(22,17,30,0.9);
  --nav-shadow: rgba(0,0,0,0.35);
}

/* ── Base ───────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

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

/* ── Skip link ──────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%; left: 1rem;
  background: var(--accent); color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 6px 6px;
  font-size: 0.85rem; font-weight: 600;
  text-decoration: none; z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── Focus visible ──────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Navigation ─────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--nav-shadow);
}

.nav-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  height: 100%;
  display: flex; align-items: center; gap: 2rem;
  padding: 0 2rem;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.15rem; font-weight: 400; font-style: italic;
  color: var(--accent); text-decoration: none; flex-shrink: 0;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.75; }

.nav-links {
  list-style: none; display: flex; gap: 1.8rem;
}
.nav-links a {
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none;
  padding: 0.25rem 0; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--accent); }

.nav-right {
  display: flex; align-items: center; gap: 0.75rem;
  margin-left: auto;
}

/* Language dropdown */
.lang-switcher { position: relative; }
.lang-btn {
  background: none;
  border: none;
  border-radius: 6px; color: var(--text-muted);
  cursor: pointer; font: 500 0.78rem/1 var(--sans);
  letter-spacing: 0.06em; padding: 0.4rem 0.65rem;
  transition: color 0.2s;
}
.lang-btn:hover, .lang-btn:focus-visible {
  color: var(--accent);
}
.lang-dropdown {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; min-width: 130px; padding: 0.4rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.13); list-style: none;
  z-index: 300;
}
.lang-dropdown li a {
  display: block; padding: 0.5rem 0.75rem;
  font-size: 0.85rem; font-weight: 500;
  border-radius: 6px; text-decoration: none;
  color: var(--text); transition: background 0.15s;
}
.lang-dropdown li a:hover { background: var(--sage); }
.lang-dropdown li a[aria-current="true"] { color: var(--accent); font-weight: 600; }

/* Theme button */
.theme-btn {
  background: none;
  border: none;
  color: var(--text-muted); cursor: pointer;
  font-size: 1rem; line-height: 1;
  padding: 0.35rem 0.5rem;
  transition: color 0.2s;
}
.theme-btn:hover, .theme-btn:focus-visible {
  color: var(--accent);
}

/* Hamburger */
.nav-hamburger {
  display: none; background: none; border: none;
  color: var(--text); cursor: pointer;
  padding: 0.4rem; border-radius: 6px;
  transition: color 0.2s;
}
.nav-hamburger:hover, .nav-hamburger:focus-visible { color: var(--accent); }

/* Mobile nav */
.nav-mobile {
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--bg); border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem; display: flex; flex-direction: column;
  gap: 1rem; z-index: 199;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.nav-mobile a {
  font-size: 1rem; font-weight: 500; color: var(--text);
  text-decoration: none; padding: 0.4rem 0; transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--accent); }
.mob-lang {
  display: flex; gap: 1.5rem;
  padding-top: 0.75rem; border-top: 1px solid var(--border);
}
.mob-lang a {
  font-size: 0.82rem !important;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted) !important;
}
.mob-lang a[aria-current="true"] { color: var(--accent) !important; }

/* ── Hero ───────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 4rem) 2rem 5rem;
  position: relative; overflow: hidden;
}

.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0;
  opacity: 1;
}

.hero::before {
  content: '';
  position: absolute; top: -15%; right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(ellipse at center,
    rgba(92,52,118,0.12) 0%, rgba(196,116,138,0.07) 40%, transparent 70%);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  animation: blob-drift 18s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}
.hero::after {
  content: '';
  position: absolute; bottom: -10%; left: -8%;
  width: 50vw; height: 50vw;
  background: radial-gradient(ellipse at center,
    rgba(139,93,170,0.10) 0%, rgba(232,237,230,0.2) 50%, transparent 70%);
  border-radius: 40% 60% 45% 55% / 60% 40% 55% 45%;
  animation: blob-drift 22s ease-in-out infinite reverse;
  pointer-events: none;
  z-index: -1;
}

@keyframes blob-drift {
  0%,100% { transform: translate(0,0) rotate(0deg) scale(1); }
  33%      { transform: translate(2%,3%) rotate(5deg) scale(1.05); }
  66%      { transform: translate(-2%,-2%) rotate(-3deg) scale(0.97); }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after,
  .platform-band::before,
  .scroll-dot { animation: none !important; }
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 820px;
  background: rgba(247,243,238,0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 2rem 3rem 2.5rem 3.5rem / 3rem 2rem 3.5rem 2.5rem;
  padding: 3rem 3.5rem;
}
[data-theme="dark"] .hero-inner {
  background: rgba(22,17,30,0.65);
}

.hero-kicker {
  display: block; font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent2); margin-bottom: 1.8rem;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 8vw, 6rem);
  font-weight: 300; line-height: 1.05;
  color: var(--text); letter-spacing: -0.02em;
  margin-bottom: 1.8rem;
}
.hero h1 em {
  font-style: italic; color: var(--accent); display: block;
}
.hero-lead {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--text-muted); max-width: 540px; line-height: 1.75;
}
.hero-scroll {
  margin-top: 4rem;
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.78rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
}
.scroll-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--rose);
  animation: pulse 2.5s ease-in-out infinite; flex-shrink: 0;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.55); }
}

/* ── Mission ────────────────────────────────────────── */
.mission {
  padding: 5rem 2rem; display: flex; justify-content: center;
  position: relative;
}
.mission::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(92,52,118,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.mission-inner {
  max-width: 700px; text-align: center; position: relative;
}
.mission-inner p {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3.2vw, 2.3rem);
  font-weight: 300; font-style: italic; line-height: 1.45;
  color: var(--text);
}
.mission-inner em {
  color: var(--accent); font-style: normal; font-weight: 400;
}

/* ── Section helpers ────────────────────────────────── */
.section-label {
  display: block; font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent2); margin-bottom: 0.6rem;
}
.section-h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300; color: var(--text); margin-bottom: 2.5rem;
}

/* ── Language notice (DA pages) ─────────────────────── */
.lang-notice {
  max-width: 660px; margin: 0 auto 3rem; padding: 0.85rem 1.4rem;
  margin-inline: max(1.5rem, calc((100% - 660px) / 2));
  background: var(--sage); border-left: 3px solid var(--accent2);
  border-radius: var(--radius); font-size: 0.88rem; color: var(--text-muted);
  text-align: center; line-height: 1.65;
}
.lang-notice strong { color: var(--text); font-weight: 500; }

/* ── Calendar ───────────────────────────────────────── */
.calendar {
  padding: 5rem 2rem;
  background: linear-gradient(160deg, rgba(92,52,118,0.04) 0%, rgba(196,116,138,0.03) 100%);
  position: relative; overflow: hidden;
}
.calendar::before {
  content: ''; position: absolute; top: -20%; right: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(ellipse at center, rgba(196,116,138,0.07) 0%, transparent 65%);
  border-radius: 60% 40% 50% 50%; pointer-events: none;
}
.calendar-inner { max-width: 760px; margin: 0 auto; position: relative; }

/* Event rows */
.cal-event { display: flex; gap: 2rem; padding: 1.6rem 0; }
.cal-event + .cal-event { border-top: 1px solid var(--border); }
.cal-date { flex-shrink: 0; width: 52px; text-align: center; }
.cal-day {
  font-family: var(--serif);
  font-size: 2rem; font-weight: 300; color: var(--accent); line-height: 1;
}
.cal-month {
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-top: 0.15rem;
}
.cal-dot {
  flex-shrink: 0; display: flex; justify-content: center;
  padding-top: 0.55rem; position: relative;
}
.cal-dot::before {
  content: ''; width: 10px; height: 10px; border-radius: 50%;
  background: var(--dot-c, var(--accent2)); display: block;
  box-shadow: 0 0 0 4px rgba(139,93,170,0.15);
}
.cal-dot::after {
  content: ''; position: absolute;
  top: calc(0.55rem + 14px); width: 1.5px; bottom: -1.6rem;
  background: linear-gradient(to bottom, var(--border), transparent);
}
.cal-event:last-child .cal-dot::after { display: none; }
.cal-tag {
  display: block; font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent2); margin-bottom: 0.25rem;
}
.cal-tag-special { color: var(--honey); }
.cal-title {
  font-family: var(--serif);
  font-size: 1.1rem; font-weight: 400; color: var(--text); margin-bottom: 0.2rem;
}
.cal-meta { font-size: 0.85rem; color: var(--text-muted); }
.cal-empty { color: var(--text-muted); font-style: italic; }

/* ── Platforms intro ────────────────────────────────── */
.platforms-intro {
  padding: 5rem 2rem 2rem;
  max-width: var(--content-w); margin: 0 auto;
}

/* ── Platform bands ─────────────────────────────────── */
.platform-band {
  padding: 6rem 2rem; position: relative; overflow: hidden;
}
.platform-band::before {
  content: ''; position: absolute;
  width: 50vw; height: 50vw;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 55%;
  background: var(--blob-bg, rgba(139,93,170,0.06));
  top: -15%; right: -10%; pointer-events: none;
  animation: blob-drift 20s ease-in-out infinite;
}
.platform-band.reverse::before { right: auto; left: -10%; animation-direction: reverse; }

.band-mauve { background: linear-gradient(160deg, rgba(236,223,245,0.45) 0%, var(--bg) 60%); }
.band-rose  { background: linear-gradient(160deg, rgba(245,226,232,0.45) 0%, var(--bg) 60%); }
.band-sage  { background: linear-gradient(160deg, rgba(224,238,219,0.45) 0%, var(--bg) 60%); }
[data-theme="dark"] .band-mauve { background: linear-gradient(160deg, rgba(60,30,90,0.35) 0%, var(--bg) 60%); }
[data-theme="dark"] .band-rose  { background: linear-gradient(160deg, rgba(90,30,50,0.35) 0%, var(--bg) 60%); }
[data-theme="dark"] .band-sage  { background: linear-gradient(160deg, rgba(30,60,30,0.35) 0%, var(--bg) 60%); }

.platform-band-inner {
  max-width: var(--content-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.platform-band.reverse .platform-band-inner { direction: rtl; }
.platform-band.reverse .platform-band-inner > * { direction: ltr; }

.platform-num {
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 300; font-style: italic; line-height: 1;
  color: rgba(92,52,118,0.1); margin-bottom: -0.7rem;
  display: block; user-select: none;
}
[data-theme="dark"] .platform-num { color: rgba(184,136,224,0.12); }

.platform-kicker {
  display: block; font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent2); margin-bottom: 0.7rem;
}
.platform-text h3 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 400; color: var(--text);
  letter-spacing: -0.02em; margin-bottom: 1.3rem; line-height: 1.12;
}
.platform-text p {
  font-size: 1.02rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 1.1rem;
}
.platform-facts {
  list-style: none; margin: 1.8rem 0 2.2rem;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.platform-facts li {
  font-size: 0.9rem; font-weight: 500; color: var(--text);
  padding-left: 1.3rem; position: relative;
}
.platform-facts li::before {
  content: '·'; position: absolute; left: 0;
  color: var(--rose); font-size: 1.2rem; line-height: 1; top: 0.08rem;
}
.platform-link {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.9rem; font-weight: 500; color: var(--accent);
  text-decoration: none; letter-spacing: 0.02em; transition: gap 0.2s;
}
.platform-link:hover, .platform-link:focus-visible { gap: 0.9rem; }

/* Visual panel */
.platform-visual {
  border-radius: 2.5rem 3.5rem 3rem 4rem / 3.5rem 2.5rem 4rem 3rem;
  overflow: hidden; aspect-ratio: 4/3; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.13);
}
.platform-visual img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block; transition: transform 0.6s var(--ease);
}
.platform-visual:hover img,
.platform-visual:focus-within img { transform: scale(1.04); }

/* ── Contact ────────────────────────────────────────── */
.contact {
  padding: 5rem 2rem 7rem;
  max-width: 920px; margin: 0 auto;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.2rem; margin-top: 2.5rem;
}
.citem {
  padding: 2rem; background: var(--sage);
  border-radius: 1.5rem 2rem 1.5rem 2.5rem / 2rem 1.5rem 2.5rem 1.5rem;
  transition: transform 0.3s var(--ease);
}
.citem:hover { transform: translateY(-3px); }
.citem-label {
  display: block; font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent2); margin-bottom: 0.5rem;
}
.citem-value { font-size: 0.95rem; color: var(--text); line-height: 1.65; }
.citem-value a { color: var(--accent); text-decoration: none; }
.citem-value a:hover { text-decoration: underline; }

/* ── Share bar ──────────────────────────────────────── */
.share-bar {
  padding: 2.5rem 2rem; display: flex;
  justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 0.7rem;
}
.share-label {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
  width: 100%; text-align: center; margin-bottom: 0.3rem;
}
.share-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 1.1rem; border-radius: 100px;
  font: 500 0.82rem var(--sans); text-decoration: none;
  cursor: pointer; border: 1px solid var(--border);
  background: var(--sage); color: var(--text);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.share-btn:hover { background: var(--sage2); border-color: var(--accent2); transform: translateY(-1px); }
.share-btn svg { flex-shrink: 0; }

/* ── Footer ─────────────────────────────────────────── */
footer {
  padding: 3rem 2rem; text-align: center;
  border-top: 1px solid var(--border);
  background: radial-gradient(ellipse at 50% 0%, rgba(92,52,118,0.05) 0%, transparent 60%);
}
.footer-logo {
  display: block;
  font-family: var(--serif); font-size: 1.3rem;
  font-weight: 300; font-style: italic;
  color: var(--accent); margin-bottom: 1rem;
}
.footer-lang {
  display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1.5rem;
}
.footer-lang a {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted); text-decoration: none;
  transition: color 0.2s;
}
.footer-lang a:hover, .footer-lang a[aria-current="true"] { color: var(--accent); }
.footer-copy { font-size: 0.8rem; color: var(--text-muted); line-height: 1.9; }
.footer-copy a { color: var(--accent2); text-decoration: none; }
.footer-copy a:hover { text-decoration: underline; }
.footer-legal { margin-top: 0.5rem; }
.footer-legal button {
  background: none; border: none; font: inherit; font-size: 0.78rem;
  color: var(--text-muted); cursor: pointer;
  text-decoration: underline dotted; transition: color 0.2s; padding: 0 0.3rem;
}
.footer-legal button:hover { color: var(--accent); }
.footer-made { font-size: 0.72rem; color: var(--text-muted); margin-top: 1rem; opacity: 0.6; }
.footer-made a { color: inherit; text-decoration: none; }
.footer-made a:hover { text-decoration: underline; }

/* ── Calendar page ──────────────────────────────────── */
.cal-page-hero {
  min-height: 28vh;
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 3rem) 2rem 3rem;
  background: var(--warm2);
  border-bottom: 1px solid var(--border);
}
.cal-page-inner { max-width: var(--content-w); width: 100%; margin: 0 auto; }
.cal-page-inner h1 {
  font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 300; color: var(--text); margin: 0.6rem 0 0.8rem;
}
.cal-page-lead { font-size: 1rem; color: var(--text-muted); }

.cal-page-body { padding: 3rem 2rem 5rem; }
.cal-page-wrap { max-width: var(--content-w); margin: 0 auto; }

.cal-legend {
  display: flex; gap: 1.5rem; margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.cal-legend-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: var(--text-muted);
}
.cal-legend-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.cal-legend-dot-basteln { background: var(--plum2); }
.cal-legend-dot-frauen  { background: var(--rose); }
.cal-legend-dot-special { background: var(--honey); }

.cal-all-link {
  display: inline-block; margin-top: 1.5rem;
  font-size: 0.88rem; font-weight: 500;
  color: var(--accent); text-decoration: none;
}
.cal-all-link:hover { text-decoration: underline; }

/* ── Month grid view ─────────────────────────────────── */
.cmv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.cmv-month { }
.cmv-month-name {
  font-family: var(--serif); font-size: 0.95rem; font-style: italic;
  font-weight: 400; color: var(--accent2);
  margin-bottom: 0.6rem; padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.cmv-days-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cmv-wd {
  font-size: 0.65rem; font-weight: 600; text-align: center;
  color: var(--text-muted); padding: 0.3rem 0; text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cmv-day {
  font-size: 0.78rem; text-align: center;
  padding: 0.28rem 0; border-radius: 4px;
  color: var(--text); line-height: 1.4;
}
.cmv-empty { }
.cmv-today {
  background: var(--sage2); font-weight: 600; color: var(--accent);
}
.cmv-basteln {
  background: rgba(139,93,170,0.18); color: var(--plum);
  font-weight: 500;
}
[data-theme="dark"] .cmv-basteln {
  background: rgba(184,136,224,0.2); color: var(--plum2);
}
.cmv-frauen {
  background: rgba(196,116,138,0.2); color: var(--rose);
  font-weight: 500;
}
[data-theme="dark"] .cmv-frauen {
  background: rgba(196,116,138,0.25);
}
.cmv-special {
  background: rgba(196,124,32,0.16); color: var(--honey);
  font-weight: 500;
}
[data-theme="dark"] .cmv-special {
  background: rgba(232,160,64,0.2);
}
.cmv-day[data-tip] {
  position: relative; cursor: default;
}
.cmv-day[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--warm);
  font-size: 0.7rem; font-family: var(--sans);
  font-weight: 500; line-height: 1.3;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  pointer-events: none;
  opacity: 0; visibility: hidden;
  transition: opacity 0.15s, visibility 0.15s;
  z-index: 20;
}
.cmv-day[data-tip]:hover::after,
.cmv-day[data-tip]:focus::after {
  opacity: 1; visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .cmv-day[data-tip]::after { transition: none; }
}
@media (max-width: 820px) {
  .cmv-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (min-width: 481px) and (max-width: 820px) {
  .cmv-grid { grid-template-columns: repeat(2, 1fr); }
}

.cal-month-group { margin-bottom: 2.5rem; }
.cal-month-heading {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 400;
  font-style: italic; color: var(--accent2);
  margin-bottom: 0.75rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.cal-month-events { display: flex; flex-direction: column; gap: 0; }

.cal-info-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  margin-top: 3.5rem; padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.cal-info-card {
  background: var(--sage); border-radius: var(--radius);
  padding: 1.8rem 2rem;
}
.cal-info-card h2 {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 300;
  color: var(--text); margin-bottom: 0.8rem;
}
.cal-info-card p {
  font-size: 0.88rem; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 0.6rem;
}
.cal-info-card a {
  display: inline-block; margin-top: 0.6rem;
  font-size: 0.85rem; font-weight: 500;
  color: var(--accent); text-decoration: none;
}
.cal-info-card a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .cal-info-cards { grid-template-columns: 1fr; }
  .cal-page-hero { padding: calc(var(--nav-h) + 2rem) 1.5rem 2rem; }
  .cal-page-body { padding: 2rem 1.5rem 4rem; }
}

/* ── Modals ─────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.55);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 1rem;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.modal-box {
  background: var(--bg);
  border-radius: 1.5rem 1.5rem 1rem 1rem;
  max-width: 640px; width: 100%;
  max-height: 85dvh; overflow-y: auto;
  padding: 2.5rem; position: relative;
}
.modal-box h2 {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 400;
  margin-bottom: 1.5rem; color: var(--text);
}
.modal-box p, .modal-box address {
  font-size: 0.9rem; line-height: 1.75;
  color: var(--text-muted); margin-bottom: 0.9rem; font-style: normal;
}
.modal-box h3 {
  font-size: 1rem; font-weight: 600; color: var(--text); margin: 1.5rem 0 0.4rem;
}
.modal-box a { color: var(--accent); }
.modal-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: var(--sage); border: none; border-radius: 50%;
  width: 36px; height: 36px; cursor: pointer;
  font-size: 1.1rem; color: var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover { background: var(--sage2); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .platform-band-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .platform-band.reverse .platform-band-inner { direction: ltr; }
  .platform-visual { aspect-ratio: 16/7; }
  .contact-grid { grid-template-columns: 1fr; }
  .platform-band { padding: 4rem 2rem; }
}

@media (max-width: 480px) {
  :root { --nav-h: 60px; }
  .hero { padding: calc(var(--nav-h) + 2.5rem) 1.5rem 3rem; }
  .hero-inner { padding: 1.75rem 1.5rem; }
  .hero-kicker { letter-spacing: 0.09em; margin-bottom: 1.2rem; }
  .hero-scroll { margin-top: 2.5rem; }
  .mission, .calendar, .contact, .share-bar { padding-left: 1.5rem; padding-right: 1.5rem; }
  .platforms-intro { padding: 3.5rem 1.5rem 1.5rem; }
  .nav-inner { padding: 0 1.25rem; }
  .modal-box { padding: 1.75rem 1.5rem; border-radius: 1.2rem 1.2rem 0.5rem 0.5rem; }
  .ev-img-grid { grid-template-columns: 1fr; }
}

/* ── Event detail page ──────────────────────────────── */
.ev-cover {
  width: 100%; aspect-ratio: 16/7; overflow: hidden;
  margin-top: var(--nav-h);
}
.ev-cover img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block;
}
.ev-wrap {
  max-width: 740px; margin: 0 auto; padding: 3rem 2rem 5rem;
}
.ev-kicker {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.75rem;
}
.ev-wrap h1 {
  font-family: var(--serif); font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700; line-height: 1.15; margin: 0 0 2rem;
  color: var(--text);
}
.ev-info {
  background: var(--sage); border-radius: var(--radius);
  padding: 1.5rem 1.75rem; margin-bottom: 2.5rem;
  display: grid; gap: 0.6rem;
}
.ev-info-row {
  display: flex; gap: 0.75rem; align-items: baseline;
  font-size: 0.95rem;
}
.ev-info-label {
  font-weight: 600; min-width: 6rem; color: var(--text-muted);
  font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.ev-info-val { color: var(--text); }
.ev-content { font-size: 1.05rem; line-height: 1.75; color: var(--text); }
.ev-content p { margin: 0 0 1.25rem; }
.ev-content figure { margin: 2rem 0; }
.ev-content figure img {
  width: 100%; border-radius: var(--radius); display: block;
}
.ev-img-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0;
}
.ev-img-grid figure { margin: 0; }
.ev-img-grid figure img {
  width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius);
}
.ev-actions {
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center;
}
.btn-join {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent); color: #fff;
  padding: 0.85rem 2rem; border-radius: 8px;
  font-weight: 600; text-decoration: none; font-size: 1rem;
  border: none; cursor: pointer; transition: opacity 0.2s;
}
.btn-join:hover { opacity: 0.85; color: #fff; }
.btn-share {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: none; color: var(--text-muted);
  padding: 0.85rem 1.25rem; border-radius: 8px;
  font-weight: 500; font-size: 0.92rem;
  border: 1px solid var(--border); cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-share:hover, .btn-share.copied { border-color: var(--accent); color: var(--accent); }

/* ── Events archive page ────────────────────────────── */
.events-body { padding: 3rem 2rem 5rem; }
.events-wrap { max-width: 900px; margin: 0 auto; }
.events-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
}
.ev-card {
  background: var(--sage); border-radius: 1.5rem; overflow: hidden;
  display: flex; flex-direction: column;
}
.ev-card-img-wrap {
  display: block; aspect-ratio: 16/9; overflow: hidden;
}
.ev-card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.4s var(--ease);
}
.ev-card-img-wrap:hover img,
.ev-card-img-wrap:focus img { transform: scale(1.04); }
.ev-card-body { padding: 1.75rem 2rem 2rem; display: flex; flex-direction: column; flex: 1; }
.ev-card-kicker {
  display: block; font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent2); margin-bottom: 0.5rem;
}
.ev-card-body h2 {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 400;
  color: var(--text); margin-bottom: 0.75rem; line-height: 1.2;
}
.ev-card-body h2 a { color: inherit; text-decoration: none; }
.ev-card-body h2 a:hover { color: var(--accent); }
.ev-card-body p {
  font-size: 0.9rem; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 1.25rem; flex: 1;
}
.ev-card-cta {
  display: inline-flex; align-items: center;
  font-size: 0.88rem; font-weight: 500;
  color: var(--accent); text-decoration: none;
}
.ev-card-cta:hover { text-decoration: underline; }
.events-cal-link {
  margin-top: 2.5rem; font-size: 0.88rem; color: var(--text-muted);
}
.events-cal-link a { color: var(--accent); text-decoration: none; font-weight: 500; }
.events-cal-link a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .events-grid { grid-template-columns: 1fr; }
  .events-body { padding: 2rem 1.5rem 4rem; }
}

/* ── Scroll-to-top button ────────────────────────────────────────────────── */
.scroll-top-btn {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 400;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  pointer-events: none;
}
.scroll-top-btn.visible {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.scroll-top-btn:hover { opacity: 0.85; }

/* ── Year picker + full-year expand ──────────────────────────────────────── */
.cal-year-section {
  text-align: center;
  margin-top: 2rem; padding: 0.5rem 0 0;
}
.cal-year-picker {
  display: flex; gap: 0.5rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 1.5rem;
}
.cal-year-btn {
  background: none; border: 1.5px solid var(--border);
  color: var(--text-muted); border-radius: 20px;
  padding: 0.3rem 1.1rem; font-size: 0.88rem; font-family: inherit;
  cursor: pointer; transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.cal-year-btn:hover, .cal-year-btn.active {
  border-color: var(--accent); color: var(--accent);
}
.cal-expand-arrow {
  background: none; border: none; cursor: pointer;
  color: var(--accent2); padding: 0.25rem 1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.5rem; transition: color 0.2s;
}
.cal-expand-arrow:hover, .cal-expand-arrow:focus-visible { color: var(--accent); }
.cal-expand-arrow svg { display: block; transition: transform 0.35s var(--ease); }
.cal-expand-arrow[aria-expanded="true"] svg { transform: rotate(180deg); }
/* ── Full year 12-month grid ─────────────────────────────────────────────── */
.cmv-grid-full {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2rem; margin-bottom: 3rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--border);
}
@media (max-width: 900px) { .cmv-grid-full { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .cmv-grid-full { grid-template-columns: repeat(2, 1fr); } }
