/* Rainer geht's nicht — Stylesheet, Fassung 2 (03.10.2026): hell, fröhlich, wohnlich. Warmes Weiß dominant, Tomatenrot, Küchenblau, Salbeigrün, ein bisschen Buttergelb. Serife nur im Logo und in Artikelüberschriften. Keine externen Schriften, kein Skript außer dem Druckknopf. */
:root {
  --weiss: #fffdf8;
  --weiss-2: #fbf8f1;
  --karte: #fffaf0;
  --tinte: #2a2a28;
  --grau: #6a6761;
  --linie: #e9e3d6;
  --tomate: #c8463a;
  --tomate-hell: #fbe9e5;
  --blau: #3d6f94;
  --blau-hell: #e6eef5;
  --salbei: #5f8a5a;
  --salbei-hell: #e8f0e4;
  --butter: #f6dd84;
  --butter-hell: #fff6cf;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --breite: 1060px;
  --text-breite: 66ch;
}
* { box-sizing: border-box; }
html { font-size: 106.25%; }
body { margin: 0; background: var(--weiss); color: var(--tinte); font-family: var(--sans); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--tomate); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 0.5rem; font-weight: 700; color: var(--tinte); }
h1 { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 0.9rem; }
.vorspann { font-size: 1.08rem; }
.etikett { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tomate); margin: 0 0 0.35rem; font-weight: 600; }
.meta { color: var(--grau); font-size: 0.92rem; }
.sprung { position: absolute; left: -999px; top: 0; background: var(--butter); color: var(--tinte); padding: 0.5rem 1rem; }
.sprung:focus { left: 1rem; top: 1rem; z-index: 10; }
.knopf { display: inline-block; font: inherit; font-size: 0.95rem; font-weight: 600; color: var(--blau); background: #fff; border: 2px solid var(--blau); border-radius: 999px; padding: 0.35rem 0.95rem; text-decoration: none; }
.knopf:hover { background: var(--blau); color: #fff; }
.knopf.rot { color: var(--tomate); border-color: var(--tomate); }
.knopf.rot:hover { background: var(--tomate); color: #fff; }

/* Kopf */
.kopf { background: var(--weiss); border-bottom: 1px solid var(--linie); }
.kopf-innen { max-width: var(--breite); margin: 0 auto; padding: 1.1rem 1rem 0.7rem; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.3rem 1.5rem; }
.marke { margin: 0; font-family: var(--serif); font-size: 1.75rem; font-weight: 700; }
.marke a { color: var(--tinte); text-decoration: none; }
.marke a:hover { color: var(--tomate); }
.unterzeile { margin: 0; color: var(--grau); font-size: 0.95rem; flex-basis: 100%; order: 2; }
.hauptnav { order: 3; flex-basis: 100%; margin-top: 0.5rem; }
.hauptnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 0.3rem; }
.hauptnav a { display: inline-block; color: var(--tinte); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 0.3rem 0.75rem; border-radius: 999px; }
.hauptnav a:hover { background: var(--blau-hell); color: var(--blau); }
.hauptnav a[aria-current="page"] { background: var(--tomate-hell); color: var(--tomate); }
@media (min-width: 760px) {
  .kopf-innen { align-items: baseline; }
  .marke { order: 1; }
  .hauptnav { order: 2; flex-basis: auto; margin-top: 0; margin-left: auto; }
  .unterzeile { order: 3; flex-basis: 100%; margin-top: -0.2rem; }
}

/* Inhalt */
.inhalt { max-width: var(--breite); margin: 0 auto; padding: 1.4rem 1rem 2.5rem; }
.einleitung { max-width: var(--text-breite); color: var(--grau); font-size: 1.02rem; }

/* Startseite */
.servus { display: grid; grid-template-columns: 1fr; gap: 1rem 1.6rem; align-items: center; margin: 0.4rem 0 1.6rem; }
.servus-foto { margin: 0; justify-self: start; width: 150px; }
.servus-foto img { width: 150px; height: 150px; object-fit: cover; object-position: 50% 15%; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 2px 10px rgba(60, 50, 30, 0.18); }
.servus-foto figcaption { font-size: 0.78rem; color: var(--grau); margin-top: 0.45rem; text-align: center; }
.servus-text h1 { font-family: var(--sans); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.3rem; }
.servus-text p { font-size: 1.05rem; max-width: 56ch; margin-bottom: 0.3rem; }
@media (min-width: 640px) { .servus { grid-template-columns: auto 1fr; } }

.block { padding: 1.4rem 0; border-top: 1px dashed var(--linie); }
.block-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.8rem; }
.block-kopf h2 { margin: 0; }
.block-kopf h2::before { content: ""; display: inline-block; width: 0.55em; height: 0.55em; border-radius: 50%; margin-right: 0.5rem; background: var(--tomate); vertical-align: 0.05em; }
.block.bilder .block-kopf h2::before { background: var(--blau); }
.block.von-rainer .block-kopf h2::before { background: var(--salbei); }
.mehr { font-size: 0.92rem; }

.heute { display: grid; grid-template-columns: 1fr; gap: 1rem 1.6rem; align-items: center; }
.heute img { border-radius: 10px; width: 100%; }
.heute h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin: 0.2rem 0 0.4rem; }
.heute h3 a { color: var(--tinte); text-decoration: none; }
.heute h3 a:hover { color: var(--tomate); }
@media (min-width: 720px) { .heute { grid-template-columns: 7fr 5fr; } }

