@font-face { font-family: "Newsreader"; src: url("schrift/nr.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("schrift/nri.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("schrift/jost.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --creme: #fffdf9;
  --beige: #f7efe8;
  --beige-2: #efe3d8;
  --rot: #c62828;
  --terrakotta: #d35400;
  --tinte: #2b2f36;
  --tinte-leise: #6b6f76;
  --linie: #e8ddd2;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rand: clamp(1.1rem, 4.5vw, 3.5rem);
  --max: 76rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --creme: #1b1a19; --beige: #252321; --beige-2: #302d2a;
    --tinte: #f2ede7; --tinte-leise: #b3aca4; --linie: #3a3632;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--creme); color: var(--tinte);
  font-family: var(--sans); font-weight: 300; font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--tinte); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; letter-spacing: -.01em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--tinte); color: var(--creme); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 0; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Kopf */
.kopf { border-bottom: 1px solid var(--linie); }
.kopf-innen { max-width: var(--max); margin: 0 auto; padding: 1.1rem var(--rand); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.kopf-marke { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; text-decoration: none; letter-spacing: -.01em; }
.kopf-nav { display: flex; gap: clamp(1rem, 3vw, 2.25rem); flex-wrap: wrap; }
.kopf-nav a, .fuss-nav a { text-decoration: none; font-weight: 400; font-size: .98rem; padding-bottom: 2px; border-bottom: 1px solid transparent; }
.kopf-nav a:hover, .fuss-nav a:hover { border-bottom-color: currentColor; }

/* Hero */
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(2.5rem, 7vw, 6rem) var(--rand) clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.hero h1 { font-size: clamp(3rem, 8.2vw, 7rem); line-height: .98; margin: 0 0 1.5rem; font-weight: 300; letter-spacing: -.025em; }
.hero-unter { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--tinte-leise); margin: 0 0 2rem; }
.hero-neu { text-decoration: none; display: block; }
.hero-neu .poster { aspect-ratio: 4 / 5; }
.hero-neu-label { display: flex; justify-content: space-between; gap: 1rem; margin-top: .75rem; font-size: .95rem; }
.hero-neu-label span:first-child { font-weight: 400; }

.knopf { display: inline-flex; align-items: center; gap: .5rem; background: var(--tinte); color: var(--creme); text-decoration: none; font: inherit; font-weight: 400; font-size: .98rem; padding: .75rem 1.4rem; border-radius: 999px; border: 1px solid var(--tinte); cursor: pointer; }
.knopf:hover { opacity: .85; }
.knopf-leise { background: transparent; color: var(--tinte); border-color: var(--tinte); }
.knopf-leise:hover { background: var(--tinte); color: var(--creme); border-color: var(--tinte); opacity: 1; }
.knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Abschnitte */
.abschnitt { max-width: var(--max); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--rand); }
.abschnitt-titel { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; margin: 0 0 1.5rem; }

/* Filter */
.filter { display: grid; gap: 1rem; margin-bottom: 2.25rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--linie); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font: inherit; font-size: .95rem; font-weight: 400; padding: .45rem 1rem; border-radius: 999px; cursor: pointer; background: transparent; color: var(--tinte); border: 1px solid var(--linie); }
.chip:hover { border-color: var(--tinte); }
.chip[aria-pressed="true"] { background: var(--tinte); border-color: var(--tinte); color: var(--creme); }
.chip small { opacity: .7; margin-left: .3rem; font-size: .85em; }
.filter-zeile { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.filter-zeile select, .filter-zeile input {
  font: inherit; font-weight: 300; font-size: .95rem; color: var(--tinte);
  background: var(--creme); border: 1px solid var(--linie); border-radius: 999px; padding: .5rem 1rem;
}
.filter-zeile select { padding-right: 2rem; appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 16px) 55%, calc(100% - 11px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.filter-zeile input { flex: 1 1 14rem; min-width: 0; }
.filter-zeile select:focus, .filter-zeile input:focus { outline: none; border-color: var(--tinte); }
.treffer { font-size: .92rem; color: var(--tinte-leise); margin: -1rem 0 1.5rem; }

/* Raster */
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 2rem); }
.kachel { text-decoration: none; display: block; }
.kachel .poster { aspect-ratio: 4 / 5; transition: transform .25s ease; }
.kachel:hover .poster { transform: translateY(-3px); }
.kachel:hover strong { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.kachel-text { padding-top: .8rem; }
.kachel-text strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; line-height: 1.25; }
.kachel-text span { color: var(--tinte-leise); font-size: .9rem; }
.leer { padding: 2rem 0; color: var(--tinte-leise); }

