/* ==========================================================================
   Gusto – Italienischer Supermarkt · Obertshausen
   Ein Stylesheet, mobile-first. Farben und Linien stammen aus dem Logo
   (Rot + Grün, die zwei Balken unter dem Schriftzug).
   ========================================================================== */

:root {
  /* Farben */
  --paper: #faf6ee;
  --cream: #f2ebdd;
  --cream-2: #e9dfcc;
  --ink: #1d1b17;
  --ink-soft: #46413a;
  --muted: #655e53;
  --line: #ddd3c1;
  --rosso: #d7141a;          /* Logo-Rot */
  --rosso-deep: #b0101a;     /* Rot für kleine Schrift & Hover */
  --verde: #0e8a3e;          /* Logo-Grün */
  --bosco: #173528;          /* dunkles Flaschengrün für Kontrastflächen */
  --bosco-deep: #10271d;
  --crema: #f4e8d0;
  --oro: #e6bd6c;
  --focus: var(--ink);

  /* Schrift */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  /* Maße */
  --gutter: clamp(1.25rem, 0.6rem + 3.2vw, 4rem);
  --max: 1240px;
  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 1080px) {
  :root { --header-h: 84px; }
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
figure { margin: 0; }
address { font-style: normal; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

h1 em, h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--rosso);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  padding: .75rem 1.1rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Signatur: die zwei Balken aus dem Logo ---------- */
.stripe {
  display: inline-block;
  flex: none;
  width: 34px;
  height: 4px;
  background: linear-gradient(90deg, var(--verde) 0 44%, transparent 44% 56%, var(--rosso) 56% 100%);
  border-radius: 1px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1.25rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rosso-deep);
}
.eyebrow--light { color: var(--oro); }

/* ---------- Icons ---------- */
.icon {
  width: 1em; height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons & Links ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: .8rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 600 .95rem/1.2 var(--font-body);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.button .icon { transition: transform .25s var(--ease); }
.button:hover .icon { transform: translate(2px, -2px); }
.button:active { transform: scale(.98); }

.button-primary { background: var(--rosso); color: #fff; }
.button-primary:hover { background: var(--rosso-deep); }

.button-ghost { border-color: currentColor; color: var(--ink); }
.button-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.button-light { background: var(--crema); color: var(--ink); }
.button-light:hover { background: #fff; }

.button-outline-light { border-color: rgba(244, 232, 208, .55); color: var(--crema); }
.button-outline-light:hover { border-color: var(--crema); background: rgba(244, 232, 208, .1); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding-bottom: .2rem;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  transition: background-size .3s var(--ease), color .2s;
}
.text-link:hover { color: var(--rosso-deep); background-size: 40% 1.5px; }

/* ---------- Topbar ---------- */
.topbar {
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem var(--gutter);
  background: var(--bosco);
  color: var(--crema);
  font-size: .8rem;
  letter-spacing: .02em;
}
.topbar p { margin: 0; overflow: hidden; text-overflow: ellipsis; }
.topbar-dot { display: inline-block; width: 6px; height: 6px; margin-right: .6rem; border-radius: 50%; background: var(--oro); vertical-align: middle; }
.topbar-extra { display: none; }
.topbar-sep { margin: 0 .55rem; opacity: .6; }
.topbar a { text-decoration: none; font-weight: 600; white-space: nowrap; }
.topbar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar { --focus: var(--crema); }

@media (max-width: 379px) { .topbar-place { display: none; } }
@media (min-width: 640px) { .topbar-extra { display: inline; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper); /* deckend und ohne backdrop-filter: sonst wäre das fixierte Menü-Panel an den Header gebunden */
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(29, 27, 23, .06);
}

.header-inner {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand { display: inline-flex; flex: none; border-radius: 6px; }
.brand img {
  width: 112px;
}
@media (min-width: 1080px) { .brand img { width: 136px; } }

.header-cta { display: none; margin-left: auto; }

/* Menü-Button (mobil & Tablet) */
.menu-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-height: 44px;
  padding: .4rem .3rem .4rem .9rem;
  border: 0;
  background: none;
  color: var(--ink);
  font: 600 .95rem var(--font-body);
  cursor: pointer;
}
.menu-toggle-bars {
  position: relative;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
}
.menu-toggle-bars span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease);
}
.menu-toggle-bars span:first-child { top: 15px; }
.menu-toggle-bars span:last-child { top: 21px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* Navigation – mobil als Panel */
.nav-list a {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  text-decoration: none;
}
.nav-num {
  font: 600 .72rem var(--font-body);
  letter-spacing: .1em;
  color: var(--rosso-deep);
}

.nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  top: var(--nav-top, var(--header-h));
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 1px solid var(--line);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.nav-list li { border-bottom: 1px solid var(--line); }
.nav-list a {
  padding: 1rem 0;
  font: 500 clamp(1.7rem, 1.2rem + 2.5vw, 2.3rem)/1.1 var(--font-display);
  letter-spacing: -.02em;
  transition: color .2s, padding .3s var(--ease);
}
.nav-list a:hover, .nav-list a.is-active { color: var(--rosso); }
.nav-extra { display: grid; gap: 1rem; justify-items: start; color: var(--muted); }
.nav-extra p { margin: 0; }
.nav-extra-link { font-weight: 600; color: var(--ink); text-underline-offset: 4px; }

/* Ohne JavaScript: Navigation einfach als Liste unter dem Header */
html:not(.js) .nav { position: static; visibility: visible; opacity: 1; transform: none; border: 0; }
html:not(.js) .menu-toggle { display: none; }
html:not(.js) .header-inner { flex-wrap: wrap; height: auto; padding-block: .75rem; }

/* Navigation – Desktop inline */
@media (min-width: 1080px) {
  .menu-toggle { display: none; }
  .header-cta { display: inline-flex; margin-left: 0; }
  .nav {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    flex-direction: row;
    padding: 0;
    margin-left: auto;
    background: none;
    border: 0;
    overflow: visible;
  }
  .nav-extra { display: none; }
  .nav-list { display: flex; gap: clamp(1.25rem, 2.2vw, 2.25rem); }
  .nav-list li { border: 0; }
  .nav-num { display: none; }
  .nav-list a {
    position: relative;
    padding: .5rem 0;
    font: 500 .98rem var(--font-body);
    letter-spacing: 0;
  }
  .nav-list a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: .15rem;
    height: 2px;
    background: var(--rosso);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
  }
  .nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }
  .nav-list a:hover, .nav-list a.is-active { color: var(--ink); }
}

