/*
  Beispielseite «Döner Muster» (erfundener Betrieb) für webbach
  Eigenes Aussehen, damit sie wie die Seite eines Kunden wirkt.
  Gleiche Regeln wie die Hauptseite: mobile zuerst, Farben nur über Variablen,
  keine Inline-Stile, keine Skripte, nur Schriften vom eigenen Server.
*/

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../schriften/fraunces-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../schriften/inter-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../schriften/inter-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Farben ---------- */

:root {
  --kohle: #201713;
  --kohle-2: #2E221C;
  --creme: #FFF8EE;
  --creme-2: #F6EAD8;
  --tomate: #B3301A;
  --safran: #F2B33D;
  --safran-hover: #F7C566;

  --bg: var(--creme);
  --bg-alt: var(--creme-2);
  --karte: #FFFFFF;
  --text: var(--kohle);
  --text-leise: #5E4A3F;
  --linie: #E6D6C0;
  --akzent: var(--tomate);
  --vegi-bg: #E3F0DC;
  --vegi-text: #2C5E2A;
  --fokus: var(--kohle);

  /* immer dunkel: Kopfbild und Fusszeile */
  --dunkel: var(--kohle);
  --dunkel-text: #FFF3E3;
  --dunkel-leise: #D8C5B3;
  --dunkel-fokus: var(--safran);
  --knopf: var(--safran);
  --knopf-text: var(--kohle);

  /* Leiste unten auf dem Handy */
  --aktion-bg: var(--dunkel);
  --aktion-text: var(--dunkel-text);
  --aktion-rand: #8C7A6B;
  --aktion-linie: #3A2C25;
  --aktion-fokus: var(--dunkel-fokus);

  /* Hinweisband von webbach */
  --band: #14232B;
  --band-text: #FAF6EE;
  --band-link: #F2B49F;

  /* Plan */
  --plan-grund: #EFE1CC;
  --plan-haus: #E2CFB4;
  --plan-strasse: #FFFFFF;
  --plan-text: #4A3A31;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17110E;
    --bg-alt: #201813;
    --karte: #271D18;
    --text: #F7EBDD;
    --text-leise: #CDB9A7;
    --linie: #3F3028;
    --akzent: #F28C6C;
    --vegi-bg: #233A22;
    --vegi-text: #A9D9A2;
    --fokus: var(--safran);

    --dunkel: #100B09;

    --plan-grund: #2A1F19;
    --plan-haus: #3A2C24;
    --plan-strasse: #5A483D;
    --plan-text: #EADBCB;
  }
}

/* ---------- Grundlagen ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  /* Lange Wörter (z. B. «mehrwertsteuerpflichtig») bei grosser Schrift umbrechen,
     statt über den Rand zu laufen (Audit 15.11.2026, W-005). Bewusst ohne hyphens: auto */
  overflow-wrap: break-word;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0;
}

a {
  color: var(--akzent);
  text-underline-offset: 0.18em;
}

a:focus-visible {
  outline: 3px solid var(--fokus);
  outline-offset: 3px;
  border-radius: 4px;
}

svg {
  display: block;
}

.huelle {
  width: min(100% - 2rem, 70rem);
  margin-inline: auto;
}