/* Poster (statt Foto) */
.poster { position: relative; overflow: hidden; border-radius: 2px; background: var(--k-bg, var(--beige)); color: var(--k-fg, var(--tinte)); display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1rem, 2.5vw, 1.5rem); container-type: inline-size; }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster.mit-foto { --k-bg: #2b2f36; --k-fg: #fffdf9; }
.poster.mit-foto img { filter: blur(4px) brightness(.62) saturate(1.05); transform: scale(1.08); }
.poster.mit-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,20,22,.55), rgba(20,20,22,0) 60%); }
.poster.mit-foto .poster-oben, .poster.mit-foto .poster-titel { position: relative; z-index: 1; color: #fffdf9; }
.poster.mit-foto .poster-titel { text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.poster-oben { display: flex; justify-content: space-between; gap: .5rem; font-size: .85rem; font-weight: 400; opacity: .85; }
.poster-titel { font-family: var(--serif); font-weight: 300; line-height: 1; letter-spacing: -.02em; margin: 0; font-size: var(--gr, 2.4rem); overflow-wrap: normal; max-width: 100%; }
[data-kat="Österreichische Klassiker"] { --k-bg: #f3e7dc; --k-fg: #2b2f36; }
[data-kat="Mediterrane Küche"]         { --k-bg: #e4d3c3; --k-fg: #2b2f36; }
[data-kat="Italienische Klassiker"]    { --k-bg: #2b2f36; --k-fg: #fffdf9; }
[data-kat="Schnelle Küche"]            { --k-bg: #b4492a; --k-fg: #fffdf9; }
.hero-neu .poster { --k-bg: #2b2f36; --k-fg: #fffdf9; }

/* Video */
.video-box { position: relative; aspect-ratio: 4 / 5; background: #2b2f36; overflow: hidden; border-radius: 2px; }
.video-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(4px) brightness(.55); transform: scale(1.08); }
.video-start { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; color: #fffdf9; font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; padding: 1.5rem; text-align: center; }
.video-play { width: 4.5rem; height: 4.5rem; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-size: 1.4rem; padding-left: .25rem; transition: background .2s, color .2s; }
.video-start:hover .video-play { background: #fffdf9; color: #2b2f36; }
.video-label { font-family: var(--serif); font-size: 1.6rem; font-weight: 300; }
.video-hinweis { font-size: .85rem; opacity: .8; }
.video-box.laeuft { aspect-ratio: auto; background: #fff; max-width: 30rem; width: 100%; justify-self: center; }
.video-box iframe { display: block; width: 100%; height: 760px; border: 0; }

/* Werbehinweis */
.werbung { display: inline-block; margin: 0 0 1rem; padding: .3rem .8rem; border: 1px solid var(--tinte); border-radius: 2px; font-size: .9rem; font-weight: 400; }
.werbung-mini { font-weight: 500; border: 1px solid currentColor; border-radius: 2px; padding: 0 .3rem; font-size: .8rem; margin-right: .2rem; }

/* Rezept */
.rezept { max-width: var(--max); margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) var(--rand) clamp(3rem, 6vw, 5rem); }
.zurueck { display: inline-block; text-decoration: none; margin-bottom: 2rem; font-size: .95rem; border-bottom: 1px solid transparent; }
.zurueck:hover { border-bottom-color: currentColor; }
.rezept-kopf { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.rezept-kopf .poster { aspect-ratio: 4 / 5; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.tags li { font-size: .85rem; font-weight: 400; padding: .2rem .7rem; border-radius: 999px; background: var(--beige); }
.rezept h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); line-height: 1.02; margin: 0 0 1.25rem; letter-spacing: -.025em; }
.teaser { font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.45; font-weight: 300; margin: 0 0 2rem; max-width: 34em; }
.steckbrief { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 2rem; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.steckbrief div { padding: .9rem 0; }
.steckbrief div + div { padding-left: 1rem; border-left: 1px solid var(--linie); }
.steckbrief dt { font-size: .85rem; color: var(--tinte-leise); }
.steckbrief dd { margin: 0; font-family: var(--serif); font-size: 1.15rem; font-weight: 400; }
.serie { font-size: .9rem; color: var(--tinte-leise); margin: 1.25rem 0 0; }

.rezept-koerper { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.zutaten-box { background: var(--beige); padding: clamp(1.25rem, 3vw, 2rem); position: sticky; top: 1.5rem; }
.zutaten-box h2, .zubereitung h2 { font-size: 1.9rem; margin: 0 0 1rem; }
.zutaten-box h3 { font-family: var(--sans); font-size: .95rem; font-weight: 500; margin: 1.5rem 0 .4rem; }
.zutaten-box h3:first-of-type { margin-top: 0; }
.zutaten-box ul { list-style: none; margin: 0; padding: 0; }
.zutaten-box li { padding: .4rem 0; border-bottom: 1px solid var(--beige-2); font-size: .98rem; line-height: 1.4; }
.zutaten-box li:last-child { border-bottom: 0; }
.schritte { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.schritte li { counter-increment: s; padding: 1.4rem 0; border-top: 1px solid var(--linie); max-width: 40rem; }
.schritte h3 { font-size: 1.45rem; margin: 0 0 .5rem; display: flex; gap: .9rem; align-items: baseline; }
.schritte h3::before { content: counter(s); font-family: var(--serif); font-style: italic; color: var(--tinte-leise); font-size: 1.5rem; min-width: 1.2rem; }
.schritte p { margin: 0; padding-left: 2.1rem; }
.at { color: inherit; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.tipp { margin-top: 2rem; max-width: 40rem; border-left: 1px solid var(--tinte); padding: .25rem 0 .25rem 1.4rem; }
.tipp h2 { font-size: 1.45rem; margin: 0 0 .4rem; }
.tipp p { margin: 0; font-family: var(--serif); font-size: 1.15rem; font-style: italic; line-height: 1.5; }
.weitere { margin-top: clamp(3.5rem, 8vw, 6rem); }

/* Über, Recht */
.ueber { background: var(--beige); }
.ueber-innen { max-width: 52rem; }
.ueber-innen.mit-foto { max-width: var(--max); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.ueber-foto { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }

/* Aktuelles & Termine */
.event-gruppe { font-family: var(--sans); font-size: .95rem; font-weight: 500; margin: 2rem 0 .5rem; }
.event-gruppe:first-of-type { margin-top: 0; }
.events { list-style: none; margin: 0 0 2rem; padding: 0; border-top: 1px solid var(--linie); }
.event { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--linie); align-items: start; }
.event.mit-bild { grid-template-columns: 6rem minmax(0, 1fr) 11rem; }
.event-datum { font-size: .9rem; color: var(--tinte-leise); line-height: 1.2; }
.event-tag { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 300; color: var(--tinte); line-height: 1; }
.event h3 { font-size: 1.6rem; margin: 0 0 .4rem; line-height: 1.15; }
.event-infos { margin: 0 0 .3rem; font-size: .9rem; color: var(--tinte-leise); }
.event-text p:not(.event-infos) { margin: 0 0 .6rem; max-width: 40rem; }
.event-link { font-weight: 400; text-decoration: none; border-bottom: 1px solid currentColor; }
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr)); gap: .5rem; margin-top: 1rem; max-width: 40rem; }
.galerie img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; transition: opacity .2s; }
.galerie a:hover img { opacity: .85; }
.event-bild { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.ueber p { margin: 0 0 1rem; max-width: 34em; font-family: var(--serif); font-size: 1.25rem; line-height: 1.55; }
.recht { max-width: 44rem; }
.recht h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin: 0 0 2rem; line-height: 1.05; }
.recht h2 { font-size: 1.6rem; margin: 2rem 0 .6rem; }
.recht p { margin: 0 0 1rem; }
.recht a, .ueber a:not(.knopf) { color: inherit; }

/* Fuß */
.fuss { border-top: 1px solid var(--linie); }
.fuss-innen { max-width: var(--max); margin: 0 auto; padding: 1.75rem var(--rand) 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.fuss-name { margin: 0; font-family: var(--serif); font-size: 1.15rem; }
.fuss-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.laden { padding: 4rem var(--rand); text-align: center; color: var(--tinte-leise); }

@media (max-width: 820px) {
  .hero, .rezept-kopf, .rezept-koerper, .ueber-innen.mit-foto { grid-template-columns: 1fr; }
  .event, .event.mit-bild { grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; }
  .event-bild { grid-column: 2; max-width: 18rem; }
  .hero-neu .poster, .rezept-kopf .poster { aspect-ratio: 4 / 3; }
  .rezept-kopf .poster, .rezept-kopf .video-box { order: -1; }
  .video-box iframe { height: 640px; }
  .zutaten-box { position: static; }
}
@media (max-width: 480px) {
  .steckbrief { grid-template-columns: 1fr 1fr; }
  .steckbrief div:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--linie); }
}
@media print {
  .kopf, .fuss, .zurueck, .knoepfe, .weitere, .poster { display: none !important; }
  .rezept-kopf, .rezept-koerper { grid-template-columns: 1fr; }
  .zutaten-box { position: static; background: none; padding: 0; }
  body { background: #fff; color: #000; }
}