/* ---------- Medienrahmen (wiederverwendbar für alle Videos) ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--bosco-deep);
  border-radius: var(--radius);
  isolation: isolate;
}
.media-frame--portrait { aspect-ratio: 9 / 16; }
.media-frame--landscape { aspect-ratio: 16 / 9; }

.media-video,
.media-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pause/Play für stumme Loop-Videos */
.media-toggle {
  position: absolute;
  right: 14px; bottom: 14px;
  z-index: 2;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(250, 246, 238, .9);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  transition: transform .2s var(--ease), background .2s;
}
.media-toggle:hover { transform: scale(1.06); background: #fff; }
.media-toggle svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }
.media-toggle .icon-play { fill: currentColor; stroke: none; display: none; }
.media-toggle[aria-pressed="true"] .icon-play { display: block; }
.media-toggle[aria-pressed="true"] .icon-pause { display: none; }
.media-toggle-text { display: none; font: 600 .9rem var(--font-body); white-space: nowrap; }
/* Pausiert (z. B. bei „Bewegung reduzieren“): gut sichtbarer Start-Button mit Text */
.media-toggle[aria-pressed="true"] {
  width: auto;
  display: inline-flex;
  gap: .5rem;
  padding: 0 1.1rem 0 .95rem;
  border-radius: 999px;
}
.media-toggle[aria-pressed="true"] .media-toggle-text { display: inline; }
html:not(.js) .media-toggle { display: none; }

/* Großer Start-Button für Videos mit Ton */
.media-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: .85rem;
  padding: 1.25rem;
  border: 0;
  background: linear-gradient(0deg, rgba(16, 39, 29, .82), rgba(16, 39, 29, 0) 55%);
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: opacity .3s var(--ease);
}
.media-play-icon {
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: var(--rosso);
  transition: transform .3s var(--ease);
}
.media-play-icon svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }
.media-play:hover .media-play-icon { transform: scale(1.08); }
.media-play-text { display: grid; font: 600 1.05rem/1.25 var(--font-body); }
.media-play-text small { font-weight: 400; font-size: .85rem; opacity: .85; }
.media-play:focus-visible { outline-offset: -6px; --focus: #fff; outline-color: #fff; }
.is-playing .media-play { opacity: 0; pointer-events: none; }
html:not(.js) .media-play { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  min-height: min(calc(100svh - var(--header-h) - 36px), 860px);
  min-height: calc(100vh - var(--header-h) - 36px);
  min-height: calc(100svh - var(--header-h) - 36px);
  overflow: hidden;
  background: var(--bosco-deep);
}

/* Mobil: Video als vollflächiger Hintergrund, Text unten */
.hero-media { position: absolute; inset: 0; }
.hero-media .phone { height: 100%; } /* mobil: Video füllt den Bildschirm (Hochformat wie aufgenommen) */
.hero-media .media-frame { height: 100%; aspect-ratio: auto; border-radius: 0; }
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(16, 39, 29, .96) 0%, rgba(16, 39, 29, .86) 40%, rgba(16, 39, 29, .55) 62%, rgba(16, 39, 29, .1) 85%),
    linear-gradient(180deg, rgba(16, 39, 29, .35), transparent 22%);
  pointer-events: none;
}
.hero-media .media-toggle { top: 14px; bottom: auto; z-index: 3; }
.hero-caption { display: none; }

