/* Gemeinsames Aussehen der öffentlichen Seiten, gleiche Farben und Schriften wie die Gästeinfo */
:root {
  --bg: #eef2f2; --surface: #ffffff; --tile: #f4f7f7; --fg: #1c2a30; --muted: #5a6a71; --line: #e1e8ea;
  --lake: #1f5f7a; --pine: #3f6b3a;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 1px 2px rgba(20,40,50,.05), 0 8px 28px rgba(20,40,50,.07);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1215; --surface: #131d22; --tile: #1a262c; --fg: #e6eef1; --muted: #9db0b8; --line: #24343b;
    --lake: #7cc0dc; --pine: #9fcf8f; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 28px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1215; --surface: #131d22; --tile: #1a262c; --fg: #e6eef1; --muted: #9db0b8; --line: #24343b;
  --lake: #7cc0dc; --pine: #9fcf8f; color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--body); overflow-x: clip;
  padding: 0 max(16px, env(safe-area-inset-right, 0px)) 48px max(16px, env(safe-area-inset-left, 0px)); }
img { max-width: 100%; }
a { color: var(--lake); }
.wrap { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
[data-l] { display: none; }
:root[lang="de"] [data-l="de"], :root[lang="en"] [data-l="en"], :root[lang="cs"] [data-l="cs"] { display: inline; }

.hero { position: relative; margin-inline: calc(50% - 50vw); min-height: clamp(460px, 70vw, 640px);
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; gap: 14px;
  padding: calc(env(safe-area-inset-top, 0px) + 72px) 16px 56px; color: #fff; /* Platz für Leiste oben */ border-radius: 0 0 32px 32px; overflow: hidden;
  background: #2b3a2a url("/fotos/eingang.jpg") center 45% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,16,20,.8) 0%, rgba(6,16,20,.3) 50%, rgba(6,16,20,.15) 100%); }
.hero > * { position: relative; }
.bar { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 14px); left: 0; right: 0; margin: 0 auto;
  width: min(860px, calc(100% - 32px)); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.eyebrow { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: #fff;
  background: rgba(0,0,0,.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 6px 12px; border-radius: 999px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.lang { flex: none; display: inline-flex; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; overflow: hidden;
  background: rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lang button { font: 600 13px var(--body); padding: 6px 14px; border: 0; background: transparent; color: #fff; cursor: pointer; }
.lang button[aria-pressed="true"] { background: #fff; color: #10303d; }
h1 { font: 800 clamp(40px, 9vw, 72px)/0.98 var(--display); letter-spacing: -0.03em; margin: 0; text-wrap: balance;
  text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.lede { font-size: 18px; max-width: 48ch; margin: 0; color: rgba(255,255,255,.94); }
.cta { display: inline-block; font: 700 17px var(--body); color: #10303d; background: #fff; text-decoration: none;
  padding: 14px 26px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.cta.alt { background: var(--lake); color: #fff; box-shadow: none; }
.cta:focus-visible, .lang button:focus-visible, nav a:focus-visible, .thumb:focus-visible { outline: 3px solid var(--pine); outline-offset: 2px; }

nav.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 10px); z-index: 6; margin-top: -30px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; padding: 6px; border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); border: 1px solid var(--line); box-shadow: var(--shadow); }
nav.toc a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; padding: 7px 12px; border-radius: 999px; }
nav.toc a:hover { background: var(--tile); color: var(--fg); }

section { background: var(--surface); border-radius: 26px; padding: 26px clamp(18px, 4vw, 32px); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 16px; }
h2 { font: 700 clamp(26px, 5vw, 34px)/1.1 var(--display); letter-spacing: -0.02em; margin: 0; }
h3 { font: 700 16px/1.3 var(--body); margin: 0; }
p { margin: 0; }
.muted { color: var(--muted); font-size: 14px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.tile { background: var(--tile); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.tile .icon { font-size: 22px; line-height: 1; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fact { border-radius: 18px; padding: 18px 20px; color: var(--bg);
  background: linear-gradient(135deg, var(--lake), color-mix(in srgb, var(--lake) 70%, var(--pine))); }
.fact .k { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.fact .v { font: 700 28px/1.1 var(--display); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts { grid-template-columns: 1fr; } }
.thumb { position: relative; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; background: var(--tile); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb > span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; font: 600 13px var(--body); color: #fff;
  text-align: left; background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0)); }
#lightbox { padding: 0; border: 0; border-radius: 14px; background: var(--surface); color: var(--fg); width: 100%;
  max-width: min(960px, calc(100vw - 32px)); overflow: hidden; }
#lightbox::backdrop { background: rgba(5,12,15,.85); }
#lb-img { display: block; width: 100%; max-height: 75vh; object-fit: contain; background: #000; }
.lb-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
#lb-cap { flex: 1; min-width: 0; font-weight: 600; }
.lb-bar button { font: 600 18px var(--body); width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg); color: var(--fg); cursor: pointer; }
.book { text-align: center; align-items: center;
  background: linear-gradient(135deg, var(--lake), color-mix(in srgb, var(--lake) 65%, var(--pine))); color: #fff; }
.book h2 { color: #fff; }
.book .row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.book .cta.alt { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.5); }
footer { text-align: center; color: var(--muted); font-size: 13px; padding-top: 8px; }
footer a { color: inherit; }

/* Rechtstexte */
.legal { max-width: 760px; margin: 0 auto; padding-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.legal section h2 { font-size: 22px; }
.legal h1 { color: var(--fg); text-shadow: none; font-size: clamp(32px, 7vw, 48px); }
.legal ul { margin: 0; padding-left: 20px; }
.legal li { margin: 4px 0; }
.back { font-weight: 600; text-decoration: none; }
mark.todo { background: #fff3c4; color: #6b4c00; padding: 0 4px; border-radius: 4px; }
