/* Barlow und Barlow Condensed, lokal gehostet (SIL Open Font License 1.1, siehe OFL.txt) */
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/barlow-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/barlow-400-latin.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:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/barlow-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/barlow-500-latin.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:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/barlow-600-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/barlow-600-latin.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:'Barlow Condensed';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/barlow-condensed-600-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/barlow-condensed-600-latin.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:'Barlow Condensed';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/barlow-condensed-700-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/barlow-condensed-700-latin.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;}

/* ==========================================================================
   Habibi-Grill.de – zentrale CSS (DESIGN.md ist verbindlich)
   Keine Inline-Styles im Markup (CSP style-src 'self'). Mobile first:
   Basis 390 px, ab 768 px Tablet, ab 1100 px Desktop.
   ========================================================================== */

:root {
  --schiefer: #28292b;
  --karte-dunkel: rgba(0, 0, 0, .28);
  --footer-dunkel: rgba(0, 0, 0, .25);
  --text: #f3e9d8;
  --text-gedaempft: #b8bcbf;
  --text-legende: #d6d9db;
  --creme: #e8d3af;
  --rot: #d1181f;
  --rot-tief: #b21d24;
  --rot-hell: #e8a2a5;
  --status-gruen: #58c26b;
  --linie: rgba(232, 211, 175, .16);
  --schrift-text: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --schrift-titel: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --rand: 20px;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--schrift-text);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--schiefer);
  background-image:
    radial-gradient(ellipse at 15% 0%, rgba(255, 255, 255, .07), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(0, 0, 0, .4), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .014) 0 2px, transparent 2px 7px);
}

img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }

h1, h2, h3 {
  margin: 0 0 .5em;
  font-family: var(--schrift-titel);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.05;
  overflow-wrap: break-word;
  hyphens: auto;
}
h1 { font-size: clamp(28px, 8.4vw, 40px); line-height: 1.02; letter-spacing: .02em; }
h2 { font-size: 28px; }
h3 { font-size: 23px; }

:focus-visible { outline: 3px solid var(--creme); outline-offset: 3px; }

