/* ============================================================
   Kiosk am Bismarckplatz — Design System
   Leitfarbe: Heidelberg-Marketing-Magenta #a50050
   Tag-Modus: warmes Creme + Magenta + Edelstahl
   Nacht-Modus: tiefes Nachtblau + Neon-Pink/Cyan
   ============================================================ */

:root {
  --magenta: #a50050;
  --pink: #e5007d;
  --steel: #8a8f98;
  --tram-orange: #f39200;

  --ease-out: cubic-bezier(.22, .8, .3, 1);
  --radius: 22px;
  --radius-sm: 14px;
}

html[data-theme="day"] {
  --bg: #faf5f0;
  --bg-tint: #f5e9ee;
  --surface: #ffffff;
  --ink: #33222c;
  --ink-soft: #6d5a64;
  --accent: var(--magenta);
  --accent-2: var(--pink);
  --accent-ink: #ffffff;
  --line: rgba(165, 0, 80, .14);
  --shadow: 0 18px 40px -18px rgba(165, 0, 80, .25);
  --glow: none;
  --hero-scrim: linear-gradient(180deg, rgba(30,10,22,.28) 0%, rgba(30,10,22,.12) 40%, rgba(30,10,22,.62) 100%);
  --header-bg: rgba(250, 245, 240, .82);
}

html[data-theme="night"] {
  --bg: #16111f;
  --bg-tint: #1d1529;
  --surface: #241a31;
  --ink: #f5edf3;
  --ink-soft: #b5a5b3;
  --accent: #ff4fa3;
  --accent-2: #ff77b9;
  --accent-ink: #23101c;
  --line: rgba(255, 79, 163, .22);
  --shadow: 0 18px 44px -16px rgba(0, 0, 0, .55);
  --glow: 0 0 22px rgba(255, 79, 163, .45);
  --hero-scrim: linear-gradient(180deg, rgba(10,6,16,.42) 0%, rgba(10,6,16,.18) 40%, rgba(10,6,16,.72) 100%);
  --header-bg: rgba(22, 17, 31, .82);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  transition: background .6s ease, color .6s ease;
  overflow-x: hidden;
}

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

h1, h2, h3 { line-height: 1.12; font-weight: 700; letter-spacing: -.015em; }

h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin-bottom: .9rem; }

.container { width: min(1120px, 92vw); margin-inline: auto; }

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section--tint { background: var(--bg-tint); transition: background .6s ease; }

.kicker {
  display: inline-block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9rem;
}
.kicker::before { content: "♥ "; }
.kicker--light { color: #ffb7d5; }

.section-lead {
  max-width: 46rem;
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin-bottom: 2.6rem;
}
.section-lead--light { color: rgba(255, 236, 245, .82); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .25s var(--ease-out), box-shadow .25s, background .25s, color .25s;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -16px rgba(165, 0, 80, .45), var(--glow); }

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, .75);
  color: #fff;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, .1);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .22); transform: translateY(-2px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .6s ease;
}

.header-inner {
  width: min(1240px, 94vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .65rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand-heart {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease-out);
}
.brand:hover .brand-heart { transform: scale(1.08) rotate(-6deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; }
.brand-text small { font-size: .7rem; color: var(--ink-soft); letter-spacing: .12em; text-transform: uppercase; }

.main-nav { display: flex; gap: 1.3rem; }
.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: .95rem;
  transition: color .2s;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: .8rem; }

.open-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35rem .8rem;
  white-space: nowrap;
}
.open-badge.is-open { color: #0d7a43; border-color: rgba(13, 122, 67, .3); }
html[data-theme="night"] .open-badge.is-open { color: #5ce6a1; border-color: rgba(92, 230, 161, .35); }
.open-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(13, 122, 67, .35); }
  50% { box-shadow: 0 0 0 5px rgba(13, 122, 67, 0); }
}

.theme-toggle {
  width: 42px; height: 42px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .3s var(--ease-out), background .6s;
}
.theme-toggle:hover { transform: rotate(15deg) scale(1.06); }
.theme-toggle .icon-sun, .theme-toggle .icon-moon { grid-area: 1 / 1; transition: opacity .3s, transform .5s var(--ease-out); }
html[data-theme="day"] .icon-sun { opacity: 0; transform: rotate(90deg) scale(.5); }
html[data-theme="day"] .icon-moon { opacity: 1; }
html[data-theme="night"] .icon-sun { opacity: 1; transform: none; }
html[data-theme="night"] .icon-moon { opacity: 0; transform: rotate(-90deg) scale(.5); }
html[data-theme="night"] .theme-toggle { box-shadow: var(--glow); }

