/* cooking with wendy — Design v2 (nach Claude-Design-Vorschlag) */
:root {
  --bg: #faf7ef;
  --ink: #14231a;
  --green: #2f7d4f;
  --green-dark: #1e5c38;
  --yellow: #e6a817;
  --red: #d9484f;
  --muted: #6b7663;
  --body-green: #46543f;
  --border: rgba(20, 35, 26, 0.08);
  --font-head: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", sans-serif;
  --font-hand: "Caveat", cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  min-width: 320px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(-1deg); } }
@keyframes floaty2 { 0%,100% { transform: translateY(0) rotate(4deg); } 50% { transform: translateY(-10px) rotate(6deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* NAV */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 239, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 16px 28px;
}
.logo { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--ink); letter-spacing: -0.02em; }
.logo span { color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 15px; }
.nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--green); }
.nav-links a.pill {
  background: var(--ink); color: var(--bg);
  padding: 10px 20px; border-radius: 999px; font-size: 14px; white-space: nowrap;
}
.nav-links a.pill:hover { background: var(--green); color: #fff; }

/* Handschrift-Akzent */
.hand { font-family: var(--font-hand); font-weight: 700; }

/* HERO */
.hero {
  max-width: 1240px; margin: 0 auto; padding: 72px 28px 96px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; position: relative;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; position: relative; z-index: 2; }
.hero-greet { font-family: var(--font-hand); font-weight: 700; font-size: 28px; color: var(--green); transform: rotate(-2deg); }
.hero h1 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(46px, 6.5vw, 84px); line-height: 1.1; letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero h1 .marker { background: linear-gradient(transparent 55%, oklch(0.9 0.14 130) 55%, oklch(0.9 0.14 130) 92%, transparent 92%); }
.hero h1 .green { color: var(--green); }
.hero .lead { font-size: 19px; line-height: 1.6; color: var(--body-green); max-width: 44ch; text-wrap: pretty; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-block; font-weight: 700; font-size: 17px;
  padding: 16px 32px; border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn.primary { background: var(--green); color: #fff; box-shadow: 0 10px 26px rgba(47, 125, 79, 0.32); }
.btn.primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); }
.btn.outline { color: var(--ink); border: 2px solid var(--ink); padding: 16px 28px; }
.btn.outline:hover { border-color: var(--green); color: var(--green); }

.hero-visual { position: relative; justify-self: center; width: 100%; max-width: 460px; }
.hero-visual .glow {
  position: absolute; inset: -30px -10px;
  background: radial-gradient(circle at 35% 25%, oklch(0.93 0.09 145), transparent 62%);
  border-radius: 50%;
}
.hero-visual .portrait {
  position: relative; width: 100%; aspect-ratio: 4 / 5;
  object-fit: cover; object-position: top;
  border-radius: 230px 230px 36px 36px;
  box-shadow: 0 30px 70px rgba(20, 35, 26, 0.22);
}
.badge-spin { position: absolute; top: 6px; right: -34px; width: 118px; height: 118px; animation: spin 14s linear infinite; }
.badge-spin text.circ { font-family: var(--font-head); font-weight: 700; font-size: 12.5px; letter-spacing: 2.5px; fill: var(--ink); }
.float-card {
  position: absolute; background: #fff; border-radius: 18px;
  padding: 14px 20px; box-shadow: 0 14px 34px rgba(20, 35, 26, 0.16);
}
.float-card .t { font-weight: 700; font-size: 15px; }
.float-card .s { font-size: 13px; color: var(--muted); }
.float-card.one { bottom: 60px; left: -46px; animation: floaty 5s ease-in-out infinite; }
.float-card.two { top: 120px; left: -60px; padding: 12px 18px; animation: floaty2 6s ease-in-out infinite; }

/* TICKER */
.ticker {
  background: var(--green); color: var(--bg); overflow: hidden;
  transform: rotate(-1.2deg) scale(1.02); margin: 0 -10px;
}
.ticker-track {
  display: flex; width: max-content;
  animation: marquee 26s linear infinite; padding: 14px 0;
  font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: 0.04em;
}
.ticker-track span { white-space: pre; }

/* SECTION HEADS */
.kicker { font-family: var(--font-hand); font-weight: 700; font-size: 26px; transform: rotate(-1.5deg); display: inline-block; }
.sec-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(36px, 4.5vw, 56px); letter-spacing: -0.03em; margin-top: 6px; }

