/* Lebensrestaurant®, Grundstil. Farben aus den 3D-Szenen: Cremepapier, Nussholz, Bordeaux, Messing. */
:root {
  --creme: #F7F0E4;
  --papier: #FBF7EF;
  --linie: #E2D3BC;
  --strich: #D6C3A6;
  --tinte: #2B1D15;
  --text: #4A3828;
  --leise: #5A4636;
  --grau: #6B5442;
  --holz: #8A6B4E;
  --bordeaux: #8E2B2B;
  --bordeaux-dunkel: #6E1F1F;
  --walnuss: #231711;
  --walnuss-linie: #3E2C21;
  --messing: #D9A85A;
  --hell: #E6D9C4;
  --hell-leise: #CDBBA2;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--creme); color: var(--tinte); font-family: var(--sans); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--bordeaux); }
a:hover { color: var(--bordeaux-dunkel); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; }
p { margin: 0; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.wrap-schmal { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.kicker { font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bordeaux); font-weight: 700; }
.kicker--messing { color: var(--messing); }
.h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; }
.papier { background: var(--papier); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.dunkel { background: var(--walnuss); color: var(--creme); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 17px; border: 1.5px solid transparent; }
.btn--voll { background: var(--bordeaux); color: var(--papier); }
.btn--voll:hover { background: var(--bordeaux-dunkel); color: var(--papier); }
.btn--rand { border-color: var(--tinte); color: var(--tinte); }
.btn--rand:hover { background: var(--tinte); color: var(--creme); }
.btn--messing { border-color: var(--messing); color: var(--creme); }
.btn--messing:hover { background: var(--messing); color: var(--walnuss); }
.btn--hell { background: var(--creme); color: var(--walnuss); }
.btn svg { width: 16px; height: 16px; }

/* Kopf */
.kopf { border-bottom: 1px solid var(--linie); }
.kopf .wrap { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.marke { text-decoration: none; color: var(--tinte); display: flex; flex-direction: column; line-height: 1.1; }
.marke:hover { color: var(--tinte); }
.marke__name { font-family: var(--serif); font-size: 28px; font-weight: 700; }
.marke__zeile { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grau); }
.menue { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 16px; font-weight: 500; }
.menue a { color: var(--tinte); text-decoration: none; padding: 10px 0; }
.menue a:hover, .menue a[aria-current="page"] { color: var(--bordeaux); }
.menue a[aria-current="page"] { font-weight: 700; }

/* Hero */
.hero { padding-top: 72px; padding-bottom: 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.04; letter-spacing: -0.01em; }
.hero h1 em { color: var(--bordeaux); }
.hero__unter { font-size: 20px; color: var(--text); max-width: 34em; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 14px; }
.belege { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 20px; border-top: 1px solid var(--linie); font-size: 15px; color: var(--leise); }
.hero__bild { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.karte-bild { background: var(--papier); padding: 14px 14px 18px; border-radius: 10px; border: 1px solid var(--linie); box-shadow: 0 24px 48px rgba(43, 29, 21, 0.18); transform: rotate(1.5deg); max-width: 420px; width: 100%; margin: 0; }
.karte-bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; border-radius: 6px; }
.karte-bild figcaption { margin: 12px 4px 0; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--text); text-align: center; }

/* Lektionen als Speisekarte */
.lektionen .wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.lektionen__liste { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.lektionen__liste h2 { margin-bottom: 24px; }
.gericht { display: flex; align-items: baseline; gap: 14px; padding: 18px 0; border-bottom: 1px dashed var(--strich); text-decoration: none; color: var(--tinte); }
a.gericht:hover { color: var(--tinte); }
a.gericht:hover .gericht__name { color: var(--bordeaux); }
.gericht__nr { font-family: var(--serif); font-size: 18px; color: var(--holz); min-width: 28px; }
.gericht__text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.gericht__name { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.gericht__lehre { font-size: 16px; color: var(--leise); }
.gericht__marke { font-size: 14px; font-weight: 700; white-space: nowrap; color: var(--holz); }
.lektionen figure { flex: 1 1 360px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.lektionen figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
.lektionen figcaption { font-size: 15px; color: var(--leise); }

/* Serie */
.serie .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.serie__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.serie__text p { font-size: 19px; color: var(--hell); max-width: 30em; }
.folgen { list-style: none; margin: 8px 0 0; padding: 0; }
.folgen li { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--walnuss-linie); }
.folgen__nr { font-family: var(--serif); color: var(--messing); min-width: 72px; }
.folgen__titel { flex: 1 1 auto; font-size: 18px; }
.folgen__stand { font-size: 14px; color: var(--hell-leise); }
.serie__bild { flex: 0 1 360px; min-width: 0; margin: 0 auto; position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--walnuss-linie); }
.serie__bild img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.serie__marke { position: absolute; left: 16px; bottom: 16px; padding: 6px 14px; border-radius: 999px; background: var(--walnuss); color: var(--creme); font-size: 14px; font-weight: 700; }

/* Test */
.test { padding-top: 96px; padding-bottom: 96px; }
.test__karte { background: var(--papier); border: 1px solid var(--linie); border-radius: 20px; overflow: hidden; display: flex; flex-wrap: wrap; }
.test__karte > img { flex: 1 1 340px; min-width: 0; max-height: 540px; object-fit: cover; object-position: 50% 30%; }
.test__text { flex: 1 1 480px; min-width: 0; padding: 56px 48px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.test__text p { font-size: 19px; color: var(--text); }
.test__text .klein { font-size: 14px; color: var(--grau); }

/* Karte der Techniken */
.karte .wrap-schmal { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 44px; }
.karte__kopf { text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.karte__kopf p { font-size: 18px; color: var(--leise); max-width: 36em; }
.karte__spalten { display: flex; flex-wrap: wrap; gap: 48px 64px; }
.gang { flex: 1 1 400px; min-width: 0; }
.gang h3 { margin: 0 0 8px; text-align: center; font-style: italic; font-weight: 400; font-size: 26px; color: var(--holz); }
.technik { display: flex; flex-direction: column; gap: 2px; padding: 16px 0; border-bottom: 1px dashed var(--strich); }
.technik__zeile { display: flex; align-items: baseline; gap: 10px; }
.technik__name { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.technik__punkte { flex: 1 1 auto; border-bottom: 2px dotted #CDB596; transform: translateY(-5px); }
.technik__stand { font-size: 14px; font-weight: 700; color: var(--holz); }
.technik__text { font-size: 16px; color: var(--leise); }

/* Wende */
.wende { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.wende > img { flex: 1 1 340px; min-width: 0; max-width: 460px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.wende__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.wende__text p { font-size: 19px; color: var(--text); }
.wende__von { font-size: 14px; color: var(--grau); }

/* Autor */
.autor .wrap-schmal { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.autor img { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; flex: 0 0 auto; }
.autor__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.autor__text h2 { font-size: 32px; }
.autor__text p { color: var(--text); }

/* Fuß */
.fuss { background: var(--walnuss); color: var(--hell-leise); font-size: 15px; }
.fuss .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.fuss__marke { font-family: var(--serif); font-size: 22px; color: var(--creme); }
.fuss nav { display: flex; flex-wrap: wrap; gap: 24px; }
.fuss a { color: var(--hell-leise); }
.fuss a:hover { color: var(--creme); }

/* Geschichte (Leseseite) */
.lese-kopf { max-width: 860px; margin: 0 auto; padding: 72px 24px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.lese-kopf h1 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.05; }
.lese-kopf__unter { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--text); }
.lese-kopf__zeile { font-size: 15px; color: var(--grau); }
.lese { max-width: 1180px; margin: 0 auto; padding: 0 24px 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.gaenge { flex: 1 1 220px; max-width: 260px; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 15px; padding-top: 8px; position: sticky; top: 24px; }
.gaenge__titel { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--holz); font-weight: 700; padding-bottom: 8px; }
.gaenge a { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--strich); text-decoration: none; color: var(--tinte); }
.gaenge a:hover { color: var(--bordeaux); }
.gaenge a span { font-family: var(--serif); color: var(--holz); min-width: 18px; }
.text { flex: 999 1 560px; min-width: 0; max-width: 700px; font-size: 20px; line-height: 1.7; color: #2F2118; }
.text h2 { font-size: 34px; line-height: 1.15; margin: 48px 0 18px; scroll-margin-top: 24px; }
.text h2:first-child { margin-top: 0; }
.text p { margin: 0 0 22px; }
.text .initial::first-letter { float: left; font-family: var(--serif); font-size: 78px; line-height: 0.85; padding: 6px 10px 0 0; color: var(--bordeaux); }
.text figure { margin: 36px 0 40px; display: flex; flex-direction: column; gap: 10px; }
.text figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
.text figcaption { font-size: 15px; color: var(--grau); text-align: center; }
.text blockquote { margin: 36px 0; padding: 28px 32px; background: var(--papier); border: 1px solid var(--linie); border-radius: 14px; font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.35; color: var(--tinte); }
.nach-lesen { margin-top: 48px; padding: 36px; background: var(--walnuss); color: var(--creme); border-radius: 18px; display: flex; flex-direction: column; gap: 14px; }
.nach-lesen__frage { font-family: var(--serif); font-size: 28px; line-height: 1.2; }
.nach-lesen p { color: var(--hell); font-size: 17px; margin: 0; }
.urheber { font-size: 15px; color: var(--grau); margin-top: 32px; }

/* Rechtliches und einfache Seiten */
.schlicht { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.schlicht h1 { font-size: clamp(34px, 4vw, 48px); margin-bottom: 24px; }
.schlicht h2 { font-size: 24px; margin: 32px 0 10px; }
.schlicht h3 { font-size: 20px; margin: 24px 0 8px; }
.schlicht p, .schlicht li { color: var(--text); margin: 0 0 14px; font-size: 17px; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .hero { padding-top: 40px; gap: 36px; }
  .knoepfe .btn { flex: 1 1 100%; }
  .lektionen .wrap, .serie .wrap, .test, .karte .wrap-schmal, .wende { padding-top: 56px; padding-bottom: 56px; }
  .test__text { padding: 28px 22px; }
  .gaenge { position: static; max-width: none; }
  .text { font-size: 18px; }
  .text h2 { font-size: 28px; }
  .menue { gap: 4px 18px; font-size: 15px; }
  .karte-bild { transform: none; }
}

.text figure.hoch { align-items: center; }
.text figure.hoch img { aspect-ratio: 4 / 5; max-width: 460px; object-position: 50% 35%; }
