/* ==========================================================================
   BÜHLER KAFFEERÖSTEREI — Corporate Website
   Design System · Made in Black Forest
   ========================================================================== */

/* ---------- Fonts (self-hosted, DSGVO-konform) ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/jost-latin-300-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jost-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jost-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/jost-latin-600-normal.woff2') format('woff2');
}

/* ---------- Custom Properties ---------- */
:root {
  /* CI-Farben (aus Logo & Bestandsseite übernommen) */
  --green-950: #071A15;
  --green-900: #0C2E28;   /* Markengrün */
  --green-850: #0F362E;
  --green-800: #14423A;
  --gold: #A8905A;        /* Logo-Gold */
  --gold-bright: #C4A96E;
  --gold-soft: rgba(168, 144, 90, .35);
  --ivory: #F5F1E6;
  --cream: #FBF9F3;
  --paper: #F8F5EC;
  --ink: #16211D;
  --ink-soft: #45524C;
  --line: rgba(12, 46, 40, .14);
  --line-light: rgba(245, 241, 230, .16);

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-sans: 'Jost', 'Century Gothic', 'Segoe UI', sans-serif;

  --w-max: 1240px;
  --w-text: 720px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --sec: clamp(5rem, 10vw, 9rem);
  --radius: 2px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--gold); color: #fff; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  color: inherit;
}

.container { max-width: var(--w-max); margin-inline: auto; padding-inline: var(--pad); }
.container--narrow { max-width: 900px; }

/* ---------- Typographic atoms ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: '';
  width: 2.6rem;
  height: 1px;
  background: var(--gold);
  opacity: .8;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: '';
  width: 2.6rem;
  height: 1px;
  background: var(--gold);
  opacity: .8;
}

.h-display {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  letter-spacing: -.01em;
}
.h-section {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  letter-spacing: -.005em;
  margin-top: 1.1rem;
}
.h-sub {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 600;
}
.lead {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-soft);
}
.gold-i { font-style: italic; color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 1.05rem 2.2rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color .45s var(--ease), border-color .45s var(--ease);
  isolation: isolate;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
  z-index: -1;
}
.btn:hover { color: var(--green-950); }
.btn:hover::after { transform: scaleX(1); transform-origin: left; }
.btn .arr { transition: transform .45s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }

.btn--solid { background: var(--gold); color: var(--green-950); }
.btn--solid::after { background: var(--ivory); }
.btn--solid:hover { color: var(--green-950); border-color: var(--ivory); }

.btn--light { border-color: rgba(245,241,230,.5); color: var(--ivory); }
.btn--light::after { background: var(--ivory); }
.btn--light:hover { color: var(--green-950); border-color: var(--ivory); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.site-header::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: var(--line-light);
  opacity: 0;
  transition: opacity .5s;
}
.site-header.scrolled {
  background: rgba(7, 26, 21, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
}
.site-header.scrolled::after { opacity: 1; }
.site-header.hidden { transform: translateY(-100%); }
/* Feste dunkle Variante für Seiten ohne Hero (Impressum, Datenschutz) */
.site-header--solid { background: var(--green-950); }
.site-header--solid::after { opacity: 1; }

.header-inner {
  max-width: 1400px;
  margin-inline: auto;
  padding: .9rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: flex; align-items: center; gap: .9rem; }
.brand img { height: 58px; width: auto; transition: height .4s var(--ease); }
.scrolled .brand img { height: 46px; }

.main-nav ul { display: flex; gap: clamp(1.2rem, 2.6vw, 2.6rem); }
.main-nav a {
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ivory);
  padding: .5rem 0;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.main-nav a[aria-current="page"] { color: var(--gold-bright); }

/* Rechte Kopfzeile: Telefon + Kontakt als ruhige Text-Links im Stil der Navigation */
.header-aside { display: flex; align-items: center; gap: 1.6rem; }
.header-tel,
.header-cta {
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: .5rem 0;
  position: relative;
}
.header-tel {
  color: rgba(245, 241, 230, .72);
  letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
  transition: color .3s;
}
.header-tel:hover { color: var(--ivory); }
.header-aside .header-tel + .header-cta::before {
  content: '';
  position: absolute;
  left: -.8rem; top: 50%;
  width: 1px; height: 1.1rem;
  transform: translateY(-50%);
  background: rgba(245, 241, 230, .22);
}
.header-cta { color: var(--gold-bright); display: inline-flex; align-items: center; gap: .55rem; font-weight: 500; }
.header-cta::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  opacity: .45;
  transform-origin: left;
  transition: opacity .4s var(--ease);
}
.header-cta .arr { display: inline-block; transition: transform .4s var(--ease); }
.header-cta:hover { color: var(--ivory); }
.header-cta:hover::after { opacity: 1; }
.header-cta:hover .arr { transform: translateX(4px); }

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 7px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: .6rem;
  position: relative;
  z-index: 110;
}
.nav-toggle span {
  width: 30px; height: 1.5px;
  background: var(--ivory);
  transition: transform .4s var(--ease), opacity .3s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

.nav-contact { display: none; }
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-contact { display: block; }
  .header-aside { display: none; }
  .header-inner { position: relative; z-index: 2; }
  /* Bei offenem Menü wird der Header selbst zur deckenden Vollbild-Fläche —
     unabhängig von backdrop-filter/transform-Containing-Blocks. */
  body.nav-open .site-header {
    height: 100vh;
    height: 100dvh;
    background: var(--green-950);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transform: none;
    box-shadow: none;
  }
  body.nav-open { overflow: hidden; }
  .main-nav {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100vh;
    height: 100dvh;
    background: var(--green-950);
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s var(--ease);
    z-index: 1;
  }
  .nav-open .main-nav { opacity: 1; pointer-events: auto; }
  .main-nav ul { flex-direction: column; text-align: center; gap: 2.2rem; }
  .main-nav a { font-size: 1.05rem; letter-spacing: .3em; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--ivory);
  background: var(--green-950);
  overflow: hidden;
}
.hero--sub { min-height: 72svh; }
.hero-media, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media img {
  opacity: .58;
  animation: heroZoom 18s var(--ease) forwards;
  will-change: transform;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,26,21,.55) 0%, rgba(7,26,21,.15) 40%, rgba(7,26,21,.88) 100%),
    linear-gradient(90deg, rgba(7,26,21,.5) 0%, transparent 60%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding: 9rem var(--pad) clamp(4rem, 9vh, 7rem);
}
.hero h1 { max-width: 15ch; text-wrap: balance; }
.hero .lead {
  color: rgba(245,241,230,.78);
  max-width: 52ch;
  margin-top: 1.8rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 2.6rem; }

/* ---------- Sections ---------- */
.section { padding-block: var(--sec); }
.section--dark { background: var(--green-900); color: var(--ivory); }
.section--deep { background: var(--green-950); color: var(--ivory); }
.section--paper { background: var(--paper); }
.section--dark .lead, .section--deep .lead { color: rgba(245,241,230,.72); }
.section-head { max-width: 780px; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }

/* Split layout */
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.split--rev > .split-media { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > .split-media { order: 0; }
}
.split-media { position: relative; }
.split-media .frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.split-media .frame:hover img { transform: scale(1.045); }
.split-media .frame--landscape img { aspect-ratio: 4 / 3; }
.split-media .frame--wide img { aspect-ratio: 3 / 2; }
.split-media::before {
  content: '';
  position: absolute;
  inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  pointer-events: none;
}
.split-media--plain::before { display: none; }
.split-body .lead { margin-top: 1.6rem; }
.split-body p + p { margin-top: 1.1rem; }
.split-body .btn { margin-top: 2.4rem; }

/* Stat band */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--line-light);
  padding-top: 3rem;
  margin-top: clamp(3rem, 7vw, 5rem);
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 500;
  color: var(--gold-bright);
  line-height: 1;
}
.stat .lbl {
  margin-top: .7rem;
  font-size: .74rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(245,241,230,.6);
}
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; gap: 2.4rem; } }

/* Pillar cards (Leistungen) */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  color: var(--ivory);
  background: var(--green-950);
}
.pillar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .68;
  transition: transform 1.1s var(--ease), opacity .6s;
}
.pillar:hover img { transform: scale(1.06); opacity: .5; }
.pillar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(185deg, transparent 30%, rgba(7,26,21,.92) 100%);
}
.pillar-body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  padding: 2rem;
}
.pillar-body .idx {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-bright);
  font-size: 1.05rem;
}
.pillar-body h3 {
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  margin-top: .4rem;
}
.pillar-body p {
  font-size: .95rem;
  color: rgba(245,241,230,.75);
  margin-top: .6rem;
  max-width: 34ch;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.pillar:hover .pillar-body p { opacity: 1; transform: none; }
.pillar-body .more {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1rem;
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.pillar-body .more::after { content: '→'; transition: transform .4s var(--ease); }
.pillar:hover .more::after { transform: translateX(6px); }

/* Signet band */
.signet-band {
  text-align: center;
  padding-block: clamp(4rem, 8vw, 6.5rem);
  background: var(--paper);
}
.signet-band img {
  max-width: min(680px, 82%);
  margin-inline: auto;
  opacity: .9;
}
.signet-band blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  font-weight: 500;
  max-width: 26ch;
  margin: 2.4rem auto 0;
  line-height: 1.3;
  color: var(--green-900);
}
.signet-band blockquote em { color: var(--gold); }

/* Product cards */

/* Feature list */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.4rem, 3vw, 2.6rem);
  counter-reset: feat;
}
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }
.feature {
  position: relative;
  padding: 1.9rem 1.7rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.section--dark .feature, .section--deep .feature {
  background: rgba(245,241,230,.035);
  border-color: rgba(245,241,230,.1);
}
.feature:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(12,46,40,.12); }
.section--dark .feature:hover { box-shadow: 0 24px 50px rgba(0,0,0,.3); }
.feature::before {
  counter-increment: feat;
  content: counter(feat, decimal-leading-zero);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
}
.feature h3 { font-size: 1.45rem; margin-top: .5rem; }
.feature p { font-size: .98rem; color: var(--ink-soft); margin-top: .55rem; }
.section--dark .feature p, .section--deep .feature p { color: rgba(245,241,230,.68); }

/* Gallery mosaic */
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(.8rem, 1.6vw, 1.4rem);
}
.mosaic figure { overflow: hidden; border-radius: var(--radius); position: relative; }
.mosaic img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic .m-a { grid-column: span 7; aspect-ratio: 16 / 10; }
.mosaic .m-b { grid-column: span 5; aspect-ratio: 4 / 5; }
.mosaic .m-c { grid-column: span 4; aspect-ratio: 1; }
.mosaic .m-d { grid-column: span 8; aspect-ratio: 16 / 9; }
.mosaic .m-e { grid-column: span 12; aspect-ratio: 3 / 2; }
.mosaic .m-f { grid-column: span 5; aspect-ratio: auto; }
@media (max-width: 720px) {
  .mosaic .m-a, .mosaic .m-b, .mosaic .m-c, .mosaic .m-d, .mosaic .m-e, .mosaic .m-f { grid-column: span 12; aspect-ratio: 16 / 11; }
  .mosaic .m-e { aspect-ratio: 3 / 2; }
}

/* Marquee */

/* Values / accordion-like listing */
.values { display: grid; gap: 0; max-width: 860px; }
.value {
  display: grid;
  grid-template-columns: minmax(9rem, 14rem) 1fr;
  gap: 2rem;
  padding-block: 2.2rem;
  border-top: 1px solid var(--line-light);
}
.value:last-child { border-bottom: 1px solid var(--line-light); }
.section--paper .value, .section--light .value { border-color: var(--line); }
.value h3 {
  font-size: 1.6rem;
  color: var(--gold-bright);
}
.section--paper .value h3 { color: var(--green-900); }
.value p { color: rgba(245,241,230,.75); }
.section--paper .value p { color: var(--ink-soft); }
@media (max-width: 640px) { .value { grid-template-columns: 1fr; gap: .6rem; } }

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--green-950);
  color: var(--ivory);
  text-align: center;
  padding-block: clamp(5rem, 11vw, 8.5rem);
}
.cta-band .watermark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.cta-band .watermark img {
  width: min(520px, 72vw);
  opacity: .05;
  transform: scale(1.1);
}
.cta-band h2 {
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  max-width: 20ch;
  margin: 1.2rem auto 0;
}
.cta-band .lead { max-width: 46ch; margin: 1.4rem auto 0; }
.cta-band .btn { margin-top: 2.8rem; }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 1.6rem; margin-top: 2.4rem; }
.contact-item {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1.1rem;
  align-items: start;
}
.contact-item .ico {
  width: 3.2rem; height: 3.2rem;
  display: grid; place-items: center;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  color: var(--gold);
}
.contact-item .ico svg { width: 1.15rem; height: 1.15rem; }
.contact-item .lbl {
  font-size: .68rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-item .val { font-size: 1.05rem; margin-top: .15rem; }
.contact-item a.val:hover { color: var(--gold); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.8rem);
  box-shadow: 0 30px 70px rgba(12,46,40,.08);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .45rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(168,144,90,.18);
}
.form-note { font-size: .85rem; color: var(--ink-soft); margin-top: 1rem; }

/* Legal pages */
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal h2 { font-size: 1.6rem; margin-top: 2.6rem; }
.legal h3 { font-size: 1.25rem; margin-top: 1.8rem; }
.legal p, .legal li { margin-top: .9rem; color: var(--ink-soft); }
.legal ul { list-style: disc; padding-left: 1.4rem; }
.legal strong { color: var(--ink); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-950);
  color: var(--ivory);
  padding-top: clamp(4rem, 8vw, 6.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 4rem;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 92px; }