.lieblingsbild { display: grid; grid-template-columns: 1fr; gap: 1rem 1.6rem; align-items: end; }
.lieblingsbild figure { margin: 0; }
.lieblingsbild img { border-radius: 6px; width: 100%; border: 6px solid #fff; box-shadow: 0 2px 12px rgba(60, 50, 30, 0.16); }
.lieblingsbild figcaption { margin-top: 0.5rem; font-size: 0.92rem; color: var(--grau); }
.lieblingsbild .kommentar { font-size: 1.05rem; }
.lieblingsbild .kommentar p:first-child { margin-top: 0; }
@media (min-width: 720px) { .lieblingsbild { grid-template-columns: 8fr 4fr; } }
.bald { color: var(--grau); }

.von-rainer-notiz { background: var(--butter-hell); border-left: 5px solid var(--butter); border-radius: 0 8px 8px 0; padding: 0.9rem 1.1rem; max-width: 60ch; }
.von-rainer-notiz p { margin: 0 0 0.4rem; font-size: 1.05rem; }
.von-rainer-notiz p:last-child { margin: 0; }
.von-rainer-notiz .datum { font-size: 0.82rem; color: var(--grau); }

/* Rezeptübersicht */
.rezept-karten { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.rezept-karten img { border-radius: 8px; margin-bottom: 0.6rem; width: 100%; }
.rezept-karten h2 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin: 0.2rem 0; }
.rezept-karten h2 a { color: var(--tinte); text-decoration: none; }
.rezept-karten h2 a:hover { color: var(--tomate); }

/* Rezeptseite */
.rezept-kopf { max-width: var(--text-breite); }
.rezept-kopf h1 { font-size: 2rem; }
.kennzahlen { list-style: none; padding: 0.6rem 0.9rem; margin: 0.6rem 0 1.2rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.8rem; background: var(--blau-hell); border-radius: 8px; }
.kennzahlen li { display: flex; gap: 0.45rem; align-items: baseline; }
.kennzahlen span { font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--blau); font-weight: 600; }
.kennzahlen strong { font-size: 1rem; }
.rezept-bild { margin: 0 0 1.4rem; }
.rezept-bild img { border-radius: 10px; width: 100%; }
.rezept-bild figcaption { color: var(--grau); font-size: 0.9rem; margin-top: 0.45rem; }
.rezept-koerper { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
@media (min-width: 820px) { .rezept-koerper { grid-template-columns: 2fr 3fr; gap: 2.6rem; } }
.zutaten h2::before, .schritte h2::before { content: ""; display: inline-block; width: 0.5em; height: 0.5em; border-radius: 50%; margin-right: 0.45rem; background: var(--salbei); }
.schritte h2::before { background: var(--tomate); }
.zutaten ul { list-style: none; padding: 0; margin: 0; }
.zutaten li { padding: 0.45rem 0; border-bottom: 1px dotted var(--linie); display: flex; gap: 0.7rem; }
.zutaten .menge { min-width: 5.2rem; font-weight: 700; }
.schritte ol { padding-left: 1.5rem; margin: 0; }
.schritte li { margin-bottom: 0.8rem; padding-left: 0.25rem; }
.schritte li::marker { font-weight: 700; color: var(--tomate); }
.rainer-notiz { background: var(--salbei-hell); border-left: 5px solid var(--salbei); padding: 0.9rem 1.1rem; margin: 1.4rem 0; border-radius: 0 8px 8px 0; max-width: 70ch; }
.rainer-notiz .etikett { color: var(--salbei); }
.rainer-notiz p:last-child { margin-bottom: 0; font-size: 1.05rem; }
.rezept-galerie { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 1.4rem 0; }
.rezept-galerie figure { margin: 0; }
.rezept-galerie img { border-radius: 8px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.rezept-galerie figcaption { font-size: 0.88rem; color: var(--grau); margin-top: 0.35rem; }
.video-link { display: grid; gap: 0.5rem; max-width: 520px; color: var(--tinte); }
.video-link img { border-radius: 8px; }
.credits { color: var(--grau); font-size: 0.9rem; }
.drucken { font: inherit; font-size: 0.9rem; font-weight: 600; background: #fff; color: var(--tomate); border: 2px solid var(--tomate); border-radius: 999px; padding: 0.3rem 0.85rem; cursor: pointer; }
.drucken:hover { background: var(--tomate); color: #fff; }

/* Rezeptkarte */
.karte { background: var(--karte); border: 2px solid var(--tomate); border-radius: 10px; padding: 1.1rem 1.3rem; max-width: 720px; box-shadow: 0 2px 10px rgba(60, 50, 30, 0.10); position: relative; }
.karte::after { content: ""; position: absolute; inset: 6px; border: 1px dashed rgba(200, 70, 58, 0.35); border-radius: 6px; pointer-events: none; }
.karte-kopf { border-bottom: 1px solid var(--linie); padding-bottom: 0.5rem; margin-bottom: 0.8rem; }
.karte-marke { margin: 0; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blau); font-weight: 700; }
.karte-titel { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin: 0.15rem 0 0; }
.karte-unter { margin: 0.05rem 0 0; color: var(--grau); font-size: 0.95rem; }
.karte-innen { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 620px) { .karte-innen { grid-template-columns: 3fr 2fr; } }
.karte-etikett { font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--salbei); margin: 0 0 0.3rem; font-weight: 700; }
.karte-zutaten { list-style: none; padding: 0; margin: 0; }
.karte-zutaten li { padding: 0.22rem 0; border-bottom: 1px dotted var(--linie); }
.karte-zutaten span { display: inline-block; min-width: 4.6rem; font-weight: 700; }
.karte-bild { border-radius: 6px; margin-bottom: 0.6rem; border: 4px solid #fff; box-shadow: 0 1px 6px rgba(60, 50, 30, 0.15); }
.karte-daten { margin: 0; }
.karte-daten div { display: flex; gap: 0.6rem; padding: 0.18rem 0; }
.karte-daten dt { min-width: 4.6rem; color: var(--blau); font-weight: 600; }
.karte-daten dd { margin: 0; }
.karte-notiz { margin: 0.9rem 0 0; padding-top: 0.7rem; border-top: 1px solid var(--linie); }
.karte-notiz strong { color: var(--salbei); }
.karte-fuss { margin: 0.7rem 0 0; font-size: 0.76rem; color: var(--grau); text-align: right; }

/* Bilder: kleine persönliche Sammlung, unterschiedliche Größen */
.sammlung { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1.1rem; grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; }
.sammlung li { margin: 0; }
.sammlung a { color: var(--tinte); text-decoration: none; display: block; }
.sammlung img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; border: 5px solid #fff; box-shadow: 0 2px 10px rgba(60, 50, 30, 0.15); background: var(--weiss-2); }
.sammlung .titel { display: block; margin-top: 0.4rem; font-weight: 600; }
.sammlung .urheber { display: block; color: var(--grau); font-size: 0.86rem; }
.sammlung li:nth-child(6n+1) { grid-column: span 2; }
.sammlung li:nth-child(6n+1) img { aspect-ratio: 3 / 2; }
@media (min-width: 720px) {
  .sammlung { grid-template-columns: repeat(4, 1fr); }
  .sammlung li:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
  .sammlung li:nth-child(6n+1) img { aspect-ratio: auto; height: 100%; }
  .sammlung li:nth-child(6n+4) { grid-column: span 2; }
  .sammlung li:nth-child(6n+4) img { aspect-ratio: 2 / 1; }
}
.bild-seite h1 { font-size: 1.7rem; }
.bild-seite figure { margin: 0.6rem 0 1rem; }
.bild-seite img { border-radius: 6px; border: 6px solid #fff; box-shadow: 0 2px 12px rgba(60, 50, 30, 0.16); }
.bild-seite figcaption { margin-top: 0.6rem; color: var(--grau); }
.urheber { font-size: 0.9rem; }

/* Seiten (Über Rainer, Rechtliches) */
.seite { max-width: var(--text-breite); }
.seite h1 { font-size: 1.75rem; }
.seite-bild { float: right; width: 190px; margin: 0.2rem 0 0.8rem 1.4rem; }
.seite-bild img { border-radius: 6px; border: 5px solid #fff; box-shadow: 0 2px 10px rgba(60, 50, 30, 0.16); }
.seite-bild figcaption { font-size: 0.8rem; color: var(--grau); margin-top: 0.4rem; text-align: center; }
.freitext h2 { font-size: 1.2rem; margin-top: 1.6rem; }
.rechtliches h2 { font-size: 1.12rem; margin-top: 1.6rem; color: var(--blau); }
.entwurf-hinweis { background: var(--butter-hell); border: 1px solid var(--butter); padding: 0.55rem 0.9rem; border-radius: 8px; font-size: 0.95rem; }
@media (max-width: 600px) { .seite-bild { float: none; width: 150px; margin: 0 0 1rem; } }

/* Fuß: leicht */
.fuss { border-top: 1px solid var(--linie); margin-top: 1.5rem; }
.fuss-innen { max-width: var(--breite); margin: 0 auto; padding: 1.2rem 1rem 1.8rem; font-size: 0.9rem; color: var(--grau); }
.fuss-marke { font-family: var(--serif); font-size: 1.05rem; color: var(--tinte); margin: 0 0 0.15rem; }
.fuss-zeile { margin: 0 0 0.6rem; }
.fussnav { list-style: none; padding: 0; margin: 0 0 0.5rem; display: flex; flex-wrap: wrap; gap: 0.3rem 1.3rem; }
.fuss-klein { font-size: 0.84rem; margin: 0; }

/* Gemeinsames */
.servus > *, .heute > *, .lieblingsbild > *, .rezept-koerper > *, .karte-innen > *, .rezept-galerie > *, .sammlung > * { min-width: 0; }
html, body { overflow-x: clip; }
@media (max-width: 600px) { html { font-size: 103%; } .rezept-kopf h1 { font-size: 1.7rem; } .marke { font-size: 1.5rem; } .zutaten .menge { min-width: 4.4rem; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Druck: nur die Rezeptkarte */
@media print {
  body { background: #fff; color: #000; }
  .kopf, .fuss, .hauptnav, .drucken, .rezept-bild, .rezept-koerper, .rezept-galerie, .video, .rainer-notiz, .rezept-kopf, .credits, .sprung { display: none !important; }
  .inhalt { max-width: none; padding: 0; }
  .karte-bereich { margin: 0; }
  .block-kopf h2 { display: none; }
  .karte { box-shadow: none; border: 1px solid #999; max-width: none; break-inside: avoid; margin: 0; }
  .karte::after { display: none; }
  @page { margin: 14mm; }
}
