/* Website umgekocht.de – gleiche Farben und Schriften wie die App.
   Schriften liegen auf dem eigenen Server (keine Verbindung zu Google). */
@font-face { font-family: "Young Serif"; src: url("fonts/YoungSerif_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans_700Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #F2F5EF; --surface: #FFFFFF; --ink: #1E2B24; --muted: #5C6A62; --line: #D6DED3; --soft: #E3EBE0;
  --pine: #2F5D46; --pine-ink: #FFFFFF; --saffron: #E3A230; --protein: #3D8B5C; --carbs: #E3A230; --fat: #3F86A3;
  --display: "Young Serif", Georgia, "Times New Roman", serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121815; --surface: #1B231E; --ink: #E7EDE8; --muted: #9AA89F; --line: #2D3831; --soft: #232E27;
    --pine: #86C49E; --pine-ink: #0E2016; --saffron: #F0BC5A; --protein: #7FCB9A; --carbs: #F0BC5A; --fat: #7EBCD4;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--pine); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 720px; }

/* Kopfzeile */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 40px; height: 40px; flex: none; }
.wordmark { display: block; width: 132px; height: 24px; background: var(--pine);
  -webkit-mask: url("wordmark.png") no-repeat left center / contain; mask: url("wordmark.png") no-repeat left center / contain; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--pine); }

/* Startseite */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-block: 40px 64px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 18px 0 26px; max-width: 32em; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 15px; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--saffron); }
.stores { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn { display: inline-block; background: var(--pine); color: var(--pine-ink); text-decoration: none; font-weight: 700; padding: 13px 20px; border-radius: 14px; }

/* Beispiel-Karte wie in der App */
.card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: 0 18px 40px -24px rgba(20, 40, 30, .35); }
.card h3 { font-size: 24px; }
.card .meta { color: var(--muted); font-size: 14.5px; margin: 6px 0 16px; }
.plate { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: center; }
.plate svg { width: 132px; height: 132px; }
.legend { display: grid; gap: 6px; font-size: 15px; }
.legend div { display: grid; grid-template-columns: 12px 1fr auto; gap: 8px; align-items: center; }
.legend i { width: 12px; height: 12px; border-radius: 50%; }
.legend b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.swap { margin-top: 16px; border-left: 3px solid var(--saffron); padding-left: 12px; font-size: 15px; }
.swap span { display: block; color: var(--muted); font-size: 14px; }
.compare { margin-top: 14px; background: var(--soft); border-radius: 12px; padding: 10px 12px; font-size: 14.5px; }
.compare strong { color: var(--pine); }

.section { padding-block: 56px; border-top: 1px solid var(--line); }
.section > h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 28px; }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.way { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.way h3 { font-size: 21px; margin: 8px 0 6px; }
.way p { margin: 0; color: var(--muted); font-size: 16px; }
.way .tag { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--saffron); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 14px; font-weight: 500; font-size: 15px; }
.note { color: var(--muted); font-size: 15px; margin-top: 18px; }

/* Startseite vor dem Start: Vorher-Nachher, Schritte, Klassiker, Kontakt */
.launchbar { margin: 0; background: var(--pine); color: var(--pine-ink); text-align: center; font-size: 15px; padding: 9px 20px; display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.launchbar i, .badge.launch i { width: 9px; height: 9px; border-radius: 50%; background: var(--saffron); flex: none; animation: pulse 1.8s ease-out infinite; }
.badge.launch { font-size: 17px; padding: 10px 18px; border-color: var(--saffron); box-shadow: 0 0 0 4px color-mix(in srgb, var(--saffron) 18%, transparent); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--saffron) 60%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
@media (prefers-reduced-motion: reduce) { .launchbar i, .badge.launch i { animation: none; } }
.cta-kicker { margin: 0 auto 6px !important; font-family: var(--display); font-size: 20px; opacity: .85; }
.btn.light { background: var(--surface); color: var(--pine); }
.kicker { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--saffron); }
.ba { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: stretch; margin-top: 16px; }
.ba-col { border-radius: 16px; padding: 14px; background: var(--soft); display: grid; gap: 2px; }
.ba-col span { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.ba-col b { font: 400 40px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.ba-col small { font-size: 14px; color: var(--muted); }
.ba-col:not(.now) b { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--saffron); }
.ba-col.now { background: var(--pine); color: var(--pine-ink); }
.ba-col.now span, .ba-col.now small { color: var(--pine-ink); opacity: .85; }
.ba-arrow { align-self: center; font-size: 22px; color: var(--saffron); font-weight: 700; }
.delta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.delta strong { background: var(--soft); color: var(--pine); border-radius: 999px; padding: 6px 12px; font-size: 15px; }
.fine { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.section > .sub { color: var(--muted); margin: -16px 0 24px; max-width: 40em; }
.chips.small { margin-top: 10px; gap: 6px; }
.chips.small .chip { font-size: 14px; padding: 5px 11px; }
.teasers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.teaser { background: var(--surface); border: 1.5px dashed var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 4px; }
.teaser h3 { font-size: 20px; }
.teaser b { font: 400 30px/1.2 var(--display); color: var(--saffron); }
.teaser span { font-size: 14px; color: var(--muted); }
.cta { background: var(--pine); color: var(--pine-ink); border-radius: 28px; padding-block: 48px; text-align: center; margin-block: 8px 40px; }
.cta h2 { font-size: clamp(30px, 5vw, 44px); }
.cta p { margin: 12px auto 24px; max-width: 30em; opacity: .9; }
.disclaimer { color: var(--muted); font-size: 14px; padding-bottom: 32px; }
@media (max-width: 820px) {
  .teasers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .ba-col b { font-size: 32px; }
  .teaser { padding: 14px; }
  .teaser h3 { font-size: 17px; }
  .cta { border-radius: 0; }
}

/* Textseiten (Impressum, Datenschutz, Support) */
.page { padding-block: 24px 64px; }
.page h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 8px; }
.page .sub { color: var(--muted); margin: 0 0 28px; }
.page h2 { font-size: 24px; margin: 36px 0 10px; }
.page h3 { font-family: var(--body); font-weight: 700; font-size: 17px; margin: 22px 0 6px; }
.page p, .page li { max-width: 68ch; }
.page ul { padding-left: 1.2em; }
.todo { background: #FFF1CC; color: #4A3500; border-radius: 4px; padding: 0 4px; font-weight: 600; }
.draft { background: var(--soft); border-left: 4px solid var(--saffron); border-radius: 10px; padding: 12px 16px; margin-bottom: 28px; font-size: 15px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.contact { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin-top: 28px; }
.contact p { margin: 4px 0; }

/* Fußzeile */
.foot { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--muted); font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { color: var(--muted); }

@media (max-width: 820px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 16px; }
  .ways { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .nav { gap: 12px; font-size: 14px; }
  .wordmark { width: 104px; height: 19px; }
  .brand svg { width: 34px; height: 34px; }
  .plate { grid-template-columns: 112px minmax(0, 1fr); }
  .plate svg { width: 112px; height: 112px; }
}
