/* ===========================================================================
   Manfred Schwöd — Steckerlfisch, Partyservice & Catering
   Ein einzelnes Stylesheet, keine Abhängigkeiten, kein Build-Schritt.
   =========================================================================== */

/* --- Schrift: lokal gehostet, kein Google-CDN (DSGVO) --------------------- */
@font-face {
  font-family: 'Inter var';
  src: url('../fonts/inter-latin-var.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

/* --- Tokens --------------------------------------------------------------- */
:root {
  --bg:        #f5f5f7;
  --surface:   #ffffff;
  --fg:        #1d1d1f;
  --fg-2:      #6e6e73;
  --ink:       #000000;
  --ink-2:     #0b0b0c;
  --brand:     #5b9bd5;
  --accent:    #0071e3;
  --accent-2:  #0077ed;
  --line:      rgba(0, 0, 0, .12);
  --line-dark: rgba(255, 255, 255, .16);

  --w:      1120px;
  --w-text: 860px;
  --pad:    clamp(1.25rem, 5vw, 3rem);
  --r:      18px;
  --r-lg:   28px;

  --ease: cubic-bezier(.22, .61, .36, 1);

  --font: 'Inter var', -apple-system, BlinkMacSystemFont, 'SF Pro Text',
          'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-synthesis-weight: none;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute; left: 50%; top: 0; translate: -50% -150%;
  z-index: 200; padding: .75rem 1.25rem; border-radius: 0 0 12px 12px;
  background: var(--accent); color: #fff; font-weight: 600;
  transition: translate .2s var(--ease);
}
.skip:focus { translate: -50% 0; }

/* --- Typografie ----------------------------------------------------------- */
.display {
  font-size: clamp(3.25rem, 12vw, 8.5rem);
  font-weight: 700; line-height: .98; letter-spacing: -.04em;
}
h2 {
  font-size: clamp(2.15rem, 5.6vw, 4.25rem);
  font-weight: 700; line-height: 1.05; letter-spacing: -.03em;
}
h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 600; line-height: 1.2; letter-spacing: -.02em;
}
.lead {
  font-size: clamp(1.15rem, 2.1vw, 1.6rem);
  line-height: 1.4; letter-spacing: -.015em; font-weight: 400;
}
.eyebrow {
  font-size: .875rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand);
}
.muted { color: var(--fg-2); }

/* --- Layout --------------------------------------------------------------- */
.wrap  { width: min(100% - var(--pad) * 2, var(--w)); margin-inline: auto; }
.text  { max-width: var(--w-text); }
section { position: relative; }
.pad   { padding-block: clamp(5rem, 13vw, 11rem); }

.dark {
  background: var(--ink);
  color: #f5f5f7;
  --fg: #f5f5f7;
  --fg-2: #a1a1a6;
  --line: var(--line-dark);
}


