/* Colours mirror TCBWGetraenkebuchung/Views/Theme.swift so site and app read as one product. */
:root {
  --bg: #0f172a;
  --card: #1e293b;
  --border: #334155;
  --text: #f8fafc;
  --text-2: #94a3b8;
  --accent: #34d399;
  --accent-ink: #0f172a;
  --coaster: #f4eedc;
  --max: 68rem;
  --prose: 44rem;
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.1rem;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--text-2); text-decoration: none; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* Hero */
.hero { padding: 56px 0 24px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
.hero-icon { width: 112px; height: 112px; border-radius: 25px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; margin: 24px 0 12px; letter-spacing: -0.01em; }
.lede { font-size: 1.2rem; color: var(--text-2); margin: 0 0 28px; max-width: 34rem; }
.store-note {
  display: inline-block; padding: 12px 18px; border: 1px solid var(--border);
  border-radius: 12px; color: var(--text-2); font-size: 0.95rem;
}
.hero-shot { border-radius: 18px; border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(0,0,0,0.45); }

@media (min-width: 860px) {
  .hero .wrap { grid-template-columns: 1.1fr 0.9fr; }
}

/* Feature cards */
.features { padding: 40px 0; }
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--text-2); }

.shots { padding: 16px 0 56px; }
.shots .grid img { border-radius: 14px; border: 1px solid var(--border); }
.shots figcaption { color: var(--text-2); font-size: 0.9rem; margin-top: 8px; }

/* Click-to-enlarge without JavaScript (the CSP forbids scripts): each thumbnail
   links to #z-…, and the matching .lightbox becomes visible via :target.
   The large image is loading="lazy" inside display:none, so it is only fetched
   when opened. Closing links point at #zu, an id that does not exist.
   The markup also carries `hidden`, so a browser still holding an older copy of
   this file keeps the overlays out of the page; `.lightbox:target` below wins
   over the UA rule for [hidden]. Bump `?v=` on the <link> in every HTML file
   whenever this stylesheet changes. */
.zoom { display: block; cursor: zoom-in; }
.zoom-hint { color: var(--text-2); font-size: 0.85rem; margin-top: 8px; }
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 10;
  background: rgba(2, 6, 23, 0.92);
  align-items: center; justify-content: center; padding: 16px;
}
.lightbox:target { display: flex; }
.lightbox .lb-backdrop { position: absolute; inset: 0; cursor: zoom-out; }
.lightbox img {
  position: relative; max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; border-radius: 12px; border: 1px solid var(--border);
}
.lightbox .lb-close {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  width: 44px; height: 44px; border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  background: var(--card); border: 1px solid var(--border);
  color: var(--text); text-decoration: none; font-size: 1.3rem;
}
/* On a phone the screenshot is width-bound, so "enlarged" would be no larger
   than the thumbnail. Show it at a readable fixed width and let it pan. */
@media (max-width: 700px) {
  .lightbox { overflow: auto; align-items: flex-start; justify-content: flex-start; }
  .lightbox img { max-width: none; max-height: none; width: 900px; }
  .lightbox .lb-close { position: fixed; }
}

.privacy-strip { padding: 0 0 56px; }
.privacy-strip .card { border-color: var(--accent); }

/* Text pages */
.prose { max-width: var(--prose); margin: 0 auto; padding: 40px 16px 64px; }
.prose h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1.2; margin: 0 0 8px; }
.prose h2 { font-size: 1.3rem; margin: 40px 0 8px; }
.prose h3 { font-size: 1.05rem; margin: 24px 0 6px; }
.prose p, .prose li { color: #dbe3ee; }
.prose ul { padding-left: 1.2rem; }
.prose .meta { color: var(--text-2); margin: 0 0 24px; }
.prose address { font-style: normal; }
.callout {
  background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--accent);
  border-radius: 12px; padding: 16px 18px; margin: 20px 0;
}
.callout p { margin: 0; }

details {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 18px; margin: 10px 0;
}
summary { cursor: pointer; font-weight: 600; }
details p, details ol, details ul { margin: 10px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); color: var(--text-2); font-size: 0.9rem; }
.site-footer .wrap {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 20px; padding-bottom: 28px;
}
.site-footer a { color: var(--text-2); }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
