/* ============================================================
   NALA & FRIENDS — STYLES
   Layoutidee: abwechselnde Vollbild-Bänder hell (Hafer) / dunkel
   (Tannengrün), randabfallende Fotografie, großzügiger Weißraum statt
   Boxen-Karten. Signature-Element: das Ladentür-Schild (Öffnungszeiten-
   Badge) in header.html/main.js.
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
/* Dezente, einheitliche Tonung für Fotos unterschiedlicher Quellen, damit
   die Bildsprache als ein System wirkt statt als Stockfoto-Sammelsurium. */
.route-card img, .cat-card img, .insta-grid img, .gallery-grid img, .insta-card-grid img {
  filter: saturate(0.94) sepia(0.08) contrast(1.02);
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--forest); color: var(--surface); }
:focus-visible { outline: 2px solid var(--biscuit-dark); outline-offset: 3px; border-radius: 4px; }
.on-forest :focus-visible { outline-color: var(--surface); }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

h1, h2, h3 { margin: 0; line-height: 1.08; }
p { margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  font-size: 0.72rem; color: var(--forest); margin: 0 0 0.9rem;
}
.eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--biscuit); display: inline-block; }
.on-forest .eyebrow { color: var(--biscuit); }
.on-forest .eyebrow::before { background: var(--biscuit); }

.display-1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -0.02em; }
.display-2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem, 4.2vw, 3.3rem); letter-spacing: -0.015em; }
.display-3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.55rem, 2.6vw, 2.15rem); letter-spacing: -0.01em; }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: var(--ink-soft); line-height: 1.65; }
.on-forest .lead { color: var(--cream-text-soft); }
.body-text { font-size: 1rem; line-height: 1.75; color: var(--ink-soft); }
.on-forest .body-text { color: var(--cream-text-soft); }

.voice-quote {
  font-family: var(--font-voice); font-style: italic; font-weight: 400;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.5; color: var(--forest);
}
.on-forest .voice-quote { color: var(--surface); }
.voice-attr { margin-top: 0.9rem; font-size: 0.85rem; color: var(--ink-faint); font-family: var(--font-body); font-style: normal; }
.on-forest .voice-attr { color: var(--cream-text-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.9rem 1.7rem; border-radius: 999px; font-weight: 700; font-size: 0.92rem;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  min-height: 44px;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-forest { background: var(--forest); color: var(--surface); }
.btn-forest:hover { box-shadow: var(--shadow-soft); }
.btn-biscuit { background: var(--biscuit); color: var(--surface); }
.btn-biscuit:hover { background: var(--biscuit-dark); box-shadow: 0 18px 40px -20px var(--biscuit); }
.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--forest); }
.btn-ghost-light { border-color: rgba(251,247,239,0.5); color: var(--surface); }
.btn-ghost-light:hover { background: rgba(251,247,239,0.12); }
.btn-sm { padding: 0.62rem 1.25rem; font-size: 0.82rem; min-height: 38px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem var(--pad);
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: transparent;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.site-header.is-scrolled::before { background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled { padding-block: 0.75rem; }

.brand-logo { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
/* Rundes Medaillon statt Rechteck: das Quellbild ist ein komplettes
   Marken-Lockup (Hund + Schriftzug + Tagline) auf weißem Grund, kein
   kompaktes Header-Logo. Der runde, hell umrandete Ausschnitt (nur der
   Hundekopf) funktioniert als eigenständiges Icon unabhängig davon, ob
   der Header gerade transparent über dem dunklen Hero oder solide über
   hellem Seiteninhalt sitzt — keine sichtbare weiße Kante mehr. */
.brand-logo img {
  height: 48px; width: 48px; object-fit: cover; object-position: 50% 35%;
  border-radius: 50%; display: block;
  box-shadow: 0 0 0 2px var(--surface), var(--shadow-soft);
}
.brand-logo span { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--forest); }
.site-header.on-dark .brand-logo span { color: var(--surface); }
.site-header.is-scrolled .brand-logo span { color: var(--forest); }

.nav-links { display: flex; gap: 1.9rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-weight: 600; font-size: 0.9rem; color: var(--ink-soft); transition: color 0.25s; }
.nav-links a:hover { color: var(--forest); }
.site-header.on-dark .nav-links a { color: rgba(251,247,239,0.82); }
.site-header.on-dark.is-scrolled .nav-links a { color: var(--ink-soft); }

.header-right { display: flex; align-items: center; gap: 0.9rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--forest); margin: 5px 0; transition: background 0.25s; }
.site-header.on-dark .nav-toggle span { background: var(--surface); }
.site-header.on-dark.is-scrolled .nav-toggle span { background: var(--forest); }

@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 66px 0 0 0; background: var(--paper); flex-direction: column;
    padding: 2rem var(--pad); gap: 1.5rem; transform: translateY(-105%); transition: transform 0.4s var(--ease); z-index: 150;
  }
  .nav-links a { color: var(--ink); font-size: 1.1rem; }
  .nav-links.is-open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  /* Das Öffnungszeiten-Badge ist im Seiteninhalt (Hero, Café-Sektion)
     bereits großformatig vorhanden — im schmalen Header würde sein
     langer Text den Menü-Button aus dem sichtbaren Bereich schieben. */
  .site-header .status-badge { display: none; }
}

