/* Gästeportal Landhotel Henkenhof – Aussehen (aus dem Klick-Entwurf übernommen).
   Schriften liegen auf dem eigenen Webspace (keine Verbindung zu Google). Lizenz: SIL Open Font License. */
@font-face {
  font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../schriften/source-sans-3-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Vidaloka"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../schriften/vidaloka-latin.woff2") format("woff2");
}
:root {
  --petrol: #043238;
  --petrol-2: #0B4650;
  --kupfer: #BC7343;
  --kupfer-knopf: #A85F31;
  --kupfer-hell: #D9945F;
  --grund: #E9EEEC;
  --flaeche: #FFFFFF;
  --flaeche-2: #F4F7F6;
  --linie: #D3DDDA;
  --text: #14282B;
  --text-leise: #4A5E61;
  --akzent-text: #A85F31;
  --leiste: #043238;
  --leiste-text: #FFFFFF;
  --gut: #2E7D5B;
  --gut-grund: #E3F1EA;
  --warn: #9A5B12;
  --warn-grund: #FBEBD6;
  --schatten: 0 1px 2px rgba(4,50,56,.08), 0 6px 20px rgba(4,50,56,.06);
  --titel: "Vidaloka", Georgia, "Times New Roman", serif;
  --schrift: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 10px;
  --nav-h: 64px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --grund: #061C20; --flaeche: #0C2A2F; --flaeche-2: #0F3238; --linie: #1F454B;
    --text: #E4ECEA; --text-leise: #A7BBB8; --akzent-text: #E0A574;
    --leiste: #03171A; --gut: #7FD0A8; --gut-grund: #123A2E; --warn: #F0BE7C; --warn-grund: #3A2A14;
    --schatten: 0 1px 2px rgba(0,0,0,.3);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --grund: #061C20; --flaeche: #0C2A2F; --flaeche-2: #0F3238; --linie: #1F454B;
  --text: #E4ECEA; --text-leise: #A7BBB8; --akzent-text: #E0A574;
  --leiste: #03171A; --gut: #7FD0A8; --gut-grund: #123A2E; --warn: #F0BE7C; --warn-grund: #3A2A14;
  --schatten: 0 1px 2px rgba(0,0,0,.3);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { background: var(--grund); }
body { margin: 0; color: var(--text); font-family: var(--schrift); font-size: 17px; line-height: 1.5; -webkit-text-size-adjust: 100%; }
h1, h2, h3 { font-family: var(--titel); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--kupfer-hell); outline-offset: 2px; }
svg.i { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Grundgerüst ---------- */
.app { min-height: 100vh; }
.kopf {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--leiste); color: var(--leiste-text);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px;
}
.kopf img { height: 38px; width: auto; display: block; }
.sprache { display: inline-flex; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; overflow: hidden; }
.sprache button { background: none; border: 0; padding: 6px 12px; font-size: 14px; font-weight: 700; letter-spacing: .06em; cursor: pointer; color: rgba(255,255,255,.75); min-height: 34px; }
.sprache button[aria-pressed="true"] { background: var(--kupfer-knopf); color: #fff; }

main { padding: 16px 16px calc(var(--nav-h) + 28px + env(safe-area-inset-bottom, 0px)); max-width: 1180px; margin: 0 auto; }
.ansicht { display: grid; gap: 18px; }
.ansicht[hidden] { display: none; }

.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: var(--flaeche); border-top: 1px solid var(--linie);
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: var(--nav-h); text-decoration: none; font-size: 12.5px; font-weight: 600; color: var(--text-leise);
}
.nav a[aria-current="page"] { color: var(--akzent-text); }
.nav a[aria-current="page"] svg.i { stroke-width: 2.1; }
.nav .nav-marke { display: none; }

/* Tablet & Desktop: Leiste links statt unten */
@media (min-width: 900px) {
  .app { display: grid; grid-template-columns: 250px 1fr; grid-template-rows: auto 1fr; align-content: start; }
  .kopf { grid-column: 1 / -1; padding: 12px 28px; }
  .kopf img { height: 46px; }
  .nav {
    position: sticky; top: 70px; bottom: auto; align-self: start;
    display: flex; flex-direction: column; gap: 4px;
    border: 0; background: transparent; padding: 24px 12px 24px 20px;
  }
  .nav a { flex-direction: row; justify-content: flex-start; gap: 12px; min-height: 48px; padding: 0 16px; border-radius: 8px; font-size: 17px; }
  .nav a:hover { background: var(--flaeche); }
  .nav a[aria-current="page"] { background: var(--flaeche); box-shadow: var(--schatten); }
  main { padding: 24px 28px 48px 8px; margin: 0; }
}

/* ---------- Bausteine ---------- */
.karte { background: var(--flaeche); border-radius: var(--radius); box-shadow: var(--schatten); padding: 18px; }
.ueber { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--akzent-text); }
.leise { color: var(--text-leise); }
.titelzeile { display: grid; gap: 6px; padding: 4px 2px 0; }
.titelzeile h1 { font-size: clamp(30px, 6vw, 42px); }
h2 { font-size: 24px; }
h3 { font-size: 20px; }

