/* ============================================================
   Café-Haus Wagner · Calau — Stylesheet
   Warme Kleinstadt-Konditorei trifft modernes Editorial.
   ============================================================ */

:root {
  /* Farben */
  --creme: #F6EFE2;
  --creme-2: #FBF7EF;
  --sage: #8FA889;
  --sage-dark: #5E7059;
  --terracotta: #D2742C;
  --terracotta-dark: #B85F1E;
  --raspberry: #BE3B52;
  --raspberry-dark: #9E2C41;
  --ink: #2A2520;
  --ink-soft: #5C544A;
  --night: #16263F;
  --night-2: #1E3552;

  /* Schrift */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;

  /* Maße */
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 22px;
  --radius-lg: 30px;

  /* Schatten (warm) */
  --shadow-soft: 0 18px 50px -24px rgba(95, 60, 30, 0.45);
  --shadow-card: 0 14px 40px -22px rgba(95, 60, 30, 0.40);
  --shadow-lift: 0 30px 70px -30px rgba(60, 35, 12, 0.55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--creme);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* feine warme Körnung über allem */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a { color: inherit; }

::selection { background: var(--terracotta); color: #fff; }

/* ---------- Layout-Helfer ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; }

.section-pad { padding-block: clamp(64px, 9vw, 130px); }

/* ---------- Typografie ---------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  margin: 0 0 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow.no-rule::before { display: none; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  font-variation-settings: "SOFT" 30, "WONK" 0;
}
h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}

.lead {
  font-size: clamp(1.06rem, 1.7vw, 1.28rem);
  color: var(--ink-soft);
  max-width: 46ch;
  text-wrap: pretty;
  margin: 1.3rem 0 0;
}

.serif-aside {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  line-height: 1.4;
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--terracotta);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.005em;
  padding: 0.95em 1.5em;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  background: var(--btn-bg);
  color: var(--btn-fg);
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s, background 0.2s;
  box-shadow: 0 10px 24px -12px rgba(184, 95, 30, 0.7);
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(184, 95, 30, 0.75); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(180deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.6px rgba(42, 37, 32, 0.22);
}
.btn--ghost:hover {
  background: rgba(42, 37, 32, 0.05);
  box-shadow: inset 0 0 0 1.6px rgba(42, 37, 32, 0.4);
}
.btn--on-dark {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.6px rgba(255,255,255,0.32);
}
.btn--on-dark:hover { background: rgba(255,255,255,0.08); box-shadow: inset 0 0 0 1.6px rgba(255,255,255,0.6); }

.btn--raspberry {
  background: #fff;
  color: var(--raspberry-dark);
  box-shadow: 0 12px 28px -14px rgba(0,0,0,0.45);
}
.btn--raspberry:hover { background: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 239, 226, 0.82);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.site-header.scrolled {
  border-bottom-color: rgba(42, 37, 32, 0.1);
  box-shadow: 0 8px 30px -22px rgba(60, 35, 12, 0.6);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 80px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  gap: 3px;
}
.brand .wordmark {
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand .sub {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: var(--terracotta-dark);
  padding-left: 2px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink-soft);
  padding: 0.5em 0.85em;
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--ink); background: rgba(42,37,32,0.05); }
.header-cta { display: flex; align-items: center; gap: 0.6rem; }
.btn--sm { padding: 0.7em 1.15em; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: none; background: transparent;
  cursor: pointer;
  border-radius: 12px;
  align-items: center; justify-content: center;
}
.nav-toggle:hover { background: rgba(42,37,32,0.06); }
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.2s;
}
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after { transform: translateY(5px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg) translateY(-1px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(210,116,44,0.10) 0%, rgba(210,116,44,0) 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(143,168,137,0.16) 0%, rgba(143,168,137,0) 60%),
    var(--creme);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 96px);
}
.hero-copy { max-width: 36ch; }
.hero h1 { margin-top: 0.2rem; }
.hero .lead { margin-top: 1.5rem; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

/* Status-Pille */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 1.8rem;
  padding: 0.5em 0.95em 0.5em 0.7em;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(42,37,32,0.1);
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-card);
}
.status .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--sage-dark);
  position: relative;
  flex: none;
}
.status .dot::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--sage-dark);
  opacity: 0.35;
  animation: pulse 2.4s ease-out infinite;
}
.status.closed .dot { background: var(--raspberry); }
.status.closed .dot::after { border-color: var(--raspberry); }
.status .detail { color: var(--ink-soft); font-weight: 500; }
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(2.1); opacity: 0; }
}