.hero-text {
  position: relative;
  z-index: 2;
  align-self: end;
  padding: 2.5rem var(--gutter) 2rem;
  color: #fff;
  --focus: #fff;
}
.hero-text .eyebrow { color: var(--oro); }
.hero h1 {
  font-size: clamp(2.5rem, 1.5rem + 5vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  max-width: 13ch;
}
.hero h1 em { color: var(--oro); }
.hero-lead {
  max-width: 34rem;
  margin: 1.1rem 0 1.6rem;
  font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  color: rgba(255, 255, 255, .88);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-text .button-ghost { color: #fff; }
.hero-text .button-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .22);
  font-size: .92rem;
}
.hero-facts dt {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: .2rem;
}
.hero-facts dd { margin: 0; }
.hero-facts a { text-underline-offset: 3px; }
.hero-facts a:hover { color: var(--oro); }

@media (max-width: 759px) {
  .hero-facts { display: none; }
  .hero-lead { font-size: 1.02rem; margin-bottom: 1.4rem; }
  .hero-actions .button { flex: 1 1 auto; }
}

/* Ab Tablet: Text links, Video im Bogen rechts */
@media (min-width: 760px) {
  .hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    max-width: calc(var(--max) + 2 * var(--gutter));
    margin: 0 auto;
    padding: clamp(2.5rem, 5vw, 4.5rem) var(--gutter) clamp(3rem, 6vw, 5.5rem);
    background: none;
    overflow: visible;
  }
  .hero-text { align-self: center; padding: 0; color: var(--ink); --focus: var(--ink); }
  .hero-text .eyebrow { color: var(--rosso-deep); }
  .hero h1 em { color: var(--rosso); }
  .hero-lead { color: var(--ink-soft); }
  .hero-text .button-ghost { color: var(--ink); }
  .hero-text .button-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .hero-facts { border-top-color: var(--line); }
  .hero-facts dt { color: var(--muted); opacity: 1; }
  .hero-facts a:hover { color: var(--rosso-deep); }

  .hero-media { position: relative; inset: auto; justify-self: center; display: grid; justify-items: center; }
  .hero-media::before {
    /* Ruhige Cremefläche hinter dem Smartphone */
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 128%; aspect-ratio: 1;
    transform: translate(-50%, -54%);
    z-index: -1;
    border-radius: 50%;
    background: var(--cream);
  }
  .hero-media::after { display: none; }

  /* Smartphone-Rahmen: Video im Hochformat, so wie es aufgenommen wurde */
  .phone {
    position: relative;
    padding: 10px;
    border-radius: 50px;
    background: linear-gradient(150deg, #34312d, #121110 55%, #26231f);
    box-shadow:
      inset 0 0 0 1.5px rgba(255, 255, 255, .08),
      0 0 0 1px rgba(0, 0, 0, .35),
      0 40px 70px -28px rgba(23, 53, 40, .5);
  }
  .phone::before {
    /* Kamera-Insel */
    content: '';
    position: absolute;
    top: 22px; left: 50%;
    z-index: 3;
    width: 31%; height: 24px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #050505;
  }
  .phone::after {
    /* Seitentaste */
    content: '';
    position: absolute;
    right: -3px; top: 24%;
    width: 3px; height: 72px;
    border-radius: 0 3px 3px 0;
    background: #2b2825;
  }
  .hero-media .media-frame {
    height: clamp(460px, calc(100svh - var(--header-h) - 190px), 700px);
    aspect-ratio: 9 / 16;
    border-radius: 40px;
  }
  .hero-media .media-toggle { top: auto; bottom: 14px; }
  .hero-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    margin-top: 1rem;
    font-size: .85rem;
    color: var(--muted);
  }
}

/* ---------- Intro: Wagen fährt durch, dann Smartphone und Text ----------
   Läuft nur, wenn <html> die Klasse „intro“ trägt (siehe Skript im <head>).
   Endzustand = normaler Zustand, daher kein Sprung, wenn die Klasse entfernt wird. */
.hero h1 .w { display: inline-block; }
.hero-cart { display: none; }

html.intro, html.intro body { overflow-x: clip; }

.intro .hero-cart {
  display: block;
  position: fixed;              /* fährt über die volle Fensterbreite */
  z-index: 45;
  left: 0;
  top: 44vh;
  width: clamp(190px, 24vw, 320px);
  pointer-events: none;
  animation: cart-roll 3s cubic-bezier(.3, .08, .7, .92) .2s both;
}
.cart-svg { width: 100%; height: auto; overflow: visible; animation: cart-bump .24s ease-in-out .2s 12 alternate both; }
.cart-wheel { transform-box: fill-box; transform-origin: center; animation: cart-wheel .42s linear .2s 7; }