.footer-brand p {
  margin-top: 1.4rem;
  max-width: 30ch;
  color: rgba(245,241,230,.6);
  font-size: .95rem;
}
.footer-h {
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1.3rem;
}
.footer-links li + li { margin-top: .65rem; }
.footer-links a {
  color: rgba(245,241,230,.72);
  font-size: .95rem;
  transition: color .3s, padding-left .3s var(--ease);
}
.footer-links a:hover { color: var(--gold-bright); padding-left: 6px; }
.footer-contact li {
  color: rgba(245,241,230,.72);
  font-size: .95rem;
}
.footer-contact li + li { margin-top: .65rem; }
.footer-contact a:hover { color: var(--gold-bright); }
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.2rem;
  color: rgba(245,241,230,.72);
}
.footer-social svg { width: 1.2rem; height: 1.2rem; }
.footer-social:hover { color: var(--gold-bright); }
.footer-bottom {
  border-top: 1px solid var(--line-light);
  padding-block: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(245,241,230,.45);
}
.footer-bottom nav { display: flex; gap: 1.6rem; }
.footer-bottom a:hover { color: var(--gold-bright); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; }
  html { scroll-behavior: auto; }
}

/* Page transition-in */
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
main { animation: pageIn .6s ease both; }

/* ==========================================================================
   PREMIUM LAYER — Visualisierung & Veredelung
   ========================================================================== */

/* Scroll progress */

/* Film grain */

/* Ghost display word behind section heads */
.section { position: relative; overflow: hidden; }
.section > .container { position: relative; z-index: 1; }

/* Ornament divider */

/* Parallax media */
[data-parallax] { will-change: transform; }

/* Product sheen sweep */

/* -------- Röstkurve -------- */
.roast-wrap {
  background: rgba(245,241,230,.03);
  border: 1px solid rgba(245,241,230,.08);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3.5vw, 3rem);
}
.roast-chart { width: 100%; height: auto; display: block; }
.roast-chart .grid-line { stroke: rgba(245,241,230,.09); stroke-width: 1; stroke-dasharray: 2 6; }
.roast-chart .axis-label {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: .16em;
  fill: rgba(245,241,230,.45);
  text-transform: uppercase;
}
.roast-chart .curve {
  fill: none;
  stroke: var(--gold-bright);
  stroke-width: 2.5;
  stroke-linecap: round;
}
.roast-chart .curve-fill { fill: url(#roastFill); opacity: 0; transition: opacity 1.2s var(--ease) .9s; }
.roast-chart .milestone-dot { fill: var(--green-950); stroke: var(--gold-bright); stroke-width: 2; r: 5; opacity: 0; transition: opacity .5s var(--ease); }
.roast-chart .milestone-label {
  font-family: 'Jost', sans-serif;
  font-size: 12.5px;
  letter-spacing: .1em;
  fill: var(--ivory);
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.roast-chart .milestone-sub { font-size: 11px; fill: rgba(245,241,230,.55); text-transform: none; letter-spacing: .04em; }
.in .roast-chart .curve-fill { opacity: 1; }
.in .roast-chart .milestone-dot, .in .roast-chart .milestone-label { opacity: 1; }
.in .roast-chart .milestone-dot { transition-delay: calc(.5s + var(--i, 0) * .28s); }
.in .roast-chart .milestone-label { transition-delay: calc(.6s + var(--i, 0) * .28s); }

/* draw-on-reveal (generic) */
.draw path.animated, .draw .animated {
  stroke-dasharray: var(--len, 1500);
  stroke-dashoffset: var(--len, 1500);
}
.in.draw path.animated, .in .draw .animated, .draw.in .animated {
  animation: drawLine 2.4s var(--ease) forwards;
  animation-delay: var(--dd, .2s);
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }

/* -------- Herkunfts-Diagramm -------- */
.origin-wrap { margin-top: clamp(2.5rem, 6vw, 4rem); }
.origin-chart { width: 100%; height: auto; display: block; }
.origin-chart .arc { fill: none; stroke: var(--gold); stroke-width: 1.3; opacity: .55; }
.origin-chart .baseline { stroke: rgba(245,241,230,.14); stroke-width: 1; }
.origin-chart .o-dot { fill: var(--gold-bright); }
.origin-chart .o-home { fill: none; stroke: var(--gold-bright); stroke-width: 1.6; }
.origin-chart .o-label {
  font-family: 'Jost', sans-serif;
  font-size: 12.5px;
  letter-spacing: .14em;
  fill: var(--ivory);
  text-transform: uppercase;
}
.origin-chart .o-sub { font-size: 10.5px; fill: rgba(245,241,230,.5); letter-spacing: .1em; }
.origin-chart .plane { fill: var(--gold-bright); opacity: 0; }
.in .origin-chart .plane { opacity: 1; transition: opacity .4s 1.2s; }

/* -------- Impact-Kacheln (Wasser) -------- */
.impact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.1rem, 2.4vw, 2rem);
}
@media (max-width: 860px) { .impact { grid-template-columns: 1fr; } }
.impact-tile {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(245,241,230,.1);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(245,241,230,.05), rgba(245,241,230,.015));
  padding: 2.2rem 1.9rem 2rem;
  transition: transform .5s var(--ease), border-color .4s;
}
.impact-tile:hover { transform: translateY(-6px); border-color: var(--gold-soft); }
.impact-tile .big {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 500;
  line-height: 1;
  color: var(--gold-bright);
}
.impact-tile .big small { font-size: .45em; letter-spacing: .02em; }
.impact-tile h3 { font-size: 1.25rem; margin-top: .9rem; }
.impact-tile p { font-size: .93rem; color: rgba(245,241,230,.62); margin-top: .45rem; }
.impact-tile .spark {
  position: absolute;
  right: -18px; top: -18px;
  width: 110px; height: 110px;
  border: 1px solid rgba(168,144,90,.18);
  border-radius: 50%;
}
.impact-tile .spark::after {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(168,144,90,.12);
  border-radius: 50%;
}

