/* ASPIRIN – Wein & Prosecco Bar, Eisenstadt
   Ein Stylesheet für alle Seiten. Keine externen Quellen (DSGVO): Schriften liegen in /assets/fonts.
   Farben nach dem echten Schild über der Tür: Schiefer-Blau, Gold, Eiche. */

@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --nacht: #18202b;      /* Grund, wie das Schild bei Nacht */
  --schild: #232e3d;     /* erhöhte Flächen */
  --schild-2: #2e3b4e;   /* Linien, Hover */
  --gold: #dcb064;       /* Schrift auf dem Schild */
  --gold-hell: #ecd29c;
  --eiche: #b07b47;      /* Holzrahmen */
  --kalk: #f3efe7;       /* Text auf dunkel, Kalkwand */
  --kalk-2: #c9c4b9;     /* Nebentext, 9:1 auf --nacht */
  --todo-bg: #ffe066;
  --todo-fg: #2a2100;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --mass: min(72rem, 100% - 2rem);
  --text: min(40rem, 100%);
  --r: 6px;
  --bar-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--nacht);
  color: var(--kalk);
  font: 400 1.0625rem/1.65 var(--sans);
  padding-bottom: var(--bar-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hell); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold-hell); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  color: var(--gold);
  margin: 0 0 .5em;
  font-variation-settings: "opsz" 60;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 1.4rem + 4vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); }
h3 { font-size: 1.35rem; font-variation-settings: "opsz" 24; }
p { margin: 0 0 1em; max-width: 62ch; }
.lead { font-size: 1.2rem; color: var(--kalk); }
.leise { color: var(--kalk-2); font-size: .95rem; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--gold); color: var(--nacht); padding: .6rem 1rem; border-radius: var(--r);
}
.skip:focus { top: 1rem; }

.wrap { width: var(--mass); margin-inline: auto; }

/* Platzhalter für offene Fragen – gut sichtbar, damit nichts Erfundenes live geht */
.todo {
  background: var(--todo-bg); color: var(--todo-fg);
  font: 700 .85rem/1.4 var(--sans);
  padding: .15em .45em; border-radius: 3px;
}

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--nacht) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--schild-2);
}
.kopf .wrap { display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; }
.logo { display: block; flex: none; }
.logo img { width: 128px; height: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav a {
  display: block; padding: .55rem .7rem; color: var(--kalk); text-decoration: none;
  font-size: .98rem; border-radius: var(--r);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); background: var(--schild); }
.menue-knopf { display: none; }

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7rem 1.3rem;
  font: 700 1rem/1.2 var(--sans); text-decoration: none;
  border-radius: var(--r); border: 2px solid var(--gold);
  background: var(--gold); color: var(--nacht); cursor: pointer;
}
.knopf:hover { background: var(--gold-hell); border-color: var(--gold-hell); color: var(--nacht); }
.knopf.zweit { background: transparent; color: var(--gold-hell); }
.knopf.zweit:hover { background: var(--schild); color: var(--gold-hell); }
.knopf svg { width: 1.2em; height: 1.2em; flex: none; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: .75rem; }
.kopf .knopf { min-height: 42px; padding: .5rem 1rem; }

@media (max-width: 860px) {
  .menue-knopf {
    display: inline-flex; margin-left: auto; align-items: center; gap: .5rem;
    min-height: 44px; padding: .5rem .8rem; background: none; color: var(--kalk);
    border: 1px solid var(--schild-2); border-radius: var(--r); font: 700 .95rem var(--sans); cursor: pointer;
  }
  .menue-knopf .striche, .menue-knopf .striche::before, .menue-knopf .striche::after {
    display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: "";
  }
  .menue-knopf .striche::before { position: absolute; top: -6px; }
  .menue-knopf .striche::after { position: absolute; top: 6px; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--nacht); border-bottom: 1px solid var(--schild-2); padding: .5rem 1rem 1rem;
  }
  .nav.offen { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { padding: .8rem .5rem; font-size: 1.1rem; }
  .kopf .knopf.reserv { display: none; }
}

