
:root{
  --bg:#faf7f2; --paper:#ffffff; --ink:#2b2420; --muted:#75685f; --line:#ebe3d9;
  --accent:#8a5a3b; --accent-soft:#f3e9df; --cream:#f6efe6;
  --mp:#3f6b4a; --mp-soft:#e4efe6;
  --radius:18px; --shadow:0 1px 2px rgba(43,36,32,.04),0 8px 24px rgba(43,36,32,.06);
}
@media (prefers-color-scheme:dark){
  :root{--bg:#1b1715;--paper:#241f1c;--ink:#f1e9e1;--muted:#ab9d92;--line:#3a322d;
  --accent:#d39b72;--accent-soft:#33281f;--cream:#2c2420;--mp:#9fd0a9;--mp-soft:#22302a;
  --shadow:0 1px 2px rgba(0,0,0,.3),0 8px 24px rgba(0,0,0,.25);}
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-padding-top:90px}
body{background:var(--bg);color:var(--ink);font:16px/1.65 Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:Fraunces,Georgia,serif;font-weight:600;line-height:1.15;letter-spacing:-.01em}
a{color:inherit}
.wrap{max-width:1040px;margin:0 auto;padding:0 20px}

nav{position:sticky;top:0;z-index:10;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
nav .wrap{display:flex;align-items:center;justify-content:space-between;height:60px;gap:16px}
.brand{font-family:Fraunces,serif;font-size:20px;font-weight:600;text-decoration:none}
nav ul{display:flex;gap:22px;list-style:none;font-size:14px;color:var(--muted)}
nav ul a{text-decoration:none;transition:color .2s}
nav ul a:hover{color:var(--ink)}
@media (max-width:640px){nav .wrap{height:auto;padding-top:10px;padding-bottom:10px;flex-wrap:wrap;gap:6px}nav ul{gap:16px;font-size:13px;overflow-x:auto;white-space:nowrap;width:100%;scrollbar-width:none}}

.cover{padding:88px 0 56px;text-align:center}
.eyebrow{display:inline-block;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin-bottom:18px}
.cover h1{font-size:clamp(42px,8vw,84px);margin-bottom:18px}
.cover h1 em{font-style:italic;font-weight:400;color:var(--accent)}
.cover p{max-width:540px;margin:0 auto;color:var(--muted);font-size:18px}

.toc-group{padding-bottom:64px}
.toc-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:20px;border-bottom:1px solid var(--line);padding-bottom:12px}
.toc-head h2{font-size:28px}
.toc-head p{color:var(--muted);font-size:14px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media (max-width:860px){.grid{grid-template-columns:repeat(2,1fr)}}
.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;text-decoration:none;box-shadow:var(--shadow);transition:transform .25s ease,box-shadow .25s ease;display:flex;flex-direction:column}
.card:hover{transform:translateY(-3px);box-shadow:0 2px 4px rgba(43,36,32,.05),0 16px 40px rgba(43,36,32,.1)}
.card .art{aspect-ratio:16/10;display:grid;place-items:center;background:var(--cream)}
.card .art svg{width:38%;height:auto}
.card .body{padding:18px 20px 20px}
.card h3{font-size:22px;margin:8px 0 6px}
.card .meta{font-size:14px;color:var(--muted)}
@media (max-width:560px){
  .grid{grid-template-columns:1fr 1fr;gap:12px}
  .card{border-radius:14px}
  .card .art{aspect-ratio:16/10}.card .art svg{width:38%}
  .card .body{padding:10px 12px 12px}
  .card .tag:not(.mp){display:none}
  .card .tag{font-size:9.5px;padding:3px 7px}
  .card h3{font-size:15.5px;margin:6px 0 3px;line-height:1.2}
  .card .meta{font-size:12px;line-height:1.4}
  .toc-group{padding-bottom:40px}
  .toc-head{margin-bottom:14px}.toc-head h2{font-size:23px}.toc-head p{font-size:12px}
  .cover{padding:48px 0 36px}.cover p{font-size:16px}
  .recipe{padding:56px 0}
  .recipe-head{margin-bottom:32px}
  .hero-art{display:none}
}

.tags{display:flex;gap:6px;flex-wrap:wrap}
.tag{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:4px 9px;border-radius:999px;background:var(--accent-soft);color:var(--accent)}
.tag.mp{background:var(--mp-soft);color:var(--mp)}
.tag.mp::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}

.recipe{padding:88px 0;border-top:1px solid var(--line)}
.recipe-head{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center;margin-bottom:56px}
@media (max-width:820px){.recipe-head{grid-template-columns:1fr;gap:28px}}
.recipe-head h2{font-size:clamp(34px,5.5vw,56px);margin:14px 0 16px}
.recipe-head .lead{color:var(--muted);font-size:18px;max-width:460px}
.facts{display:flex;gap:28px;margin-top:28px;flex-wrap:wrap}
.facts div{font-size:13px;color:var(--muted)}
.facts strong{display:block;font-size:17px;color:var(--ink);font-weight:600}
.hero-art{aspect-ratio:1;max-width:380px;width:100%;justify-self:end;border-radius:28px;background:var(--cream);display:grid;place-items:center}
.hero-art svg{width:56%;height:auto}
@media (max-width:820px){.hero-art{justify-self:start;max-width:none;aspect-ratio:16/9}.hero-art svg{width:32%}}