.nur-lesehilfe {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.sprunglink {
  position: absolute; left: var(--rand); top: -100px; z-index: 100;
  padding: 12px 18px; border-radius: 10px; background: var(--text); color: var(--schiefer);
  font-family: var(--schrift-titel); font-weight: 700; text-transform: uppercase;
}
.sprunglink:focus { top: 12px; }

/* ---- Layout ---- */
.seite { flex: 1 0 auto; width: 100%; }
.inhalt-breite { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: var(--rand); padding-right: var(--rand); }

/* ---- Kopfzeile ---- */
.kopf { position: sticky; top: 0; z-index: 30; background: rgba(40, 41, 43, .98); border-bottom: 1px solid var(--linie); }
html { scroll-padding-top: var(--kopf-hoehe, 0px); }
html { overflow-x: hidden; }
.kopf-innen {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px;
  padding-top: 14px; padding-bottom: 14px;
}
.logo-wort { display: block; }
.logo-wort img { display: block; height: 41px; width: auto; }

.hauptmenue { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hauptmenue a {
  display: flex; align-items: center; min-height: 44px; padding: 0 16px;
  font-family: var(--schrift-titel); font-weight: 600; font-size: 20px; letter-spacing: .06em; text-transform: uppercase;
}
.hauptmenue a[aria-current="page"] { color: var(--creme); }
.hauptmenue .pille {
  border: 2px solid var(--creme); border-radius: 999px; padding: 0 18px;
}
.menue-desktop { display: none; }

/* ---- Buttons ---- */
.btn {
  display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px;
  border-radius: 12px; border: 2px solid transparent; cursor: pointer;
  font-family: var(--schrift-titel); font-weight: 700; font-size: 22px; letter-spacing: .06em; text-transform: uppercase;
  text-align: center;
}
.btn-haupt { background: var(--rot); color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); }
.btn-sekundaer { border-color: var(--creme); color: var(--text); background: transparent; }
.btn-hell { background: var(--text); color: var(--schiefer); min-height: 48px; border-radius: 10px; font-size: 21px; }
.btn-gruppe { display: flex; flex-direction: column; gap: 12px; }

/* ---- Karten ---- */
.karte {
  background: var(--karte-dunkel); border: 1px solid var(--linie); border-radius: 14px; padding: 20px;
  display: flex; flex-direction: column; gap: 10px; min-width: 0;
}
.karte h2 { margin: 0; }
.karte p { margin: 0; }
.karte-party { background: linear-gradient(135deg, rgba(178, 29, 36, .55), rgba(178, 29, 36, .25)); border-color: rgba(232, 211, 175, .3); }
.karte-bonus { border: 1.5px dashed rgba(232, 211, 175, .4); }

/* ---- Hero (Startseite) ---- */
.hero { overflow-x: clip; padding: 28px var(--rand) 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.hero-logo { position: relative; width: 100%; max-width: 335px; }
.hero-logo::before {
  content: ''; position: absolute; inset: -30px;
  background: radial-gradient(circle, rgba(178, 29, 36, .38), transparent 68%);
}
.hero-logo img { position: relative; display: block; width: 100%; height: auto; }
.hero-text { display: flex; flex-direction: column; gap: 14px; align-items: center; width: 100%; }
.hero-text .adresse { margin: 0; color: var(--text-gedaempft); font-size: 19px; }
.hero-text .btn-gruppe { width: 100%; max-width: 420px; }

.kartenreihe { display: grid; grid-template-columns: 1fr; gap: 12px; padding-bottom: 20px; }

/* ---- Fußzeile ---- */
.fuss { background: var(--footer-dunkel); border-top: 1px solid var(--linie); margin-top: 24px; }
.fuss-innen { padding-top: 24px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 16px; }
.fuss-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.fuss-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-gedaempft); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Hinweis, Fehlerseiten ---- */
.platzhalter-hinweis { color: var(--text-gedaempft); font-size: 15px; }
.fehlerseite { max-width: 640px; margin: 0 auto; padding: 56px var(--rand); text-align: center; }
.fehlerseite .btn { display: inline-flex; }
.entwicklung {
  text-align: left; white-space: pre-wrap; word-break: break-word; font-size: 14px;
  padding: 12px; border-radius: 10px; background: rgba(0, 0, 0, .4); color: var(--text-legende);
}

/* ---- Tablet ---- */
@media (min-width: 768px) {
  :root { --rand: 32px; }
  h1 { font-size: 52px; }
  .kartenreihe { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .btn-gruppe { flex-direction: row; justify-content: center; }
  .hero-logo { max-width: 420px; }
}

/* ---- Desktop ---- */
@media (min-width: 1100px) {
  :root { --rand: 64px; }
  body { font-size: 19px; }
  h1 { font-size: 76px; line-height: .98; }
  h2 { font-size: 30px; }
  .logo-wort img { height: 72px; }
  .kopf-innen { padding-top: 18px; padding-bottom: 18px; }
  .menue-mobil { display: none; }
  .menue-desktop { display: flex; }
  .btn { min-height: 60px; font-size: 24px; }
  .hero { flex-direction: row-reverse; justify-content: space-between; text-align: left; gap: 48px; padding-top: 56px; padding-bottom: 48px; max-width: 1280px; margin: 0 auto; }
  .hero-logo { max-width: 680px; flex: 0 1 680px; }
  .hero-text { align-items: flex-start; max-width: 440px; flex: 1 1 380px; }
  .hero-text .btn-gruppe { justify-content: flex-start; }
  .kartenreihe { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .karte { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   Öffentliche Seiten (M2)
   ========================================================================== */

.gedaempft { color: var(--text-gedaempft); }
.klein { font-size: 15px; }
.textlink { text-decoration: underline; text-underline-offset: 3px; }

/* Desktop-Menü: Telefon-Pille */
.hauptmenue .telefon-pille { background: var(--rot); color: #fff; border-radius: 999px; padding: 0 20px; margin-left: 8px; }

/* Hinweis-Banner (direkt unter der Kopfzeile, ohne Schließen-Knopf) */
.hinweis-banner { background: var(--text); color: var(--schiefer); font-weight: 600; font-size: 21px; line-height: 1.35; text-align: center; padding: 12px 0; }
@media (min-width: 768px) { .hinweis-banner { font-size: 24px; } }

/* Statuspille */
.status-pille {
  display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 16px; border-radius: 999px;
  background: rgba(243, 233, 216, .08); border: 1px solid rgba(232, 211, 175, .25); font-weight: 600; font-size: 17px;
}
.status-punkt { width: 10px; height: 10px; border-radius: 50%; background: var(--status-gruen); flex: none; }
.status-zu .status-punkt { background: var(--creme); }

/* Öffnungszeiten */
.zeiten { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.zeiten-zeile { display: flex; justify-content: space-between; gap: 12px; font-size: 19px; }
.zeiten-zeile dt { font-weight: 500; }
.zeiten-zeile dd { margin: 0; font-weight: 600; text-align: right; white-space: nowrap; flex: none; }

.kontaktliste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.kontaktliste a { display: inline-flex; align-items: center; min-height: 44px; }

.bonus { margin-bottom: 12px; }
.karte-bonus { margin: 0 0 16px; align-items: center; text-align: center; }
.karte-bonus h2 { text-align: center; }
.bonus-bild { display: block; width: 100%; max-width: 720px; height: auto; margin: 4px auto 6px; border-radius: 10px; border: 1px solid var(--linie); }
.karte-bild { margin-bottom: 12px; }
.kartenbild { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--linie); }
.kartenbild img { display: block; width: 100%; height: auto; }
.karte-bild .btn-gruppe .btn { min-height: 48px; font-size: 20px; }

/* Fußzeile */
.fuss-social { align-self: flex-start; gap: 10px; min-height: 48px; font-size: 20px; }
.fuss-social .icon { flex: none; color: var(--creme); }
.fuss-adresse { margin: 0; color: var(--text-gedaempft); font-size: 15px; }

/* Speisekarte */
.karte-seite h1 { font-size: clamp(30px, 10vw, 44px); margin-top: 20px; }
.xl-hinweis { margin: 0 0 18px; padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(209, 24, 31, .45); background: rgba(209, 24, 31, .2); font-size: 19px; font-weight: 600; text-align: center; }

.chips { position: sticky; top: var(--kopf-hoehe, 0px); z-index: 10; margin: 0 calc(var(--rand) * -1) 8px; padding: 10px var(--rand); }
.chips ul { list-style: none; margin: 0 auto; padding: 0; display: flex; gap: 8px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.chips ul::-webkit-scrollbar { display: none; }
.chips a {
  display: flex; align-items: center; min-height: 44px; padding: 0 18px; white-space: nowrap; border: 2px solid var(--creme); border-radius: 999px;
  font-family: var(--schrift-titel); font-weight: 600; font-size: 19px; letter-spacing: .05em; text-transform: uppercase; background: #28292b;
}
.chips a[aria-current] { background: var(--rot); border-color: var(--rot); color: #fff; }

.kategorie { scroll-margin-top: 72px; padding-top: 12px; }
.kategorie > h2 { padding-bottom: 8px; border-bottom: 2px solid var(--rot); margin-bottom: 4px; }

.gericht { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--linie); }
.gericht-foto { flex: none; width: 120px; height: 80px; border-radius: 10px; object-fit: cover; }
.gericht-text { flex: 1 1 auto; min-width: 0; overflow-wrap: break-word; }
.gericht-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; }
.gericht-nr { flex: none; font-family: var(--schrift-titel); font-weight: 700; font-size: 20px; color: var(--rot-hell); }
.gericht-name { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 20px; overflow-wrap: anywhere; hyphens: auto; }
.gericht-preis { flex: none; font-family: var(--schrift-titel); font-weight: 700; font-size: 20px; margin-left: auto; }
.gericht-beschreibung { margin: 4px 0 0; font-size: 15px; color: var(--text-gedaempft); }
.kuerzel { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.kuerzel li { min-width: 22px; padding: 0 6px; text-align: center; border: 1px solid var(--creme); border-radius: 6px; color: var(--creme); font-size: 14px; font-weight: 600; line-height: 22px; }
.gericht-aus .gericht-name, .gericht-aus .gericht-preis { text-decoration: line-through; opacity: .6; }
.gericht-aus-text { margin: 4px 0 0; font-weight: 600; color: var(--creme); }

.legende { margin-top: 24px; padding: 16px 20px; border-radius: 14px; background: var(--karte-dunkel); border: 1px solid var(--linie); color: var(--text-legende); }
.legende h2 { font-size: 24px; }
.legende ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }

/* Rechtstexte */
.text-seite { max-width: 820px; padding-top: 20px; padding-bottom: 20px; overflow-wrap: break-word; }
.text-seite h1 { margin-bottom: 20px; }
.text-seite h2 { font-size: 26px; margin-top: 28px; }
.text-seite p { font-size: 17px; }
.text-nummeriert { counter-reset: abschnitt; }
.text-nummeriert h2::before { counter-increment: abschnitt; content: counter(abschnitt) ". "; }

@media (min-width: 768px) {
  .karte-seite h1 { font-size: 56px; }
  .gericht-foto { width: 168px; height: 112px; }
  .gericht-nr, .gericht-name, .gericht-preis { font-size: 23px; }
  .chips { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
}
@media (min-width: 1100px) {
  .karte-seite { max-width: 980px; }
  .gericht-nr, .gericht-name, .gericht-preis { font-size: 24px; }
  .gericht-beschreibung { font-size: 16px; }
  .fuss-innen { flex-direction: row; align-items: center; justify-content: space-between; }
}