/* Aktionsleiste unten (nur Handy) */
.aktionsleiste { display: none; }
@media (max-width: 860px) {
  :root { --bar-h: 68px; }
  .aktionsleiste {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--schild); border-top: 1px solid var(--schild-2);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .aktionsleiste a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 52px; border-radius: var(--r); text-decoration: none;
    color: var(--kalk); font: 700 .8rem/1.1 var(--sans);
  }
  .aktionsleiste a svg { width: 22px; height: 22px; }
  .aktionsleiste a.haupt { background: var(--gold); color: var(--nacht); }
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.abschnitt.hell { background: var(--kalk); color: #2a2a2a; }
.abschnitt.hell h2, .abschnitt.hell h3 { color: #2b3547; }
.abschnitt.hell a { color: #6b4520; }
.abschnitt.hell .leise { color: #555048; }
.abschnitt.schild { background: var(--schild); }
.abschnitt-kopf { margin-bottom: 2rem; max-width: 46rem; }

/* Goldene Zierlinie wie auf dem Schild */
.zier {
  display: block; width: 9rem; height: 10px; margin: 0 0 1.25rem;
  background:
    linear-gradient(var(--gold), var(--gold)) left 50% / calc(50% - 9px) 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right 50% / calc(50% - 9px) 1px no-repeat;
  position: relative;
}
.zier::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px;
  border: 1px solid var(--gold); transform: translate(-50%, -50%) rotate(45deg);
}

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1fr; }
.hero-bild { position: relative; }
.hero-bild img { width: 100%; height: min(62vh, 520px); object-fit: cover; object-position: 50% 25%; }
.hero-text { padding: 2rem 1rem 3rem; width: var(--mass); margin-inline: auto; }
.hero h1 .marke {
  display: block; font-family: var(--sans); font-size: 1rem; font-weight: 700;
  letter-spacing: .02em; color: var(--kalk-2); margin-bottom: .6rem;
}
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: calc(100vh - 4.25rem); max-height: 900px; }
  .hero-bild img { height: 100%; object-position: 50% 30%; }
  .hero-text { width: auto; margin: 0; padding: clamp(2rem, 5vw, 5rem); align-self: center; max-width: 44rem; }
}