/* Erst wenn der Wagen rechts hinaus ist (~3,2 s), erscheinen Smartphone und Text */
.intro .hero-media { animation: intro-media .9s var(--ease) 3.1s both; }
.intro .hero-text .eyebrow { animation: intro-up .7s var(--ease) 3.2s both; }
.intro .hero h1 .w { animation: intro-word .7s var(--ease) calc(3.3s + var(--i) * .08s) both; }
.intro .hero-lead { animation: intro-up .7s var(--ease) 3.8s both; }
.intro .hero-actions { animation: intro-up .7s var(--ease) 3.95s both; }
.intro .hero-facts { animation: intro-up .7s var(--ease) 4.05s both; }

@keyframes cart-roll {
  from { transform: translateX(-105%); }
  to   { transform: translateX(100vw); }
}
@keyframes cart-bump { from { transform: translateY(0); } to { transform: translateY(-1.5px); } }
@keyframes cart-wheel { to { transform: rotate(360deg); } }
@keyframes intro-media { from { opacity: 0; transform: translateY(48px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes intro-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes intro-word { from { opacity: 0; transform: translateY(.45em); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* Demo-Modus (?intro): Dauer auch bei „Bewegung reduzieren“ wiederherstellen */
html.intro-force .hero-cart { animation-duration: 3s !important; }
html.intro-force .cart-svg { animation-duration: .24s !important; animation-iteration-count: 12 !important; }
html.intro-force .cart-wheel { animation-duration: .42s !important; animation-iteration-count: 7 !important; }
html.intro-force .hero-media { animation-duration: .9s !important; }
html.intro-force .hero-text .eyebrow,
html.intro-force .hero h1 .w,
html.intro-force .hero-lead,
html.intro-force .hero-actions,
html.intro-force .hero-facts { animation-duration: .7s !important; }

/* Mobil: Video ist Hintergrund – sanft einblenden statt hochschieben */
@media (max-width: 759px) {
  .intro .hero-cart { top: 38vh; width: 62vw; }
  .intro .hero-media { animation-name: intro-media-fade; }
  @keyframes intro-media-fade { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
}

/* ---------- Sektionen allgemein ---------- */
.section {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(4rem, 3rem + 5vw, 7.5rem) var(--gutter);
}
.section h2,
.panini h2,
.visit h2 {
  font-size: clamp(2.2rem, 1.5rem + 3.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.03em;
}
.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-lead {
  margin: 1.2rem 0 0;
  font: 400 clamp(1.15rem, 1rem + .6vw, 1.4rem)/1.5 var(--font-display);
  color: var(--ink-soft);
}

/* ---------- Sortiment ---------- */
.category-grid {
  display: grid;
  gap: 1rem;
}
.category-grid > li { display: flex; }
.category-grid > li > .category-card { width: 100%; }
a.category-card { color: inherit; text-decoration: none; cursor: pointer; }
a.category-card:focus-visible { outline-offset: 4px; border-radius: var(--radius); }
.category-more {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .85rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--rosso-deep);
}
.category-more .icon { transition: transform .3s var(--ease); }
a.category-card:hover .category-more .icon,
a.category-card:focus-visible .category-more .icon { transform: translateX(4px); }

.category-card {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 1rem;
  align-items: center;
  padding: .7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.category-media, .category-type {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--cream);
}
.category-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.category-media img.is-low { object-position: 50% 88%; }
.category-body { padding: .25rem .5rem .25rem 0; }
.category-it {
  display: block;
  margin-bottom: .1rem;
  font: italic 400 .95rem var(--font-display);
  color: var(--rosso-deep);
}
.category-card h3 { font-size: 1.45rem; line-height: 1.15; }
.category-card p { margin: .4rem 0 0; font-size: .93rem; line-height: 1.5; color: var(--muted); }

.category-type {
  display: grid;
  place-items: center;
  background: var(--bosco);
  color: var(--crema);
  position: relative;
}
.category-type::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 14%;
  width: 46px; height: 4px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--verde) 0 44%, transparent 44% 56%, var(--rosso) 56% 100%);
}
.category-type span { font: italic 400 clamp(1.3rem, 4.5vw, 2.6rem)/1 var(--font-display); letter-spacing: -.02em; }

.category-card--cta {
  grid-template-columns: 1fr;
  padding: 1.5rem;
  background: var(--cream);
  border-color: var(--cream-2);
}
.category-card--cta .category-body { padding: 0; }
.category-card--cta h3 { font-size: 1.7rem; }
.category-card--cta p { color: var(--ink-soft); margin-bottom: 1.25rem; }

/* Interaktion: Karte wächst leicht, Foto zoomt sanft (Maus und Tastatur) */
a.category-card { will-change: transform; }
@media (hover: hover) {
  a.category-card:hover {
    transform: scale(1.035);
    box-shadow: 0 24px 50px -22px rgba(29, 27, 23, .32);
    border-color: var(--cream-2);
    position: relative;
    z-index: 2;
  }
  a.category-card:hover .category-media img { transform: scale(1.08); }
}
a.category-card:focus-visible { transform: scale(1.035); box-shadow: 0 24px 50px -22px rgba(29, 27, 23, .32); }
a.category-card:focus-visible .category-media img { transform: scale(1.08); }

@media (min-width: 600px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .category-card { grid-template-columns: 1fr; align-items: start; padding: .75rem .75rem 1.4rem; }
  .category-media, .category-type { aspect-ratio: 4 / 3.4; }
  .category-body { padding: .75rem .6rem 0; }
  .category-card h3 { font-size: 1.6rem; }
  .category-card--cta { padding: 2rem 1.75rem; align-content: end; }
  .category-card--cta .category-body { padding: 0; }
  .category-type span { font-size: clamp(2.4rem, 5vw, 3.4rem); }
}
@media (min-width: 1080px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

/* ---------- Panini ---------- */
.panini {
  background: var(--bosco);
  color: var(--crema);
  --focus: var(--crema);
  overflow: hidden;
}
.panini-inner {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(4rem, 3rem + 5vw, 7rem) var(--gutter);
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.panini-media {
  position: relative;
  max-width: 340px;
  width: 78%;
  justify-self: center;
}
.panini-media::before {
  content: '';
  position: absolute;
  inset: -16px 16px 16px -16px;
  border: 1.5px solid rgba(230, 189, 108, .45);
  border-radius: 999px 999px var(--radius) var(--radius);
}
.panini-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: 999px 999px var(--radius) var(--radius);
}
.panini h2 em { color: var(--oro); }
.panini-text p:not(.eyebrow) {
  max-width: 30rem;
  margin: 1.2rem 0 1.75rem;
  font: 400 clamp(1.15rem, 1rem + .6vw, 1.4rem)/1.5 var(--font-display);
  color: rgba(244, 232, 208, .88);
}

@media (min-width: 760px) {
  .panini-inner { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 7rem); }
  .panini-media { width: 100%; max-width: 380px; }
}

/* ---------- Über uns ---------- */
.about {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.about-text > p:not(.eyebrow):not(.section-lead) { max-width: 34rem; color: var(--ink-soft); margin-top: 1.25rem; }
.about-points {
  display: grid;
  gap: 0;
  margin-top: 2rem !important;
  border-top: 1px solid var(--line);
  max-width: 34rem;
}
.about-points li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line);
  font: 500 1.15rem var(--font-display);
}
.about-num { font: 600 .72rem var(--font-body); letter-spacing: .1em; color: var(--rosso-deep); }

.about-media { width: 84%; max-width: 380px; justify-self: center; }
@media (min-width: 860px) { .about-media { width: 100%; } }
.about-media figcaption { margin-top: .9rem; font-size: .88rem; color: var(--muted); text-align: center; }

@media (min-width: 860px) {
  .about { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(3rem, 7vw, 7rem); }
}

/* ---------- Instagram ---------- */
.instagram { padding-top: 0; }
.insta-card {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  background: var(--cream);
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
}
.insta-text h2 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.4rem); overflow-wrap: anywhere; }
.insta-text h2 a { text-decoration: none; background: linear-gradient(var(--rosso), var(--rosso)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease), color .2s; }
.insta-text h2 a:hover { color: var(--rosso-deep); background-size: 100% 2px; }
.insta-text p:not(.eyebrow) { max-width: 30rem; margin: 1rem 0 1.6rem; color: var(--ink-soft); }
.icon-insta { width: 1.2em; height: 1.2em; }

