/* public/assets/site.css — Gestaltung nach der alten Divi-Seite, mit leichten Anleihen bei semi-catering.de
 *
 * Grundlage bleibt die alte Fachwerk-Seite: Schriften (Open Sans, Playfair
 * Display, Montserrat, Cabin), Gold, Fotobänder, Speisekarte in Dunkelblau.
 * Von semi-catering.de kommen nur Akzente: Überzeilen mit Goldstrich und
 * gesperrter Kleinschrift, runde Knöpfe, warme Cremetöne, Nachtblau statt
 * Schwarz. Schriften liegen in assets/fonts/ (SIL Open Font License,
 * Lizenztexte daneben), der Browser fragt nichts bei Google oder anderen
 * Dritten an. Nur das lateinische Teilset, das deckt Umlaute, ß und
 * Gedankenstriche ab. Gold (#c39d63) trägt dunkle Schrift; Weiß auf Gold wäre
 * zu kontrastarm. Goldene Schrift auf Hell nur in der dunkleren Tinte.
 */

@font-face {
  font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("fonts/open-sans.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: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("fonts/playfair-display.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: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/montserrat.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: "Cabin"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/cabin.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;
}

:root {
  --text: #666;
  --heading: #2f2f2f;
  --muted: #737373;
  --gold: #c39d63;
  --gold-light: #d6b886;
  --gold-ink: #7a5e1f;
  --navy: #002d4c;
  --dish-line: #5f6d77;
  --midnight: #0e1218;
  --offwhite: #fafaf8;
  --cream: #f2f0ea;
  --rule: #d9d3c7;
  --ok: #1f6b3a;
  --error: #a3192d;
  --open-sans: "Open Sans", Arial, sans-serif;
  --playfair: "Playfair Display", Georgia, "Times New Roman", serif;
  --montserrat: "Montserrat", Helvetica, Arial, sans-serif;
  --cabin: "Cabin", Helvetica, Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 400 1rem/1.7 var(--open-sans);
}

img { max-width: 100%; height: auto; }

a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: .2em; }
a:hover { color: var(--heading); }
a[href^="tel:"] { white-space: nowrap; }

