@font-face { font-family: "Mullino Display"; src: url("fonts/mullino-display.woff") format("woff"); font-display: swap; }
@font-face { font-family: "DM Mono"; font-weight: 400; src: url("fonts/dm-mono-400.woff") format("woff"); font-display: swap; }
@font-face { font-family: "DM Mono"; font-weight: 500; src: url("fonts/dm-mono-500.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Figtree"; font-weight: 400; src: url("fonts/figtree-400.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Figtree"; font-weight: 600 800; src: url("fonts/figtree-700.woff") format("woff"); font-display: swap; }
:root {
  --paper: #F6F2EA;
  --card: #F0E8D8;
  --ink: #231C16;
  --muted: #6B5E52;
  --line: rgba(35, 28, 22, .14);
  --accent: #B5712D;
  --on-accent: #FFFFFF;
  --ochre: #E2C47C;
  --crema: #CB9A45;
  --oak: #B98A5E;
  --sage: #CBC39C;
  --sky: #D9CDB8;
  --butter: #E2C47C;
  --lavender: #C9A584;
  --peach: #DDA684;
  --t-good: #6E9E6A;
  --t-sour: #E0B23C;
  --t-bitter: #6B4A35;
  --display: "Mullino Display", "Figtree", "Helvetica Neue", Arial, sans-serif;
  --body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #181412; --card: #241D18; --ink: #F6F2EA; --muted: #B3A799; --line: rgba(246, 242, 234, .14);
    --accent: #D9A04F; --on-accent: #231C16;
    --sage: #3A3725; --sky: #352E26; --butter: #4A3E22; --lavender: #3E3024; --peach: #4A3227;
    --t-bitter: #A07A60; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #181412; --card: #241D18; --ink: #F6F2EA; --muted: #B3A799; --line: rgba(246, 242, 234, .14);
    --accent: #D9A04F; --on-accent: #231C16;
    --sage: #3A3725; --sky: #352E26; --butter: #4A3E22; --lavender: #3E3024; --peach: #4A3227;
  --t-bitter: #A07A60; color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: 1120px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { font-family: var(--body); margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1, h2 { font-family: var(--display); font-weight: 400 !important; letter-spacing: .01em !important; text-transform: uppercase; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.eyebrow { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* Header */
header { padding-block: 22px; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 26px; letter-spacing: .03em; text-transform: uppercase; }
.brand svg { width: 30px; height: 30px; }
.langs { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 99px; flex: none; }
.langs a {
  font: 600 14px var(--body); color: var(--muted); text-decoration: none;
  padding: 6px 12px; border-radius: 99px;
}
.langs a[aria-current="true"] { background: var(--ink); color: var(--paper); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-block: 40px 72px; }
.hero > * { min-width: 0; }
.hero h1 { font-size: clamp(42px, 6.4vw, 80px); line-height: 1; font-weight: 800; letter-spacing: -0.035em; }
.hero h1 .dot { color: var(--accent); }
.lead { margin-top: 22px; font-size: 20px; color: var(--muted); max-width: 32ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 700; font-size: 16px; padding: 14px 22px; border-radius: 6px;
  background: var(--ink); color: var(--paper); transition: transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.note { font-size: 14px; color: var(--muted); }

/* Phone mock */
.phone {
  justify-self: center; width: min(100%, 340px);
  background: var(--card); border-radius: 14px; padding: 22px 18px 18px;
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(0,0,0,.35);
  border: 1px solid var(--line);
}
.ph-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); padding: 0 6px 14px; }
.shot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.shot div { background: var(--paper); border-radius: 4px; padding: 10px 12px; }
.shot small { display: block; font-size: 11px; color: var(--muted); }
.shot b { font-family: var(--mono); font-weight: 500; font-size: 20px; }
.tastes { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.chip { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; display: inline-flex; gap: 6px; align-items: center; }
.chip i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.chip.on { background: var(--peach); border-color: transparent; font-weight: 600; }
.rec { background: var(--ink); color: var(--paper); border-radius: 6px; padding: 18px; }
.rec .eyebrow { color: var(--accent); }
.rec h3 { font-size: 22px; margin-top: 6px; letter-spacing: -0.02em; }
.rec p { font-size: 14px; opacity: .78; margin-top: 8px; }

/* Sections */
section { padding-block: 64px; }
.sec-head { display: grid; gap: 12px; max-width: 640px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; font-weight: 800; }
.sec-head p { color: var(--muted); font-size: 18px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 26px; display: grid; gap: 10px; align-content: start; }
.steps li::before {
  counter-increment: s; content: counter(s);
  width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; font-weight: 800; font-size: 15px;
}
.steps h3 { font-size: 21px; }
.steps p { color: var(--muted); font-size: 16px; }

/* Stories als Kacheln */
.stories { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px 14px; }
.tile { text-decoration: none; display: grid; gap: 8px; align-content: start; }
.tile .img { aspect-ratio: 1; border-radius: 6px; display: grid; place-items: center; color: #231C16; font: 64px/1 var(--display); transition: transform .2s ease; }
.tile:hover .img { transform: translateY(-3px); }
.tile h3 { font-size: 17px; line-height: 1.2; font-weight: 700; }
.tile small { font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.s1 { background: #DDA684; } .s2 { background: #E2C47C; } .s3 { background: #CBC39C; } .s4 { background: #D9CDB8; } .s5 { background: #C9A584; }
.wood { background: repeating-linear-gradient(176deg, rgba(90,59,34,.12) 0 1px, transparent 1px 9px), repeating-linear-gradient(184deg, rgba(255,255,255,.08) 0 1px, transparent 1px 14px), #B98A5E; }

/* Zubehör-Band */
.band { background: #E2C47C; color: #231C16; padding-block: 56px; }
.band .eyebrow, .band .sec-head p { color: #231C16; }
.band .tile small { color: rgba(35,28,22,.65); }
.band .tile .img { background: #F1E1B6; }
.band .tile .img.wood { background: repeating-linear-gradient(176deg, rgba(90,59,34,.12) 0 1px, transparent 1px 9px), repeating-linear-gradient(184deg, rgba(255,255,255,.08) 0 1px, transparent 1px 14px), #B98A5E; }
.band .tile .img i { width: 72px; height: 72px; border-radius: 50%; background: #F6F2EA; display: grid; place-items: center; font: normal 30px/1 var(--display); }
.gear { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 14px; }
.more { display: inline-block; margin-top: 28px; font: 500 14px var(--mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }

/* Dashboard */
.dash { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 24px; min-width: 0; }
.panel h3 { font-size: 18px; }
.pill { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.pill.drift { background: var(--accent); color: var(--on-accent); }
.pill.ok { background: var(--sage); color: var(--ink); }
.prow { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dots { display: flex; gap: 6px; margin: 14px 0 12px; }
.dots i { width: 16px; height: 16px; border-radius: 50%; display: block; }
.panel p { color: var(--muted); font-size: 15px; }
.chart { width: 100%; height: auto; display: block; margin-top: 14px; }
.chart text { fill: var(--muted); font: 11px var(--mono); }

/* Machines */
.machines { display: flex; flex-wrap: wrap; gap: 10px; }
.machines > span { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 10px 18px; font-weight: 600; }
.machines small { font-weight: 400; color: var(--muted); font-size: 15px; }
.gear-label { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 28px 0 12px; }

/* Price + privacy */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.big { border-radius: 6px; padding: 32px; display: grid; gap: 14px; align-content: start; }
.big h3 { font-size: 28px; line-height: 1.1; }
.big ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.big li { display: flex; gap: 10px; align-items: baseline; }
.big li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); transform: translateY(-2px); }
.trial { background: var(--ochre); color: #231C16; }
.trial .days { font: 72px/1 var(--display); text-transform: uppercase; }
.priv { background: var(--card); border: 1px solid var(--line); }

footer { padding-block: 40px 56px; border-top: 1px solid var(--line); margin-top: 32px; }
footer .bar { flex-wrap: wrap; color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 16px 48px; }
  .steps, .dash, .duo { grid-template-columns: 1fr; }
  .stories { grid-template-columns: repeat(2, 1fr); }
  .gear { grid-template-columns: repeat(2, 1fr); }
  section { padding-block: 44px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Ersatz für Inline-Styles (die Content-Security-Policy erlaubt keine) */
.t-good { background: var(--t-good); } .t-sour { background: var(--t-sour); } .t-bitter { background: var(--t-bitter); }
.dashed { border-style: dashed !important; }
.eyebrow.plain { color: inherit; opacity: .7; }
.rec .eyebrow { opacity: 1; }
.mt-14 { margin-top: 14px; } .mt-10 { margin-top: 10px; }
.brand.small { font-size: 20px; } .brand.small svg { width: 22px; height: 22px; }
.scale { display: grid; gap: 8px; margin: 14px 0; }
.scale div { display: grid; grid-template-columns: 74px 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
.scale span.track { height: 6px; border-radius: 99px; background: var(--line); position: relative; }
.scale span.track b { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: var(--accent); }
.scale .w0 { width: 0; } .scale .w75 { width: 75%; }
.scale em { font-style: normal; color: var(--muted); }

/* Footer-Links */
.links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.links a { text-decoration: none; }
.links a:hover { text-decoration: underline; }

/* Rechtstexte */
.legal { max-width: 720px; padding-block: 24px 64px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.05; }
.legal h2 { font-family: var(--body); text-transform: none; font-weight: 700 !important; letter-spacing: -0.01em !important; font-size: 21px; margin-top: 36px; }
.legal p, .legal li { color: var(--ink); }
.legal p + p, .legal ul { margin-top: 10px; }
.legal ul { padding-left: 20px; }
.legal .meta { color: var(--muted); font-size: 15px; margin-top: 10px; }
.legal address { font-style: normal; }
.legal .box { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px; margin-top: 16px; }
.back { display: inline-block; margin-bottom: 18px; font: 500 14px var(--mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
/* Noch auszufüllen: fällt absichtlich auf */
.todo { background: #FFE08A; color: #231C16; padding: 0 4px; border-radius: 3px; }

/* Kopfzeile mit Navigation, bleibt oben */
header.site { position: sticky; top: 0; z-index: 10; padding-block: 14px; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.site .bar { flex-wrap: nowrap; }
.nav { display: flex; gap: 4px 18px; margin-left: auto; margin-right: 12px; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a:focus-visible { color: var(--ink); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 20; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 16px; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
@media (max-width: 760px) {
  header.site .bar { flex-wrap: wrap; row-gap: 8px; }
  .nav { order: 3; width: 100%; margin: 0; justify-content: space-between; gap: 10px; font-size: 14px; }
  html { scroll-padding-top: 120px; }
}
@media (max-width: 560px) {
  .brand { font-size: 21px; } .brand svg { width: 24px; height: 24px; }
  .langs a { padding: 5px 10px; }
}

/* Funktionen */
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feats li { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 24px; display: grid; gap: 8px; align-content: start; color: var(--muted); font-size: 16px; }
.feats b { color: var(--ink); font-size: 19px; }
@media (max-width: 860px) { .feats { grid-template-columns: 1fr; } }

.top { text-decoration: none; }
.shot b { white-space: nowrap; font-size: 18px; }


/* Kopf: echtes App-Bild mit schwebender Empfehlung */
.hero-shot { position: relative; justify-self: center; width: min(100%, 340px); }
.screen { display: block; width: 100%; height: auto; border-radius: 34px; border: 7px solid #231C16; background: #231C16; box-shadow: 0 30px 60px -28px rgba(0,0,0,.45); }
.rec.float { position: absolute; left: -64px; bottom: 56px; width: 250px; transform: rotate(-2deg); box-shadow: 0 18px 40px -18px rgba(0,0,0,.5); }
.rec.float h3 { font-size: 18px; line-height: 1.2; }
@media (max-width: 860px) { .rec.float { left: -8px; bottom: 24px; width: 220px; } }

/* App-Bilder mit Geschichten */
.screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.screens figure { margin: 0; display: grid; gap: 14px; align-content: start; }
.screens .screen { border-radius: 26px; border-width: 5px; }
.screens figcaption { font-size: 15px; color: var(--muted); }
.screens figcaption b { display: block; color: var(--ink); font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
@media (max-width: 960px) {
  .screens { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; overscroll-behavior-x: contain; }
  .screens figure { scroll-snap-align: start; }
}

/* Röstereien */
.roast-band { background: var(--ink); color: var(--paper); }
.roast-band .eyebrow { color: var(--accent); }
.roast-band h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; }
.roast-band p { color: color-mix(in srgb, var(--paper) 80%, transparent); max-width: 56ch; }
.roast-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.roast-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: r; }
.roast-steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center; border: 1px solid color-mix(in srgb, var(--paper) 20%, transparent); border-radius: 6px; padding: 16px; }
.roast-steps li::before { counter-increment: r; content: counter(r); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 800; }
.roast-steps b { font-size: 17px; }
.roast-steps span { font-size: 14px; color: color-mix(in srgb, var(--paper) 70%, transparent); }
.btn.light { background: var(--paper); color: var(--ink); }
.mt-24 { margin-top: 24px; }
.roast-hero { padding-top: 8px; }
.roast-figure { margin: 0; display: grid; gap: 10px; }
.roast-figure img { width: 100%; height: auto; border-radius: 10px; display: block; }
.roast-figure figcaption { font-size: 13px; color: var(--muted); }
.pill-line { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; font-size: 15px; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 24px; display: grid; gap: 8px; align-content: start; color: var(--muted); font-size: 16px; }
.fact .num { font: 44px/1 var(--display); text-transform: uppercase; color: var(--ink); }
@media (max-width: 860px) { .roast-grid, .facts { grid-template-columns: 1fr; } }

/* Häufige Fragen */
.faq-wrap .faqs { max-width: 860px; }
.faqs { display: grid; gap: 10px; }
.faq { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font: 400 26px/1 var(--body); color: var(--muted); }
.faq[open] summary::after { content: "–"; }
.faq p { padding-bottom: 18px; color: var(--muted); }
.faq a, .sec-head p a { color: var(--ink); }

/* Anleitung */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 22px; }
.crumbs a { color: var(--muted); }
.guide { max-width: 780px; padding-bottom: 48px; }
.guide-head { padding-block: 18px 8px; display: grid; gap: 14px; }
.guide h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.04; }
.guide .lead { max-width: none; }
.guide .meta { font-size: 14px; color: var(--muted); }
.guide h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.1; margin-top: 52px; margin-bottom: 14px; }
.guide h3 { font-size: 19px; margin-bottom: 6px; }
.guide p + p { margin-top: 12px; }
.guide .box { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 20px 22px; }
.tldr { margin-top: 28px; }
.tldr ul, .plain { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.levers { margin: 16px 0; display: grid; gap: 4px; }
.levers dt { font-weight: 700; font-size: 18px; margin-top: 12px; }
.levers dd { margin: 0; color: var(--muted); }
.duo-text { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.table-wrap { overflow-x: auto; margin: 16px 0 8px; border: 1px solid var(--line); border-radius: 6px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
caption { caption-side: bottom; text-align: left; padding: 10px 14px; font-size: 13px; color: var(--muted); }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--card); font-size: 13px; font-family: var(--mono); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.howto { padding-left: 22px; display: grid; gap: 12px; }
.cta-box { margin-top: 52px; background: var(--ochre); color: #231C16; border-radius: 6px; padding: 28px; display: grid; gap: 12px; }
.cta-box h2 { margin: 0; }
.cta-box .cta { margin-top: 8px; }
.cta-box .btn.ghost { color: #231C16; border-color: rgba(35,28,22,.3); }
@media (max-width: 640px) { .duo-text { grid-template-columns: 1fr; } }

/* App Store: Textbutton bis zum Start, danach Apples offizielles Badge */
.btn.small { font-size: 14px; padding: 9px 14px; }
.store-badge { display: inline-block; }
.store-badge img { display: block; height: 48px; width: auto; }
.store-badge.small img { height: 36px; }
.legal .store, .legal .store-badge { margin-top: 18px; }

/* Auf den hellen Ocker-Flächen bleibt alles dunkel, auch im Dunkelmodus */
.trial li::before { background: #231C16; }
.trial .btn:not(.ghost), .cta-box .btn:not(.ghost) { background: #231C16; color: #F6F2EA; }
