/* Überschriften: DM Serif Display (SIL Open Font License) */
@font-face { font-family: "DM Serif Display"; src: url("schrift/DMSerifDisplay-Regular.ttf") format("truetype"); font-display: swap; }
/* Immer hell (Nutzerwunsch 07.10.2026): Browser sollen die Seite nicht selbst abdunkeln. Samsung Internet hält sich nicht
   daran – dafür ist das Logo freigestellt (website/baue.py), damit es auch dort sauber aussieht. */
:root {
  color-scheme: only light;
  --sepia: #4e3d27; --sepia-dunkel: #3a2d1c; --gold: #c9963f; --gold-hell: #e8c98c;
  --bg: #f4ecdc; --flaeche: #fbf7ec; --text: #33291d; --leise: #6f604a; --linie: #e2d5ba; --akzent: #6e5432;
  --schatten: 0 1px 2px rgba(70, 50, 20, .08), 0 10px 30px rgba(70, 50, 20, .12);
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --breite: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--akzent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; color: var(--sepia); }
.innen { max-width: var(--breite); margin: 0 auto; padding-inline: 20px; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 10; background: var(--sepia); }
.kopf .innen { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.kopf .logo img { height: 38px; width: auto; }
.kopf nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.kopf nav a { color: #f6eedb; text-decoration: none; font-size: .95rem; }
.kopf nav a:hover { color: var(--gold-hell); }
.knopf { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font: 600 1rem var(--sans);
  text-decoration: none; border: 2px solid var(--akzent); background: var(--akzent); color: #fbf7ec; }
.knopf.leise { background: transparent; color: var(--akzent); }
.kopf .knopf { padding: 7px 16px; font-size: .9rem; background: var(--gold); border-color: var(--gold); color: var(--sepia-dunkel); }
@media (max-width: 720px) { .kopf nav a:not(.knopf) { display: none; } }

/* Einstieg */
.held { padding: 72px 0 56px; overflow: hidden; }
.held .innen { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.dachzeile { font: 600 .82rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.held h1 { font-size: clamp(2.6rem, 6vw, 4.3rem); }
.held .lead { font-size: 1.18rem; color: var(--leise); margin: 22px 0 30px; max-width: 34em; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.bald { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 12px; background: #1d1a17; color: #fff; font-size: .82rem; line-height: 1.2; }
.bald b { display: block; font-size: 1.05rem; }
.bald svg { width: 26px; height: 26px; }
.aussprache { margin-top: 26px; font-size: .92rem; color: var(--leise); max-width: 34em; }
.aussprache b { color: var(--sepia); }
.handys { position: relative; height: 560px; }
.handy { position: absolute; width: 250px; aspect-ratio: 400 / 860; border-radius: 34px; border: 9px solid #2a231d; background: #2a231d;
  overflow: hidden; box-shadow: 0 30px 60px rgba(40, 25, 10, .35); }
.handy img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 26px; }
.handys .vorn { right: 120px; top: 10px; z-index: 2; }
.handys .hinten { right: 0; top: 60px; transform: rotate(6deg); }
@media (max-width: 900px) {
  .held .innen { grid-template-columns: 1fr; }
  .handys { height: 470px; max-width: 420px; margin: 0 auto; width: 100%; }
  .handy { width: 210px; }
  .handys .vorn { left: 10px; right: auto; } .handys .hinten { right: 10px; }
}

/* Versprechen */
.versprechen { background: var(--sepia); padding: 44px 0; }
.versprechen .innen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.zusage { color: #e9dcc0; }
.zusage .haken { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--sepia-dunkel); margin-bottom: 14px; }
.zusage .haken svg { width: 26px; height: 26px; }
.zusage h2 { color: #fbf7ec; font-size: 1.65rem; margin-bottom: 8px; }
.zusage p { margin: 0; font-size: .98rem; line-height: 1.5; }
@media (max-width: 900px) { .versprechen .innen { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .versprechen .innen { grid-template-columns: 1fr; gap: 22px; } .zusage { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; }
  .zusage .haken { grid-row: span 2; margin: 0; } }

/* Abschnitte */
section { padding: 72px 0; }
.abschnitt-kopf { text-align: center; max-width: 40em; margin: 0 auto 48px; }
.abschnitt-kopf h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
.abschnitt-kopf p { color: var(--leise); font-size: 1.1rem; margin: 14px 0 0; }
.hell { background: var(--flaeche); }

/* So funktioniert's */
.schritt { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: center; max-width: 900px; margin: 0 auto 64px; }
.schritt:nth-child(even) { grid-template-columns: 300px 1fr; }
.schritt:nth-child(even) .schritt-text { order: 2; }
.schritt .handy { position: static; width: 260px; margin: 0 auto; }
.nr { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold-hell); color: var(--sepia);
  font: 1.35rem var(--serif); margin-bottom: 14px; }
.schritt h3 { font-size: 1.9rem; margin-bottom: 12px; }
.schritt p { color: var(--leise); font-size: 1.08rem; margin: 0; }
/* Schritt 3 (17.10.2026): Wochenplan und zusammengerechnete Einkaufsliste nebeneinander */
.schritt.zwei { grid-template-columns: 1fr 456px; gap: 40px; }
.schritt-handys { display: grid; grid-template-columns: repeat(2, 220px); gap: 16px; justify-content: center; }
.schritt-handys figure { margin: 0; min-width: 0; }
.schritt-handys .handy { position: static; width: 220px; margin: 0 auto; }
.schritt-handys figcaption { text-align: center; margin-top: 10px; font-weight: 600; color: var(--sepia); font-size: .95rem; }
@media (max-width: 760px) {
  .schritt, .schritt:nth-child(even) { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .schritt.zwei { grid-template-columns: 1fr; }
  .schritt-handys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schritt-handys .handy { width: 100%; max-width: 220px; }
  .schritt:nth-child(even) .schritt-text { order: 0; }
}

/* Vorteile */
.vorteile { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vorteil { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 18px; padding: 24px 22px; box-shadow: var(--schatten); }
.hell .vorteil { background: #fff; }
.vorteil .zeichen { width: 52px; height: 52px; border-radius: 50%; background: var(--gold-hell); color: var(--sepia); display: grid; place-items: center; margin-bottom: 14px; }
.vorteil .zeichen svg { width: 26px; height: 26px; }
.vorteil h3 { font-size: 1.35rem; margin-bottom: 8px; }
.vorteil p { margin: 0; color: var(--leise); font-size: .98rem; }
.vorteile.zwei { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin: 0 auto; }
@media (max-width: 560px) { .vorteile.zwei { grid-template-columns: 1fr; } }
/* Teilen: Besuch */
/* Wo getauscht wird (08.10.2026): Treffpunkte als ruhige Marken unter der Überschrift */
.treffpunkte { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; list-style: none; padding: 0; margin: 22px 0 0; }
.treffpunkte li { background: var(--gold-hell); color: var(--sepia); border-radius: 999px; padding: 7px 15px; font: 600 .92rem var(--sans); }
.besuch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; background: #fff;
  border: 1px solid var(--linie); border-radius: 22px; padding: 36px; box-shadow: var(--schatten); margin-bottom: 18px; }
.besuch .zeichen { width: 52px; height: 52px; border-radius: 50%; background: var(--gold-hell); color: var(--sepia); display: grid; place-items: center; margin-bottom: 16px; }
.besuch .zeichen svg { width: 26px; height: 26px; }
.besuch .dachzeile { margin-bottom: 8px; }
.besuch h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 14px; }
.besuch-text > p:not(.dachzeile) { color: var(--leise); font-size: 1.05rem; margin: 0 0 18px; }
.punkte { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.punkte li { position: relative; padding-left: 28px; color: var(--leise); font-size: .98rem; line-height: 1.5; }
.punkte li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.punkte b { color: var(--sepia); }
.besuch-handys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.besuch-handys figure { margin: 0; min-width: 0; }
.besuch-handys .handy { position: static; width: 100%; max-width: 190px; margin: 0 auto; border-width: 6px; border-radius: 24px;
  box-shadow: 0 14px 30px rgba(40, 25, 10, .25); }
.besuch-handys .handy img { border-radius: 18px; }
.besuch-handys figure:nth-child(2) { margin-top: 28px; }
.besuch-handys figcaption { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 12px; font-size: .92rem;
  font-weight: 600; color: var(--sepia); text-align: center; }
.besuch-handys .nr { width: 26px; height: 26px; font-size: .95rem; margin: 0; flex: none; }
@media (max-width: 980px) { .besuch { grid-template-columns: 1fr; } .besuch-handys { max-width: 600px; margin: 0 auto; width: 100%; } }
@media (max-width: 560px) { .besuch { padding: 24px 18px; gap: 28px; } .besuch-handys { gap: 8px; } .besuch-handys figure:nth-child(2) { margin-top: 16px; }
  .besuch-handys .handy { border-width: 4px; border-radius: 16px; } .besuch-handys .handy img { border-radius: 12px; }
  .besuch-handys figcaption { gap: 4px; font-size: .82rem; } }
.unterzeile { text-align: center; color: var(--leise); max-width: 44em; margin: 28px auto 0; font-size: 1.02rem; }
@media (max-width: 900px) { .vorteile { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .vorteile { grid-template-columns: 1fr; } }

/* Am PC bearbeiten (07.10.2026): dunkles Band, Browserrahmen mit Bildschirmfoto, Handy davor */
.am-pc { background: var(--sepia); color: #e9dcc0; overflow: hidden; }
.am-pc .innen { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.am-pc .zeichen { width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--sepia-dunkel); display: grid; place-items: center; margin-bottom: 16px; }
.am-pc .zeichen svg { width: 26px; height: 26px; }
.am-pc .dachzeile { margin-bottom: 8px; }
.am-pc h2 { color: #fbf7ec; font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 14px; }
.am-pc-lead { font-size: 1.08rem; margin: 0 0 18px; }
.am-pc .punkte li { color: #e9dcc0; }
.am-pc .punkte b { color: #fbf7ec; }
.am-pc-bild { position: relative; padding: 0 0 48px; }
.browser { border-radius: 12px; overflow: hidden; background: #fbf7ec; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.browser-leiste { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #e9e1cf; }
.browser-leiste i { width: 10px; height: 10px; border-radius: 50%; background: #c9b995; }
.browser-adresse { margin-left: 10px; flex: 1; min-width: 0; background: #fbf7ec; border-radius: 6px; padding: 3px 10px;
  font: 12px/1.4 ui-monospace, Consolas, monospace; color: #6f604a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; display: block; }
.am-pc-bild .handy { position: absolute; right: -8px; bottom: 0; width: 150px; border-width: 6px; border-radius: 24px; }
.am-pc-bild .handy img { border-radius: 18px; }
@media (max-width: 900px) { .am-pc .innen { grid-template-columns: 1fr; } .am-pc-bild { max-width: 620px; margin: 0 auto; width: 100%; } }
@media (max-width: 560px) { .am-pc-bild { padding-bottom: 36px; } .am-pc-bild .handy { width: 100px; border-width: 4px; border-radius: 16px; right: -4px; }
  .am-pc-bild .handy img { border-radius: 12px; } }

/* Szenen (17.10.2026): fotorealistische, selbst erzeugte Bilder aus grafik/szenen/ (website/baue.py) */
.szene { margin: 0 0 44px; }
/* Ausschnitt etwas nach oben: in den Szenen sitzen die Köpfe im oberen Drittel */
.szene img { display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 25%; border-radius: 22px; box-shadow: var(--schatten);
  background: var(--linie); }
@media (max-width: 560px) { .szene { margin-bottom: 28px; } .szene img { aspect-ratio: 4 / 3; border-radius: 16px; } }

/* KI-Erfassung (17.10.2026): echte handschriftliche Karte -> Rezept -> Nährwerte, Aufbau wie .besuch-handys */
.vorher-nachher { max-width: 640px; margin: 0 auto 44px; }
.karte-foto { display: block; width: 100%; max-width: 190px; margin: 0 auto; padding: 6px; background: #fff; border-radius: 8px;
  box-shadow: 0 14px 30px rgba(40, 25, 10, .25); transform: rotate(-3deg); }

/* Mixtopf (17.10.2026): wie .besuch, ein Gerät */
.besuch.mixtopf { margin-bottom: 40px; }
.besuch-handys.eins { grid-template-columns: minmax(0, 1fr); max-width: 220px; margin: 0 auto; }
.besuch-handys.eins .handy { max-width: 220px; }
.besuch-handys.eins .nr { width: auto; min-width: 26px; padding: 0 6px; border-radius: 13px; }

/* Preise */
.vorteil .preis { font: 1.7rem var(--serif); color: var(--sepia); margin: 0 0 10px; }
.vorteil .preis small { font: 1rem var(--sans); color: var(--leise); margin-left: 6px; }
.preisliste { list-style: none; padding: 0; margin: 4px 0 12px; }
.preisliste li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dashed var(--linie); }
.preisliste b { color: var(--sepia); }

/* Gerichte */
.gerichte { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.gerichte figure { margin: 0; }
.gerichte img { border-radius: 16px; box-shadow: var(--schatten); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gerichte figcaption { text-align: center; font-size: .9rem; color: var(--leise); margin-top: 8px; }
@media (max-width: 900px) { .gerichte { grid-template-columns: repeat(3, 1fr); } .gerichte figure:nth-child(n + 4) { display: none; } }
@media (max-width: 520px) { .gerichte { grid-template-columns: 1fr 1fr; } .gerichte figure:nth-child(n + 3) { display: none; } }

/* Fragen */
.fragen { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.fragen details { background: #fff; border: 1px solid var(--linie); border-radius: 14px; padding: 4px 20px; }
.fragen summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.fragen summary::after { content: "+"; font: 1.4rem var(--serif); color: var(--gold); }
.fragen details[open] summary::after { content: "–"; }
.fragen details p { margin: 0 0 16px; color: var(--leise); }

/* Mitmachen */
.mitmachen { background: var(--sepia); color: #f6eedb; text-align: center; }
.mitmachen h2 { color: #fbf7ec; font-size: clamp(2rem, 4vw, 2.7rem); }
.mitmachen p { font-size: 1.1rem; max-width: 36em; margin: 16px auto 28px; color: #e9dcc0; }
.mitmachen .knopf { background: var(--gold); border-color: var(--gold); color: var(--sepia-dunkel); }

/* Fuß */
.fuss { background: var(--sepia-dunkel); color: #cbbd9f; padding: 32px 0; font-size: .92rem; }
.fuss .innen { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.fuss img { height: 30px; width: auto; }
.fuss nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.fuss a { color: #e8dcc2; }

/* Rechtstexte */
.recht { padding: 56px 0 72px; }
.recht .innen { max-width: 780px; }
.recht h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: 24px; }
.recht h2 { font-size: 1.5rem; margin: 32px 0 10px; }
.recht h3 { font-size: 1.15rem; margin: 22px 0 6px; }
/* lange deutsche Wörter („Nutzungsbedingungen“, „Datenschutz-Aufsichtsbehörde“) dürfen auf schmalen Handys trennen */
.recht h1, .recht h2, .recht p, .recht li { hyphens: auto; overflow-wrap: break-word; }
/* Kontaktformular (kontakt.php, 18.10.2026) */
.kontakt { display: grid; gap: 6px; max-width: 560px; margin-top: 20px; }
.kontakt label { font-weight: 600; margin-top: 10px; }
.kontakt label span { font-weight: 400; color: var(--leise, #7a6a55); }
.kontakt input, .kontakt textarea { font: inherit; padding: 12px 14px; border: 1px solid #d9ccb2; border-radius: 12px;
  background: #fffdf8; color: inherit; width: 100%; box-sizing: border-box; }
.kontakt textarea { resize: vertical; min-height: 9em; }
.kontakt .knopf { justify-self: start; margin-top: 10px; border: 0; cursor: pointer; }
.kontakt-hinweis { font-size: .9rem; margin: 10px 0 0; }
.falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.kontakt-fehler { background: #fbe9e4; border: 1px solid #e3b4a6; border-radius: 12px; padding: 4px 16px; margin-top: 16px; }
.kontakt-danke { background: #edf3e6; border: 1px solid #c4d6ad; border-radius: 12px; padding: 14px 16px; }
.fuss .marke { flex-basis: 100%; margin: 0; font-size: .8rem; color: #a8987a; }
.recht p, .recht li { color: var(--text); }
.platzhalter { background: #fff3c4; padding: 0 4px; border-radius: 4px; }
.entwurf { background: #fff3c4; border: 1px solid #e6cf7a; border-radius: 12px; padding: 12px 16px; font-size: .95rem; }