/* -------- Bubbles (Aquablu) -------- */
.bubble-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.bubble-field i {
  position: absolute;
  bottom: -60px;
  border-radius: 50%;
  border: 1px solid rgba(245,241,230,.12);
  background: radial-gradient(circle at 32% 30%, rgba(245,241,230,.1), transparent 60%);
  animation: bubbleUp linear infinite;
}
@keyframes bubbleUp {
  from { transform: translateY(0); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  to { transform: translateY(-115vh); opacity: 0; }
}

/* big quote refinement */
.signet-band blockquote { letter-spacing: .005em; }

/* hero refinement: gold underline flourish under h1 via .hero-flourish */

/* ==========================================================================
   REDESIGN — Editorial / Boutique Layer (überschreibt Teile der Basis)
   ========================================================================== */

/* Kein Fortschrittsbalken mehr */

/* Boutique-Header: Navigation links, Logo mittig, CTA rechts */
@media (min-width: 961px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .main-nav { grid-column: 1; grid-row: 1; justify-self: start; }
  .brand { grid-column: 2; grid-row: 1; justify-self: center; }
  .header-aside { grid-column: 3; grid-row: 1; justify-self: end; }
  .main-nav ul { gap: clamp(1rem, 1.9vw, 2.1rem); }
}

/* ---------- Editorial Hero ---------- */
.hero .hero-title { max-width: none; }
.hero-title {
  font-size: clamp(3rem, 8.6vw, 7.2rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  max-width: none;
}
.hero-title .line { display: block; }
.hero-title .line + .line { margin-left: clamp(0rem, 6vw, 5.5rem); }
.hero-title em { color: var(--gold-bright); }
.hero-title .thin {
  font-family: var(--font-display);
  font-weight: 500;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(245, 241, 230, .75);
}

/* Rotierendes Badge */

/* ---------- Fakten (statisch, editorial) ---------- */
.stats .num sup { font-size: .45em; color: var(--gold); }

/* ---------- Produkt-Bühne ---------- */
.stage { position: relative; }
.stage-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.stage-panel {
  scroll-snap-align: center;
  flex: 0 0 min(940px, 90vw);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.4rem, 3vw, 3rem);
  align-items: center;
  background: #172E28;
  border: 1px solid rgba(245, 241, 230, .08);
  border-top: 2px solid var(--accent, var(--gold));
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.8rem);
  overflow: hidden;
}
@media (max-width: 760px) {
  .stage-panel { grid-template-columns: 1fr; flex-basis: 88vw; }
}
.stage-bag {
  display: grid;
  place-items: center;
  min-height: clamp(320px, 46vh, 520px);
}
.stage-bag img {
  max-height: clamp(320px, 46vh, 520px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform .8s var(--ease);
}
.stage-panel:hover .stage-bag img { transform: translateY(-10px) rotate(-1deg); }
.stage-info { color: var(--ivory); position: relative; z-index: 1; }
.stage-kicker {
  font-size: .68rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent, var(--gold-bright));
}
.stage-info h3 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-top: .5rem;
}
.stage-info .origin {
  color: rgba(245, 241, 230, .68);
  margin-top: .8rem;
  max-width: 44ch;
}
.stage-meters {
  margin-top: 1.8rem;
  display: grid;
  gap: .95rem;
  max-width: 380px;
}
.smeter {
  display: grid;
  grid-template-columns: 6.4rem 1fr auto;
  align-items: center;
  gap: 1rem;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(245, 241, 230, .62);
}
.smeter .track {
  height: 2px;
  background: rgba(245, 241, 230, .12);
  position: relative;
}
.smeter .track i {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: var(--v, 60%);
  background: var(--accent, var(--gold-bright));
}
.smeter .track i::after {
  content: '';
  position: absolute;
  right: -3px; top: 50%;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent, var(--gold-bright));
  transform: translateY(-50%);
}
.smeter .val { color: var(--ivory); letter-spacing: .06em; }

/* ---------- Editorial-Prozess (große Ziffern statt Icons) ---------- */
.steps { border-top: 1px solid var(--line-light); }
.step-row {
  display: grid;
  grid-template-columns: clamp(6.5rem, 12vw, 10rem) minmax(0, .9fr) minmax(0, 1.4fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
  padding-block: clamp(1.6rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--line-light);
  transition: background .4s;
}
.step-row:hover { background: rgba(245, 241, 230, .025); }
.step-row .n {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 6.5vw, 5.6rem);
  font-weight: 600;
  line-height: .9;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(196, 169, 110, .55);
  transition: color .5s var(--ease), -webkit-text-stroke-color .5s;
}
.step-row:hover .n { color: var(--gold-bright); -webkit-text-stroke-color: transparent; }
.step-row h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.step-row p { color: rgba(245, 241, 230, .65); font-size: .98rem; }
@media (max-width: 720px) {
  .step-row { grid-template-columns: 4.6rem 1fr; }
  .step-row p { grid-column: 2; margin-top: -.4rem; }
}

/* ---------- Bogen-Rahmen (Arch) ---------- */
.frame--arch, .frame--arch img { border-radius: 999px 999px var(--radius) var(--radius); }
.split-media--arch::before { border-radius: 999px 999px var(--radius) var(--radius); }


/* ==========================================================================
   MOTION LAYER — Preloader, Sheets, Curtain-Reveals, Stagger, Tilt
   ========================================================================== */

/* ---------- Gestapelte Sektions-Sheets ---------- */
.section { background-color: var(--cream); }
.section--dark { background-color: var(--green-900); }
.section--deep, .cta-band { background-color: var(--green-950); }
.section--paper, .signet-band { background-color: var(--paper); }
main > * { position: relative; }
main > * + *,
.site-footer {
  border-radius: clamp(22px, 3vw, 36px) clamp(22px, 3vw, 36px) 0 0;
  margin-top: calc(-1 * clamp(22px, 3vw, 36px));
}
.site-footer { position: relative; }

/* ---------- Headline Mask-Reveal (Unterseiten & Sektionen) ---------- */
h1.reveal, h2.reveal {
  transition: opacity .9s var(--ease), transform 1.05s var(--ease), clip-path 1.15s var(--ease);
  transition-delay: var(--d, 0s);
  clip-path: inset(-.3em -.2em 105% -.2em);
  transform: translateY(.45em);
}
h1.reveal.in, h2.reveal.in {
  clip-path: inset(-.3em -.2em -.4em -.2em);
  transform: none;
}

/* ---------- Hero Wort-Stagger ---------- */
.hero-title .wm {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .12em;
  margin-bottom: -.12em;
}
.hero-title .w {
  display: inline-block;
  transform: translateY(122%);
  transition: transform 1.15s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(.1s + var(--wi, 0) * .09s);
}
body.ready .hero-title .w { transform: none; }
/* Fallback: ohne JS/Motion bleibt der Titel sichtbar */
.hero-title { opacity: 1; }

/* ---------- Buttons & Tilt ---------- */
.btn { transition: color .45s var(--ease), border-color .45s var(--ease), transform .35s var(--ease); }
.stage-bag { perspective: 900px; }
.stage-bag img { will-change: transform; }

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  h1.reveal, h2.reveal { clip-path: none; transform: none; }
  .hero-title .w { transform: none !important; transition: none; }
}

/* ==========================================================================
   INTERAKTIVE ANIMATIONEN — Mühle, Vollautomat, Wasserspender + Bohnenregen
   ========================================================================== */

/* ---------- Fallende Kaffeebohnen (analog zu den Wasserblasen) ---------- */
.bean-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.bean-field i {
  position: absolute;
  top: -50px;
  width: 15px;
  height: 21px;
  border: 1.5px solid rgba(196, 169, 110, .5);
  border-radius: 50% / 58%;
  animation: beanFall linear infinite;
}
.bean-field i::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 10%;
  bottom: 10%;
  width: 1.5px;
  background: rgba(196, 169, 110, .5);
  border-radius: 2px;
  transform: translateX(-50%) rotate(10deg);
}
@keyframes beanFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  8% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(112vh) rotate(300deg); opacity: 0; }
}