/* --- Wortmarke (HTML + Inline-SVG statt Bilddatei) ------------------------ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.brand {
  display: inline-flex; align-items: center; gap: .7em;
  color: var(--brand); --mark-cut: #000;
  line-height: 1;
}
.brand__mark { width: 2.05em; height: 1.29em; flex: none; }
.brand__type {
  display: grid; gap: .28em; color: var(--fg);
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.brand__rule { display: block; height: 1px; background: currentColor; opacity: .9; }
.brand__name { font-size: 1em; line-height: 1; }
.brand__sub {
  display: flex; align-items: center; gap: .5em;
  font-size: .52em; font-weight: 600; letter-spacing: .24em;
}
.brand__sub i { flex: 1 0 .9em; height: 1px; background: currentColor; opacity: .9; }

.nav .brand__type, .hero .brand__type { color: #fff; }

.brand--sm { font-size: .8rem; }
.brand--lg { font-size: clamp(1.35rem, 3.6vw, 2.15rem); }

/* --- Navigation ----------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: 3.25rem;
  display: flex; align-items: center;
  background: rgba(0, 0, 0, 0);
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease),
              border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(0, 0, 0, .72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(255, 255, 255, .12);
}
.nav__inner {
  width: min(100% - var(--pad) * 2, var(--w));
  margin-inline: auto;
  display: flex; align-items: center; gap: 1.5rem;
}
.nav__logo { color: var(--brand); flex: none; }

.nav__links {
  margin-left: auto; display: flex; gap: clamp(.9rem, 2.4vw, 2rem);
  list-style: none; padding: 0;
  font-size: .8125rem; color: rgba(255, 255, 255, .82);
}
.nav__links a { transition: color .2s var(--ease); }
.nav__links a:hover { color: #fff; }
@media (max-width: 640px) { .nav__links li:nth-child(-n+2) { display: none; } }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.5rem; border-radius: 999px;
  font-size: 1rem; font-weight: 500; letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-2); }
.btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--link { padding: 0; color: var(--accent); }
.btn--link:hover { text-decoration: underline; transform: none; }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; align-items: end;
  background: var(--ink); color: #fff; overflow: clip;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%;
  will-change: transform;
  transform: scale(calc(1 + var(--hero-p, 0) * .12));
}
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.18) 32%, rgba(0,0,0,.55) 68%, rgba(0,0,0,.92) 100%);
}
.hero__inner {
  position: relative;
  width: min(100% - var(--pad) * 2, var(--w));
  margin-inline: auto;
  padding-block: clamp(4rem, 12vh, 8rem) clamp(3.5rem, 10vh, 6rem);
  opacity: calc(1 - var(--hero-p, 0) * 1.15);
  translate: 0 calc(var(--hero-p, 0) * -3rem);
}
.hero__logo { margin-bottom: clamp(1.5rem, 5vh, 3rem); }

.hero .display { text-wrap: balance; }
.hero .lead { margin-top: 1.25rem; max-width: 34ch; color: rgba(255, 255, 255, .88); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.5rem; translate: -50% 0;
  display: grid; justify-items: center; gap: .5rem;
  font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  opacity: calc(1 - var(--hero-p, 0) * 3);
}
.hero__scroll span { display: block; width: 1px; height: 2rem; background: currentColor; animation: drop 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drop { 0% { scale: 1 0; } 45% { scale: 1 1; } 100% { scale: 1 0; transform-origin: bottom; } }

/* --- Statement: Wort-für-Wort-Aufhellung --------------------------------- */
.statement { padding-block: clamp(6rem, 18vh, 12rem); }
.statement p {
  font-size: clamp(1.6rem, 4.4vw, 3.25rem);
  font-weight: 600; line-height: 1.24; letter-spacing: -.03em;
  text-wrap: pretty;
}
.statement w {
  display: inline-block;
  opacity: clamp(.16, calc((var(--p, 0) * var(--n, 1) - var(--i, 0)) * .55 + .18), 1);
  transition: opacity .12s linear;
}
.statement strong { font-weight: 600; color: var(--brand); }

/* --- Sticky-Szene: Bild wächst und zoomt beim Scrollen -------------------- */
.scene { height: 320svh; }
.scene__sticky {
  position: sticky; top: 0; height: 100svh;
  display: grid; place-items: center; overflow: clip;
  background: var(--ink);
}
.scene__frame {
  position: relative;
  width: calc(100% - (1 - var(--s-p, 0)) * clamp(2rem, 16vw, 22rem));
  height: calc(100% - (1 - var(--s-p, 0)) * clamp(2rem, 12vh, 10rem));
  border-radius: calc((1 - var(--s-p, 0)) * var(--r-lg));
  overflow: hidden;
  will-change: width, height;
}
.scene__frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%;
  transform: scale(calc(1.28 - var(--s-p, 0) * .28));
  will-change: transform;
}
.scene__frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,.15) 40%, rgba(0,0,0,.78));
}
.scene__caption {
  position: absolute; inset: auto 0 0;
  padding: 0 var(--pad) clamp(2.5rem, 8vh, 5rem);
  color: #fff; pointer-events: none;
}
.scene__caption > div {
  position: relative; width: min(100%, var(--w)); margin-inline: auto;
  min-height: clamp(10rem, 24vh, 12rem);
}
.scene__fact {
  position: absolute; inset: auto 0 0; max-width: 32ch;
  opacity: 0; translate: 0 1.5rem;
  transition: opacity .45s var(--ease), translate .45s var(--ease);
}
.scene__fact.is-on { opacity: 1; translate: 0; }
.scene__fact h3 { margin-bottom: .5rem; }
.scene__fact p { color: rgba(255, 255, 255, .78); }
.scene__title {
  position: absolute; inset: auto 0 auto 0; top: clamp(4.5rem, 14vh, 8rem);
  padding-inline: var(--pad); color: #fff; text-align: center;
  opacity: clamp(0, calc(var(--s-p, 0) * 4), 1);
}