.hero { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; min-height: clamp(300px, 62vw, 400px); display: flex; align-items: flex-end; background: var(--petrol); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,50,56,0) 20%, rgba(4,50,56,.88) 100%); }
.hero-text { position: relative; z-index: 1; padding: 20px; display: grid; gap: 4px; }
.hero-text .ueber { color: var(--kupfer-hell); }
.hero-text h1 { font-size: clamp(30px, 6vw, 44px); }

.status { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .status { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .status { grid-template-columns: repeat(4, 1fr); } }
.status .karte { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; }
.status strong { display: block; font-size: 17px; }
.pille { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; margin-top: 4px; }
.pille::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pille.gut { color: var(--gut); background: var(--gut-grund); }
.pille.warn { color: var(--warn); background: var(--warn-grund); }
.symbol { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--flaeche-2); color: var(--akzent-text); flex: none; }

.hinweis { border-left: 4px solid var(--kupfer); display: grid; gap: 6px; }
.hinweis p { font-size: 18px; }

.kacheln { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .kacheln { grid-template-columns: repeat(3, 1fr); } }
.kachel { background: var(--flaeche); border-radius: var(--radius); box-shadow: var(--schatten); padding: 16px; display: grid; gap: 10px; text-decoration: none; min-height: 104px; align-content: start; cursor: pointer; border: 0; text-align: left; }
.kachel:hover { outline: 2px solid var(--linie); }
.kachel .symbol { background: var(--petrol); color: #fff; }
.kachel b { font-size: 17px; line-height: 1.25; }
.kachel small { display: block; color: var(--text-leise); font-size: 14px; margin-top: 2px; }

.zwei { display: grid; gap: 18px; }
@media (min-width: 760px) { .zwei { grid-template-columns: 1fr 1fr; } }

.angebot { display: grid; overflow: hidden; padding: 0; }
.angebot img { width: 100%; height: 170px; object-fit: cover; display: block; }
.fruehstueck-karte img { object-position: 50% 45%; }
@media (min-width: 760px) { .fruehstueck-karte { grid-template-columns: 2fr 3fr; } .fruehstueck-karte img { height: 100%; min-height: 200px; } .wander-karte { grid-template-columns: 2fr 3fr; } .wander-karte img { height: 100%; min-height: 260px; } }
.angebot .innen { padding: 16px 18px 18px; display: grid; gap: 8px; }

.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 8px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 16px; }
.knopf.voll { background: var(--kupfer-knopf); color: #fff; }
.knopf.voll:hover { background: #8F4F27; }
.knopf.linie { border-color: var(--linie); background: var(--flaeche); color: var(--text); }
.knopf.linie:hover { border-color: var(--kupfer); }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 10px; }

/* Suche + Infomappe */
.suche { position: relative; }
.suche input { width: 100%; min-height: 52px; border-radius: 10px; border: 1px solid var(--linie); background: var(--flaeche); color: var(--text); padding: 0 16px 0 46px; font: inherit; }
.suche svg { position: absolute; left: 14px; top: 15px; color: var(--text-leise); }
.az { display: grid; gap: 10px; }
@media (min-width: 1100px) { .az { grid-template-columns: 1fr 1fr; align-items: start; } }
details.eintrag { background: var(--flaeche); border-radius: var(--radius); box-shadow: var(--schatten); }
details.eintrag summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-height: 56px; font-weight: 700; font-size: 17px; }
details.eintrag summary::-webkit-details-marker { display: none; }
details.eintrag summary::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--text-leise); border-bottom: 2px solid var(--text-leise); transform: rotate(45deg); transition: transform .2s; flex: none; }
details.eintrag[open] summary::after { transform: rotate(-135deg); }
details.eintrag .antwort { padding: 0 16px 16px 16px; display: grid; gap: 8px; color: var(--text); }
details.eintrag .antwort a { color: var(--akzent-text); font-weight: 600; }
.info-bild { width: 100%; max-height: 220px; object-fit: cover; border-radius: 8px; display: block; }
.buchstabe { width: 32px; height: 32px; border-radius: 8px; background: var(--flaeche-2); display: grid; place-items: center; font-family: var(--titel); color: var(--akzent-text); flex: none; }
.leer { padding: 20px; text-align: center; }
mark { background: var(--warn-grund); color: inherit; border-radius: 3px; }

/* Filter-Chips */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips button { flex: none; border: 1px solid var(--linie); background: var(--flaeche); border-radius: 999px; padding: 0 16px; min-height: 40px; font-weight: 600; font-size: 15px; cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--petrol); border-color: var(--petrol); color: #fff; }