/* ---------- Interaktions-Bühne (Toy) ---------- */
.toy-wrap { display: grid; place-items: center; }
.toy {
  position: relative;
  width: min(380px, 82vw);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .45s var(--ease);
  outline: none;
}
.toy:hover { transform: translateY(-5px); }
.toy:focus-visible { outline: 2px solid var(--gold); outline-offset: 8px; border-radius: 8px; }
.toy svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.toy .stroke {
  fill: none;
  stroke: var(--gold-bright);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.toy .stroke--soft { stroke: rgba(196, 169, 110, .45); stroke-width: 1.5; }
.toy .fill-soft { fill: rgba(196, 169, 110, .1); }
.toy-hint {
  position: absolute;
  left: 50%;
  bottom: -3rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .66rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-bright);
  white-space: nowrap;
}
.toy-hint::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  animation: hintPulse 1.8s infinite;
}
@keyframes hintPulse {
  0%, 100% { opacity: .35; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}
.toy.play .toy-hint { opacity: .35; }

/* ---------- Mühle ---------- */
.toy .crank { transform-origin: 170px 84px; }
.toy.play .crank { animation: crankSpin 5.4s cubic-bezier(.45, .1, .55, .9) 1; }
@keyframes crankSpin { to { transform: rotate(720deg); } }
.toy .hbean { transform-origin: center; transform-box: fill-box; }
.toy.play .hbean { animation: beanJig .38s ease-in-out 14 alternate; }
@keyframes beanJig { to { transform: translateY(2.5px) rotate(6deg); } }
.toy .grain { opacity: 0; }
.toy.play .grain { animation: millFall 1.7s linear var(--gd, 0s) 2; }
@keyframes grainFall {
  0% { opacity: 0; transform: translateY(0); }
  15% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateY(118px); }
}
@keyframes millFall {
  0% { opacity: 0; transform: translateY(0); }
  18% { opacity: 1; }
  82% { opacity: 1; }
  100% { opacity: 0; transform: translateY(46px); }
}
.toy .pile { transform: scaleY(0); transform-origin: 170px 386px; }
.toy.play .pile { animation: pileGrow 5s ease-out forwards; }
@keyframes pileGrow {
  0% { transform: scaleY(0); }
  35% { transform: scaleY(.2); }
  100% { transform: scaleY(1); }
}
.toy .m-aroma { opacity: 0; }
.toy.play .m-aroma { animation: aromaUp 2.8s ease 4.4s 1; }

/* ---------- Vollautomat ---------- */
.toy .disp-glow { fill: rgba(196, 169, 110, 0); }
.toy.play .disp-glow { animation: dispGlow .9s ease 4 alternate; }
@keyframes dispGlow { to { fill: rgba(196, 169, 110, .5); } }
.toy .stream { transform: scaleY(0); transform-origin: top; opacity: .92; }
.toy.play .stream { animation: pour 4.6s ease .6s 1; }
@keyframes pour {
  0% { transform: scaleY(0); opacity: .92; }
  14% { transform: scaleY(1); }
  78% { transform: scaleY(1); opacity: .92; }
  92% { opacity: 0; }
  100% { transform: scaleY(1); opacity: 0; }
}
.toy .cupfill { transform: scaleY(0); transform-origin: bottom; transform-box: fill-box; }
.toy.play .cupfill { animation: cupFill 4s ease-out .9s forwards; }
@keyframes cupFill { to { transform: scaleY(1); } }
.toy .steam { opacity: 0; }
.toy.play .steam { animation: aromaUp 2.8s ease 4.8s 2; }
@keyframes aromaUp {
  0% { opacity: 0; transform: translateY(6px); }
  35% { opacity: .75; }
  100% { opacity: 0; transform: translateY(-14px); }
}

/* ---------- Wasserspender ---------- */
.toy .wstream { transform: scaleY(0); transform-origin: top; }
.toy.play .wstream { animation: pour 4.6s ease .6s 1; }
.toy .wfill { transform: scaleY(0); transform-origin: bottom; transform-box: fill-box; }
.toy.play .wfill { animation: cupFill 4s ease-out .9s forwards; }
.toy .wb { opacity: 0; }
.toy.play .wb { animation: bubbleRise 1.9s linear var(--bd, 1.2s) 2; }
@keyframes bubbleRise {
  0% { opacity: 0; transform: translateY(0); }
  25% { opacity: .9; }
  100% { opacity: 0; transform: translateY(-40px); }
}
.toy .wdrop { opacity: 0; }
.toy.play .wdrop { animation: grainFall 1.8s linear var(--gd, .8s) 2; }

@media (prefers-reduced-motion: reduce) {
  .bean-field { display: none; }
  .toy.play .crank, .toy.play .hbean, .toy.play .grain, .toy.play .stream,
  .toy.play .wstream, .toy.play .wb, .toy.play .wdrop, .toy.play .steam { animation: none; }
  .toy.play .pile, .toy.play .cupfill, .toy.play .wfill { animation: none; transform: scaleY(1); }
}

/* ==========================================================================
   HIGHLEVEL LAYER — Röst-Story, Sorten-Finder, Slideshow, Übergänge
   ========================================================================== */

/* ---------- Scrollgesteuerte Röst-Story ---------- */
.roastscene {
  position: relative;
  height: 280vh;
  background: var(--green-950);
}
.rs-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--ivory);
}
.rs-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(34% 46% at 74% 50%, rgba(196, 140, 70, .32), transparent 72%);
  opacity: 0;
  pointer-events: none;
}
.rs-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.rs-title { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.rs-lead {
  margin-top: 1rem;
  max-width: 40ch;
  font-size: 1.1rem;
  color: rgba(245, 241, 230, .82);
}
.rs-phases {
  list-style: none;
  margin-top: clamp(1.4rem, 3.5vh, 2.6rem);
  border-top: 1px solid var(--line-light);
}
.rs-phase {
  display: grid;
  grid-template-columns: 5.6rem 1fr;
  gap: 1.2rem;
  align-items: baseline;
  padding: clamp(.7rem, 1.7vh, 1.05rem) 0;
  border-bottom: 1px solid var(--line-light);
  opacity: .34;
  transition: opacity .45s var(--ease);
}
.rs-phase.done { opacity: .6; }
.rs-phase.on { opacity: 1; }
.rs-phase .t {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}
.rs-phase .d { font-size: .98rem; line-height: 1.55; color: rgba(245, 241, 230, .82); }
.rs-phase b {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--ivory);
}
.rs-stage { display: grid; justify-items: center; }
.rs-bean { width: clamp(170px, 34vh, 310px); height: auto; display: block; }
.rs-bean .bean-body { fill: var(--beanc, #8FA173); }
.rs-bean .bean-crease { fill: none; stroke: rgba(7, 26, 21, .6); stroke-width: 7; stroke-linecap: round; }
.rs-bean .bean-crease-hi { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 2; stroke-linecap: round; }
.rs-bean .bean-crack { fill: none; stroke: rgba(245, 241, 230, .5); stroke-width: 2; stroke-linecap: round; opacity: var(--cracko, 0); }
.rs-temp { margin-top: clamp(1rem, 3vh, 1.8rem); text-align: center; }
.rs-temp .val {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vh, 4.6rem);
  line-height: 1;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums lining-nums;
}
.rs-temp .unit {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-bright);
  margin-left: .2em;
}
.rs-temp .lbl {
  display: block;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245, 241, 230, .7);
  margin-top: .5rem;
}
@media (max-width: 820px) {
  .rs-inner { grid-template-columns: 1fr; gap: 1.3rem; }
  .rs-copy { display: contents; }
  .rs-title { order: 1; }
  .rs-lead { order: 2; margin-top: 0; }
  .rs-stage { order: 3; margin-block: .6rem; }
  .rs-phases { order: 4; margin-top: 0; }
  .rs-bean { width: min(44vw, 180px); }
}
@media (prefers-reduced-motion: reduce) {
  .roastscene { height: auto; padding-block: var(--sec); }
  .rs-sticky { position: static; height: auto; }
}

