/* ============================================================
   BENF · Senf aus Berlin — Startseite
   Farbwelt: Etikett (Navy / Senfgelb) + Holztisch aus den Fotos
   ============================================================ */

:root {
  /* Marke */
  --navy:        #1b2a4a;
  --navy-deep:   #131f38;
  --senf:        #e3a82b;
  --senf-dark:   #c98d15;
  --creme:       #f7f0e2;
  --creme-warm:  #efe4cf;
  --holz:        #2b1c11;
  --holz-light:  #4a3220;

  /* Sortenakzente */
  --oliv:        #7d7a35;
  --amber:       #e09a3e;
  --chili:       #b3202e;

  /* Text */
  --ink:         #241b12;
  --ink-soft:    #5c4d3d;
  --ink-invert:  #f7f0e2;

  --radius:      14px;
  --radius-lg:   22px;
  --shadow:      0 18px 40px -22px rgba(35, 22, 10, .55);
  --shadow-lg:   0 30px 60px -30px rgba(35, 22, 10, .7);

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-body:    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap:        1180px;
  --gutter:      clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Reset / Basis ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: var(--ink-invert); padding: .8rem 1.2rem;
}
.skip-link:focus { left: .5rem; top: .5rem; }
:focus-visible { outline: 3px solid var(--senf); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 700; color: var(--senf-dark); margin: 0 0 .9rem;
}
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 46rem; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section-title { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.35rem); }
.section-sub { color: var(--ink-soft); font-size: 1.075rem; margin: 0; }
.muted { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--senf);
  --btn-fg: var(--navy-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.7rem;
  font: 600 .95rem/1 var(--font-body);
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 2px solid transparent; border-radius: 999px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .5); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--senf); color: var(--navy-deep); }
.btn-primary:hover { background: #f0b53a; }
.btn-ghost { background: transparent; color: var(--ink-invert); border-color: rgba(247, 240, 226, .5); }
.btn-ghost:hover { background: rgba(247, 240, 226, .12); border-color: var(--creme); }
.btn-sm { padding: .6rem 1.15rem; font-size: .85rem; }

/* ---------- Ankündigungsleiste ---------- */
.announce {
  background: var(--navy-deep); color: var(--creme-warm);
  text-align: center; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
}
.announce p { margin: 0; padding: .6rem 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 240, 226, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(43, 28, 17, .1);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--navy); color: var(--senf);
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
  box-shadow: inset 0 0 0 2px rgba(227, 168, 43, .35);
}
.brand-text strong { display: block; font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .1em; line-height: 1; }
.brand-text small { display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }

.site-nav ul { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.site-nav a { text-decoration: none; font-weight: 600; font-size: .94rem; }
.site-nav a:not(.btn) { position: relative; padding: .3rem 0; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--senf); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  background: none; border: 1px solid rgba(43, 28, 17, .2); border-radius: 10px; cursor: pointer;
}
.nav-toggle-bars { display: grid; gap: 5px; place-items: center; }
.nav-toggle-bars i { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(88vh, 780px);
  display: flex; align-items: flex-end;
  padding: clamp(5rem, 14vw, 9rem) 0 clamp(4rem, 8vw, 6rem);
  color: var(--ink-invert);
  background: var(--holz);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(20, 12, 6, .93) 0%, rgba(20, 12, 6, .72) 38%, rgba(20, 12, 6, .35) 68%, rgba(20, 12, 6, .55) 100%);
}
/* Ab Tablet zusätzlich von links abdunkeln, damit die Gläser rechts frei bleiben */
@media (min-width: 860px) {
  .hero::after {
    background:
      linear-gradient(to right, rgba(20, 12, 6, .88) 0%, rgba(20, 12, 6, .6) 42%, rgba(20, 12, 6, .12) 72%, rgba(20, 12, 6, .3) 100%),
      linear-gradient(to top, rgba(20, 12, 6, .85) 0%, rgba(20, 12, 6, .3) 45%, rgba(20, 12, 6, .1) 70%, rgba(20, 12, 6, .5) 100%);
  }
  .hero-media img { object-position: 62% 60%; }
}
.hero-inner { max-width: 44rem; }
.hero .eyebrow { color: var(--senf); }
.hero h1 { font-size: clamp(2.6rem, 1.4rem + 5.4vw, 5.25rem); text-shadow: 0 4px 30px rgba(0, 0, 0, .45); }
.hero .lead {
  font-size: clamp(1.05rem, 1rem + .35vw, 1.28rem);
  color: rgba(247, 240, 226, .88);
  max-width: 34rem; margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(247, 240, 226, .45); border-radius: 999px;
  display: grid; place-items: start center; padding-top: 7px;
}
.hero-scroll span { width: 4px; height: 8px; border-radius: 2px; background: var(--senf); animation: scrollHint 1.8s ease-in-out infinite; }
@keyframes scrollHint { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(12px); opacity: .1; } }