/* --- Gewürze -------------------------------------------------------------- */
.spice__grid {
  display: grid; gap: clamp(2.5rem, 6vw, 5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .spice__grid { grid-template-columns: 1.1fr .9fr; align-items: start; } }

.chips { display: flex; flex-wrap: wrap; gap: .625rem; margin-top: 2rem; padding: 0; list-style: none; }
.chips li {
  padding: .55rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, .04);
  font-size: .9375rem; font-weight: 500;
  opacity: 0; translate: 0 .75rem; filter: blur(4px);
  transition: opacity .5s var(--ease), translate .5s var(--ease), filter .5s var(--ease);
  transition-delay: calc(var(--i) * 70ms);
}
.is-in .chips li { opacity: 1; translate: 0; filter: none; }

.nutri { border-top: 1px solid var(--line-dark); }
.nutri dl { display: grid; grid-template-columns: 1fr auto; margin: 0; }
.nutri dt, .nutri dd {
  padding: .8rem 0; margin: 0; border-bottom: 1px solid var(--line-dark);
  font-size: .9375rem;
}
.nutri dd { text-align: right; font-variant-numeric: tabular-nums; color: var(--fg-2); }

/* --- Karten --------------------------------------------------------------- */
.cards {
  display: grid; gap: 1.25rem; margin-top: clamp(2.5rem, 6vw, 4rem);
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: var(--ink); color: #fff;
  min-height: clamp(24rem, 46vw, 32rem);
  display: grid; align-items: end;
  isolation: isolate;
}
.card img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: scale .6s var(--ease);
}
.card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.42) 52%, rgba(0,0,0,.93) 100%);
}
.card:hover img { scale: 1.04; }
.card__body { padding: clamp(1.5rem, 3vw, 2.25rem); }
.card__body p { margin-top: .6rem; color: rgba(255, 255, 255, .8); font-size: .9875rem; }