.insta-collage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  align-items: center;
  padding-bottom: 1.75rem;
  text-decoration: none;
  border-radius: var(--radius);
}
.insta-collage > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: 0 14px 30px -16px rgba(29, 27, 23, .4);
  transition: transform .5s var(--ease);
}
.insta-collage > img:nth-of-type(2) { aspect-ratio: 3 / 4.6; }
.insta-collage > img:nth-of-type(1) { transform: rotate(-2.5deg) translateY(8px); }
.insta-collage > img:nth-of-type(3) { transform: rotate(2.5deg) translateY(8px); }
.insta-badge {
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem 1rem .45rem .45rem;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(29, 27, 23, .15);
  font-weight: 600;
  font-size: .92rem;
  white-space: nowrap;
  transition: transform .3s var(--ease);
}
.insta-badge img {
  width: 32px; height: 32px;
  border-radius: 50%;
  outline: 2px solid var(--rosso);
  outline-offset: 2px;
}
@media (hover: hover) {
  .insta-collage:hover > img:nth-of-type(1) { transform: rotate(-4deg) translate(-6px, 4px); }
  .insta-collage:hover > img:nth-of-type(3) { transform: rotate(4deg) translate(6px, 4px); }
  .insta-collage:hover > img:nth-of-type(2) { transform: translateY(-6px); }
  .insta-collage:hover .insta-badge { transform: translateX(-50%) translateY(-3px); }
}