/* ---------- USP ---------- */
.usp { background: var(--navy); color: var(--ink-invert); padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.usp-grid { display: grid; gap: 2rem clamp(1.5rem, 3vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.usp-item h2 { font-size: 1.08rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .01em; margin-bottom: .3rem; }
.usp-item p { margin: 0; font-size: .9rem; color: rgba(247, 240, 226, .72); }
.usp-icon { display: block; font-size: 1.4rem; color: var(--senf); margin-bottom: .55rem; }

/* ---------- Sorten-Karten ---------- */
.sorten { background: var(--creme); }
.cards { display: grid; gap: clamp(1.5rem, 3vw, 2.2rem); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  display: flex; flex-direction: column;
  background: #fffdf7;
  border: 1px solid rgba(43, 28, 17, .1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.card-top {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 190px;                 /* hält die Karten trotz ein-/zweizeiliger Namen bündig */
  padding: 2.2rem 1.9rem 2.1rem;
  color: #fffdf7;
  background: var(--accent, var(--senf));
}
.card-top::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 34px;
  background: #fffdf7;
  clip-path: ellipse(72% 100% at 50% 100%);
}
.card[data-sorte="knoblauch"] { --accent: var(--oliv); }
.card[data-sorte="dijon"]     { --accent: var(--amber); }
.card[data-sorte="chili"]     { --accent: var(--chili); }

.card-badge {
  display: block; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  opacity: .85; margin-bottom: .6rem;
}
.card-name { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); margin-bottom: .35rem; }
.card-claim { font-size: .95rem; font-style: italic; margin: 0; opacity: .95; }

.card-body { padding: 1.4rem 1.9rem 2rem; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; gap: 1.8rem; margin: 0 0 1.1rem; padding-bottom: 1.1rem; border-bottom: 1px dashed rgba(43, 28, 17, .18); }
.card-meta dt { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.card-meta dd { margin: .25rem 0 0; font-weight: 600; }

.heat { display: inline-flex; gap: 4px; }
.heat i { width: 9px; height: 9px; border-radius: 50%; background: rgba(43, 28, 17, .18); display: block; }
.heat i.on { background: var(--accent, var(--senf)); }

.card-text { font-size: .96rem; }
.card-ingredients { font-size: .82rem; color: var(--ink-soft); line-height: 1.55; margin-bottom: 1.4rem; }
.card-ingredients strong { color: var(--ink); }
.card-cta { margin: auto 0 0; }
.soon {
  display: inline-block; padding: .55rem 1.15rem;
  border: 1.5px dashed var(--accent, var(--senf)); border-radius: 999px;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--accent, var(--senf-dark));
}

/* ---------- Split-Sektionen ---------- */
.split { background: var(--creme-warm); }
.split.story { background: var(--creme); }
.split-grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) {
  .split-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  /* Bild rechts: Textspalte steht dann vorn und bekommt die breitere Spur */
  .split-reverse .split-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .split-reverse .split-media { order: 2; }
}
.split-media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-text p { color: var(--ink-soft); max-width: 40rem; }
.split-text .section-title { color: var(--ink); }

.checklist { margin-top: 1.6rem; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 1.9rem; color: var(--ink-soft); font-size: .96rem; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 1.3rem; height: 1.3rem; display: grid; place-items: center;
  background: var(--navy); color: var(--senf); border-radius: 50%; font-size: .7rem; font-weight: 700;
}
.signature { font-family: var(--font-display); font-size: 1.3rem; color: var(--senf-dark) !important; margin-top: 1.6rem; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--navy); color: var(--ink-invert); text-align: center; }
.newsletter .section-title { color: var(--ink-invert); }
.newsletter .section-sub { color: rgba(247, 240, 226, .75); }
.newsletter-inner { max-width: 46rem; margin-inline: auto; }

.signup { margin-top: 2.2rem; display: grid; gap: .8rem; justify-content: center; }
.signup input[type="email"] {
  width: min(100%, 24rem);
  padding: .95rem 1.2rem;
  font: inherit; font-size: 1rem;
  color: var(--ink); background: var(--creme);
  border: 2px solid transparent; border-radius: 999px;
}
.signup input[type="email"]::placeholder { color: rgba(92, 77, 61, .6); }
.signup input[type="email"]:focus { border-color: var(--senf); outline: none; }
@media (min-width: 560px) {
  .signup { grid-template-columns: auto auto; align-items: center; }
  .signup-note { grid-column: 1 / -1; }
}
.signup-note { font-size: .8rem; color: rgba(247, 240, 226, .65); margin: .4rem 0 0; }
.signup-note label { display: inline-flex; gap: .5rem; align-items: flex-start; justify-content: center; text-align: left; max-width: 30rem; }
.signup-note a { color: var(--senf); }
.signup-status { margin-top: 1rem; color: var(--senf); font-weight: 600; }

/* ---------- Kontakt ---------- */
.kontakt { background: var(--creme); }
.kontakt-mail {
  max-width: 34rem; margin-inline: auto; text-align: center;
  background: #fffdf7; border: 1px solid rgba(43, 28, 17, .1);
  border-top: 4px solid var(--senf);
  border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 2.6rem) 1.5rem;
  box-shadow: var(--shadow);
}
.kontakt-label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .6rem; }
.kontakt-address { margin-bottom: 1.4rem; }
.kontakt-address a {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 1.6vw, 1.9rem);
  color: var(--navy); text-decoration: none;
  border-bottom: 2px solid rgba(227, 168, 43, .55);
  word-break: break-word;
}
.kontakt-address a:hover { color: var(--senf-dark); border-color: var(--senf); }

