/* Café Müller – Demo-Website
   Gestaltung: klassisches Kaffeehaus – Cremepapier, Espressobraun, Kupfer,
   Markisenstreifen und Bogenkanten. Nur Systemschriften. */

:root {
  --creme: #f7f0e4;
  --creme-dunkel: #efe3d0;
  --papier: #fffaf2;
  --espresso: #2a1c15;
  --mokka: #4a3328;
  --text: #2a1c15;
  --text-leise: #5c4a3f;
  --kupfer: #9c4a24;
  --kupfer-hell: #c46a3c;
  --salbei: #5f6f55;
  --linie: #dccbb2;
  --platzhalter-bg: #fff1c9;
  --platzhalter-rand: #c9a227;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, Cambria, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --breite: 72rem;
  --gutter: 1rem;
  --cta-hoehe: 4.25rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: var(--cta-hoehe); /* Platz für die Aktionsleiste am Handy */
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--kupfer); text-underline-offset: 0.18em; }
a:hover { color: var(--espresso); }

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--espresso);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 9vw, 4.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.visuell-versteckt {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sprunglink {
  position: absolute; left: 0.5rem; top: -4rem;
  background: var(--espresso); color: var(--papier);
  padding: 0.75rem 1rem; border-radius: 8px; z-index: 100;
}
.sprunglink:focus { top: 0.5rem; color: var(--papier); }

.huelle {
  width: 100%;
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Platzhalter (offene Fakten sichtbar markieren) ---------- */
.platzhalter {
  background: var(--platzhalter-bg);
  border: 1px dashed var(--platzhalter-rand);
  border-radius: 6px;
  padding: 0.05em 0.4em;
  font-style: normal;
  color: #5a4300;
}
.platzhalter-box {
  background: var(--platzhalter-bg);
  border: 2px dashed var(--platzhalter-rand);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  color: #4a3800;
}
.platzhalter-box > :last-child { margin-bottom: 0; }
.platzhalter-box strong { color: #3b2c00; }

/* ---------- Kopfbereich mit Markise ---------- */
.markise {
  height: 14px;
  background: repeating-linear-gradient(90deg,
    var(--kupfer) 0 28px, var(--papier) 28px 56px);
  position: relative;
}
.markise::after {
  /* Bogenkante der Markise */
  content: "";
  position: absolute; left: 0; right: 0; top: 100%;
  height: 12px;
  background:
    radial-gradient(circle at 14px 0, var(--kupfer) 13px, transparent 14px) 0 0 / 56px 12px repeat-x,
    radial-gradient(circle at 42px 0, var(--papier) 13px, transparent 14px) 0 0 / 56px 12px repeat-x;
  filter: drop-shadow(0 2px 0 rgba(42, 28, 21, 0.08));
}

.kopf {
  position: sticky; top: 0; z-index: 50;
  background: var(--creme);
  border-bottom: 1px solid var(--linie);
}
.kopf-innen {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.marke {
  display: inline-flex; align-items: center; gap: 0.6rem;
  text-decoration: none; color: var(--espresso);
}
.marke svg { width: 2.25rem; height: 2.25rem; flex: none; }
.marke-text { display: flex; flex-direction: column; line-height: 1.05; }
.marke-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; letter-spacing: 0.01em; }
.marke-ort { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-leise); }

.menue-knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; min-width: 48px;
  padding: 0 0.9rem;
  border: 2px solid var(--espresso);
  border-radius: 999px;
  background: transparent; color: var(--espresso);
  font: 600 1rem var(--sans);
  cursor: pointer;
}
.menue-knopf-strich { position: relative; width: 18px; height: 2px; background: currentColor; }
.menue-knopf-strich::before, .menue-knopf-strich::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
  transition: transform 0.2s ease;
}
.menue-knopf-strich::before { top: -6px; }
.menue-knopf-strich::after { top: 6px; }
.menue-knopf[aria-expanded="true"] .menue-knopf-strich { background: transparent; }
.menue-knopf[aria-expanded="true"] .menue-knopf-strich::before { transform: translateY(6px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] .menue-knopf-strich::after { transform: translateY(-6px) rotate(-45deg); }

.hauptnav ul { list-style: none; margin: 0; padding: 0; }
.hauptnav a {
  display: block;
  text-decoration: none;
  color: var(--espresso);
  font-weight: 600;
}
.hauptnav a[aria-current="page"] { color: var(--kupfer); }

/* Handy: Menü klappt unter dem Kopf auf */
@media (max-width: 47.99rem) {
  .js .hauptnav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--papier);
    border-bottom: 1px solid var(--linie);
    box-shadow: 0 18px 30px -18px rgba(42, 28, 21, 0.35);
  }
  .js .hauptnav.offen { display: block; }
  .hauptnav ul { padding: 0.5rem var(--gutter) 1rem; }
  .hauptnav li + li { border-top: 1px solid var(--linie); }
  .hauptnav a { padding: 0.95rem 0.25rem; font-size: 1.15rem; font-family: var(--serif); }
  /* ohne JavaScript: Menü einfach als Zeile darunter */
  html:not(.js) .menue-knopf { display: none; }
  html:not(.js) .kopf-innen { flex-wrap: wrap; padding-bottom: 0.5rem; }
  html:not(.js) .hauptnav { width: 100%; }
  html:not(.js) .hauptnav ul { display: flex; flex-wrap: wrap; gap: 0 1rem; padding: 0; }
  html:not(.js) .hauptnav li + li { border: 0; }
  html:not(.js) .hauptnav a { padding: 0.6rem 0; font-size: 1rem; }
}

