/* ==========================================================
   Backhaus Lindner — Familienbäckerei
   Minimal, warm, viel Weißraum.
   ========================================================== */

:root {
  --paper: #f7f3ec;
  --paper-2: #efe8dc;
  --white: #fdfbf7;
  --ink: #1f1b16;
  --ink-soft: #4a433b;
  --muted: #8a8178;
  --line: #ddd4c6;
  --wheat: #a8763e;
  --wheat-dark: #7f5528;
  --dark: #171310;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(96px, 14vw, 200px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--wheat); color: var(--white); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typo ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }

h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -.025em;
  font-optical-sizing: auto;
  margin: 0;
}
h1 { font-size: clamp(42px, 7vw, 96px); }
h2 { font-size: clamp(34px, 4.6vw, 62px); }
h3 { font-size: clamp(23px, 2.2vw, 29px); line-height: 1.2; letter-spacing: -.015em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--wheat-dark); }

.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.75; color: var(--ink-soft); max-width: 56ch; }
.small { font-size: 13px; color: var(--muted); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--sans); font-weight: 800; font-size: 19px; letter-spacing: .04em; text-transform: uppercase; line-height: 1; }
.brand__sub { font-size: 9px; letter-spacing: .34em; text-transform: uppercase; opacity: .7; margin-top: 7px; }

.nav { display: flex; gap: 40px; align-items: center; }
.nav a {
  font-size: 13px; letter-spacing: .08em; position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.header--light { color: var(--white); }
.header.is-solid {
  background: rgba(247, 243, 236, .88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  color: var(--ink);
  border-bottom-color: var(--line);
}

.menu-btn {
  display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer;
}
.menu-btn span { display: block; width: 24px; height: 1px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.menu-btn span + span { margin-top: 7px; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 0; background: var(--paper); color: var(--ink);
    flex-direction: column; justify-content: center; gap: 28px;
    opacity: 0; pointer-events: none; transition: opacity .5s var(--ease);
  }
  .nav a { font-family: var(--serif); font-size: 34px; letter-spacing: 0; }
  body.menu-open .nav { opacity: 1; pointer-events: auto; }
  body.menu-open .header { color: var(--ink); }
  body.menu-open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
  body.menu-open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .menu-btn { position: relative; z-index: 2; }
  .brand { position: relative; z-index: 2; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 620px;
  color: var(--white); overflow: hidden; background: var(--dark);
}
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,12,9,.55) 0%, rgba(15,12,9,.15) 60%, rgba(15,12,9,0) 100%),
    linear-gradient(0deg, rgba(15,12,9,.5) 0%, rgba(15,12,9,0) 50%),
    rgba(15,12,9,.68);
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero__content {
  position: absolute; left: 0; right: 0; bottom: clamp(56px, 10vh, 120px);
}
.hero__content .eyebrow { color: rgba(253,251,247,.75); }
.hero h1 { max-width: none; }
.hero h1 em { color: #e8cfa6; }
.hero h1 .line-mask, .page-hero h1 .line-mask { white-space: nowrap; }
@media (max-width: 520px) { .hero h1 .line-mask, .page-hero h1 .line-mask { white-space: normal; } }
.hero__meta {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 40px;
  flex-wrap: wrap;
}
.hero__meta p { margin: 0; max-width: 40ch; color: rgba(253,251,247,.82); font-size: 15px; }
.scroll-cue {
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: rgba(253,251,247,.7);
  display: flex; align-items: center; gap: 14px;
}
.scroll-cue i { display: block; width: 1px; height: 48px; background: rgba(253,251,247,.35); position: relative; overflow: hidden; }
.scroll-cue i::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--white);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { to { top: 100%; } }

/* Page hero (Unterseiten) */
.page-hero { padding: calc(84px + clamp(72px, 12vw, 160px)) 0 clamp(56px, 8vw, 104px); }
.page-hero h1 { font-size: clamp(40px, 6vw, 84px); }
.page-hero .lead { margin-top: 32px; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--white { background: var(--white); }
.section--dark { background: var(--dark); color: var(--paper); }
.section--dark .eyebrow, .section--dark .lead { color: rgba(247,243,236,.65); }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 128px); align-items: center;
}
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.statement {
  font-family: var(--serif); font-size: clamp(27px, 3.6vw, 50px); line-height: 1.22; font-weight: 300; letter-spacing: -.02em;
  max-width: 22ch; margin: 0;
}
.statement em { color: var(--wheat-dark); }