.nav-burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; }
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenburns 26s ease-in-out infinite alternate;
  transition: opacity 1.2s ease;
}
@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.09) translate(-1.2%, -1%); }
}
.hero-img--night { opacity: 0; }
html[data-theme="night"] .hero-img--night { opacity: 1; }
.hero-scrim { position: absolute; inset: 0; background: var(--hero-scrim); transition: background .6s; }

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 8rem 0 7rem;
}

.hero-eyebrow {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #ffd3e6;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.hero-title {
  font-size: clamp(2.5rem, 6.4vw, 4.8rem);
  font-weight: 800;
  text-shadow: 0 4px 26px rgba(0, 0, 0, .45);
  margin-bottom: 1.2rem;
}
.hero-title .line { display: block; }
.hero-title .script {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 1.18em;
  color: #ff9dc9;
  transform: rotate(-1.5deg);
}
html[data-theme="night"] .hero-title .script {
  color: #ff77b9;
  text-shadow: 0 0 18px rgba(255, 79, 163, .85), 0 0 46px rgba(255, 79, 163, .5);
  animation: neon-flicker 7s infinite;
}
@keyframes neon-flicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: .55; }
  94% { opacity: 1; }
  96% { opacity: .75; }
  97% { opacity: 1; }
}

.hero-sub {
  max-width: 40rem;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, .94);
  text-shadow: 0 2px 14px rgba(0,0,0,.5);
  margin-bottom: 1.8rem;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, .85);
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  background: var(--accent);
  color: #fff;
  overflow: hidden;
  padding: .78rem 0;
  transition: background .6s;
}
html[data-theme="night"] .ticker { box-shadow: 0 0 34px rgba(255, 79, 163, .35); }

.ticker-track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: ticker-scroll 36s linear infinite;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .02em;
  white-space: nowrap;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track i { font-style: normal; opacity: .55; font-size: .8em; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   PILLARS
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.6rem;
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease-out), box-shadow .35s, background .6s;
}
.pillar:hover { transform: translateY(-6px); }

.pillar--accent {
  background: linear-gradient(150deg, var(--magenta), var(--pink));
  color: #fff;
  border: none;
}
html[data-theme="night"] .pillar--accent { box-shadow: var(--glow), var(--shadow); }

.pillar-icon {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 18px;
  background: var(--bg-tint);
  color: var(--accent);
  margin-bottom: 1.2rem;
  transition: background .6s;
}
.pillar--accent .pillar-icon { background: rgba(255, 255, 255, .18); color: #fff; }

.pillar h3 { font-size: 1.22rem; margin-bottom: .55rem; }
.pillar p { color: var(--ink-soft); font-size: .98rem; }
.pillar--accent p { color: rgba(255, 242, 250, .97); }

/* ============================================================
   TRAM DIVIDER
   ============================================================ */
.tram-divider {
  position: relative;
  height: 74px;
  overflow: hidden;
  background: var(--bg);
  transition: background .6s;
}
.tram-line {
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--steel) 0 26px, transparent 26px 40px);
  opacity: .45;
}
.tram {
  position: absolute;
  bottom: 4px;
  left: -270px;
}
.tram-divider.play .tram { animation: tram-ride 7s linear forwards; }
@keyframes tram-ride {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(100vw + 540px)); }
}

/* ============================================================
   BENTO (Lokales)
   ============================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.tile {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease-out), box-shadow .35s, background .6s;
  display: flex;
  flex-direction: column;
}
.tile:hover { transform: translateY(-6px) scale(1.005); }

.tile--wide { grid-column: span 2; }

.tile--img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.tile--wide img { height: 380px; }
.img-vitrine { object-position: center 62%; }
.tile--img:hover img { transform: scale(1.05); }
.tile--img.img-missing img { display: none; }

.tile-body { padding: 1.35rem 1.5rem 1.5rem; }
.tile h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.tile p { color: var(--ink-soft); font-size: .95rem; }

.tile--color { padding: 1.8rem 1.5rem; justify-content: flex-start; }
.tile-emoji { font-size: 2rem; display: block; margin-bottom: .8rem; }

.tile--accent {
  background: linear-gradient(150deg, var(--magenta), var(--pink));
  border: none;
  color: #fff;
}
.tile--accent p { color: rgba(255, 235, 245, .92); }
html[data-theme="night"] .tile--accent { box-shadow: var(--glow), var(--shadow); }

/* Breite Akzent-Kachel (Fr/Sa-Nächte): Typo muss die große Fläche tragen */
.tile--accent.tile--wide {
  justify-content: center;
  padding: 2.6rem 2.4rem;
}
.tile--accent.tile--wide .tile-emoji { font-size: 2.8rem; margin-bottom: 1rem; }
.tile--accent.tile--wide h3 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  letter-spacing: -.01em;
  margin-bottom: .6rem;
}
.tile--accent.tile--wide p {
  font-size: 1.1rem;
  max-width: 34rem;
  line-height: 1.55;
}