/* ---------- Sorten-Finder (dunkel, Foto-Karten) ---------- */
.finder { max-width: 1060px; margin-inline: auto; }
.finder-progress {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem);
}
.fp-num {
  font-size: .66rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-bright);
  white-space: nowrap;
}
.fp-bar { flex: 1; height: 1px; background: rgba(245, 241, 230, .15); position: relative; }
.fp-bar i {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 0;
  background: var(--gold-bright);
  transition: width .6s var(--ease);
}
.finder-step, .finder-result { display: none; }
.finder-step.active, .finder-result.active { display: block; animation: finderIn .55s var(--ease); }
@keyframes finderIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.finder-q {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--ivory);
  text-align: center;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.finder-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), 1fr);
  gap: clamp(.9rem, 1.6vw, 1.4rem);
}
@media (max-width: 980px) { .finder-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .finder-grid { grid-template-columns: 1fr; } }
.finder-opt {
  text-align: left;
  background: rgba(245, 241, 230, .04);
  border: 1px solid rgba(245, 241, 230, .12);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  padding: 0 0 1.25rem;
  display: grid;
  gap: .45rem;
  transition: transform .45s var(--ease), border-color .35s, background .35s;
}
.finder-opt img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
  margin-bottom: .6rem;
}
.finder-opt strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  color: var(--ivory);
  padding-inline: 1.2rem;
}
.finder-opt small {
  font-size: .64rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(245, 241, 230, .55);
  padding-inline: 1.2rem;
}
.finder-opt:hover, .finder-opt:focus-visible {
  transform: translateY(-6px);
  border-color: var(--gold);
  background: rgba(245, 241, 230, .07);
  outline: none;
}
.fr-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  align-items: center;
  background: #172E28;
  border: 1px solid rgba(245, 241, 230, .1);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 3rem);
}
@media (max-width: 760px) { .fr-panel { grid-template-columns: 1fr; } }
.fr-media { display: grid; place-items: center; }
.fr-media img {
  max-height: clamp(300px, 44vh, 460px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.fr-info { color: var(--ivory); }
.fr-kicker {
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.fr-info h3 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-top: .5rem; }
.fr-info p { color: rgba(245, 241, 230, .7); max-width: 46ch; margin-top: .9rem; }
.fr-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-top: 2rem; }
.finder-restart {
  background: none;
  border: 0;
  font-family: var(--font-sans);
  font-size: .7rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(245, 241, 230, .55);
  cursor: pointer;
  padding: 1rem .5rem;
}
.finder-restart:hover { color: var(--gold-bright); }

/* ---------- Hero-Slideshow ---------- */
.hero-media img.slide {
  opacity: 0;
  transition: opacity 2s var(--ease);
  animation: none;
}
.hero-media img.slide.on { opacity: .58; }

/* ---------- Seitenübergang ---------- */
main { transition: opacity .32s ease; }
body.page-out main, body.page-out .site-footer { opacity: 0; }
.site-footer { transition: opacity .32s ease; }

/* ---------- 404 ---------- */
.page-404 {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--green-950);
  color: var(--ivory);
  padding: var(--pad);
}
.page-404 .code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 13rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
}

/* ==========================================================================
   MOBILE-PERFORMANCE — teure Effekte auf Touch-/Schmalgeräten reduzieren
   (deckungsgleich mit dem JS-"lite"-Modus in main.js)
   ========================================================================== */
@media (hover: none) and (pointer: coarse), (max-width: 820px) {

  /* backdrop-filter (blur) ist auf Mobile der größte Ruckelfaktor → solide Fläche */
  .site-header.scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(7, 26, 21, .95);
  }

  /* Dauernd laufender Film-Grain: aus (JS fügt ihn eh nicht mehr hinzu) */

  /* Partikel-Hintergründe deutlich ausdünnen */
  .bean-field i:nth-child(n+6) { display: none; }
  .bubble-field i:nth-child(n+5) { display: none; }

  /* Ghost-Riesenlettern nicht mehr per JS bewegt – leicht zurücknehmen */

  /* Röst-Story: KEIN scroll-gescrubbtes Repaint, sondern einmalige Timeline */
  .roastscene { height: auto; padding-block: var(--sec); }
  .rs-sticky { position: static; height: auto; overflow: visible; }
  .rs-bean .bean-body { transition: none; }

  .roastscene.play .bean-body { animation: mRoastFill 6s ease forwards; }
  .roastscene.play .bean-crack { animation: mRoastCrack 6s ease forwards; }
  .roastscene.play .rs-glow { animation: mRoastGlow 6s ease forwards; }
  .roastscene.play .rs-bean { animation: mRoastScale 6s ease forwards; }
}