@media (min-width: 48rem) {
  .menue-knopf { display: none; }
  .kopf-innen { gap: 2rem; }
  .hauptnav { margin-left: auto; }
  .hauptnav ul { display: flex; gap: 0.25rem; }
  .hauptnav a { padding: 0.75rem 0.85rem; border-radius: 999px; }
  .hauptnav a:hover { background: var(--creme-dunkel); color: var(--espresso); }
  .hauptnav a[aria-current="page"] { background: var(--espresso); color: var(--papier); }
}

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 52px;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 2px solid var(--kupfer);
  background: var(--kupfer); color: #fff;
  font: 700 1.02rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.knopf:hover { background: var(--espresso); border-color: var(--espresso); color: #fff; }
.knopf:active { transform: translateY(1px); }
.knopf svg { width: 1.2em; height: 1.2em; flex: none; }
.knopf-hell { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.knopf-hell:hover { background: var(--espresso); color: var(--papier); }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.kopf-aktion { min-height: 46px; padding: 0.55rem 1.1rem; font-size: 0.95rem; }
@media (max-width: 63.99rem) { .kopf .kopf-aktion { display: none; } }

/* ---------- Aktionsleiste (Handy) ---------- */
.aktionsleiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--espresso);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -6px 20px rgba(42, 28, 21, 0.25);
}
.aktionsleiste a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem;
  min-height: var(--cta-hoehe);
  color: var(--papier);
  text-decoration: none;
  font-weight: 600; font-size: 0.85rem;
}
.aktionsleiste a + a { border-left: 1px solid rgba(255, 250, 242, 0.15); }
.aktionsleiste a:hover, .aktionsleiste a:focus-visible { background: var(--mokka); color: #fff; }
.aktionsleiste svg { width: 1.45rem; height: 1.45rem; }
.aktionsleiste a.hervor { background: var(--kupfer); }
.aktionsleiste a.hervor:hover { background: var(--kupfer-hell); }

@media (min-width: 48rem) {
  body { padding-bottom: 0; }
  .aktionsleiste { display: none; }
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: clamp(3rem, 10vw, 6rem); }
.abschnitt-papier { background: var(--papier); }
.abschnitt-dunkel { background: var(--espresso); color: #efe4d4; }
.abschnitt-dunkel h2, .abschnitt-dunkel h3 { color: var(--papier); }
.abschnitt-dunkel a { color: #f0b48f; }

.dachzeile {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--kupfer);
  margin-bottom: 0.9rem;
}
.dachzeile::before { content: ""; width: 1.75rem; height: 2px; background: currentColor; }
.abschnitt-dunkel .dachzeile { color: #f0b48f; }

.einleitung { font-size: 1.15rem; color: var(--text-leise); max-width: 38rem; }

/* ---------- Startseite: Bühne ---------- */
.buehne {
  padding-block: clamp(2.5rem, 8vw, 5.5rem) clamp(3rem, 8vw, 5rem);
  background:
    radial-gradient(60rem 30rem at 85% 10%, rgba(196, 106, 60, 0.12), transparent 60%),
    var(--creme);
}
.buehne-raster { display: grid; gap: 2.5rem; align-items: center; }
.buehne h1 em { font-style: italic; color: var(--kupfer); font-weight: 500; }
.buehne .einleitung { margin-bottom: 1.75rem; }
.buehne-bild { max-width: 26rem; margin-inline: auto; width: 100%; }

@media (min-width: 56rem) {
  .buehne-raster { grid-template-columns: 1.15fr 0.85fr; }
}

/* Dampf über der Tasse */
.dampf path { stroke-dasharray: 6 10; animation: dampf 3.5s linear infinite; }
.dampf path:nth-child(2) { animation-delay: -1.2s; }
.dampf path:nth-child(3) { animation-delay: -2.4s; }
@keyframes dampf { to { stroke-dashoffset: -64; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dampf path { animation: none; }
}

/* ---------- Infokarten (Öffnungszeiten, Adresse, Telefon) ---------- */
.infoleiste { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .infoleiste { grid-template-columns: repeat(3, 1fr); } }

.karte {
  background: var(--papier);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: 0 1px 0 rgba(42, 28, 21, 0.04), 0 12px 24px -20px rgba(42, 28, 21, 0.4);
}
.karte h3 { display: flex; align-items: center; gap: 0.55rem; font-size: 1.2rem; }
.karte h3 svg { width: 1.4rem; height: 1.4rem; color: var(--kupfer); flex: none; }
.karte > :last-child { margin-bottom: 0; }

/* ---------- Kacheln auf der Startseite ---------- */
.kacheln { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 40rem) { .kacheln { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .kacheln { grid-template-columns: repeat(4, 1fr); } }

.kachel {
  background: var(--creme);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem 1.35rem;
  border: 1px solid var(--linie);
}
.kachel svg { width: 3.25rem; height: 3.25rem; color: var(--kupfer); margin-bottom: 0.9rem; }
.kachel h3 { margin-bottom: 0.35rem; }
.kachel p { margin: 0; color: var(--text-leise); font-size: 0.98rem; }

/* ---------- Zitat / Atmosphäre ---------- */
.zitat {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 5.5vw, 2.3rem);
  line-height: 1.3;
  font-style: italic;
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
  color: var(--papier);
}
.zitat::before {
  content: "“";
  display: block;
  font-size: 4rem; line-height: 0.6;
  color: var(--kupfer-hell);
  margin-bottom: 0.5rem;
}

/* ---------- Seitenkopf der Unterseiten ---------- */
.seitenkopf {
  padding-block: clamp(2.5rem, 8vw, 4.5rem) clamp(2rem, 6vw, 3rem);
  background:
    radial-gradient(40rem 20rem at 100% 0%, rgba(196, 106, 60, 0.12), transparent 60%),
    var(--creme);
  border-bottom: 1px solid var(--linie);
}
.seitenkopf h1 { font-size: clamp(2.1rem, 8vw, 3.4rem); }
.seitenkopf .einleitung { margin-bottom: 0; }

/* ---------- Speisekarte ---------- */
.karten-nav {
  position: sticky; top: calc(4.25rem + 15px); z-index: 20;
  background: var(--papier);
  border-bottom: 1px solid var(--linie);
}
.karten-nav ul {
  display: flex; gap: 0.5rem;
  list-style: none; margin: 0; padding: 0.65rem 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.karten-nav ul::-webkit-scrollbar { display: none; }
.karten-nav a {
  display: inline-flex; align-items: center;
  min-height: 44px;
  padding: 0 1rem;
  white-space: nowrap;
  border: 1px solid var(--linie);
  border-radius: 999px;
  text-decoration: none; color: var(--espresso); font-weight: 600; font-size: 0.95rem;
  background: var(--creme);
}
.karten-nav a:hover { border-color: var(--espresso); }

.karten-raster { display: grid; gap: 1.5rem; }
@media (min-width: 56rem) { .karten-raster { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }

.kartenblock {
  background: var(--papier);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem 1.25rem;
  position: relative;
}
.kartenblock h2 {
  font-size: 1.65rem;
  display: flex; align-items: center; gap: 0.6rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--espresso);
  margin-bottom: 0.25rem;
}
.kartenblock h2 svg { width: 1.6rem; height: 1.6rem; color: var(--kupfer); flex: none; }

.posten { list-style: none; margin: 0; padding: 0; }
.posten li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.15rem 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px dotted var(--linie);
}
.posten li:last-child { border-bottom: 0; }
.posten-name { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; color: var(--espresso); }
.posten-preis { font-weight: 700; color: var(--kupfer); white-space: nowrap; font-variant-numeric: tabular-nums; }
.posten-text { grid-column: 1 / -1; color: var(--text-leise); font-size: 0.95rem; }

.hinweis-klein { font-size: 0.92rem; color: var(--text-leise); }

/* ---------- Über uns ---------- */
.zweispaltig { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 56rem) { .zweispaltig { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

.werte { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.werte li {
  display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start;
  background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 1.1rem 1.1rem;
}
.werte svg { width: 2.4rem; height: 2.4rem; color: var(--kupfer); }
.werte h3 { margin-bottom: 0.2rem; font-size: 1.15rem; }
.werte p { margin: 0; color: var(--text-leise); font-size: 0.98rem; }

.fotorahmen {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--creme-dunkel);
  border: 1px solid var(--linie);
}

/* ---------- Kontakt ---------- */
.kontakt-raster { display: grid; gap: 1.25rem; }
@media (min-width: 56rem) { .kontakt-raster { grid-template-columns: 1fr 1fr; gap: 2rem; } }

.zeiten { width: 100%; border-collapse: collapse; }
.zeiten th, .zeiten td { text-align: left; padding: 0.55rem 0; border-bottom: 1px dotted var(--linie); }
.zeiten td { text-align: right; font-variant-numeric: tabular-nums; }
.zeiten tr.heute th, .zeiten tr.heute td { color: var(--kupfer); font-weight: 700; }

.status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.status::before { content: ""; width: 0.65rem; height: 0.65rem; border-radius: 50%; background: currentColor; }
.status.offen { color: #2f6b3a; }
.status.zu { color: #9b2c2c; }

.kartenplatz {
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  text-align: center;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 2px dashed var(--platzhalter-rand);
  background:
    linear-gradient(rgba(255, 241, 201, 0.88), rgba(255, 241, 201, 0.88)),
    repeating-linear-gradient(0deg, transparent 0 38px, var(--linie) 38px 40px),
    repeating-linear-gradient(90deg, transparent 0 38px, var(--linie) 38px 40px),
    var(--papier);
  color: #4a3800;
}
.kartenplatz > div > svg { width: 2.75rem; height: 2.75rem; margin: 0 auto 0.6rem; color: var(--kupfer); }
.kartenplatz p { margin: 0 0 0.9rem; max-width: 22rem; }

.kontaktliste { list-style: none; margin: 0; padding: 0; }
.kontaktliste li { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; padding: 0.6rem 0; align-items: start; }
.kontaktliste svg { width: 1.35rem; height: 1.35rem; color: var(--kupfer); margin-top: 0.2rem; }
.kontaktliste strong { display: block; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-leise); }

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 46rem; }
.rechtstext h2 { font-size: 1.45rem; margin-top: 2rem; }

/* ---------- Abschluss-Aufruf ---------- */
.aufruf { text-align: center; }
.aufruf h2 { margin-bottom: 0.4rem; }
.aufruf p { color: #d8c9b6; max-width: 34rem; margin: 0 auto 1.6rem; }
.aufruf .knopf-reihe { justify-content: center; }
.abschnitt-dunkel .knopf-hell { color: var(--papier); border-color: var(--papier); }
.abschnitt-dunkel .knopf-hell:hover { background: var(--papier); color: var(--espresso); }

/* ---------- Fuß ---------- */
.fuss {
  background: #1f140f;
  color: #cdbca7;
  padding-block: 3rem 2rem;
  font-size: 0.97rem;
}
.fuss a { color: #f0b48f; }
.fuss-raster { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .fuss-raster { grid-template-columns: 1.3fr 1fr 1fr; } }
.fuss h2 { font-size: 1.1rem; color: var(--papier); margin-bottom: 0.6rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li a { display: inline-block; padding: 0.35rem 0; }
.fuss .marke { color: var(--papier); margin-bottom: 0.75rem; }
.fuss .marke-ort { color: #b9a790; }
.fuss .platzhalter { color: #5a4300; }
.fuss-unten {
  margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 250, 242, 0.12);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
  font-size: 0.88rem; color: #a8957e;
}

/* ---------- Demo-Hinweis ---------- */
.demo-band {
  background: var(--platzhalter-bg);
  border-bottom: 1px solid var(--platzhalter-rand);
  color: #4a3800;
  font-size: 0.85rem;
  text-align: center;
  padding: 0.45rem var(--gutter);
}