@media (min-width: 860px) {
  .insta-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); }
}

/* ---------- Besuch / Anfahrt ---------- */
.visit {
  background: var(--bosco-deep);
  color: var(--crema);
  --focus: var(--crema);
}
.visit-inner {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(4rem, 3rem + 5vw, 7rem) var(--gutter);
  display: grid;
  gap: 3rem;
}
.visit h2 em { color: var(--oro); }
.visit-address {
  margin: 1.75rem 0;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(244, 232, 208, .9);
}
.visit-address strong { display: block; margin-bottom: .2rem; font: 500 1.35rem var(--font-display); color: #fff; }
.visit-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.visit-list {
  display: grid;
  gap: 0;
  margin: 2.25rem 0 0;
  border-top: 1px solid rgba(244, 232, 208, .18);
}
.visit-list > div {
  display: grid;
  gap: .25rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(244, 232, 208, .18);
}
.visit-list dt {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--oro);
}
.visit-list dd { margin: 0; color: rgba(244, 232, 208, .9); }
.visit-list a { text-underline-offset: 3px; }
.visit-list a:hover { color: #fff; }

@media (min-width: 560px) {
  .visit-list > div { grid-template-columns: 9.5rem 1fr; gap: 1rem; align-items: baseline; }
  .visit-list > .is-placeholder { grid-template-columns: 1fr; gap: .5rem; }
}

/* Platzhalter für Daten, die die Inhaber noch bestätigen müssen */
.tag {
  display: inline-block;
  padding: .15rem .55rem;
  border-radius: 999px;
  background: var(--oro);
  color: var(--ink);
  font: 600 .68rem/1.4 var(--font-body);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.visit-list .is-placeholder {
  margin-top: .75rem;
  padding: 1rem 1.1rem;
  border: 1.5px dashed rgba(230, 189, 108, .6);
  border-radius: var(--radius-sm);
}
.hours { margin: 0; padding: 0; list-style: none; display: grid; gap: .3rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; max-width: 17rem; }
.hours li span:first-child { font-weight: 600; color: var(--crema); }
.hours-note { margin: .55rem 0 0; font-size: .88rem; color: rgba(244, 232, 208, .75); }
.is-placeholder-inline { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); }

.visit-media { display: grid; }

.map {
  position: relative;
  min-height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(rgba(16, 39, 29, .0), rgba(16, 39, 29, .0)),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(29, 27, 23, .06) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(29, 27, 23, .06) 38px 39px),
    var(--cream);
  color: var(--ink);
  --focus: var(--ink);
}
.map-consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1.5rem;
  text-align: center;
}
.map-pin { width: 40px; height: 40px; fill: var(--rosso); stroke: var(--paper); stroke-width: 1.2; margin-bottom: .25rem; }
.map-pin circle { fill: var(--paper); stroke: none; }
.map-title { margin: 0; font: 500 1.4rem var(--font-display); }
.map-address { margin: 0; font-weight: 600; }
.map-note { margin: .25rem 0 .75rem; max-width: 22rem; font-size: .88rem; color: var(--muted); }
.map .text-link { margin-top: .5rem; font-size: .92rem; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map.is-loaded .map-consent { display: none; }


@media (min-width: 960px) {
  .visit-inner { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(3rem, 6vw, 6rem); align-items: stretch; }
  .visit-media { min-height: 560px; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(3rem, 2rem + 3vw, 4.5rem) var(--gutter) 2rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.footer-brand { grid-column: 1 / -1; }
.footer-brand .brand img { width: 140px; }
.footer-claim { margin: .75rem 0 0; font: italic 400 1.2rem var(--font-display); color: var(--ink-soft); }
.footer-head {
  margin-bottom: .7rem;
  font: 600 .75rem var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rosso-deep);
}
.footer-col { font-size: .95rem; color: var(--ink-soft); }
.footer-col p { margin: 0; }
.footer-col li + li { margin-top: .35rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--rosso-deep); text-decoration: underline; text-underline-offset: 3px; }

.footer-bottom {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 1.25rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--muted);
}
.footer-bottom p { margin: 0; display: flex; align-items: center; gap: .75rem; }
.to-top { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.to-top:hover { color: var(--rosso-deep); }

@media (max-width: 519px) {
  .footer-inner { grid-template-columns: 1fr; gap: 1.6rem; }
}
@media (min-width: 860px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}

/* ---------- Flüssiges Scrollen (Lenis) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Scroll-Effekte ----------
   --p läuft beim Scrollen von 0 (Element kommt unten ins Bild) bis 1 (Element ist angekommen).
   Gesetzt von script.js; aktiv nur mit html.fx (also nicht bei „Bewegung reduzieren“). */
.fx [data-fx] { --p: 0; }

/* Überschriften und Textblöcke steigen auf */
.fx [data-fx="rise"] { opacity: calc(.12 + .88 * var(--p)); translate: 0 calc((1 - var(--p)) * 70px); }

/* Sortiment-Karten: klappen nacheinander auf, das Foto öffnet sich von unten */
.fx .category-grid { perspective: 1400px; }
.fx [data-fx="card"] {
  opacity: calc(.08 + .92 * var(--p));
  translate: 0 calc((1 - var(--p)) * 120px);
  scale: calc(.86 + .14 * var(--p));
  rotate: x calc((1 - var(--p)) * 18deg);
  transform-origin: 50% 100%;
}
.fx [data-fx="card"] .category-media { clip-path: inset(calc((1 - var(--p)) * 100%) 0 0 0 round var(--radius-sm)); }
.fx [data-fx="card"] .category-media img { scale: calc(1.3 - .3 * var(--p)); }

/* Dunkle Abschnitte (Panini, Anfahrt) öffnen sich von der Mitte zur vollen Breite */
.fx [data-fx="open"] { clip-path: inset(0 calc((1 - var(--p)) * 9vw) round calc((1 - var(--p)) * 64px)); }
.fx [data-fx="open"] > * { translate: 0 calc((1 - var(--p)) * 70px); }

/* Panino-Foto: kommt klein herein und wächst auf volle Größe */
.fx [data-fx="grow"] { opacity: calc(.3 + .7 * var(--p)); scale: calc(.68 + .32 * var(--p)); }

/* Absätze: Wörter leuchten nacheinander auf (von gedämpft zu voll) */
.fx [data-words] .wd { opacity: clamp(.16, calc(var(--p) * (var(--n) + 6) - var(--i)), 1); }

/* Nummerierte Punkte („01 · 02 · 03“) leuchten einzeln auf */
.fx [data-fx="lit"] { opacity: calc(.2 + .8 * var(--p)); translate: calc((1 - var(--p)) * 28px) 0; }

/* Smartphone: Sortiment-Karten bleiben oben stehen und stapeln sich wie ein Kartendeck */
@media (max-width: 599px) {
  .fx .category-grid > li {
    position: sticky;
    top: calc(var(--header-h) + 14px + var(--stack-i, 0) * 12px);
  }
  .fx .category-card {
    grid-template-columns: 1fr;
    align-items: start;
    padding: .7rem .7rem 1.2rem;
    box-shadow: 0 -12px 30px -16px rgba(29, 27, 23, .3);
    transform-origin: 50% 0;
    scale: calc(1 - var(--q, 0) * .07);
    filter: brightness(calc(1 - var(--q, 0) * .2));
  }
  .fx .category-media { aspect-ratio: 4 / 3; }
  .fx .category-body { padding: .8rem .5rem 0; }
  .fx .category-card h3 { font-size: 1.6rem; }
  .fx [data-fx="card"] { rotate: none; }
  /* Hero: beim Scrollen schrumpft das Vollbild-Video zu einer abgerundeten Karte */
  .fx:not(.intro) .hero-media .media-frame {
    clip-path: inset(calc(var(--hero-out, 0) * 6%) calc(var(--hero-out, 0) * 6%) round calc(var(--hero-out, 0) * 32px));
  }
}

/* Video und Karte: Rahmen öffnet sich */
.fx [data-fx="frame"] {
  clip-path: inset(calc((1 - var(--p)) * 28%) calc((1 - var(--p)) * 14%) round 24px);
  scale: calc(.9 + .1 * var(--p));
}

/* Instagram-Collage fächert sich auf */
.fx [data-fx="fan"] > img:nth-of-type(1) { translate: calc((1 - var(--p)) * 105%) 0; rotate: calc((1 - var(--p)) * 10deg); }
.fx [data-fx="fan"] > img:nth-of-type(3) { translate: calc((1 - var(--p)) * -105%) 0; rotate: calc((1 - var(--p)) * -10deg); }
.fx [data-fx="fan"] > img:nth-of-type(2) { scale: calc(.82 + .18 * var(--p)); }
.fx [data-fx="fan"] .insta-badge { opacity: var(--p); }

/* Hero: beim Herausscrollen tritt der Text zurück, das Smartphone sinkt leicht */
.fx:not(.intro) .hero-text { translate: 0 calc(var(--hero-out, 0) * -90px); opacity: calc(1 - var(--hero-out, 0) * .75); }
@media (min-width: 760px) {
  .fx:not(.intro) .hero-media .phone { translate: 0 calc(var(--hero-out, 0) * 70px); scale: calc(1 - var(--hero-out, 0) * .08); }
}
@media (max-width: 759px) {
  .fx:not(.intro) .hero-media .media-video { scale: calc(1 + var(--hero-out, 0) * .14); }
}

/* ---------- Hinweis (Toast), z. B. „Shop bald online“ ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: calc(1.25rem + env(safe-area-inset-bottom));
  z-index: 60;
  max-width: min(92vw, 440px);
  padding: .9rem 1.25rem;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
  font-size: .95rem;
  line-height: 1.45;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
  transform: translate(-50%, 20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.toast strong { color: var(--oro); }

/* ---------- Dezente Einblend-Animation ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.category-grid .reveal:nth-child(3n + 2) { transition-delay: .08s; }
.category-grid .reveal:nth-child(3n + 3) { transition-delay: .16s; }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Druck ---------- */
@media print {
  .topbar, .site-header, .hero-media, .map, .media-play, .insta-collage { display: none !important; }
  body { background: #fff; }
  .panini, .visit { background: #fff; color: #000; }
}

/* ---------- Cookie-Banner (assets/consent.js) ---------- */
.consent {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom));
  width: min(560px, calc(100% - 28px));
  max-height: calc(100svh - 28px);
  overflow: auto;
  translate: -50% 0;
  padding: 1.35rem 1.35rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm, 14px);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 60px -24px rgba(23, 53, 40, .45);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.consent.is-open { opacity: 1; transform: none; }
.consent[hidden] { display: none; }
.consent-title { margin: 0 0 .5rem; font: 500 1.35rem/1.2 var(--font-display); }
.consent-text { margin: 0 0 .9rem; font-size: .92rem; line-height: 1.55; color: var(--ink-soft); }
.consent-text a { color: var(--rosso-deep); }
.consent-options { margin: 0 0 1rem; padding: 0; list-style: none; display: grid; gap: .45rem; font-size: .9rem; }
.consent-check { display: flex; align-items: center; gap: .6rem; cursor: pointer; }
.consent-check input { width: 1.1rem; height: 1.1rem; accent-color: var(--verde); }
.consent-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.consent-actions .button { flex: 1 1 auto; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }

.footer-link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.footer-link-button:hover { color: var(--rosso-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Rechtliche Seiten (impressum.html, datenschutz.html, agb.html) ---------- */
.legal {
  max-width: calc(760px + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) var(--gutter) clamp(3rem, 2rem + 3vw, 5rem);
}
.legal-back { display: inline-flex; gap: .4rem; margin-bottom: 1.5rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.legal-back:hover { color: var(--rosso-deep); }
.legal h1 { margin: 0 0 .4rem; font: 500 clamp(2rem, 1.4rem + 2.4vw, 3rem)/1.1 var(--font-display); }
.legal-meta { margin: 0 0 1.6rem; color: var(--muted); font-size: .95rem; }
.legal-pdf { margin-bottom: 2.2rem; }
.legal h2 { margin: 2.2rem 0 .6rem; font: 500 1.3rem/1.25 var(--font-display); color: var(--bosco); }
.legal h3 { margin: 1.4rem 0 .3rem; font: 600 1rem/1.4 var(--font-body); }
.legal p, .legal li { line-height: 1.65; color: var(--ink-soft); }
.legal p { margin: 0 0 .8rem; }
.legal ol { margin: 0 0 1rem; padding-left: 1.4rem; }
.legal li + li { margin-top: .45rem; }
.legal a:not(.button) { color: var(--rosso-deep); }
.site-header--legal .header-inner { justify-content: space-between; }
.legal-note {
  margin: 0 0 1.5rem;
  padding: .9rem 1rem;
  border-left: 3px solid var(--rosso);
  background: var(--crema, #f4e8d0);
  border-radius: 6px;
  font-size: .92rem;
}

/* ---------- Marken-Fenster (Sortiment-Karten → Logos) ---------- */
.brands {
  width: min(720px, calc(100% - 28px));
  max-height: calc(100svh - 40px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 90px -30px rgba(23, 53, 40, .55);
  overflow: auto;
}
.brands::backdrop { background: rgba(16, 39, 29, .55); backdrop-filter: blur(3px); }
.brands[open] { animation: brands-in .35s var(--ease); }
@keyframes brands-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.brands-inner { position: relative; padding: clamp(1.5rem, 1rem + 2.5vw, 2.5rem); }
.brands-title { margin: .3rem 0 1.4rem; font: 500 clamp(1.8rem, 1.3rem + 2vw, 2.5rem)/1.1 var(--font-display); }
.brands-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}
.brands-close:hover { border-color: var(--ink); }
.brands-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
@media (min-width: 600px) { .brands-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.brand-tile {
  display: grid;
  place-items: center;
  min-height: 108px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.brand-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(23, 53, 40, .45); }
.brand-tile img { max-width: 100%; max-height: 64px; object-fit: contain; }
.brand-tile--name span { font: 500 1.25rem/1.15 var(--font-display); color: var(--bosco); }
.brands-note { margin: 1.2rem 0 0; font-size: .9rem; color: var(--muted); }
.brands-inner > .button { margin-top: 1.2rem; }
@media (prefers-reduced-motion: reduce) { .brands[open] { animation: none; } .brand-tile { transition: none; } }