@keyframes mRoastFill {
  0%   { fill: #8FA173; }
  32%  { fill: #C09A5B; }
  68%  { fill: #7A4B29; }
  100% { fill: #3E2717; }
}
@keyframes mRoastCrack {
  0%, 55% { opacity: 0; }
  78%, 100% { opacity: 1; }
}
@keyframes mRoastGlow {
  0% { opacity: 0; }
  60% { opacity: .55; }
  100% { opacity: .75; }
}
@keyframes mRoastScale {
  0% { transform: scale(1); }
  100% { transform: scale(1.06); }
}


/* ==========================================================================
   REVIEW 11/2026 — Ruhe, Lesbarkeit, klare Kanten
   Ein Signature-Moment pro Seite; alles andere tritt zurück.
   ========================================================================== */
:root {
  --gold-deep: #7A6534;   /* Gold für Text auf hellem Grund (Kontrast ≥ 4.5:1) */
  --stage: #172E28;       /* Hintergrundton der Produktfotos */
}

/* ---------- Effekte zurückgenommen ---------- */
main > * + *,
.site-footer { border-radius: 0; margin-top: 0; }
.split-media::before { display: none; }
.split-media .frame:hover img,
.mosaic figure:hover img { transform: none; }

/* ---------- Lesbarkeit ---------- */
body { font-weight: 400; }
.lead { font-weight: 300; color: #3A4640; }
.section--dark .lead, .section--deep .lead, .cta-band .lead { color: rgba(245, 241, 230, .88); }
.hero .lead { color: rgba(245, 241, 230, .92); }
.section--dark .split-body p:not(.lead),
.section--deep .split-body p:not(.lead) { color: rgba(245, 241, 230, .84); }
.stage-info .origin { color: rgba(245, 241, 230, .82); }
.section--dark .feature p, .section--deep .feature p { color: rgba(245, 241, 230, .8); }
.impact-tile p { color: rgba(245, 241, 230, .78); }
.value p { color: rgba(245, 241, 230, .84); }
.fr-info p { color: rgba(245, 241, 230, .84); }
.footer-brand p { color: rgba(245, 241, 230, .74); }
.footer-links a, .footer-contact li, .footer-social { color: rgba(245, 241, 230, .82); }
.footer-bottom { color: rgba(245, 241, 230, .66); font-size: .85rem; }

/* Kleine Auszeichnungen: größer, weniger gesperrt */
.eyebrow {
  display: block;
  font-size: .8rem;
  letter-spacing: .18em;
  color: var(--gold-deep);
}
.eyebrow::before, .eyebrow--center::after { content: none; }
.hero .eyebrow, .section--dark .eyebrow, .section--deep .eyebrow, .cta-band .eyebrow { color: var(--gold-bright); }
.h-section { margin-top: 0; text-wrap: balance; }
.eyebrow + .h-section, .eyebrow + .h-display, .eyebrow + .hero-title { margin-top: .9rem; }
.stage-kicker, .fr-kicker, .fp-num, .footer-h, .contact-item .lbl, .field label,
.finder-opt small, .finder-restart, .toy-hint, .pillar-body .more, .smeter {
  font-size: .78rem;
  letter-spacing: .14em;
}
.smeter { color: rgba(245, 241, 230, .78); }
.finder-opt small { color: rgba(245, 241, 230, .72); }
.finder-restart { color: rgba(245, 241, 230, .74); }
.main-nav a { letter-spacing: .16em; }

/* Gold auf hellem Grund */
.btn { border-color: var(--gold-deep); color: var(--gold-deep); letter-spacing: .16em; }
.btn--solid { border-color: var(--gold); color: var(--green-950); }
.btn--light { border-color: rgba(245, 241, 230, .55); color: var(--ivory); }
.section--dark .btn:not(.btn--solid):not(.btn--light),
.section--deep .btn:not(.btn--solid):not(.btn--light) { border-color: var(--gold-bright); color: var(--gold-bright); }
.section--dark .btn:not(.btn--solid):not(.btn--light):hover,
.section--deep .btn:not(.btn--solid):not(.btn--light):hover { color: var(--green-950); }
.gold-i, .signet-band blockquote em { color: var(--gold-deep); }
.hero .gold-i, .section--dark .gold-i, .section--deep .gold-i { color: var(--gold-bright); }
.contact-item .lbl, .contact-item .ico { color: var(--gold-deep); }
.contact-item a.val:hover { color: var(--gold-deep); }
.field label { color: var(--ink-soft); }

/* Tastaturfokus */
a:focus-visible, button:focus-visible, .btn:focus-visible, .finder-opt:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

/* ---------- Bewegung: kürzer, kein Maskeneffekt ---------- */
.reveal { transform: translateY(16px); transition-duration: .6s; }
h1.reveal, h2.reveal {
  clip-path: none;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--d, 0s);
}
h1.reveal.in, h2.reveal.in { clip-path: none; transform: none; }
.hero-title .w { transition-duration: .8s; transition-delay: calc(.05s + var(--wi, 0) * .06s); }
@media (prefers-reduced-motion: reduce) {
  .reveal, h1.reveal, h2.reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Textlink mit Pfeil (zweite Ebene neben Buttons) ---------- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold-deep);
  border-bottom: 1px solid currentColor;
  padding-bottom: .2rem;
}
.link-arrow::after { content: '→'; transition: transform .35s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }
.section--dark .link-arrow, .section--deep .link-arrow, .lineup-sec .link-arrow { color: var(--gold-bright); }
.split-body .link-arrow { margin-top: 2rem; }

/* ---------- Startseite: Hero ---------- */
.hero--home .hero-content { padding-bottom: clamp(4rem, 10vh, 7rem); }
.hero--home .hero-title { font-size: clamp(2.3rem, 10.2vw, 6.6rem); }
.hero--home .hero-title .line + .line { margin-left: clamp(0rem, 5vw, 4.5rem); }
.hero--home .lead { max-width: 56ch; }

/* ---------- Faktenleiste ---------- */
.factbar { background: var(--green-950); color: var(--ivory); border-top: 1px solid var(--line-light); }
.factbar ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.factbar li { padding: 1.7rem 1.6rem 1.9rem; border-left: 1px solid var(--line-light); }
.factbar li:first-child { border-left: 0; padding-left: 0; }
.factbar strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 1.9vw, 1.7rem);
  line-height: 1.2;
  color: var(--gold-bright);
}
.factbar span { display: block; margin-top: .3rem; font-size: .95rem; line-height: 1.5; color: rgba(245, 241, 230, .8); }
@media (max-width: 860px) {
  .factbar ul { grid-template-columns: 1fr 1fr; }
  .factbar li { padding: 1.2rem 1rem 1.3rem; }
  .factbar li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .factbar li:nth-child(n+3) { border-top: 1px solid var(--line-light); }
}

/* ---------- Split-Varianten ---------- */
@media (min-width: 861px) {
  .split--media-lg { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .split--media-lg.split--rev { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
}
.split-body .h-section + p { margin-top: 1.5rem; }
.signature { margin-top: 1.4rem; }
.signature em { font-family: var(--font-display); font-size: 1.35rem; color: var(--gold-deep); }

.section-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: end; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- Leistungen: Text immer sichtbar ---------- */
.pillar { aspect-ratio: 4 / 5; }
.pillar img { opacity: .82; }
.pillar:hover img { transform: scale(1.03); opacity: .7; }
.pillar::after { background: linear-gradient(180deg, rgba(7, 26, 21, 0) 34%, rgba(7, 26, 21, .9) 82%); }
.pillar-body { padding: clamp(1.4rem, 2.4vw, 2.2rem); }
.pillar-body h3 { margin-top: 0; }
.pillar-body p { opacity: 1; transform: none; color: rgba(245, 241, 230, .9); font-size: 1rem; }
@media (max-width: 900px) { .pillar { aspect-ratio: 16 / 11; } }
@media (max-width: 520px) { .pillar { aspect-ratio: 4 / 3.6; } }

/* ---------- Sorten-Reihe (Startseite) ---------- */
.section.lineup-sec { background-color: var(--stage); color: var(--ivory); }
.lineup-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem 2rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.lineup { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(1rem, 2.2vw, 2.2rem); }
.lineup-item { display: block; text-align: center; color: inherit; }
.lineup-item img { width: 100%; height: clamp(220px, 24vw, 340px); object-fit: contain; transition: transform .6s var(--ease); }
.lineup-item:hover img { transform: translateY(-8px); }
.lineup-item .stage-kicker { display: block; margin-top: 1.2rem; }
.lineup-item h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin-top: .3rem; }
.lineup-item p { margin-top: .3rem; font-size: .98rem; color: rgba(245, 241, 230, .8); }
@media (max-width: 860px) {
  .lineup { grid-template-columns: 1fr 1fr; row-gap: 2.6rem; }
  .lineup-item img { height: clamp(200px, 52vw, 300px); }
}

/* ---------- Produktbühne als Raster: alles auf einen Blick ---------- */
.stage-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.stage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.stage-grid .stage-panel {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(1rem, 2vw, 2rem);
  padding: clamp(1.2rem, 2.2vw, 2rem);
  background: var(--stage);
}
.stage-grid .stage-bag { min-height: 0; perspective: none; }
.stage-grid .stage-bag img { width: 100%; height: clamp(220px, 24vw, 320px); max-height: none; object-fit: contain; }
.stage-panel:hover .stage-bag img { transform: translateY(-6px); }
.stage-grid .stage-info h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.stage-meters { margin-top: 1.4rem; gap: .8rem; }
.smeter { grid-template-columns: 5.6rem 1fr auto; gap: .8rem; }
@media (max-width: 980px) { .stage-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .stage-grid .stage-panel { grid-template-columns: 1fr; text-align: left; }
  .stage-grid .stage-bag img { height: 240px; }
}

/* ---------- Listen statt Karten ---------- */
.features { gap: 0 clamp(2rem, 5vw, 5rem); }
.feature, .section--dark .feature, .section--deep .feature {
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 1.5rem 0 2rem;
}
.section--dark .feature, .section--deep .feature { border-top-color: var(--line-light); }
.feature:hover, .section--dark .feature:hover { transform: none; box-shadow: none; }
.feature::before { content: none; }
.feature h3 { margin-top: 0; }
.feature p { font-size: 1rem; }

.impact-tile { background: none; border: 0; border-top: 1px solid var(--line-light); border-radius: 0; padding: 1.6rem 0 0; }
.impact-tile:hover { transform: none; }
.impact-tile .big { font-size: clamp(2.6rem, 5vw, 3.8rem); }

.stats { border-top: 1px solid var(--line); padding-top: 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.stat .num { font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--green-900); }
.stat .lbl { font-size: .98rem; letter-spacing: 0; text-transform: none; color: var(--ink-soft); margin-top: .3rem; }

.chart-note { margin-top: 1.4rem; max-width: 70ch; font-size: .98rem; color: rgba(245, 241, 230, .8); }
.roast-chart .axis-label { fill: rgba(245, 241, 230, .68); }
.roast-chart .milestone-sub { fill: rgba(245, 241, 230, .74); }
.origin-chart .o-sub { fill: rgba(245, 241, 230, .72); }

/* ---------- CTA + Footer kompakter ---------- */
.cta-band { padding-block: clamp(4.5rem, 9vw, 7rem); }
.cta-band h2 { margin-top: 0; }
.cta-phone { margin-top: 1.5rem; color: rgba(245, 241, 230, .84); }
.cta-phone a { color: var(--gold-bright); border-bottom: 1px solid currentColor; white-space: nowrap; }
.site-footer { border-top: 1px solid var(--line-light); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { padding-bottom: 3rem; }
.footer-brand img { height: 76px; }

/* ---------- Kontaktformular ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1.2rem; padding: .9rem 1.1rem; border-left: 3px solid var(--gold); background: var(--paper); }
.form-status[data-state="error"] { border-left-color: #B3412F; }

/* ---------- Kopfzeile mobil: Anruf mit einem Tipp ---------- */
.header-phone { display: none; }
@media (max-width: 960px) {
  .header-inner { gap: .3rem; }
  .header-phone {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-left: auto;
    color: var(--ivory);
    position: relative;
    z-index: 110;
  }
  .header-phone svg { width: 22px; height: 22px; }
  body.nav-open .header-phone { visibility: hidden; }
}

/* ---------- Diagramme auf dem Handy lesbar halten ---------- */
.origin-list { display: none; }
@media (max-width: 700px) {
  .hero--home .hero-title .line + .line { margin-left: 0; }
  /* Röstkurve: im Rahmen seitlich wischbar statt winzig skaliert */
  .roast-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 1rem; }
  .roast-chart { min-width: 640px; }
  /* Herkunft: Liste statt Mini-Grafik */
  .origin-chart { display: none; }
  .origin-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
    border-top: 1px solid var(--line-light);
  }
  .origin-list li { padding: .8rem 0; border-bottom: 1px solid var(--line-light); font-family: var(--font-display); font-size: 1.25rem; }
  .origin-list small { display: block; font-family: var(--font-sans); font-size: .85rem; color: rgba(245, 241, 230, .74); }
  .origin-list .home { grid-column: 1 / -1; color: var(--gold-bright); border-bottom: 0; }
}
@media (max-width: 540px) {
  .finder-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .finder-opt { padding-bottom: .9rem; }
  .finder-opt img { aspect-ratio: 1; margin-bottom: .3rem; }
  .finder-opt strong { font-size: 1.1rem; padding-inline: .8rem; }
  .finder-opt small { font-size: .72rem; letter-spacing: .08em; padding-inline: .8rem; }
}

/* ---------- Sortiment: 5 Röstungen + Toppings ---------- */
@media (max-width: 860px) {
  .lineup .lineup-item:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: 50%; }
}
.stage-grid > .stage-panel:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: min(100%, calc(50% - .8rem)); }
@media (max-width: 980px) { .stage-grid > .stage-panel:last-child:nth-child(odd) { width: 100%; } }
.stage-subhead {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--ivory);
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(1.2rem, 2.5vw, 1.8rem);
}
.stage-subhead--first { margin-top: 0; }