.cols{display:grid;grid-template-columns:340px 1fr;gap:48px;align-items:start}
@media (max-width:820px){.cols{grid-template-columns:1fr;gap:36px}}
.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow);position:sticky;top:84px}
@media (max-width:820px){.panel{position:static}}
.panel-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;gap:12px}
.panel h3,.steps-h{font-size:22px}
.stepper{display:flex;align-items:center;gap:6px;background:var(--accent-soft);border-radius:999px;padding:4px}
.stepper button{width:30px;height:30px;border:0;border-radius:50%;background:var(--paper);color:var(--ink);font-size:16px;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.stepper button:hover{color:var(--accent)}
.stepper span{min-width:76px;text-align:center;font-size:13px;font-weight:600}
.ing{list-style:none}
.ing li{display:flex;gap:12px;align-items:flex-start;padding:10px 0;border-bottom:1px dashed var(--line);cursor:pointer;user-select:none}
.ing li:last-child{border-bottom:0}
.ing .box{flex:none;width:18px;height:18px;margin-top:3px;border:1.5px solid var(--line);border-radius:5px;transition:all .15s}
.ing li.done .box{background:var(--accent);border-color:var(--accent)}
.ing li.done .txt{color:var(--muted);text-decoration:line-through}
.ing .amt{font-weight:600;white-space:nowrap;margin-right:6px}
.ing .group{padding:16px 0 4px;border:0;cursor:default;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);font-weight:600}
.ing .group:first-child{padding-top:0}

.steps{list-style:none;counter-reset:s;margin-top:18px}
.steps li{counter-increment:s;display:grid;grid-template-columns:44px 1fr;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}
.steps li:last-child{border-bottom:0}
.steps li::before{content:counter(s);width:36px;height:36px;border-radius:50%;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;font-family:Fraunces,serif;font-weight:600}
.steps h4{font-size:16px;font-weight:600;margin-bottom:4px}
.steps p{color:var(--muted)}
.uses{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.use{display:inline-flex;align-items:baseline;gap:5px;font-size:13.5px;line-height:1.3;padding:5px 10px;border-radius:999px;background:var(--paper);border:1px solid var(--line)}
.use .amt{font-weight:600;color:var(--accent);white-space:nowrap}
.tips{margin-top:36px;background:var(--accent-soft);border-radius:var(--radius);padding:24px 26px}
.tips h4{font-family:Fraunces,serif;font-size:19px;margin-bottom:10px}
.tips ul{padding-left:18px}
.tips li{margin:6px 0}
.tips li::marker{color:var(--accent)}
.back{display:inline-block;margin-top:28px;font-size:14px;color:var(--muted);text-decoration:none}
.back:hover{color:var(--ink)}

footer{border-top:1px solid var(--line);padding:40px 0;color:var(--muted);font-size:14px}
footer .wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}

@media print{
  nav,.stepper,.toc,.cover p,footer,.back{display:none}
  body{background:#fff;color:#000}
  .recipe{page-break-before:always;padding:24px 0;border:0}
  .panel{box-shadow:none;position:static}
  .hero-art{display:none}.recipe-head{grid-template-columns:1fr;margin-bottom:24px}
}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}

/* ===== Mehrseitige Version ===== */
:root{--g:var(--accent);--g-soft:var(--accent-soft)}
nav ul a[aria-current="page"]{color:var(--g);font-weight:600}
h1.r-title{font-size:clamp(32px,5.5vw,54px);margin:14px 0 16px}
.h3{font-family:Fraunces,Georgia,serif;font-weight:600;font-size:22px}
.h4{font-family:Fraunces,Georgia,serif;font-weight:600;font-size:19px;margin-bottom:10px}
.steps-h{font-family:Fraunces,Georgia,serif;font-weight:600}
.steps li::before{background:var(--g-soft);color:var(--g)}
.tips{background:var(--g-soft)}
.tips li::marker{color:var(--g)}
.ing .group,.use .amt{color:var(--g)}
.ing li.done .box{background:var(--g);border-color:var(--g)}
.stepper{background:var(--g-soft)}
.recipe{border-top:0;padding-top:28px}
.crumb{display:inline-block;font-size:14px;color:var(--muted);text-decoration:none;margin-bottom:18px}
.crumb:hover{color:var(--ink)}
.hero-art{background:var(--g-soft)}

