/* styles.css â€” als separates Stylesheet speichern */
:root {
  color-scheme: light;
  --ink: #29291f;
  --muted: #666653;
  --green: #344333;
  --red: #ad3e32;
  --cream: #f6f1e6;
  --paper: #fffdf8;
  --line: #e3dccd;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 40px 18px;
  color: var(--ink);
  background: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
}

.recipe {
  max-width: 1040px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 55px #382b1914;
}

.hero {
  padding: 60px 8%;
  color: #fffdf8;
  text-align: center;
  background: var(--green);
}

.eyebrow {
  margin: 0 0 8px;
  color: #e6c98d;
  font: 700 .8rem/1.4 Arial, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.subtitle {
  display: inline-block;
  margin: 14px 0 0;
  padding: 2px 14px;
  color: white;
  background: var(--red);
  font-size: clamp(1.15rem, 3vw, 1.7rem);
  font-weight: 700;
}

.intro {
  max-width: 570px;
  margin: 22px auto 0;
  color: #e9e8dc;
  font-size: 1.08rem;
}

.details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: #faf7ef;
}

.details div {
  display: grid;
  gap: 3px;
  padding: 18px 12px;
  text-align: center;
}

.details div + div { border-left: 1px solid var(--line); }
.details strong { color: var(--green); font: 700 .76rem Arial, sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.details span { font-size: .98rem; }

.content {
  display: grid;
  grid-template-columns: minmax(230px, .78fr) 1.5fr;
  gap: 54px;
  padding: 48px 8%;
}

h2 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 1.8rem;
  line-height: 1.2;
}

.servings { margin: 0 0 18px; color: var(--muted); font-style: italic; }

.ingredients ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ingredients li {
  padding: 9px 0 9px 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.ingredients li::before {
  content: "";
  position: absolute;
  top: 1.08em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.method ol { margin: 21px 0 0; padding: 0; list-style: none; counter-reset: step; }
.method li {
  position: relative;
  margin: 0 0 24px;
  padding: 0 0 0 54px;
  counter-increment: step;
}

.method li::before {
  content: counter(step);
  position: absolute;
  top: -3px;
  left: 0;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--red);
  font: 700 1rem Arial, sans-serif;
}

.method li strong { color: var(--green); }

footer {
  padding: 20px;
  color: #e6c98d;
  background: var(--green);
  text-align: center;
  font-style: italic;
}

@media (max-width: 680px) {
  body { padding: 14px 10px; }
  .hero { padding: 42px 7%; }
  .details { grid-template-columns: repeat(2, 1fr); }
  .details div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .details div:nth-child(4) { border-top: 1px solid var(--line); }
  .content { grid-template-columns: 1fr; gap: 38px; padding: 34px 7%; }
}

@media print {
  body { padding: 0; background: white; }
  .recipe { max-width: none; border: 0; box-shadow: none; }
  .hero, footer { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