/* Listen-Karten (Restaurants, Freizeit) */
.raster { display: grid; gap: 14px; }
@media (min-width: 700px) { .raster { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1250px) { .raster { grid-template-columns: repeat(3, 1fr); } }
.ort { display: grid; gap: 8px; align-content: start; }
.ort .art { font-size: 14px; color: var(--text-leise); }
.ort .zeile { display: flex; gap: 8px; align-items: flex-start; font-size: 15.5px; }
.ort .zeile svg.i { width: 18px; height: 18px; margin-top: 3px; color: var(--text-leise); }
.ort .aktionen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ort .aktionen a { min-height: 42px; font-size: 15px; padding: 0 14px; }
.ort.mit-bild { padding: 0; overflow: hidden; }
.ort.mit-bild img { width: 100%; height: 150px; object-fit: cover; display: block; }
.ort.mit-bild .innen { padding: 14px 18px 18px; display: grid; gap: 8px; }
.bildrahmen { position: relative; }
.nachweis { position: absolute; right: 6px; bottom: 6px; font-size: 11px; line-height: 1.3; padding: 2px 6px; border-radius: 4px; background: rgba(0,0,0,.5); color: #fff; }
.foto-folgt { height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: linear-gradient(135deg, var(--petrol), var(--petrol-2)); color: var(--kupfer-hell); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.foto-folgt svg.i { width: 34px; height: 34px; }
.marken { display: flex; flex-wrap: wrap; gap: 6px; }
.marken span { font-size: 12.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--flaeche-2); color: var(--text-leise); }

/* Kontakt */
.gross-knoepfe { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.gross-knoepfe a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-height: 64px; border-radius: var(--radius); background: var(--petrol); color: #fff; text-decoration: none; font-weight: 700; }
.gross-knoepfe a small { display: block; font-weight: 400; opacity: .85; font-size: 14px; }
.liste { display: grid; gap: 0; }
.liste > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--linie); font-size: 15.5px; }
.liste > div:last-child { border-bottom: 0; }
.liste a { color: var(--akzent-text); font-weight: 700; white-space: nowrap; text-decoration: none; font-variant-numeric: tabular-nums; }
.notruf { background: var(--warn-grund); }
.notruf h2 { color: var(--warn); }

.fuss { font-size: 14px; color: var(--text-leise); display: grid; gap: 6px; padding: 8px 2px 0; }
.fuss a { color: inherit; }

/* Demo-Band und Bearbeiten */
dialog { border: 0; border-radius: 14px; padding: 0; width: min(560px, calc(100vw - 32px)); background: var(--flaeche); color: var(--text); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(4,50,56,.55); }
.dlg-kopf { background: var(--petrol); color: #fff; padding: 16px 20px; display: grid; gap: 2px; }
.dlg-kopf .ueber { color: var(--kupfer-hell); }
.dlg-inhalt { padding: 18px 20px; display: grid; gap: 14px; max-height: 70vh; overflow: auto; }
.feld { display: grid; gap: 6px; }
.feld label { font-weight: 700; font-size: 15px; }
.feld textarea, .feld select, .feld input { font: inherit; border: 1px solid var(--linie); border-radius: 8px; padding: 10px 12px; background: var(--flaeche-2); color: var(--text); width: 100%; }
.feld textarea { min-height: 76px; resize: vertical; }
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dlg-fuss { display: flex; gap: 10px; justify-content: flex-end; padding: 0 20px 18px; flex-wrap: wrap; }
.woche { display: grid; gap: 8px; }
.woche-kopf, .tag-zeile { display: grid; grid-template-columns: minmax(88px, 1.1fr) 1fr 1fr; gap: 8px; align-items: center; }
.woche-kopf { font-size: 13px; font-weight: 700; color: var(--text-leise); }
.tag-zeile .tag { display: grid; gap: 2px; font-weight: 700; font-size: 15px; }
.tag-zeile .tag label { font-weight: 400; font-size: 13px; color: var(--text-leise); display: flex; gap: 5px; align-items: center; cursor: pointer; }
.tag-zeile input[type="time"] { font: inherit; border: 1px solid var(--linie); border-radius: 8px; padding: 8px; background: var(--flaeche-2); color: var(--text); width: 100%; min-width: 0; }
.tag-zeile input[type="time"]:disabled { opacity: .4; }
.qr-info { font-size: 14px; background: var(--flaeche-2); border-radius: 8px; padding: 10px 12px; }
.qr-info code { font-size: 13px; word-break: break-all; }
.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--petrol); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; z-index: 50; box-shadow: var(--schatten); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Ergänzungen der echten Version ---------- */
[hidden] { display: none !important; }
.laden { padding: 60px 16px; text-align: center; color: var(--text-leise); }
.foto-ohne { height: 150px; display: grid; place-items: center; background: linear-gradient(135deg, var(--petrol), var(--petrol-2)); color: var(--kupfer-hell); }
.foto-ohne svg.i { width: 40px; height: 40px; }
.offline { background: var(--warn-grund); color: var(--warn); font-size: 14px; font-weight: 600; padding: 8px 16px; text-align: center; }
details.eintrag .antwort p { white-space: pre-line; }
.mail-hilfe { display: grid; gap: 10px; border-left: 4px solid var(--kupfer); }
.mail-hilfe input { font: inherit; border: 1px solid var(--linie); border-radius: 8px; padding: 10px 12px; background: var(--flaeche-2); color: var(--text); width: 100%; min-width: 0; }