.unsichtbar {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.sprung {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  background: var(--knopf);
  color: var(--knopf-text);
  font-weight: 600;
}

.sprung:focus {
  top: 1rem;
}

/* ---------- Hinweisband (gehört zu webbach, nicht zum Imbiss) ---------- */

.hinweis {
  background: var(--band);
  color: var(--band-text);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.hinweis__zeile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
  padding-block: 0.65rem;
}

.hinweis__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.hinweis a {
  color: var(--band-link);
  font-weight: 600;
}

.hinweis a:focus-visible {
  outline-color: var(--band-link);
}

/* ---------- Kopf ---------- */

.kopf {
  background: var(--dunkel);
  color: var(--dunkel-text);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

.kopf__zeile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding-block: 0.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.5rem;
  color: var(--dunkel-text);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
}

.logo svg {
  width: 30px;
  height: 30px;
}

.nav {
  order: 3;
  width: 100%;
}

.nav ul {
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--dunkel-leise);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover {
  color: var(--dunkel-text);
}

.kopf a:focus-visible,
.held a:focus-visible,
.fuss a:focus-visible {
  outline-color: var(--dunkel-fokus);
}

@media (min-width: 760px) {
  .nav {
    order: 0;
    width: auto;
  }

  .nav ul {
    gap: 1.75rem;
  }
}

/* ---------- Knöpfe ---------- */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.3rem;
  border: 2px solid var(--knopf);
  border-radius: 999px;
  background: var(--knopf);
  color: var(--knopf-text);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.knopf:hover {
  border-color: var(--safran-hover);
  background: var(--safran-hover);
}

.knopf--klein {
  min-height: 44px;
  padding: 0.45rem 1rem;
  font-size: 0.9375rem;
}

.knopf--hell {
  border-color: rgb(255 243 227 / 0.5);
  background: transparent;
  color: var(--dunkel-text);
}

.knopf--hell:hover {
  border-color: var(--dunkel-text);
  background: rgb(255 243 227 / 0.08);
}

/* ---------- Kopfbild ---------- */

.held {
  overflow: hidden;
  background: var(--dunkel);
  color: var(--dunkel-text);
}

.held__raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  padding-block: 2.5rem 3rem;
}

.held .dach {
  color: var(--safran);
}

.held h1 {
  max-width: 15ch;
  margin-top: 0.5rem;
  font-size: clamp(2.4rem, 1.7rem + 3.6vw, 4.2rem);
  line-height: 1.05;
}

.held__satz {
  max-width: 34rem;
  margin-top: 1.1rem;
  color: var(--dunkel-leise);
  font-size: 1.125rem;
}

.knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.fakten {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.fakten li {
  padding: 0.3rem 0.8rem;
  border: 1px solid rgb(255 243 227 / 0.22);
  border-radius: 999px;
  color: var(--dunkel-text);
  font-size: 0.9375rem;
}

.held__bild {
  justify-self: center;
  width: 100%;
  margin: 0;
}

.held__bild img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 30px 60px -28px rgb(0 0 0 / 0.85);
}

@media (min-width: 860px) {
  .held__raster {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 3rem;
    padding-block: 4.5rem 5rem;
  }

  .held__bild {
    width: min(100%, 460px);
  }

  .held__bild img {
    transform: rotate(2deg);
  }
}

/* ---------- Abschnitte ---------- */

.abschnitt {
  padding-block: 3.5rem;
}

.abschnitt--warm {
  background: var(--bg-alt);
}

@media (min-width: 860px) {
  .abschnitt {
    padding-block: 5rem;
  }
}

.dach {
  color: var(--akzent);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dach + h1,
.dach + h2 {
  margin-top: 0.4rem;
}

.einleitung {
  max-width: 40rem;
  margin-top: 0.9rem;
  color: var(--text-leise);
}

.klein {
  margin-top: 1rem;
  color: var(--text-leise);
  font-size: 0.9375rem;
}

/* ---------- Speisekarte ---------- */

.karte-raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 760px) {
  .karte-raster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.karte {
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--linie);
  border-radius: 18px;
  background: var(--karte);
}

@media (min-width: 760px) {
  .karte {
    padding: 1.75rem;
  }
}

.karte h3 {
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--safran);
}

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

.gerichte li {
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--linie);
}

.gerichte li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.gericht {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-weight: 600;
}

.gericht__punkte {
  flex: 1;
  min-width: 1rem;
  border-bottom: 2px dotted var(--linie);
  transform: translateY(-0.3em);
}