h1, h2, h3 { color: var(--heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 1.25rem; }
h2 { font-size: clamp(1.5rem, 3.5vw, 1.9rem); margin: 0 0 1rem; }
h3 { font-size: 1.1rem; margin: 1.5rem 0 .25rem; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

.section { padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.notice + .section { padding-top: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.env-band {
  margin: 0; padding: .35rem 16px; text-align: center;
  background: #fff3cd; color: var(--midnight); font-size: .85rem;
}

/* Überzeile: Goldstrich und gesperrte Kleinschrift */

.kicker {
  display: flex; align-items: center; gap: .8rem; margin: 0 0 1rem;
  color: var(--gold-ink); font: 700 .72rem/1.3 var(--montserrat); letter-spacing: .16em; text-transform: uppercase;
}
.kicker::before, .kicker--center::after { content: ""; flex: 0 0 2rem; height: 1px; background: var(--gold); }
.kicker--center { justify-content: center; }

/* Kopf und Fuß */

.site-header { position: relative; z-index: 1; background: #fff; border-bottom: 1px solid var(--rule); }
.site-header__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .6rem 2rem; padding-top: .9rem; padding-bottom: .9rem;
}
.site-logo { display: block; line-height: 0; }
.site-logo img { width: 116px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.5rem; }
.site-nav a {
  position: relative; padding: .3rem 0; color: rgba(0, 0, 0, .62);
  font-size: .875rem; font-weight: 600; text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #000; }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
}
.site-nav .site-nav__external {
  display: inline-flex; align-items: center; gap: .45rem; margin-left: .25rem; padding: .35rem 1rem;
  border: 1px solid rgba(0, 0, 0, .22); border-radius: 999px; transition: border-color .2s, color .2s;
}
.site-nav .site-nav__external:hover { border-color: var(--gold); color: #000; }
.site-nav__external svg { flex: none; width: .6rem; height: .6rem; }

.site-footer { background: var(--midnight); color: rgba(255, 255, 255, .78); font-size: .95rem; }
.site-footer__main { padding-top: 3rem; padding-bottom: 2.5rem; text-align: center; }
.site-footer__main .kicker { color: rgba(255, 255, 255, .9); }
.site-footer__main p { margin: 0 0 .4rem; }
.site-footer__main strong { color: #fff; font-weight: 600; }
.site-footer a { color: inherit; }
.site-footer a:hover { color: #fff; }
.site-footer__bottom { padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, .08); color: #9a9ea6; font-size: .85rem; }
.site-footer__bottom a { color: #c9ccd1; font-weight: 600; text-decoration: none; }
.site-footer__bottom a:hover { color: #fff; }

/* Knöpfe */

.actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin: 1.75rem 0 0; }
.actions--center { justify-content: center; }

.button {
  display: inline-block; padding: .85rem 1.8rem; border: 1px solid var(--heading); border-radius: 999px;
  background: transparent; color: var(--heading); cursor: pointer;
  font: 600 .8rem/1.3 var(--montserrat); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.button:hover { background: var(--heading); color: #fff; }
.button--gold { background: var(--gold); border-color: var(--gold); color: var(--midnight); }
.button--gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--midnight); }
.button--light { border-color: rgba(255, 255, 255, .85); color: #fff; }
.button--light:hover { background: #fff; color: var(--midnight); }

/* Fotobänder: Startseite, Speisekarte, Öffnungszeiten auf der Startseite */

.hero, .banner, .photo-band {
  position: relative; background: var(--midnight) center / cover no-repeat; color: #fff;
}
.hero::before, .banner::before, .photo-band::before { content: ""; position: absolute; inset: 0; }
.hero > *, .banner > *, .photo-band > * { position: relative; }
.hero .kicker, .banner .kicker, .photo-band .kicker { color: rgba(255, 255, 255, .92); }

.hero {
  display: flex; align-items: center; min-height: min(78vh, 720px); padding: 5rem 0; text-align: center;
  background-image: url("img/startseite-960.jpg");
}
.hero::before { background: linear-gradient(rgba(14, 18, 24, .3), rgba(14, 18, 24, .68)); }
.hero__inner { max-width: 860px; }
.hero h1 { margin: 0 0 1.25rem; color: #fff; font: 400 clamp(2.3rem, 6vw, 4rem)/1.2 var(--playfair); }
.hero p:not(.kicker) { margin: 0 auto; max-width: 44rem; font: 400 clamp(1rem, 2.2vw, 1.2rem)/1.8 var(--montserrat); }
.hero .kicker { margin-bottom: 1.25rem; }
.hero .actions { margin-top: 2.25rem; }

.banner {
  display: grid; place-items: center; min-height: clamp(240px, 33vw, 420px); padding: 2rem 16px; text-align: center;
  background-image: url("img/speisekarte-960.jpg");
}
.banner::before { background: linear-gradient(rgba(14, 18, 24, .2), rgba(14, 18, 24, .5)); }
.banner h1 {
  margin: 0; color: #fff; font: 600 clamp(2.4rem, 6vw, 3.75rem)/1.1 var(--open-sans);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}

.photo-band { padding: clamp(3.5rem, 8vw, 6rem) 0; background-image: url("img/speisekarte-960.jpg"); font-family: var(--montserrat); }
.photo-band::before { background: rgba(14, 18, 24, .82); }
.photo-band h2 { margin: 0 0 1.25rem; color: #fff; font: 400 clamp(1.6rem, 3.5vw, 1.9rem)/1.3 var(--playfair); }
.photo-band h3 { margin: 1.4rem 0 .3rem; color: var(--gold); font: 700 .72rem/1.4 var(--montserrat); letter-spacing: .16em; text-transform: uppercase; }
.photo-band p { margin: 0 0 .5rem; letter-spacing: .3px; line-height: 1.9; }
.photo-band a { color: #fff; }
.photo-band .button--gold { color: var(--midnight); }
.photo-band .columns > div + div { padding-top: 2.5rem; border-top: 1px solid rgba(255, 255, 255, .12); }

/* Startseite */

.welcome { background: var(--offwhite); text-align: center; }
.welcome__inner { max-width: 760px; }
.welcome h2 { margin: 0 0 1.5rem; font: 400 clamp(2.2rem, 5vw, 3rem)/1.3 var(--playfair); }
.welcome p:not(.kicker) { color: var(--muted); font: 400 1.05rem/1.85 var(--montserrat); }
.welcome .kicker { margin-bottom: 1.1rem; }

.columns { display: grid; gap: 2.5rem 4rem; }

/* Geänderte Öffnungszeiten (Startseite und Kontakt) */

.notice h2 { font-size: clamp(2rem, 5vw, 3.1rem); margin-bottom: 1.25rem; }
.notice p:not(.kicker) { max-width: 58rem; font-size: 1.1rem; line-height: 1.65; }
.notice__months {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.25rem 2.5rem;
  margin: 2rem 0 0;
}
.notice__months div { padding-top: .9rem; border-top: 1px solid var(--rule); }
.notice__months dt {
  margin-bottom: .35rem; color: var(--gold-ink);
  font: 700 .72rem/1.3 var(--montserrat); letter-spacing: .16em; text-transform: uppercase;
}
.notice__months dd { margin: 0; color: var(--heading); font-size: 1.1rem; line-height: 1.5; }

/* Öffnungszeiten als Liste */

.hours { margin: 0; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0 0 1rem; }
.photo-band .hours dt { color: #fff; font-weight: 600; }

/* Textseiten */

.prose { max-width: 820px; padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.prose h2 { font-size: 1.35rem; margin: 2rem 0 .5rem; }
.meta { color: var(--muted); font-size: .9rem; }

/* Speisekarte */

.menu-section { padding: clamp(2.75rem, 6vw, 4.25rem) 0; border-bottom: 1px solid var(--rule); }
.menu-section h2 {
  margin: 0 0 2.5rem; text-align: center; text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 1.75rem); font-weight: 700; letter-spacing: .03em;
}
.menu-section h2::after { content: ""; display: block; width: 2.5rem; height: 1px; margin: 1rem auto 0; background: var(--gold); }
.menu-items { display: grid; gap: 1.9rem 3.5rem; }
.dish h3, .set-menu__course h3 {
  margin: 0; color: var(--navy); text-transform: uppercase;
  font: 700 1.05rem/1.45 var(--cabin); letter-spacing: 1px;
}
.dish__price { white-space: nowrap; color: var(--gold-ink); }
.dish__line { margin: .3rem 0 0; color: var(--dish-line); font: 400 .9rem/1.65 var(--cabin); }
.dish__variant { margin: .4rem 0 0 .4rem; color: var(--dish-line); text-transform: uppercase; font: 400 .85rem/1.5 var(--cabin); }
.menu-note { margin: 2.25rem 0 0; color: var(--dish-line); font: 400 .85rem/1.5 var(--cabin); }

.set-menu { background: var(--offwhite); text-align: center; }
.set-menu h2 { text-transform: none; font: 400 clamp(1.9rem, 4vw, 2.4rem)/1.3 var(--playfair); letter-spacing: 0; }
.set-menu__course { margin: 0 auto 1.6rem; max-width: 30rem; }
.set-menu__course .dish__line { color: var(--heading); }
.set-menu__price { margin: 2rem 0 0; color: var(--heading); font: 400 .95rem/1.5 var(--cabin); }
.set-menu__price span { display: block; color: var(--navy); font-weight: 700; font-size: 1.4rem; letter-spacing: 1px; }

.menu-footnote { max-width: 60rem; margin: 0 auto; padding: 2.5rem 16px 0; text-align: center; color: var(--heading); font-size: .8rem; }

/* Kontakt und Formular */

.contact { font-size: 1.1rem; color: #727272; }
.contact h2:not(:first-child) { margin-top: 2.5rem; }
.contact h3 { color: var(--text); font-size: 1.1rem; margin: 1.25rem 0 0; }
.contact p { margin: 0 0 .5rem; }
.contact .hours { margin-top: .25rem; }

.reservation {
  padding: clamp(1.25rem, 4vw, 2.25rem); background: var(--offwhite);
  border: 1px solid var(--rule); border-radius: 16px;
}

.field { margin: 0 0 1.1rem; padding: 0; border: 0; }
.field label, .field legend { display: block; margin-bottom: .35rem; padding: 0; color: var(--text); font-size: .9rem; }
.field input, .field select, .field textarea {
  display: block; width: 100%; padding: .8rem .9rem; border: 1px solid #cfc8ba; border-radius: 8px;
  background: #fff; color: var(--midnight); font: inherit; font-size: 1rem;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: 2px solid var(--gold); outline-offset: 0; }
.field input[type="number"] { max-width: 8rem; }
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field__error { display: block; margin-top: .3rem; color: var(--error); font-size: .9rem; }
.datetime { display: grid; grid-template-columns: 1fr; gap: .5rem; }

.hint { color: var(--text); font-size: .9rem; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: .8rem 1rem; border-left: 4px solid; border-radius: 4px; background: #fff; }
.alert--ok { border-color: var(--ok); color: var(--ok); }
.alert--error { border-color: var(--error); color: var(--error); }

.directions { background: var(--cream); text-align: center; color: var(--muted); }
.directions h2 { font-weight: 400; margin-bottom: .5rem; }
.directions h2 + p { margin-top: 0; }
.directions strong { color: var(--text); }

/* Schmal: Catering rückt in die Logozeile nach rechts, die beiden Seitenlinks stehen darunter. */
@media (max-width: 759px) {
  .site-header__inner { position: relative; }
  .site-nav .site-nav__external { position: absolute; top: .95rem; right: 16px; margin: 0; }
}

@media (min-width: 640px) {
  .datetime { grid-template-columns: 2fr 1fr; }
}

@media (min-width: 760px) {
  .menu-items { grid-template-columns: 1fr 1fr; }
  .columns { grid-template-columns: 1fr 1fr; }
  .photo-band .columns > div + div { padding: 0 0 0 4rem; border-top: 0; border-left: 1px solid rgba(255, 255, 255, .12); }
}

@media (min-width: 961px) {
  .site-header__inner { padding-top: 1.1rem; padding-bottom: 1.1rem; }
  .hero { background-image: url("img/startseite-1920.jpg"); }
  .banner, .photo-band { background-image: url("img/speisekarte-1920.jpg"); }
}