.figure { margin: 0; position: relative; overflow: hidden; background: var(--paper-2); }
.figure img, .figure video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.figure--tall { aspect-ratio: 4 / 5; }
.figure--wide { aspect-ratio: 16 / 9; }
.figure figcaption { font-size: 12px; color: var(--muted); padding-top: 14px; letter-spacing: .04em; }

/* Full-bleed video band */
.band { position: relative; height: 88vh; min-height: 520px; overflow: hidden; background: var(--dark); color: var(--white); }
.band video, .band img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,12,9,.55), rgba(15,12,9,.05) 60%); }
.band__text { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(48px, 9vh, 104px); }
.band__text .statement { color: var(--white); max-width: 18ch; }
.band__text .statement em { color: #e5c79e; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: clamp(56px, 8vw, 96px); }
.pillar { padding: 40px 40px 0 0; }
.pillar + .pillar { padding-left: 40px; border-left: 1px solid var(--line); }
.pillar__num { font-family: var(--serif); font-size: 15px; color: var(--wheat); font-style: italic; }
.pillar h3 { margin: 18px 0 14px; }
.pillar p { margin: 0; color: var(--ink-soft); font-size: 15px; }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 36px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Timeline */
.timeline { list-style: none; margin: clamp(48px, 7vw, 88px) 0 0; padding: 0; border-top: 1px solid rgba(247,243,236,.16); }
.timeline li {
  display: grid; grid-template-columns: 160px 1fr; gap: 40px; padding: 32px 0;
  border-bottom: 1px solid rgba(247,243,236,.16);
}
.timeline .year { font-family: var(--serif); font-weight: 300; font-size: 36px; line-height: 1; color: #e5c79e; }
.timeline h3 { font-size: 24px; margin-bottom: 6px; }
.timeline p { margin: 0; color: rgba(247,243,236,.65); font-size: 15px; max-width: 60ch; }
@media (max-width: 640px) { .timeline li { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 30px; border: 1px solid currentColor; border-radius: 999px;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500;
  background: transparent; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: translateY(101%); transition: transform .5s var(--ease); border-radius: inherit;
}
.btn:hover { color: var(--paper); border-color: var(--ink); }
.btn:hover::before { transform: translateY(0); }
.btn--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--solid::before { background: var(--wheat-dark); }
.btn--solid:hover { border-color: var(--wheat-dark); }
.btn--light { color: var(--white); }
.btn--light::before { background: var(--white); }
.btn--light:hover { color: var(--ink); border-color: var(--white); }
.btn .arrow { transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link {
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500;
  border-bottom: 1px solid currentColor; padding-bottom: 4px; display: inline-flex; gap: 10px;
}
.link .arrow { transition: transform .5s var(--ease); }
.link:hover .arrow { transform: translateX(4px); }

/* ---------- Produktgrid ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(48px, 6vw, 80px); }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.chip {
  border: 1px solid var(--line); background: transparent; border-radius: 999px;
  padding: 10px 20px; font-size: 13px; cursor: pointer; color: var(--ink-soft);
  transition: all .4s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.5vw, 40px) clamp(16px, 2vw, 32px); }
.products--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .products, .products--3 { grid-template-columns: repeat(2, 1fr); } }

.product { text-align: left; background: none; border: 0; padding: 0; cursor: pointer; display: block; width: 100%; }
.product__img { aspect-ratio: 4 / 5; overflow: hidden; background: #f0ebe2; position: relative; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.product:hover .product__img img { transform: scale(1.045); }
.product__more {
  position: absolute; left: 16px; bottom: 16px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  background: var(--white); padding: 9px 14px; border-radius: 999px;
  opacity: 0; transform: translateY(8px); transition: all .5s var(--ease);
}
.product:hover .product__more, .product:focus-visible .product__more { opacity: 1; transform: none; }
.product__info { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; align-items: baseline; }
.product__name { font-family: var(--serif); font-size: 21px; line-height: 1.25; letter-spacing: -.01em; }
.product__price { font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
.product__meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.product.is-hidden { display: none; }
@media (hover: none) { .product__more { opacity: 1; transform: none; } }

/* ---------- Produkt-Dialog ---------- */
dialog.sheet {
  border: 0; padding: 0; margin: 0 0 0 auto; height: 100%; max-height: 100%;
  width: min(760px, 100%); max-width: 100%; background: var(--white); color: var(--ink);
  overflow-y: auto; overscroll-behavior: contain;
}
dialog.sheet::backdrop { background: rgba(23,19,16,.45); backdrop-filter: blur(4px); }
dialog.sheet[open] { animation: sheetIn .6s var(--ease); }
dialog.sheet[open]::backdrop { animation: fade .6s var(--ease); }
@keyframes sheetIn { from { transform: translateX(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }

.sheet__close {
  position: sticky; top: 0; margin-left: auto; display: flex; z-index: 2;
  background: var(--white); border: 0; cursor: pointer; padding: 22px 26px; font-size: 12px;
  letter-spacing: .2em; text-transform: uppercase; gap: 10px; align-items: center;
}
.sheet__img { aspect-ratio: 4 / 3; overflow: hidden; background: #f0ebe2; margin-top: -64px; }
.sheet__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.sheet__body { padding: clamp(28px, 5vw, 56px); }
.sheet__body h2 { font-size: clamp(36px, 5vw, 54px); }
.sheet__top { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; flex-wrap: wrap; margin-bottom: 8px; }
.sheet__price { font-size: 18px; }
.sheet__desc { color: var(--ink-soft); margin: 18px 0 40px; }

.facts { border-top: 1px solid var(--line); }
.facts h4 {
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; color: var(--muted);
  margin: 32px 0 14px;
}
.facts p { margin: 0; font-size: 15px; color: var(--ink-soft); }

.allergens { display: flex; flex-wrap: wrap; gap: 8px; }
.allergen {
  display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 13px;
}
.allergen b { font-weight: 600; font-size: 11px; color: var(--wheat-dark); }
.allergen--none { color: var(--muted); }

.nutri { width: 100%; border-collapse: collapse; font-size: 14px; }
.nutri th, .nutri td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.nutri td { text-align: right; font-variant-numeric: tabular-nums; }
.nutri tr.sub th { padding-left: 16px; color: var(--muted); }
.nutri thead th { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.nutri thead th:last-child { text-align: right; }

.legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 32px; margin-top: 32px; font-size: 13px; color: var(--ink-soft); }
.legend b { color: var(--wheat-dark); font-weight: 600; margin-right: 8px; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(48px, 7vw, 112px) clamp(24px, 5vw, 80px); }
.team .member:nth-child(even) { margin-top: clamp(0px, 12vw, 180px); }
@media (max-width: 760px) { .team { grid-template-columns: 1fr; } .team .member:nth-child(even) { margin-top: 0; } }
.member__img { aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper-2); }
.member__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: transform 1.6s var(--ease), filter 1s var(--ease); }
.member:hover .member__img img { transform: scale(1.03); filter: saturate(1); }
.member__role { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin: 28px 0 10px; }
.member h3 { font-size: clamp(30px, 3vw, 40px); }
.member p { color: var(--ink-soft); margin: 16px 0 0; max-width: 46ch; }
.member blockquote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 20px; line-height: 1.4; margin: 22px 0 0; color: var(--wheat-dark); }

/* ---------- Gutschein ---------- */
.voucher-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
@media (max-width: 960px) { .voucher-layout { grid-template-columns: 1fr; } }
.voucher-stage { position: sticky; top: 120px; }
@media (max-width: 960px) { .voucher-stage { position: static; } }

.voucher {
  aspect-ratio: 1.75 / 1; border-radius: 14px; padding: clamp(24px, 4vw, 44px);
  display: flex; flex-direction: column; justify-content: space-between;
  color: var(--paper); position: relative; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(31,27,22,.55), 0 10px 30px -18px rgba(31,27,22,.4);
  transition: background .8s var(--ease), color .8s var(--ease), transform .8s var(--ease);
  transform-style: preserve-3d;
}
.voucher::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at var(--mx, 30%) var(--my, 0%), rgba(255,255,255,.18), transparent 55%);
}
.voucher--roggen { background: #241d17; }
.voucher--weizen { background: #c9a575; color: #241d17; }
.voucher--mehl { background: #fdfbf7; color: var(--ink); border: 1px solid var(--line); }
.voucher__top { display: flex; justify-content: space-between; align-items: start; }
.voucher__brand { font-family: var(--sans); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(16px, 1.8vw, 21px); line-height: 1; }
.voucher__brand small { display: block; font-family: var(--sans); font-size: 9px; letter-spacing: .32em; text-transform: uppercase; opacity: .7; margin-top: 8px; }
.voucher__label { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; opacity: .75; }
.voucher__amount { font-family: var(--serif); font-weight: 300; letter-spacing: -.03em; font-variant-numeric: lining-nums; font-size: clamp(52px, 7vw, 84px); line-height: .9; }
.voucher__amount .cur { font-size: .45em; vertical-align: top; margin-left: 6px; }
.voucher__bottom { display: flex; justify-content: space-between; align-items: end; gap: 20px; font-size: 13px; }
.voucher__msg { font-family: var(--serif); font-style: italic; font-size: clamp(14px, 1.4vw, 17px); max-width: 26ch; opacity: .9; min-height: 1.4em; }
.voucher__code { font-size: 10px; letter-spacing: .24em; opacity: .65; white-space: nowrap; }

.notice {
  display: flex; gap: 14px; padding: 18px 22px; border: 1px dashed var(--wheat); border-radius: 10px;
  font-size: 14px; color: var(--wheat-dark); background: rgba(168,118,62,.05); margin-bottom: 40px;
}

/* ---------- Formulare ---------- */
.form { display: grid; gap: 34px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label, .fieldset legend {
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 0;
}
.field input, .field textarea, .field select {
  border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 10px 0 12px;
  font-size: 17px; border-radius: 0; outline: none; transition: border-color .4s var(--ease); width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238a8178'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: #b8afa3; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #a24a3a; }
.field__err { font-size: 12px; color: #a24a3a; min-height: 0; }

.fieldset { border: 0; padding: 0; margin: 0; }
.fieldset legend { margin-bottom: 16px; }
.options { display: flex; flex-wrap: wrap; gap: 10px; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border: 1px solid var(--line); border-radius: 999px;
  cursor: pointer; font-size: 14px; transition: all .4s var(--ease);
}
.option span:hover { border-color: var(--ink); }
.option input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.option input:focus-visible + span { outline: 2px solid var(--wheat); outline-offset: 2px; }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }

.check { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); cursor: pointer; }
.check input { margin-top: 5px; accent-color: var(--ink); width: 16px; height: 16px; flex: none; }

.form__success {
  display: none; padding: 40px 0; border-top: 1px solid var(--line);
}
.form__success h3 { margin-bottom: 12px; }
.form.is-sent > *:not(.form__success) { display: none; }
.form.is-sent .form__success { display: block; animation: rise .8s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 26px; }
.total strong { font-family: var(--serif); font-size: 36px; font-weight: 300; font-variant-numeric: lining-nums; }

/* ---------- Kontakt ---------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 140px 1fr; gap: 24px; }
.info-list li:first-child { border-top: 1px solid var(--line); }
.info-list dt, .info-list .k { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.info-list .v { font-size: 16px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 28px; margin: 0; }
.hours dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .info-list li { grid-template-columns: 1fr; gap: 8px; } }

.map {
  aspect-ratio: 16 / 7; background: var(--paper-2); position: relative; overflow: hidden; margin-top: clamp(64px, 8vw, 112px);
}
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); text-align: center; }
.map__pin i { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); margin: 0 auto; box-shadow: 0 0 0 10px rgba(31,27,22,.08); animation: pulse 2.8s var(--ease) infinite; }
.map__pin span { display: inline-block; margin-bottom: 14px; background: var(--white); padding: 8px 14px; font-size: 12px; letter-spacing: .1em; border-radius: 999px; box-shadow: 0 10px 30px -12px rgba(0,0,0,.25); }
@keyframes pulse { 50% { box-shadow: 0 0 0 22px rgba(31,27,22,0); } }

/* ---------- CTA / Footer ---------- */
.cta-card {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end;
  padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line);
}
@media (max-width: 760px) { .cta-card { grid-template-columns: 1fr; } }

.footer { background: var(--dark); color: rgba(247,243,236,.7); padding: clamp(80px, 10vw, 140px) 0 40px; font-size: 14px; }
.footer__big { font-family: var(--serif); font-weight: 300; letter-spacing: -.025em; color: var(--paper); font-size: clamp(40px, 6vw, 90px); line-height: 1; margin: 0 0 clamp(56px, 8vw, 104px); }
.footer__big em { color: #e5c79e; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 64px; border-bottom: 1px solid rgba(247,243,236,.14); }
.footer h4 { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; color: rgba(247,243,236,.45); margin: 0 0 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--paper); }
.footer__base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: 12px; color: rgba(247,243,236,.4); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Reveal-Animationen ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(12% 0 0 0); transition: clip-path 1.6s var(--ease); }
.reveal-img img, .reveal-img video { transform: scale(1.12); transition: transform 2s var(--ease); }
.reveal-img.is-in { clip-path: inset(0 0 0 0); }
.reveal-img.is-in img, .reveal-img.is-in video { transform: scale(1); }
.d1 { transition-delay: .12s; } .d2 { transition-delay: .24s; } .d3 { transition-delay: .36s; } .d4 { transition-delay: .48s; }

.line-mask { display: block; overflow: hidden; padding-bottom: .06em; }
.line-mask > span { display: block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.is-loaded .line-mask > span { transform: none; }
.is-loaded .line-mask:nth-child(2) > span { transition-delay: .12s; }
.is-loaded .line-mask:nth-child(3) > span { transition-delay: .24s; }
.fade-late { opacity: 0; transition: opacity 1.4s var(--ease) .6s; }
.is-loaded .fade-late { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-img, .line-mask > span, .fade-late { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .reveal-img img, .reveal-img video { transform: none !important; }
}

:focus-visible { outline: 2px solid var(--wheat); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Section mit Video-Hintergrund ---------- */
.section--video { position: relative; overflow: hidden; color: var(--paper); background: var(--dark); isolation: isolate; }
.section__bg { position: absolute; inset: 0; z-index: -1; }
.section__bg video { width: 100%; height: 100%; object-fit: cover; }
.section__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,16,12,.80) 0%, rgba(20,16,12,.62) 45%, rgba(20,16,12,.88) 100%);
}
.section--video .eyebrow { color: rgba(247,243,236,.7); }
.section--video h2 em { color: #e8cfa6; }
.section--video .pillars { border-top-color: rgba(247,243,236,.22); }
.section--video .pillar + .pillar { border-left-color: rgba(247,243,236,.22); }
.section--video .pillar__num { color: #e8cfa6; }
.section--video .pillar p { color: rgba(247,243,236,.82); }
@media (max-width: 860px) { .section--video .pillar, .section--video .pillar + .pillar { border-bottom-color: rgba(247,243,236,.22); } }

/* ---------- Footer mit Standbild ---------- */
.footer { position: relative; isolation: isolate; overflow: hidden; }
.footer::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../img/mehl.webp") center 60% / cover no-repeat;
}
.footer::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(23,19,16,.78) 0%, rgba(23,19,16,.86) 55%, rgba(23,19,16,.96) 100%);
}

.band--dim::after { background: linear-gradient(0deg, rgba(15,12,9,.7), rgba(15,12,9,.25) 65%); }