.gericht__preis {
  color: var(--akzent);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.gericht__text {
  margin-top: 0.2rem;
  color: var(--text-leise);
  font-size: 0.9375rem;
}

.vegi {
  display: inline-block;
  margin-left: 0.3rem;
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  background: var(--vegi-bg);
  color: var(--vegi-text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  vertical-align: 0.15em;
}

/* ---------- Ihre Wahl ---------- */

.wahl {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .wahl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.wahl li {
  padding: 1.4rem 1.25rem;
  border-top: 4px solid var(--akzent);
  border-radius: 6px 6px 18px 18px;
  background: var(--karte);
}

.wahl p {
  margin-top: 0.5rem;
  color: var(--text-leise);
}

/* ---------- Zeiten, Bestellen, Anfahrt ---------- */

.zwei {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .zwei {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 3.5rem;
  }
}

.zeiten {
  width: 100%;
  margin-top: 1.5rem;
  border-collapse: collapse;
}

.zeiten th,
.zeiten td {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--linie);
  text-align: left;
  vertical-align: top;
}

.zeiten th {
  padding-right: 1rem;
  font-weight: 400;
}

.zeiten td {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.bestellen {
  padding: 1.75rem 1.5rem;
  border-radius: 20px;
  background: var(--dunkel);
  color: var(--dunkel-text);
}

.bestellen h2 {
  font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem);
}

.bestellen p {
  margin-top: 0.75rem;
  color: var(--dunkel-leise);
}

.bestellen__nummer a {
  display: inline-block;
  margin-top: 0.25rem;
  color: var(--safran);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.9rem, 1.5rem + 2vw, 2.6rem);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.bestellen__nummer a:hover {
  text-decoration: underline;
}

.bestellen a:focus-visible {
  outline-color: var(--dunkel-fokus);
}

.bestellen .klein {
  margin-top: 1.25rem;
  color: var(--dunkel-leise);
}

.adresse {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 600;
}

.weg {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.weg li {
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--linie);
}

.weg li:last-child {
  border-bottom: 0;
}

.plan {
  margin: 0;
}

.plan svg {
  width: 100%;
  height: auto;
}

.plan figcaption {
  margin-top: 0.5rem;
  color: var(--text-leise);
  font-size: 0.875rem;
}

.plan__grund {
  fill: var(--plan-grund);
}

.plan__haeuser {
  fill: var(--plan-haus);
}

.plan__strasse {
  fill: none;
  stroke: var(--plan-strasse);
  stroke-width: 16;
}

.plan__platz {
  fill: var(--plan-strasse);
}

.plan__text {
  fill: var(--plan-text);
  font-size: 11px;
  font-weight: 600;
}

.plan__text--platz {
  font-size: 9px;
}

.plan__text--klein {
  font-size: 10px;
}

.plan__bus {
  fill: #1F5F6B;
}

.plan__text--bus {
  fill: #FFFFFF;
  font-size: 13px;
}

.plan__nadel {
  fill: var(--tomate);
}

.plan__nadel-punkt {
  fill: #FFFFFF;
}

/* ---------- Fuss ---------- */

.fuss {
  padding-block: 2.5rem 3rem;
  background: var(--dunkel);
  color: var(--dunkel-leise);
  font-size: 0.9375rem;
}

.fuss p + p {
  margin-top: 0.5rem;
}

.fuss__name {
  color: var(--dunkel-text);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
}

.fuss a {
  color: var(--dunkel-text);
}

.fuss__klein {
  max-width: 46rem;
  font-size: 0.875rem;
}

.fuss .fuss__beispiel {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(255 243 227 / 0.14);
}

/* ---------- Schnellzugriff auf dem Handy (feste Leiste unten) ---------- */

.aktionen {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--aktion-linie);
  background: var(--aktion-bg);
  box-shadow: 0 -10px 24px -14px rgb(0 0 0 / 0.35);
}

.aktionen a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.5rem 0.6rem;
  border: 2px solid var(--aktion-rand);
  border-radius: 999px;
  color: var(--aktion-text);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.aktionen .aktionen__haupt {
  border-color: var(--knopf);
  background: var(--knopf);
  color: var(--knopf-text);
}

.aktionen svg {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.aktionen a:focus-visible {
  outline: 3px solid var(--aktion-fokus);
  outline-offset: 2px;
}

/* Platz, damit die Leiste das Ende der Fusszeile nicht verdeckt */
@media (max-width: 759px) {
  .fuss {
    padding-bottom: calc(7.5rem + env(safe-area-inset-bottom));
  }
}

@media (min-width: 760px) {
  .aktionen {
    display: none;
  }
}

/* ---------- Über uns ---------- */

.ueber {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ueber li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--linie);
  border-radius: 18px;
  background: var(--karte);
  line-height: 1.45;
}

.ueber strong {
  display: block;
}

.ueber__bild {
  display: grid;
  flex: none;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: var(--dunkel);
  color: var(--safran);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.ueber li > span:last-child {
  color: var(--text-leise);
}

.ueber li strong {
  color: var(--text);
}