/* Kopfzeile: Menüpunkte nie umbrechen; Telefonnummer nur, wenn genug Platz ist */
.main-nav a { white-space: nowrap; }
@media (max-width: 1240px) {
  .header-tel { display: none; }
  .header-aside .header-tel + .header-cta::before { display: none; }
}
.header-cta[aria-current="page"]::after { opacity: 1; }

/* ==========================================================================
   Buttons – ruhig & hochwertig (ersetzt Wisch-Effekt und Rahmen)
   Primär: gefüllte Goldfläche. Sekundär (.btn / .btn--light): Text-Link mit
   feiner Linie und Pfeil – im Stil der Kopfzeile.
   ========================================================================== */
.btn,
.btn--solid,
.btn--light {
  border: 0;
  border-radius: 1px;
  overflow: visible;
  transition: background-color .35s var(--ease), color .35s var(--ease), opacity .35s var(--ease);
}
.btn::after,
.btn--solid::after,
.btn--light::after { content: none; }

/* Primär */
.btn.btn--solid {
  background: var(--gold);
  color: var(--green-950);
  padding: 1.05rem 2.1rem;
}
.btn.btn--solid:hover { background: var(--gold-bright); color: var(--green-950); }

/* Sekundär: Text-Link */
.btn:not(.btn--solid) {
  background: none;
  padding: .55rem 0;
  color: var(--gold-deep, var(--gold));
  position: relative;
}
.btn:not(.btn--solid)::before {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: .4;
  transition: opacity .35s var(--ease);
}
.btn:not(.btn--solid):hover::before { opacity: 1; }
.btn:not(.btn--solid):hover { color: var(--ink); }
.btn.btn--light { color: var(--ivory); }
.btn.btn--light:hover { color: var(--gold-bright); }
.section--dark .btn:not(.btn--solid):not(.btn--light),
.section--deep .btn:not(.btn--solid):not(.btn--light) { color: var(--gold-bright); }
.section--dark .btn:not(.btn--solid):not(.btn--light):hover,
.section--deep .btn:not(.btn--solid):not(.btn--light):hover { color: var(--ivory); }

/* Pfeil nur leicht bewegen */
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
/* Zwei Buttons nebeneinander: Fläche + Text-Link, sauber auf einer Linie */
.hero-actions { gap: 1.2rem 2.4rem; align-items: center; }