/* REZEPTE */
.rezepte { max-width: 1240px; margin: 0 auto; padding: 96px 28px 96px; }
.rezepte-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.rezepte-head p { color: var(--muted); font-size: 16px; max-width: 38ch; text-wrap: pretty; }

.cats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.cat {
  border: 2px solid var(--border); cursor: pointer; font: inherit; font-weight: 700; font-size: 14.5px;
  padding: 10px 20px; border-radius: 999px; background: #fff; color: var(--muted);
  transition: all 0.15s ease;
}
.cat:hover { border-color: var(--green); color: var(--green); }
.cat.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: 28px; overflow: hidden; color: var(--ink);
  border: 2px solid rgba(20, 35, 26, 0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.card:hover { transform: translateY(-8px) rotate(-0.5deg); box-shadow: 0 26px 56px rgba(20, 35, 26, 0.16); color: var(--ink); }
.card .thumb { position: relative; }
.card .thumb .img { width: 100%; aspect-ratio: 4 / 3; background-size: cover; background-position: center; }
.card .tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(4px);
  font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; pointer-events: none;
}
.card .num {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--font-head); font-weight: 800; font-size: 15px;
  background: var(--ink); color: var(--bg); padding: 6px 12px; border-radius: 999px; pointer-events: none;
}
.card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card h3 { font-family: var(--font-head); font-weight: 800; font-size: 23px; letter-spacing: -0.02em; line-height: 1.15; }
.card .teaser { font-size: 15px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.card .meta {
  display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 8px;
  font-size: 14px; font-weight: 700; color: var(--body-green);
}
.card .meta .arrow {
  margin-left: auto; width: 38px; height: 38px; border-radius: 50%;
  color: #fff; display: grid; place-items: center; font-size: 18px;
}

/* INSTA-TEASER */
.insta { max-width: 1240px; margin: 0 auto; padding: 0 28px 96px; }
.insta h3 { font-family: var(--font-head); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; margin-bottom: 22px; }
.insta h3 small { font-weight: 600; font-size: 16px; color: var(--muted); }
.insta-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.insta-grid a { position: relative; display: block; border-radius: 20px; overflow: hidden; transition: transform 0.25s ease; }
.insta-grid a:hover { transform: scale(1.035); }
.insta-grid .img { width: 100%; aspect-ratio: 1; background-size: cover; background-position: center; }
.insta-grid .cap {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(20, 35, 26, 0.82));
  padding: 34px 14px 12px; color: #fff; pointer-events: none;
  font-weight: 700; font-size: 14.5px; line-height: 1.3;
}