/* Karten mit Bereichsfarbe */
.card{--cg:var(--accent);--cg-soft:var(--cream)}
@media (prefers-color-scheme:dark){.card,.tile{--cg:var(--cgd);--cg-soft:var(--cg-softd)}}
.card .art{background:var(--cg-soft)}
.card .tag:not(.mp){background:color-mix(in srgb,var(--cg) 14%,transparent);color:var(--cg)}

/* Startseite */
.cover{padding:72px 0 40px}
.finder{display:flex;gap:10px;max-width:560px;margin:28px auto 0;flex-wrap:wrap;justify-content:center}
.search{flex:1 1 280px;display:flex;align-items:center;gap:10px;background:var(--paper);border:1px solid var(--line);border-radius:999px;padding:0 18px;height:50px;box-shadow:var(--shadow)}
.search:focus-within{border-color:var(--accent)}
.search svg{width:18px;height:18px;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;flex:none}
.search input{flex:1;border:0;background:transparent;font:inherit;font-size:16px;color:var(--ink);outline:none;min-width:0}
.mp-toggle{display:inline-flex;align-items:center;gap:8px;height:50px;padding:0 18px;border-radius:999px;border:1px solid var(--line);background:var(--paper);color:var(--ink);font:inherit;font-size:15px;font-weight:500;cursor:pointer;box-shadow:var(--shadow)}
.mp-toggle .dot{width:8px;height:8px;border-radius:50%;background:var(--mp)}
.mp-toggle[aria-pressed="true"]{background:var(--mp-soft);border-color:var(--mp);color:var(--mp)}
.tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;padding:8px 0 80px}
.tile{display:flex;flex-direction:column;text-decoration:none;background:var(--paper);border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:var(--shadow);transition:transform .25s ease,box-shadow .25s ease}
.tile:hover{transform:translateY(-3px);box-shadow:0 2px 4px rgba(43,36,32,.05),0 16px 40px rgba(43,36,32,.1)}
.tile:first-child{grid-column:1/-1}
.tile-art{background:var(--cg-soft);display:flex;justify-content:center;align-items:center;gap:6%;padding:26px 20px;min-height:150px}
.tile-art span{width:22%;max-width:110px;display:flex}
.tile-art svg{width:100%;height:auto}
.tile-body{padding:18px 22px 22px;border-top:3px solid var(--cg)}
.tile-body h2{font-size:26px;margin-bottom:6px}
.tile-body p{color:var(--muted);font-size:15px;margin-bottom:10px}
.count{display:inline-block;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--cg,var(--g))}
.results{padding:8px 0 48px}
.res-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:16px;border-bottom:1px solid var(--line);padding-bottom:10px}
.res-head h2{font-size:24px}
.link{background:none;border:0;color:var(--muted);font:inherit;font-size:14px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.empty{color:var(--muted);padding:12px 0 24px}

/* Bereichsseite */
.cat-head{background:var(--g-soft);padding:40px 0 34px;margin-bottom:28px;border-bottom:3px solid var(--g)}
.cat-head h1{font-size:clamp(34px,6vw,58px);margin-bottom:8px}
.cat-head p{color:var(--muted);font-size:17px;margin-bottom:12px;max-width:540px}
.cat-head .count{color:var(--g)}
.cat-main{padding-bottom:80px}

/* Vor / Zurück */
.pager{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:36px}
.pager a{display:flex;flex-direction:column;gap:2px;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:var(--paper);text-decoration:none;font-family:Fraunces,serif;font-weight:600;font-size:16px;line-height:1.25}
.pager a:hover{border-color:var(--g)}
.pager small{font-family:Inter,sans-serif;font-weight:500;font-size:12px;color:var(--muted)}
.pager .next{text-align:right}

@media (max-width:560px){
  .cover{padding:40px 0 28px}
  .finder{margin-top:22px}
  .mp-toggle{flex:1 1 100%;justify-content:center;height:44px}
  .search{height:48px}
  .tiles{grid-template-columns:1fr 1fr;gap:12px}
  .tile{border-radius:16px}
  .tile-art{min-height:96px;padding:16px 10px}
  .tile:not(:first-child) .tile-art span:nth-child(n+2){display:none}
  .tile:not(:first-child) .tile-art span{width:38%}
  .tile-body{padding:12px 14px 14px}
  .tile-body h2{font-size:18px}
  .tile-body p{display:none}
  .tile:first-child .tile-body p{display:block;font-size:14px}
  .count{font-size:10.5px}
  .cat-head{padding:22px 0 20px;margin-bottom:18px}
  .cat-head p{font-size:15px}
  .recipe{padding:18px 0 56px}
  .recipe .hero-art{display:none}
  .crumb{margin-bottom:10px}
}

@media print{
  nav,footer,.crumb,.pager,.stepper{display:none}
  .recipe{padding:0}
}
[hidden]{display:none!important}

.recipe .tag:not(.mp){background:color-mix(in srgb,var(--g) 14%,transparent);color:var(--g)}