/* ---------- Status-Badge (Signature-Element: Ladentür-Schild) ---------- */
.status-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 700; padding: 0.5rem 0.9rem 0.5rem 0.7rem;
  border-radius: 999px; border: 1px solid var(--line-on-forest); color: var(--surface);
  background: rgba(251,247,239,0.08);
  transform-origin: 50% 100%;
  cursor: pointer; transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
/* Ist jetzt ein Link (führt zu den Öffnungszeiten) — dezentes Hover als
   Klick-Affordanz, ohne die Ladentür-Schild-Optik zu stören. */
.status-badge:hover { transform: translateY(-1px); border-color: var(--biscuit); }
.site-header.is-scrolled .status-badge,
.site-header:not(.on-dark) .status-badge { border-color: var(--line); color: var(--ink); background: var(--moss); }
/* Freistehende Badges (außerhalb des Headers) richten sich nach dem
   Band, in dem sie liegen — hell (Hafer/Moos/Lichtweiß) braucht dunklen
   Text, dunkel (Tannengrün) den hellen Header-Stil von oben. */
.band-paper .status-badge, .band-moss .status-badge, .band-surface .status-badge {
  border-color: var(--line); color: var(--ink); background: var(--surface);
}
.status-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #7fb069; flex-shrink: 0; }
.status-badge.is-closed .dot { background: var(--biscuit); }
.status-badge.is-flipping { animation: doorFlip 0.7s var(--ease); }
@keyframes doorFlip {
  0% { transform: rotateX(0deg); opacity: 1; }
  45% { transform: rotateX(-95deg); opacity: 0.4; }
  55% { transform: rotateX(-95deg); opacity: 0.4; }
  100% { transform: rotateX(0deg); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .status-badge.is-flipping { animation: none; } }
.status-badge-lg { font-size: 1rem; padding: 0.85rem 1.4rem 0.85rem 1.1rem; }
.status-badge-lg .dot { width: 11px; height: 11px; }

/* ---------- Hero: Bild-Korridor (3D-Perspektiv-Bilderstrom) ----------
   Zwei gespiegelte Kartenreihen laufen aus der Tiefe auf den Betrachter
   zu, gebaut aus data-images per main.js. Geometrie-Details siehe dort. */
/* .hero-pin-wrap gibt der Scroll-Geste zusätzliche Höhe, während .hero
   darin per position:sticky visuell stehen bleibt — Fortschritt durch
   diese Extra-Höhe steuert in main.js das Video-Scrubbing plus die
   Ein-/Ausblendung der beiden Text-Momente (Eingang/Schluss). */
.hero-pin-wrap { position: relative; height: 250vh; }
.hero-pin-wrap .hero { position: sticky; top: 0; }

.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden;
  color: var(--surface); background: var(--forest);
}
.hero-media { position: absolute; inset: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,33,24,0.15) 0%, rgba(27,33,24,0.35) 55%, rgba(27,33,24,0.82) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; min-height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(150px, 24vh, 220px) var(--pad) clamp(4rem, 9vh, 6rem); }

/* Eingangs-Moment: sichtbar in Ruhe, blendet früh im Scroll aus (main.js),
   sobald der Hund im Video das Bild verlässt. */