/* --- Ablauf --------------------------------------------------------------- */
.steps { display: grid; gap: clamp(2rem, 5vw, 3.5rem); margin-top: clamp(2.5rem, 6vw, 4rem); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.step__n {
  font-size: clamp(2.75rem, 6vw, 4.25rem); font-weight: 700;
  letter-spacing: -.04em; line-height: 1; color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.step h3 { margin: .75rem 0 .5rem; }
.step p { color: var(--fg-2); }

/* --- Galerie (horizontal, Scroll-Snap) ------------------------------------ */
.gallery {
  display: flex; gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-block: 0 1rem;
  /* Erste Karte auf der gleichen Linie wie die Überschrift starten lassen */
  padding-inline: max(var(--pad), calc((100% - var(--w)) / 2));
  margin-top: clamp(2rem, 5vw, 3rem);
}
.gallery::-webkit-scrollbar { display: none; }
.gallery figure {
  flex: 0 0 min(78vw, 26rem); scroll-snap-align: center;
  margin: 0; border-radius: var(--r); overflow: hidden; background: #000;
  aspect-ratio: 3 / 4;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* --- Kontakt -------------------------------------------------------------- */
.contact__actions {
  display: grid; gap: 1rem; margin-top: clamp(2.5rem, 6vw, 3.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .contact__actions { grid-template-columns: repeat(3, 1fr); } }
.action {
  display: grid; gap: .35rem; align-content: start;
  padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--r-lg);
  border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04);
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.action:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .34); transform: translateY(-2px); }
.action__label { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.action__value { font-size: clamp(1.1rem, 2.2vw, 1.4rem); font-weight: 600; letter-spacing: -.02em; word-break: break-word; }
.action__hint { font-size: .9rem; color: var(--fg-2); }

/* --- Footer --------------------------------------------------------------- */
.footer { background: var(--ink); color: #a1a1a6; font-size: .8125rem; }
.footer__inner {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center;
  padding-block: 2.5rem; border-top: 1px solid var(--line-dark);
}
.footer nav { display: flex; gap: 1.5rem; margin-left: auto; }
.footer a:hover { color: #fff; }

/* --- Einblenden beim Scrollen (IntersectionObserver) ---------------------- */
.fx {
  opacity: 0; translate: 0 2.5rem;
  transition: opacity .8s var(--ease), translate .8s var(--ease);
}
.fx.is-in { opacity: 1; translate: 0; }
.fx-2 { transition-delay: .1s; }
.fx-3 { transition-delay: .2s; }

/* Ohne JS bleibt alles sichtbar und lesbar: die Sticky-Szene wird zur
   normalen Bild-plus-Text-Sektion, genau wie bei reduzierter Bewegung. */
.no-js .fx { opacity: 1; translate: 0; }
.no-js .chips li { opacity: 1; translate: 0; filter: none; }
.no-js .statement w { opacity: 1; }
.no-js .hero__inner { opacity: 1; translate: 0; }
.no-js .scene { height: auto; }
.no-js .scene__sticky { position: static; height: auto; display: block; }
.no-js .scene__frame { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; }
.no-js .scene__frame img { height: 100%; }
.no-js .scene__title { position: static; padding: clamp(3rem, 8vw, 5rem) var(--pad) 0; opacity: 1; }
.no-js .scene__caption { position: static; padding-block: clamp(2.5rem, 6vw, 4rem); background: var(--ink); }
.no-js .scene__caption > div { min-height: 0; }
.no-js .scene__fact {
  position: static; opacity: 1; translate: 0; max-width: none;
  margin-bottom: 2rem;
}

.legal__top {
  display: flex; align-items: center; gap: 1rem;
  padding-block: 1.5rem; border-bottom: 1px solid var(--line);
}
.legal__top .brand { font-size: .85rem; }

/* --- Legal-Unterseiten ---------------------------------------------------- */
.legal { padding-block: clamp(3rem, 8vw, 5rem) clamp(4rem, 10vw, 7rem); }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; letter-spacing: -.03em; }
.legal h2 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); margin-top: 2.5rem; }
.legal p, .legal ul { margin-top: .9rem; color: var(--fg-2); max-width: 68ch; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-top: .35rem; }
.legal address { font-style: normal; margin-top: .9rem; color: var(--fg-2); }
.legal .back { display: inline-block; margin-top: 3rem; color: var(--accent); }

/* --- Bewegung reduzieren -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .fx, .chips li { opacity: 1; translate: 0; filter: none; }
  .statement w { opacity: 1; }
  .hero__media img, .scene__frame img { transform: none; }
  .hero__inner { opacity: 1; translate: 0; }
  .scene { height: auto; }
  .scene__sticky { position: static; height: auto; min-height: 80svh; }
  .scene__frame { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; }
  .scene__fact { position: static; opacity: 1; translate: 0; margin-bottom: 1.5rem; max-width: none; }
  .scene__caption { position: static; padding-block: 2.5rem; background: var(--ink); }
  .scene__title { position: static; padding-block: 3rem 0; opacity: 1; }
}