/* ============================================================
   HEIDELBERGCARD
   ============================================================ */
.section--card {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(229, 0, 125, .5), transparent 60%),
    linear-gradient(160deg, #6d0035, #a50050 55%, #83003f);
  color: #fff;
}
html[data-theme="night"] .section--card {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(255, 79, 163, .35), transparent 60%),
    linear-gradient(160deg, #2a0f22, #5c0330 55%, #38071f);
}
.section--card h2 { color: #fff; }

.card-benefits {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem 2rem;
  max-width: 52rem;
  margin-bottom: 3rem;
}
.card-benefits li {
  position: relative;
  padding-left: 1.7rem;
  color: rgba(255, 240, 248, .95);
  font-size: 1rem;
}
.card-benefits li::before {
  content: "♥";
  position: absolute;
  left: 0;
  color: #ff9dc9;
}

.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  perspective: 1200px;
}

.hd-card {
  position: relative;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  transition: transform .2s ease-out, box-shadow .3s, background .3s;
  will-change: transform;
}
.hd-card:hover { background: rgba(255, 255, 255, .16); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); }

.hd-card--featured {
  background: #fff;
  color: var(--magenta);
  border: none;
  box-shadow: 0 28px 60px -18px rgba(0, 0, 0, .5);
}
.hd-card--featured:hover { background: #fff; }
.hd-card--featured .hd-card-note, .hd-card--featured .hd-card-desc { color: #9a5a78; }

.hd-card-flag {
  position: absolute;
  top: -12px; right: 18px;
  background: var(--tram-orange);
  color: #3a2400;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .28rem .7rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
}

.hd-card-days {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .85;
}
.hd-card-price {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: .4rem 0 .1rem;
}
.hd-card-note { font-size: .85rem; opacity: .8; margin-bottom: .9rem; }
.hd-card-desc { font-size: .95rem; opacity: .92; }

.card-footnote { margin-top: 2.2rem; color: rgba(255, 224, 240, .85); font-size: .95rem; }

/* ============================================================
   SPLITS (Souvenirs / Info)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }

.check-list { list-style: none; margin-top: 1.4rem; display: grid; gap: .55rem; }
.check-list li { position: relative; padding-left: 1.8rem; color: var(--ink-soft); }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--accent);
}

.split .split-text > p { color: var(--ink-soft); }

/* ---------- Presse-Sektion ---------- */
.split--press { grid-template-columns: .85fr 1.15fr; }

.press-clip {
  background: #fff;
  padding: 14px 14px 10px;
  border-radius: 6px;
  box-shadow: 0 24px 55px -20px rgba(40, 10, 28, .45);
  transform: rotate(-1.8deg);
  transition: transform .4s var(--ease-out);
  max-width: 420px;
  justify-self: center;
  position: relative;
}
.press-clip:hover { transform: rotate(-.4deg) scale(1.015); }
.press-clip::before {
  content: "";
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%) rotate(2deg);
  width: 110px; height: 28px;
  background: rgba(255, 214, 79, .75);
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.press-clip img { border-radius: 3px; }
.press-clip figcaption {
  padding: .55rem .2rem .2rem;
  font-size: .78rem;
  color: #8a7382;
  text-align: center;
  letter-spacing: .04em;
}
html[data-theme="night"] .press-clip { box-shadow: 0 24px 55px -18px rgba(0,0,0,.7), var(--glow); }

.press-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.8rem;
}
.press-stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
  transition: background .6s;
}
.press-stat strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}
.press-stat span { font-size: .82rem; color: var(--ink-soft); line-height: 1.35; display: block; margin-top: .15rem; }

/* ---------- Info-Sektion ---------- */
.split--info { align-items: start; }

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1.8rem;
}
.info-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow);
  transition: background .6s;
}
.info-box h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: .5rem; }
.info-strong { font-weight: 600; }
.info-muted { color: var(--ink-soft); font-size: .88rem; margin-top: .3rem; }