.hero-entry { transition: opacity 0.15s linear, transform 0.15s linear; will-change: opacity, transform; }
.hero-entry > * { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.hero-entry.is-ready > * { opacity: 1; transform: translateY(0); }
.hero-entry.is-ready > *:nth-child(1) { transition-delay: 0.05s; }
.hero-entry.is-ready > *:nth-child(2) { transition-delay: 0.16s; }
.hero-entry.is-ready > *:nth-child(3) { transition-delay: 0.3s; }
.hero-entry.is-ready > *:nth-child(4) { transition-delay: 0.42s; }
/* Kontrast-Fix: die Eyebrow hat sonst keine Hell-Variante für dunkle
   Hintergründe (nur .on-forest hat einen Override) und wäre hier auf dem
   Video in der Standardfarbe var(--forest) kaum lesbar. */
.hero-entry .eyebrow { color: rgba(251,247,239,0.85); text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.hero-entry .eyebrow::before { background: var(--biscuit); }
.hero-entry .display-1 { max-width: 1200px; color: var(--surface); text-shadow: 0 8px 34px rgba(0,0,0,0.35); }
.hero-entry .voice-quote { color: var(--surface); max-width: 42ch; margin-top: 1.6rem; text-shadow: 0 4px 20px rgba(0,0,0,0.3); }

/* Schluss-Moment: unsichtbar in Ruhe, fliegt spät im Scroll ein — genau
   wenn die Szene im Video leer/ruhig geworden ist. Liegt an derselben
   Stelle wie der Eingangs-Moment (überlappt ihn), damit der Übergang wie
   ein Bühnenwechsel wirkt statt wie ein zweiter, versetzter Block. */
.hero-closing {
  position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(4rem, 9vh, 6rem); max-width: 640px;
  opacity: 0; transform: translateY(24px); pointer-events: none;
  transition: opacity 0.15s linear, transform 0.15s linear; will-change: opacity, transform;
}
.hero-closing.is-interactive { pointer-events: auto; }
.hero-closing-line { color: var(--surface); text-shadow: 0 4px 20px rgba(0,0,0,0.35); margin-bottom: 1.4rem; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.scroll-cue { position: absolute; left: 50%; bottom: 2.1rem; transform: translateX(-50%); z-index: 2; width: 24px; height: 40px; border: 1.5px solid rgba(251,247,239,0.5); border-radius: 20px; transition: opacity 0.3s; }
.scroll-cue::before { content: ''; position: absolute; top: 6px; left: 50%; width: 4px; height: 8px; background: var(--surface); border-radius: 3px; transform: translateX(-50%); animation: cueDrop 2.2s ease-in-out infinite; }
@keyframes cueDrop { 0% { opacity: 1; top: 6px; } 70% { opacity: 0; top: 18px; } 100% { opacity: 0; top: 6px; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue::before { animation: none; top: 10px; } }

/* Dezenter Fortschrittsbalken: blendet ein, sobald man zu scrollen
   beginnt, an derselben Stelle wie der Scroll-Cue (der dafür ausblendet). */
.hero-pin-progress {
  position: absolute; left: 50%; bottom: 2.1rem; transform: translateX(-50%); z-index: 2;
  width: min(200px, 38vw); height: 2px; border-radius: 999px; background: rgba(255,255,255,0.22);
  overflow: hidden; opacity: 0; transition: opacity 0.3s;
}
.hero-pin-progress.is-visible { opacity: 1; }
.hero-pin-progress-fill { position: absolute; inset: 0 auto 0 0; width: 0%; background: #fff; border-radius: 999px; }
@media (prefers-reduced-motion: reduce) {
  .hero-pin-wrap { height: auto !important; }
  .hero-pin-wrap .hero { position: relative !important; }
  .hero-entry { opacity: 1 !important; transform: none !important; }
  .hero-entry > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  /* Statt über dem Eingangstext zu schweben (das würde beides gleichzeitig
     sichtbar überlagern), reiht sich der Schluss-Moment normal darunter
     ein — beide Texte bleiben ohne Bewegung/Scrub einfach sichtbar. */
  .hero-closing {
    position: static; opacity: 1 !important; transform: none !important; pointer-events: auto !important;
    margin-top: 2rem; max-width: none;
  }
  .hero-pin-progress { display: none !important; }
}

/* Sekundäre Seiten-Hero (kein Vollbild, für Unterseiten) */
.page-hero { padding: clamp(150px, 22vh, 200px) 0 clamp(2.5rem, 5vw, 4rem); }
.page-hero .display-2 { max-width: 20ch; }

/* ---------- Sections / Bänder ---------- */
.band { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.band-paper { background: var(--paper); color: var(--ink); }
.band-moss { background: var(--moss); color: var(--ink); }
.band-forest { background: var(--forest); color: var(--surface); }
.band-surface { background: var(--surface); color: var(--ink); }
.band-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Routing-Karten (Shop / Café / Geschichte) ---------- */
.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2rem); }
.route-card { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; }
.route-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.route-card:hover img { transform: scale(1.05); }
.route-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(27,33,24,0.85) 0%, rgba(27,33,24,0.15) 55%, transparent 75%); }
.route-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem; z-index: 2; color: var(--surface); }
.route-card-body .k { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; }
.route-card-body .d { font-size: 0.88rem; color: rgba(251,247,239,0.78); margin-top: 0.35rem; }
@media (max-width: 820px) { .route-grid { grid-template-columns: 1fr; } .route-card { aspect-ratio: 16/10; } }

/* ---------- Split (Bild + Text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse > *:first-child { order: 2; }
.split img { border-radius: var(--radius-lg); width: 100%; height: 100%; object-fit: cover; box-shadow: var(--shadow-soft); }
@media (max-width: 860px) { .split, .split.reverse { grid-template-columns: 1fr; } .split.reverse > *:first-child { order: 0; } }

/* ---------- Kategorie-Grid (Sortiment) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 1.6rem); }
.cat-card { display: block; border-radius: var(--radius-md); overflow: hidden; position: relative; aspect-ratio: 4/5; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(27,33,24,0.82) 0%, transparent 60%); }
.cat-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem 1.2rem; z-index: 2; color: var(--surface); }
.cat-card-body .t { font-weight: 700; font-size: 0.98rem; }
.cat-card-body .d { font-size: 0.78rem; color: rgba(251,247,239,0.78); margin-top: 0.2rem; }
@media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }

/* ---------- Öffnungszeiten ---------- */
.hours-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hours-panel img { border-radius: var(--radius-lg); width: 100%; height: 100%; object-fit: cover; box-shadow: var(--shadow-soft); }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 1.4rem; }
.hours-table td { padding: 0.75rem 0; border-bottom: 1px solid var(--line-on-forest); font-size: 1rem; }
.hours-table td:last-child { text-align: right; font-weight: 700; }
.band-paper .hours-table td, .band-moss .hours-table td { border-color: var(--line); }
@media (max-width: 860px) { .hours-panel { grid-template-columns: 1fr; } }