.kontakt-cta {
  margin-top: 2.5rem; padding: 2rem;
  background: var(--creme-warm); border-radius: var(--radius-lg);
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: center; text-align: center;
}
.kontakt-cta p { margin: 0; font-family: var(--font-display); font-size: 1.25rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(247, 240, 226, .75); padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.footer-brand { display: flex; gap: .8rem; align-items: center; }
.footer-brand p { margin: 0; line-height: 1.35; }
.footer-brand strong { color: var(--creme); font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .1em; }
.site-footer h2 { font-family: var(--font-body); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--senf); margin-bottom: .9rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--senf); }
.footer-nav li + li { margin-top: .45rem; }
.footer-contact p { margin: 0 0 .4rem; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.3rem; border-top: 1px solid rgba(247, 240, 226, .14);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .82rem; color: rgba(247, 240, 226, .55);
}
.footer-bottom p { margin: 0; }

/* ---------- Rechtstexte (Impressum / Datenschutz) ---------- */
.legal { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.legal-inner { max-width: 46rem; margin-inline: auto; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2.4rem; }
.legal h3 { font-size: 1.05rem; font-family: var(--font-body); margin-top: 1.6rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; }
.legal li { margin-bottom: .4rem; }
.legal a { color: var(--navy); }
.legal-note {
  background: #fff6d9; border-left: 4px solid var(--senf);
  padding: 1rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .92rem; color: var(--ink);
}
.back-link { display: inline-block; margin-bottom: 2rem; font-weight: 600; text-decoration: none; color: var(--navy); }
.back-link:hover { color: var(--senf-dark); }

/* ---------- Reveal-Animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Mobile Navigation ---------- */
@media (max-width: 800px) {
  .nav-toggle { display: grid; place-items: center; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--creme); border-bottom: 1px solid rgba(43, 28, 17, .12);
    box-shadow: var(--shadow);
    display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease;
  }
  .site-nav > ul { overflow: hidden; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav.is-open { grid-template-rows: 1fr; }
  .site-nav li { border-top: 1px solid rgba(43, 28, 17, .08); }
  .site-nav a:not(.btn) { display: block; padding: 1rem var(--gutter); }
  .site-nav .btn { margin: 1rem var(--gutter) 1.4rem; }
  .site-nav a:not(.btn)::after { display: none; }
}

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