/* Wochenleiste: das Erkennungszeichen der Seite */
.woche { margin-top: 2.25rem; }
.woche-status { font: 700 1rem/1.4 var(--sans); margin: 0 0 .75rem; min-height: 1.4em; }
.woche-status .punkt { display: inline-block; width: .6em; height: .6em; border-radius: 50%; background: var(--kalk-2); margin-right: .45em; vertical-align: .05em; }
.woche-status.offen .punkt { background: #7fd18b; }
.woche ol {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--schild-2); border-radius: var(--r); overflow: hidden;
}
.woche li {
  padding: .6rem .25rem; text-align: center; border-right: 1px solid var(--schild-2);
  font: 400 .8rem/1.3 var(--sans); color: var(--kalk-2);
}
.woche li:last-child { border-right: 0; }
.woche li b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--kalk); margin-bottom: .15rem; }
.woche li.zu { background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(255,255,255,.03) 6px 12px); }
.woche li.zu b { color: var(--kalk-2); }
.woche li.heute { background: var(--gold); color: var(--nacht); }
.woche li.heute b { color: var(--nacht); }
.woche .zeit { display: block; }
.woche .knapp { display: none; }
@media (max-width: 480px) { .woche .lang { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .woche .knapp { display: inline; } }
@media (max-width: 420px) {
  .woche li { font-size: .7rem; padding-inline: .1rem; }
  .woche li b { font-size: 1rem; }
}

/* ---------- Termine ---------- */
.termine { list-style: none; margin: 0 0 2rem; padding: 0; border-top: 1px solid var(--schild-2); }
.termin {
  display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem 1.5rem; align-items: start;
  padding: 1.25rem 0; border-bottom: 1px solid var(--schild-2);
}
.termin time { font-family: var(--serif); color: var(--gold); line-height: 1.05; }
.termin time .tag { display: block; font-size: 2.4rem; font-weight: 500; }
.termin time .mon { display: block; font: 700 .85rem/1.3 var(--sans); color: var(--kalk-2); }
.termin h3 { margin: 0 0 .25rem; font-size: 1.3rem; }
.termin h3 a { color: inherit; text-decoration: none; }
.termin h3 a:hover { text-decoration: underline; }
.termin p { margin: 0; color: var(--kalk-2); }

.formate { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.format {
  position: relative; display: flex; flex-direction: column; gap: .5rem;
  padding: 1.4rem; border: 1px solid var(--schild-2); border-radius: var(--r); background: var(--schild);
}
.format h3 { margin: 0; }
.format h3 a { color: var(--gold); text-decoration: none; }
.format h3 a::after { content: ""; position: absolute; inset: 0; }
.format:hover { border-color: var(--eiche); }
.format p { margin: 0; color: var(--kalk-2); font-size: .98rem; }

/* ---------- Lokal ---------- */
.zwei { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .zwei { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; } }
.galerie { display: grid; gap: .6rem; grid-template-columns: repeat(2, 1fr); }
.galerie figure { margin: 0; }
.galerie img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; }
.galerie .gross { grid-column: 1 / -1; }
.galerie .gross img { aspect-ratio: 16 / 9; }

.glas { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin-top: 2rem; }
.glas div { border-top: 2px solid var(--eiche); padding-top: 1rem; }
.glas h4 { margin: 0 0 .35rem; font: 500 1.35rem/1.2 var(--serif); color: #2b3547; }
.glas p { margin: 0; }

.gastgeberin { display: grid; gap: 1.5rem; align-items: center; margin-top: 3rem; }
.gastgeberin img { width: 9rem; aspect-ratio: 1; object-fit: cover; object-position: 50% 15%; border-radius: 50%; border: 2px solid var(--eiche); }
@media (min-width: 640px) { .gastgeberin { grid-template-columns: auto 1fr; } }
.gastgeberin blockquote { margin: 0; font: italic 400 1.35rem/1.45 var(--serif); font-variation-settings: "opsz" 24; color: #2b3547; }

/* ---------- Reservieren ---------- */
.reserv-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .reserv-grid { grid-template-columns: 5fr 6fr; gap: 4rem; } }
.direkt { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: .75rem; }
.direkt a {
  display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; min-height: 56px;
  border: 1px solid var(--schild-2); border-radius: var(--r); text-decoration: none; color: var(--kalk);
  background: var(--schild);
}
.direkt a:hover { border-color: var(--gold); color: var(--kalk); }
.direkt svg { width: 26px; height: 26px; color: var(--gold); flex: none; }
.direkt small { display: block; color: var(--kalk-2); font-size: .85rem; }
.direkt strong { font-size: 1.05rem; }

form.anfrage { display: grid; gap: 1rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--schild); border-radius: var(--r); border: 1px solid var(--schild-2); }
.felder { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
label { display: block; font: 700 .9rem/1.3 var(--sans); margin-bottom: .35rem; color: var(--kalk); }
input, select, textarea {
  width: 100%; min-height: 48px; padding: .65rem .8rem;
  font: 400 1rem/1.4 var(--sans); color: var(--kalk);
  background: var(--nacht); border: 1px solid #56657c; border-radius: var(--r);
}
textarea { min-height: 6rem; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: 2px solid var(--gold); outline-offset: 0; }
input::-webkit-calendar-picker-indicator { filter: invert(.85); }
.hinweis { font-size: .9rem; color: var(--kalk-2); margin: 0; }
.hinweis.warn { color: var(--gold-hell); }
[hidden] { display: none !important; }

/* ---------- Öffnungszeiten & Anfahrt ---------- */
.zeiten { width: 100%; max-width: 26rem; border-collapse: collapse; font-size: 1.05rem; }
.zeiten th, .zeiten td { padding: .55rem 0; border-bottom: 1px solid rgba(0,0,0,.12); text-align: left; }
.zeiten th { font-weight: 400; }
.zeiten td { text-align: right; font-variant-numeric: tabular-nums; }
.zeiten tr.zu td { color: #5c574e; }
.zeiten tr.heute th, .zeiten tr.heute td { font-weight: 700; }
.karte { margin: 0; }
.karte > a { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid rgba(0,0,0,.15); }
.karte img { width: 100%; }
.karte figcaption { margin-top: .6rem; font-size: .9rem; }
address { font-style: normal; }

/* ---------- Newsletter ---------- */
.newsletter { text-align: left; }
.newsletter .knopfreihe { margin-top: 1.5rem; }

/* ---------- Unterseiten ---------- */
.seitenkopf { padding-block: clamp(2rem, 6vw, 4.5rem) 1.5rem; }
.brotkrumen { font-size: .9rem; color: var(--kalk-2); margin-bottom: 1.25rem; }
.brotkrumen ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.brotkrumen li + li::before { content: "/"; margin-right: .4rem; color: var(--schild-2); }
.brotkrumen a { color: var(--kalk-2); }
.fakten { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .6rem; }
.fakten li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--schild-2); }
.fakten li span:first-child { color: var(--kalk-2); font-size: .95rem; }
@media (max-width: 480px) { .fakten li { grid-template-columns: 5.5rem 1fr; gap: .75rem; } }
.liste { padding-left: 1.2rem; margin: 0 0 1.5rem; }
.liste li { margin-bottom: .4rem; }
.liste li::marker { color: var(--gold); }
.bilder3 { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); margin-block: 2rem; }
.bilder3 img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }

.winzer { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--schild-2); }
.winzer li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--schild-2); }
.winzer time { color: var(--gold); font-variant-numeric: tabular-nums; }
.winzer .ort { color: var(--kalk-2); }
.winzer .pause { color: var(--kalk-2); font-style: italic; }

.cta-band { background: var(--schild); border-block: 1px solid var(--schild-2); }
.cta-band .wrap { display: grid; gap: 1.5rem; padding-block: 2.75rem; }
@media (min-width: 800px) { .cta-band .wrap { grid-template-columns: 1fr auto; align-items: center; } }
.cta-band h2 { font-size: 1.8rem; margin: 0 0 .3rem; }
.cta-band p { margin: 0; color: var(--kalk-2); }

.kalender-platz {
  border: 1px dashed #56657c; border-radius: var(--r); padding: 1.5rem; background: var(--schild);
}
.kalender-platz iframe { width: 100%; height: 600px; border: 0; background: #fff; border-radius: 3px; }

.rechtstext h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.rechtstext h3 { font-size: 1.15rem; margin-top: 1.75rem; color: var(--gold-hell); }
.rechtstext p, .rechtstext li { max-width: 68ch; }

/* ---------- Fuß ---------- */
.fuss { background: #121922; border-top: 1px solid var(--schild-2); padding-block: 3rem 2rem; font-size: .95rem; color: var(--kalk-2); }
.fuss .wrap { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.fuss h2 { font-size: 1.1rem; color: var(--kalk); font-family: var(--sans); font-weight: 700; margin-bottom: .6rem; letter-spacing: 0; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.fuss a { color: var(--kalk-2); }
.fuss a:hover { color: var(--gold); }
.fuss .unten { grid-column: 1 / -1; border-top: 1px solid var(--schild-2); padding-top: 1.25rem; font-size: .85rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media print { .kopf, .aktionsleiste, .fuss, .cta-band { display: none; } body { background: #fff; color: #000; } }