/* ---------- Story-Beats (Über uns) ---------- */
.story-beat { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.story-beat.reverse { grid-template-columns: 1.1fr 0.9fr; }
.story-beat.reverse > *:first-child { order: 2; }
.story-beat img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-soft); }
.story-beat + .story-beat { margin-top: clamp(3.5rem, 7vw, 6rem); }
.story-step-index { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--biscuit-dark); margin-bottom: 0.6rem; }
@media (max-width: 860px) {
  .story-beat, .story-beat.reverse { grid-template-columns: 1fr; }
  .story-beat.reverse > *:first-child { order: 0; }
}

/* ---------- Pillars (Was uns antreibt) ---------- */
.pillar-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 2.5rem); }
.pillar .n { font-family: var(--font-display); font-size: 2.2rem; color: var(--biscuit); }
.pillar h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin: 0.6rem 0 0.5rem; }
@media (max-width: 760px) { .pillar-row { grid-template-columns: 1fr; } }

/* ---------- Instagram-Strip ---------- */
.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.insta-grid a { display: block; aspect-ratio: 1/1; overflow: hidden; border-radius: var(--radius-sm); }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.insta-grid a:hover img { transform: scale(1.08); }
@media (max-width: 700px) { .insta-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Galerie (Café) ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.gallery-grid figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid .g-a { grid-column: span 4; aspect-ratio: 16/10; }
.gallery-grid .g-b { grid-column: span 2; aspect-ratio: 3/4; }
@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .g-a, .gallery-grid .g-b { grid-column: span 1; aspect-ratio: 4/3; }
}