/* Mini-Map */
.split-media--map { background: var(--surface); }
.mini-map { width: 100%; height: auto; display: block; }
.map-bg { fill: var(--bg-tint); transition: fill .6s; }
.map-road { stroke: var(--steel); stroke-width: 14; opacity: .3; fill: none; }
.map-road--minor { stroke-width: 8; opacity: .2; }
.map-rail { stroke: var(--steel); stroke-width: 2; stroke-dasharray: 10 7; opacity: .6; fill: none; }
.map-park { fill: #7fb069; opacity: .55; }
.map-tree { fill: #4f7942; opacity: .75; }
.map-label { font-family: "Outfit", sans-serif; font-size: 15px; font-weight: 600; fill: var(--ink-soft); }
.map-label--small { font-size: 12px; font-weight: 500; }
.map-pin { fill: var(--accent); }
.map-pulse {
  fill: var(--accent);
  opacity: .25;
  transform-origin: 200px 120px;
  animation: map-pulse 2.4s ease-out infinite;
}
@keyframes map-pulse {
  0% { transform: scale(.4); opacity: .45; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* CTA-Strip */
.cta-strip {
  margin-top: clamp(3rem, 6vw, 5rem);
  background: linear-gradient(140deg, var(--magenta), var(--pink));
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  box-shadow: var(--shadow);
}
html[data-theme="night"] .cta-strip { box-shadow: var(--glow), var(--shadow); }
.cta-strip p { font-size: 1.15rem; }
.cta-strip .btn-primary { background: #fff; color: var(--magenta); }

/* ============================================================
   GALERIE
   ============================================================ */
.gallery {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2.4rem max(calc((100vw - 1120px) / 2), 4vw) 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.gallery figure {
  flex: 0 0 min(560px, 82vw);
  scroll-snap-align: center;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  background: var(--surface);
}
.gallery img {
  width: 100%;
  height: clamp(260px, 38vw, 400px);
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.2rem 1.3rem .95rem;
  background: linear-gradient(transparent, rgba(20, 6, 15, .78));
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #241a26;
  color: #cdbcc8;
  padding: 3.6rem 0 1.6rem;
}
html[data-theme="night"] .site-footer { background: #120d1a; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.4rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-title { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.footer-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: #93808f; margin-bottom: .8rem; }

.partner-chip {
  display: inline-block;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.2rem .9rem;
}
.partner-chip img { width: 200px; height: auto; }

.footer-links { display: flex; flex-direction: column; gap: .45rem; align-items: flex-start; }
.footer-links a { color: #e6d5e2; text-decoration: none; font-size: .95rem; transition: color .2s; }
.footer-links a:hover { color: var(--accent-2); }

.footer-meta { padding-top: 1.4rem; font-size: .85rem; color: #93808f; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Herz-Partikel (Logo-Klick) */
.heart-particle {
  position: fixed;
  z-index: 99;
  pointer-events: none;
  font-size: 1.1rem;
  animation: heart-fly 1.15s ease-out forwards;
}
@keyframes heart-fly {
  from { transform: translate(0, 0) scale(.6) rotate(0deg); opacity: 1; }
  to   { transform: translate(var(--dx), var(--dy)) scale(1.3) rotate(var(--rot)); opacity: 0; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .pillars, .cards-row { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--wide { grid-column: span 2; }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .open-badge { display: none; }
}

@media (max-width: 700px) {
  .main-nav {
    position: fixed;
    top: 59px;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--header-bg);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: .6rem 4vw 1rem;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .7rem 0; font-size: 1.05rem; }
  .nav-burger { display: flex; }

  .pillars, .cards-row, .bento, .footer-grid, .info-grid, .card-benefits, .press-stats { grid-template-columns: 1fr; }
  .tile--wide { grid-column: span 1; }
  .tile--img img, .tile--wide img { height: 240px; }
  .split--press { grid-template-columns: 1fr; }
  .hero-content { padding-bottom: 5.5rem; }
  .hd-card--featured { order: -1; }
}

/* ?anim=off — alles sofort sichtbar (Screenshots, Tests) */
html.no-anim { scroll-behavior: auto; }
html.no-anim .hero { min-height: 720px; }
html.no-anim .reveal { opacity: 1; transform: none; transition: none; }
html.no-anim .hero-img, html.no-anim .ticker-track, html.no-anim .map-pulse,
html.no-anim .open-dot, html.no-anim .scroll-hint { animation: none; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img { animation: none; }
  .ticker-track { animation-duration: 90s; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tram-divider.play .tram { animation-duration: 0s; animation-fill-mode: forwards; }
  .map-pulse, .open-dot, .scroll-hint { animation: none; }
}