/* WERTE */
.werte { background: var(--ink); padding: 96px 28px; }
.werte-inner { max-width: 1240px; margin: 0 auto; }
.werte-head { text-align: center; margin-bottom: 48px; }
.werte-head .kicker { color: oklch(0.85 0.13 145); transform: none; }
.werte-head h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.03em; margin-top: 6px; color: var(--bg); }
.werte-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.wert { border-radius: 26px; padding: 28px 24px; }
.wert:nth-child(odd) { transform: rotate(-1deg); }
.wert:nth-child(even) { transform: rotate(1deg); }
.wert .ico { font-size: 34px; }
.wert .t { font-family: var(--font-head); font-weight: 800; font-size: 20px; margin-top: 12px; color: var(--ink); }
.wert p { font-size: 14.5px; line-height: 1.55; margin-top: 8px; }
.wert.a { background: oklch(0.9 0.1 145); } .wert.a p { color: #2c3a2e; }
.wert.b { background: oklch(0.9 0.09 80); } .wert.b p { color: #4a3a20; }
.wert.c { background: oklch(0.9 0.08 350); } .wert.c p { color: #4a2c3a; }
.wert.d { background: oklch(0.9 0.09 30); } .wert.d p { color: #4a3028; }

/* ÜBER MICH */
.ueber {
  max-width: 1240px; margin: 0 auto; padding: 96px 28px;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center;
}
.ueber-visual { position: relative; justify-self: center; width: 100%; max-width: 380px; }
.ueber-visual .backdrop {
  position: absolute; inset: 14px -14px -14px 14px;
  background: oklch(0.9 0.1 145); border-radius: 36px; transform: rotate(-3deg);
}
.ueber-visual img {
  position: relative; width: 100%; aspect-ratio: 4 / 5;
  object-fit: cover; object-position: top; border-radius: 36px;
  box-shadow: 0 24px 60px rgba(20, 35, 26, 0.18);
}
.ueber-copy { display: flex; flex-direction: column; gap: 18px; }
.ueber-copy .kicker { color: var(--green); }
.ueber-copy h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(30px, 3.8vw, 46px); letter-spacing: -0.03em; text-wrap: balance; }
.ueber-copy p { font-size: 17.5px; line-height: 1.7; color: var(--body-green); text-wrap: pretty; }
.signature { font-family: var(--font-hand); font-weight: 700; font-size: 34px; color: var(--ink); transform: rotate(-2deg); }
.chip-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.chip-row a {
  background: #fff; border: 2px solid rgba(20, 35, 26, 0.12); color: var(--ink);
  font-weight: 700; font-size: 14.5px; padding: 11px 22px; border-radius: 999px;
}
.chip-row a:hover { border-color: var(--green); color: var(--green); }

/* CTA BAND */
.cta-band { max-width: 1240px; margin: 0 auto 96px; padding: 0 28px; }
.cta-band .inner {
  background: var(--green); border-radius: 36px; padding: 64px 40px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-band .deco { position: absolute; font-size: 130px; opacity: 0.14; }
.cta-band .deco.tl { top: -40px; left: -30px; transform: rotate(-12deg); }
.cta-band .deco.br { bottom: -44px; right: -20px; transform: rotate(10deg); }
.cta-band h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.02em; color: #fff; position: relative; }
.cta-band p { color: rgba(255, 255, 255, 0.85); font-size: 17px; margin: 14px auto 28px; max-width: 46ch; position: relative; }
.cta-band .btn-white { display: inline-block; background: #fff; color: var(--ink); font-weight: 700; font-size: 17px; padding: 16px 34px; border-radius: 999px; position: relative; }
.cta-band .btn-white:hover { background: var(--yellow); color: var(--ink); }

/* FOOTER */
footer.site {
  border-top: 1px solid rgba(20, 35, 26, 0.1);
  padding: 30px 28px; display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap; max-width: 1240px; margin: 0 auto;
}
footer.site .brand { font-family: var(--font-head); font-weight: 800; font-size: 17px; }
footer.site .brand span { color: var(--green); }
footer.site .fine { font-size: 14px; color: var(--muted); }

/* ================= REZEPT-DETAIL ================= */
.detail-hero {
  max-width: 1240px; margin: 0 auto; padding: 48px 28px 56px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center;
}
.back { font-weight: 700; font-size: 14.5px; color: var(--muted); }
.back:hover { color: var(--green); }
.label-row { display: flex; gap: 8px; flex-wrap: wrap; }
.label-row span { font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.detail-hero h1 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(38px, 5vw, 62px); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance;
}
.detail-hero .intro { font-size: 18px; line-height: 1.65; color: var(--body-green); max-width: 52ch; text-wrap: pretty; }
.detail-copy { display: flex; flex-direction: column; gap: 20px; }
.stat-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.stat { background: #fff; border: 2px solid var(--border); border-radius: 18px; padding: 12px 20px; }
.stat .l { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.stat .v { font-family: var(--font-head); font-weight: 800; font-size: 20px; }
.detail-visual { position: relative; justify-self: center; width: 100%; max-width: 460px; }
.detail-visual .backdrop { position: absolute; inset: 16px -16px -16px 16px; border-radius: 40px; transform: rotate(-2.5deg); }
.detail-visual img {
  position: relative; width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 40px; box-shadow: 0 26px 60px rgba(20, 35, 26, 0.2);
}

.detail-content {
  max-width: 1240px; margin: 0 auto; padding: 0 28px 96px;
  display: grid; grid-template-columns: 380px 1fr; gap: 44px; align-items: start;
}
.zutaten-panel {
  position: sticky; top: 92px;
  background: var(--ink); color: var(--bg); border-radius: 30px; padding: 30px 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.zutaten-panel h2 { font-family: var(--font-head); font-weight: 800; font-size: 25px; letter-spacing: -0.02em; }
.portion-ctl {
  display: flex; align-items: center; gap: 14px;
  background: rgba(250, 247, 239, 0.08); border-radius: 999px; padding: 8px 10px; width: max-content;
}
.portion-ctl button {
  width: 36px; height: 36px; border-radius: 50%; border: none;
  font-size: 20px; font-weight: 700; cursor: pointer; display: grid; place-items: center;
}
.portion-ctl .minus { background: var(--bg); color: var(--ink); }
.portion-ctl .plus { background: var(--green); color: #fff; }
.portion-ctl .val { font-weight: 700; font-size: 15.5px; min-width: 96px; text-align: center; }
.zutaten-list { display: flex; flex-direction: column; }
.zutat {
  display: flex; align-items: center; gap: 12px; padding: 10px 4px;
  border-bottom: 1px solid rgba(250, 247, 239, 0.1); cursor: pointer;
}
.zutat .box {
  width: 22px; height: 22px; border-radius: 7px;
  border: 2px solid rgba(250, 247, 239, 0.4);
  display: grid; place-items: center; font-size: 13px; color: #fff; flex-shrink: 0;
}
.zutat span.txt { font-size: 15.5px; }
.zutat.checked { opacity: 0.55; }
.zutat.checked .box { background: var(--green); border-color: var(--green); }
.zutat.checked span.txt { text-decoration: line-through; }
.zutaten-panel .hint { font-size: 13px; color: rgba(250, 247, 239, 0.6); }

.steps-col { display: flex; flex-direction: column; gap: 34px; }
.steps-col h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.02em; margin-bottom: 22px; }
.step-list { display: flex; flex-direction: column; gap: 16px; }
.step {
  display: flex; gap: 18px; background: #fff; border: 2px solid rgba(20, 35, 26, 0.07);
  border-radius: 22px; padding: 20px 24px; align-items: flex-start;
}
.step .num {
  font-family: var(--font-head); font-weight: 800; font-size: 19px;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
}
.step p { font-size: 16.5px; line-height: 1.65; margin-top: 4px; text-wrap: pretty; }
.source-note { font-size: 14px; color: var(--muted); }
.source-note a { font-weight: 700; }

.related { background: #fff; border-top: 1px solid var(--border); padding: 72px 28px; }
.related-inner { max-width: 1240px; margin: 0 auto; }
.related h2 { font-family: var(--font-head); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.related-card {
  display: flex; gap: 18px; align-items: center;
  background: var(--bg); border-radius: 22px; padding: 16px; color: var(--ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.related-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(20, 35, 26, 0.12); color: var(--ink); }
.related-card .thumb {
  width: 84px; height: 84px; border-radius: 16px; flex-shrink: 0; overflow: hidden;
  background-size: cover; background-position: center;
}
.related-card .t { font-family: var(--font-head); font-weight: 800; font-size: 19px; line-height: 1.2; }
.related-card .m { font-size: 13.5px; font-weight: 700; color: var(--muted); margin-top: 6px; }
.related-card .arrow {
  margin-left: auto; width: 36px; height: 36px; border-radius: 50%;
  color: #fff; display: grid; place-items: center; font-size: 17px; flex-shrink: 0;
}

.notfound { max-width: 700px; margin: 0 auto; padding: 120px 28px; text-align: center; }
.notfound .ico { font-size: 60px; }
.notfound h1 { font-family: var(--font-head); font-weight: 800; font-size: 34px; margin: 16px 0; }

/* RESPONSIVE */
@media (max-width: 1020px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .werte-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hero, .ueber, .detail-hero { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; padding-bottom: 64px; }
  .hero-visual { max-width: 360px; order: -1; }
  .float-card.one { left: -8px; }
  .float-card.two { left: -12px; }
  .badge-spin { right: -8px; width: 96px; height: 96px; }
  .detail-content { grid-template-columns: 1fr; }
  .zutaten-panel { position: static; }
  .related-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
  .nav-links a.hide-m { display: none; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .werte-grid { grid-template-columns: 1fr; }
}