/* ---------- Instagram-Vorschaukarte (Kontakt) ---------- */
.insta-card {
  display: block; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.insta-card:hover, .insta-card:focus-visible { transform: scale(1.02) translateY(-4px); box-shadow: var(--shadow-lift); }
.insta-card-head { display: flex; align-items: center; gap: 0.9rem; padding: 1.1rem 1.3rem; }
/* .insta-card-head statt nur .insta-card-avatar, damit die Spezifität
   sicher über ".split img" liegt (die Karte sitzt in einer .split-Spalte,
   deren img-Regel sonst width/height:100% gewinnen und das Icon auf
   Kartenbreite aufblasen würde). */
.insta-card-head .insta-card-avatar {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 35%;
  flex-shrink: 0; box-shadow: 0 0 0 2px var(--paper);
}
.insta-card-id { display: flex; flex-direction: column; gap: 0.15rem; flex: 1; min-width: 0; }
.insta-card-handle { font-weight: 700; font-size: 0.96rem; color: var(--ink); }
.insta-card-sub { font-size: 0.8rem; color: var(--ink-faint); }
.insta-card-icon { width: 22px; height: 22px; color: var(--biscuit-dark); flex-shrink: 0; }
.insta-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.insta-card-grid img { aspect-ratio: 1/1; object-fit: cover; width: 100%; display: block; transition: transform 0.5s var(--ease); }
.insta-card:hover .insta-card-grid img { transform: scale(1.08); }

/* ---------- Formulare ---------- */
.form-grid { display: grid; gap: 1rem; max-width: 560px; }
.form-row { display: flex; flex-direction: column; gap: 0.45rem; }
.form-row label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.on-forest .form-row label { color: var(--surface); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 0.9rem 1.05rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink); font-family: var(--font-body); font-size: 0.96rem;
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--forest); }
.consent-row { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.82rem; color: var(--ink-soft); }
.consent-row input { width: auto; margin-top: 0.2rem; }
.form-status { font-size: 0.88rem; min-height: 1.2em; color: var(--forest); font-weight: 600; }
.on-forest .form-status { color: var(--biscuit); }

/* ---------- Karte / Standort-Platzhalter ---------- */
.location-placeholder {
  border-radius: var(--radius-lg); border: 1.5px dashed var(--line); background: var(--surface);
  padding: 2.2rem; text-align: center; color: var(--ink-soft);
}
.location-placeholder strong { display: block; color: var(--ink); margin-bottom: 0.4rem; }

/* ---------- Legal-Hinweis (Impressum/Datenschutz Platzhalter) ---------- */
.legal-notice {
  border-radius: var(--radius-md); background: var(--moss); border-left: 4px solid var(--biscuit);
  padding: 1.2rem 1.4rem; font-size: 0.92rem; color: var(--ink); margin-bottom: 2.2rem;
}
.legal-prose { max-width: 720px; }
.legal-prose h2 { font-family: var(--font-display); font-size: 1.3rem; margin: 2rem 0 0.8rem; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 0.8rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: var(--surface); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.2rem; padding-bottom: 2.2rem; border-bottom: 1px solid var(--line-on-forest); }
.footer-brand { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin-bottom: 0.6rem; }
.footer-grid p { color: rgba(251,247,239,0.65); font-size: 0.9rem; line-height: 1.6; margin: 0; }
.footer-head { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(251,247,239,0.45); margin-bottom: 0.85rem; }
.footer-grid a { display: block; color: rgba(251,247,239,0.8); font-size: 0.9rem; margin-bottom: 0.6rem; transition: color 0.25s; }
.footer-grid a:hover { color: var(--biscuit); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; padding-top: 1.4rem; font-size: 0.78rem; color: rgba(251,247,239,0.45); }
.footer-bottom a { color: rgba(251,247,239,0.6); }
.footer-bottom a:hover { color: var(--biscuit); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Utility ---------- */
.mt-lg { margin-top: clamp(2.5rem, 5vw, 4rem); }
.mt-md { margin-top: 1.4rem; }
.center-text { text-align: center; margin-inline: auto; }
.max-60 { max-width: 60ch; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Scroll-Reveal (dezent, ein Stil, keine verstreuten Gimmicks) ---------- */
[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); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .scroll-cue { display: none; }
}