.hero-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 4.6;
  background: var(--night);
  transform: rotate(0.6deg);
}
.hero-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.hero-figure:hover img { transform: scale(1.05); }
.hero-figure .figure-tag {
  position: absolute;
  left: 18px; bottom: 18px;
  background: rgba(22,38,63,0.7);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.5em 0.9em;
  border-radius: 100px;
  display: inline-flex; align-items: center; gap: 0.5em;
}
.figure-tag svg { width: 1em; height: 1em; }

/* ---------- Geteilte Sektionen ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}
.split.reverse .split-media { order: -1; }
.split-copy { max-width: 44ch; }

.media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.media:hover img { transform: scale(1.055); }
.media.tall { aspect-ratio: 4 / 5; }
.media.wide { aspect-ratio: 5 / 4; }
.media.square { aspect-ratio: 1 / 1; }

.caption {
  position: absolute;
  left: 14px; bottom: 14px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(4px);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5em 0.85em;
  border-radius: 100px;
}

/* Chips mit Haken */
.chips { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.9rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  align-self: flex-start;
  background: var(--creme-2);
  border: 1px solid rgba(42,37,32,0.08);
  padding: 0.62em 1.05em 0.62em 0.7em;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.98rem;
  box-shadow: 0 6px 18px -14px rgba(60,35,12,0.5);
}
.chip .tick {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sage);
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
}
.chip .tick svg { width: 12px; height: 12px; stroke: #fff; }

/* Sorten-Tags */
.flavors { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.9rem; }
.flavor {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-style: italic;
  padding: 0.4em 0.95em;
  border-radius: 100px;
  background: #fff;
  border: 1px solid rgba(42,37,32,0.1);
  color: var(--ink);
  box-shadow: 0 6px 16px -14px rgba(60,35,12,0.5);
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.flavor:hover { transform: translateY(-2px) rotate(-1deg); background: var(--terracotta); color: #fff; border-color: transparent; }

.media-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.6vw, 20px);
}
.media-pair .media:first-child { aspect-ratio: 4 / 5; }
.media-pair .media:last-child { aspect-ratio: 4 / 5; }

/* ---------- Eistorten (Akzentblock) ---------- */
.torten {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(255,255,255,0.10), rgba(255,255,255,0) 50%),
    linear-gradient(160deg, var(--raspberry) 0%, var(--raspberry-dark) 100%);
  color: #fff;
}
.torten .eyebrow { color: #ffd9c9; }
.torten .eyebrow::before { background: #ffd9c9; }
.torten h2, .torten .lead { color: #fff; }
.torten .lead { color: rgba(255,255,255,0.86); max-width: 40ch; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--raspberry-dark);
  background: #fff;
  padding: 0.5em 0.95em;
  border-radius: 100px;
  margin-bottom: 1.4rem;
}
.badge .dot-rb { width: 7px; height: 7px; border-radius: 50%; background: var(--raspberry); }
.torten .media { box-shadow: 0 40px 80px -40px rgba(0,0,0,0.6); transform: rotate(-1deg); }

/* ---------- Handwerk (helles Beige) ---------- */
.handwerk { background: linear-gradient(180deg, var(--creme-2), #F1E7D5); }

/* ---------- Der Ort (Abendblock) ---------- */
.ort {
  background:
    radial-gradient(110% 90% at 90% 10%, rgba(143,168,137,0.18), rgba(143,168,137,0) 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(210,116,44,0.16), rgba(210,116,44,0) 55%),
    var(--night);
  color: #F4EEE3;
}
.ort .eyebrow { color: #E2A77E; }
.ort .eyebrow::before { background: #E2A77E; }
.ort h2 { color: #fff; }
.ort .lead { color: rgba(244,238,227,0.82); }
.ort .serif-aside { color: #EBD9C4; margin-top: 1.6rem; padding-left: 1.1rem; border-left: 2px solid rgba(226,167,126,0.5); }
.ort .media { box-shadow: 0 40px 90px -40px rgba(0,0,0,0.7); }

/* ---------- Besuch / Kontakt ---------- */
.besuch { background: var(--creme); }
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.5vw, 30px);
  margin-top: 3rem;
}
.card {
  background: #fff;
  border: 1px solid rgba(42,37,32,0.08);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px);
  box-shadow: var(--shadow-card);
}
.card h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.card .kicker {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--terracotta-dark);
  margin-bottom: 1.4rem;
}
.addr { font-style: normal; color: var(--ink-soft); line-height: 1.7; font-size: 1.05rem; }
.addr strong { color: var(--ink); font-weight: 600; }
.addr a { color: var(--terracotta-dark); text-decoration: none; font-weight: 600; }
.addr a:hover { text-decoration: underline; }
.card-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }

.hours { display: flex; flex-direction: column; gap: 1.4rem; }
.hours-block {
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  background: var(--creme-2);
  border: 1px solid rgba(42,37,32,0.06);
}
.hours-block .season {
  font-weight: 700; font-size: 0.96rem; color: var(--ink);
  display: flex; align-items: center; gap: 0.55em; margin-bottom: 0.7rem;
}
.hours-block .season .ic { width: 1.1em; height: 1.1em; color: var(--terracotta); }
.hours-row {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: 0.98rem; padding: 0.25rem 0;
  color: var(--ink-soft);
}
.hours-row span:last-child { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Hero-Unterzeile (SEO) ---------- */
.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  color: var(--terracotta-dark);
  margin: 0.85rem 0 0;
}

/* ---------- Eingebettete Karte ---------- */
.map-block { margin-top: clamp(44px, 5vw, 76px); }
.map-head { margin-bottom: 1.8rem; max-width: 44ch; }
.map-head h2 { margin-top: 0.3rem; }
.map-embed {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(42, 37, 32, 0.08);
  aspect-ratio: 16 / 8;
  background: var(--creme-2);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 640px) { .map-embed { aspect-ratio: 4 / 5; } }

/* ---------- Google-Bewertungen ---------- */
.bewerten {
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(255,255,255,0.12), rgba(255,255,255,0) 55%),
    linear-gradient(160deg, var(--sage) 0%, var(--sage-dark) 100%);
  color: #fff;
  text-align: center;
}
.bewerten-inner { max-width: 36rem; margin-inline: auto; }
.bewerten .eyebrow { color: #EAF0E6; justify-content: center; }
.bewerten .eyebrow::before { background: #EAF0E6; }
.bewerten h2 { color: #fff; }
.bewerten .lead { color: rgba(255,255,255,0.88); margin-inline: auto; max-width: 36ch; }
.stars {
  display: inline-flex;
  gap: 0.35rem;
  margin-bottom: 1.4rem;
}
.stars svg { width: 30px; height: 30px; color: #F2C879; filter: drop-shadow(0 4px 8px rgba(60,40,10,0.3)); }
.stars svg:nth-child(1) { animation: pop 0.5s both 0.05s; }
.stars svg:nth-child(2) { animation: pop 0.5s both 0.12s; }
.stars svg:nth-child(3) { animation: pop 0.5s both 0.19s; }
.stars svg:nth-child(4) { animation: pop 0.5s both 0.26s; }
.stars svg:nth-child(5) { animation: pop 0.5s both 0.33s; }
@keyframes pop {
  0% { opacity: 0; transform: scale(0.4) rotate(-12deg); }
  70% { transform: scale(1.18) rotate(4deg); }
  100% { opacity: 1; transform: none; }
}
.btn--google {
  background: #fff;
  color: var(--sage-dark);
  box-shadow: 0 14px 30px -14px rgba(0,0,0,0.45);
  margin-top: 2rem;
}
.btn--google:hover { background: #fff; }
.btn--google .g-mark { width: 1.15em; height: 1.15em; flex: none; }
.bewerten .hint {
  margin-top: 1.1rem;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.72);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--night);
  color: rgba(244,238,227,0.7);
  padding-block: clamp(48px, 6vw, 80px);
  font-size: 0.96rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}
.footer-brand .wordmark { font-family: var(--serif); font-size: 1.5rem; color: #fff; display:block; margin-bottom: 0.3rem; }
.footer-brand .sub { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.34em; color: #E2A77E; }
.footer-brand p { margin: 1.2rem 0 0; line-height: 1.7; }
.footer-brand a { color: rgba(244,238,227,0.85); text-decoration: none; }
.footer-brand a:hover { color: #fff; }
.footer-col h4 {
  font-family: var(--sans); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: rgba(244,238,227,0.5);
  margin: 0 0 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { color: rgba(244,238,227,0.8); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: clamp(36px, 5vw, 60px);
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: 0.86rem; color: rgba(244,238,227,0.5);
}
.footer-bottom .kalauer { font-family: var(--serif); font-style: italic; }

/* ---------- Modal (Impressum / Datenschutz) ---------- */
.modal {
  position: fixed; inset: 0; z-index: 1000;
  display: none;
  align-items: flex-start; justify-content: center;
  padding: clamp(16px, 5vh, 70px) var(--gutter);
  background: rgba(22,38,63,0.55);
  backdrop-filter: blur(6px);
  overflow-y: auto;
}
.modal.open { display: flex; }
.modal-box {
  background: var(--creme-2);
  max-width: 760px; width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: clamp(28px, 4vw, 54px);
  position: relative;
}
.modal-box h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 0.4rem; }
.modal-box h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 700; margin: 1.8rem 0 0.5rem; }
.modal-box p { color: var(--ink-soft); margin: 0.5rem 0; }
.modal-box .addr { font-size: 1rem; }
.modal-eyebrow { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terracotta-dark); }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 42px; height: 42px; border-radius: 50%;
  border: none; cursor: pointer;
  background: rgba(42,37,32,0.08);
  font-size: 1.4rem; line-height: 1; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(42,37,32,0.16); }
.todo {
  background: #fff6e6;
  border: 1px dashed var(--terracotta);
  color: var(--terracotta-dark);
  border-radius: 8px;
  padding: 0.1em 0.5em;
  font-size: 0.92em;
  font-weight: 600;
  font-style: normal;
}
.modal-note {
  margin-top: 1.6rem; padding: 1rem 1.2rem;
  background: rgba(210,116,44,0.08);
  border-radius: 12px; font-size: 0.9rem; color: var(--ink-soft);
}

/* ---------- Scroll-Einblendungen ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav, .header-cta .btn--ghost { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { gap: 0.4rem; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 100%; }
  .hero-figure { order: -1; aspect-ratio: 4 / 3.4; transform: none; }

  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse .split-media { order: 0; }
  .split-copy { max-width: 100%; order: 1; }
  .split-media { order: 0; }

  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  body { font-size: 17px; }
  .footer-grid { grid-template-columns: 1fr; }
  .media-pair { gap: 10px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* Mobile-Navigation (Dropdown) */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--creme-2);
  border-top: 1px solid rgba(42,37,32,0.1);
  padding: 0.6rem var(--gutter) 1.2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  text-decoration: none; color: var(--ink);
  font-family: var(--serif); font-size: 1.4rem;
  padding: 0.7rem 0; border-bottom: 1px solid rgba(42,37,32,0.07);
}
.mobile-nav .btn { margin-top: 1rem; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
