/* zwölf87 Terminal — Design 3.1 (Apple-Stil in Hausfarben: Creme, Tinte, Gold, gebaut für iPad 13" 1376×1032 / 1366×1024)
   Systemschrift (SF Pro), helle Flächen, Milchglas, große Rundungen, App-Icons in Hausfarben.
   Die Akzentfarbe steht an EINER Stelle (--accent) und lässt sich dort tauschen. */

:root {
  --accent: #a5813a;                       /* zwölf87-Gold, hier tauschbar */
  --accent-strong: #8a6a26;
  --accent-text: #86661f;                  /* Gold für Schrift auf hellem Grund (besser lesbar) */
  --accent-soft: rgba(165, 129, 58, 0.14);

  --text: #201d17;
  --text-2: #7a7063;
  --text-3: #8a8073;
  --bg: #faf6ea;
  --card: rgba(255, 253, 247, 0.94);
  --card-solid: #fffdf7;
  --sep: #e8e1d3;
  --fill: rgba(138, 128, 115, 0.13);

  --green: #6f8c4e;
  --green-soft: rgba(111, 140, 78, 0.16);
  --orange: #c9962e;
  --orange-soft: rgba(201, 150, 46, 0.18);

  --header-h: 84px;
  --nav-h: 56px;
  --stage-top: calc(var(--header-h) + 16px + var(--nav-h) + 22px);
  --content-w: 1240px;
  --btn-h: 72px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;

  --shadow-card: 0 1px 2px rgba(32, 29, 23, 0.05), 0 10px 34px rgba(32, 29, 23, 0.09);
  --shadow-press: 0 1px 2px rgba(32, 29, 23, 0.07), 0 3px 10px rgba(32, 29, 23, 0.09);
  --spring: cubic-bezier(0.22, 1, 0.36, 1);

  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; }

html, body { height: 100%; margin: 0; overscroll-behavior: none; }
html { position: fixed; inset: 0; width: 100%; }

body {
  background:
    radial-gradient(900px 620px at 8% -6%, rgba(165, 129, 58, 0.11), transparent 62%),
    radial-gradient(800px 560px at 100% 4%, rgba(111, 140, 78, 0.07), transparent 60%),
    radial-gradient(900px 600px at 92% 104%, rgba(165, 129, 58, 0.09), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.008em;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}

input, textarea { -webkit-user-select: text; user-select: text; }
[hidden] { display: none !important; }

h1, h2, h3 { font-weight: 700; margin: 0; letter-spacing: -0.024em; }
h1 { font-size: 3.1em; line-height: 1.05; margin-bottom: 12px; }
h2 { font-size: 2.15em; line-height: 1.1; margin-bottom: 26px; }
h3 { font-size: 1.32em; line-height: 1.2; letter-spacing: -0.016em; }
p { margin: 0; }

.lede { color: var(--text-2); font-size: 1.1em; margin: -14px 0 30px; max-width: 800px; }
h1 + .lede { margin: 0 0 14px; }
.reassurance { color: var(--text-2); font-size: 0.85em; max-width: 760px; margin: 0 0 38px; }
.terms-note { color: var(--text-2); font-size: 0.85em; max-width: 720px; }
.guide-note { color: var(--text-2); }

button { font-family: inherit; font-size: 1em; cursor: pointer; -webkit-tap-highlight-color: transparent; position: relative; overflow: hidden; color: inherit; }
.icon { width: 30px; height: 30px; flex: none; }

/* ------------------------------------------------------------------ Kopfleiste (wie eine iPad-Navigationsleiste) */

.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(250, 246, 234, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(30px);
  backdrop-filter: saturate(180%) blur(30px);
  border-bottom: 1px solid var(--sep);
  z-index: 20;
}
.topbar .logo { height: 46px; width: auto; display: block; }
.header-right { display: flex; align-items: center; gap: 14px; }

/* Sprachwahl als Segmented Control */
.lang-switch { display: flex; gap: 2px; padding: 3px; background: var(--fill); border-radius: 14px; }
.lang-switch button {
  display: flex; align-items: center; gap: 6px;
  height: 42px; padding: 0 14px;
  border: none; border-radius: 11px;
  background: transparent; color: var(--text);
  font-size: 0.72em; font-weight: 600;
  transition: background 0.25s var(--spring), box-shadow 0.25s var(--spring), transform 0.15s var(--spring);
}
.lang-switch .flag { font-size: 1.5em; line-height: 1; }
.lang-switch button.is-active { background: #fff; box-shadow: 0 1px 2px rgba(32, 29, 23, 0.14), 0 3px 8px rgba(32, 29, 23, 0.09); }
.lang-switch button:active { transform: scale(0.94); }

/* Timer: Ring + Zeit, zählt herunter, solange niemand tippt */
.idle-timer {
  display: flex; align-items: center; gap: 12px;
  margin: 0 auto 0 34px;
  height: 46px; padding: 0 20px 0 14px;
  border-radius: 999px;
  background: var(--fill); color: var(--text-2);
  font-size: 0.72em; font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.idle-timer b { color: var(--text); }
.ring-timer { width: 26px; height: 26px; transform: rotate(-90deg); }
.ring-timer circle { fill: none; stroke-width: 3; }
.ring-timer .track { stroke: rgba(138, 128, 115, 0.28); }
.ring-timer .prog { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 62.83; stroke-dashoffset: 0; transition: stroke-dashoffset 0.25s linear; }
.idle-timer.is-low { background: var(--orange-soft); color: #7d5a10; }
.idle-timer.is-low .prog { stroke: var(--orange); }
.idle-timer.is-low b { color: #7d5a10; }
body[data-screen="language"] .idle-timer { visibility: hidden; }

/* ------------------------------------------------------------------ Zurück / Hauptmenü */

.back, .nav-menu {
  position: fixed;
  top: calc(var(--header-h) + 16px);
  height: var(--nav-h);
  display: flex; align-items: center; gap: 10px;
  padding: 0 24px 0 18px;
  border: none; border-radius: 999px;
  background: var(--card);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  box-shadow: var(--shadow-press);
  color: var(--accent-text);
  font-size: 0.92em; font-weight: 600;
  z-index: 15;
  transition: transform 0.2s var(--spring), opacity 0.2s;
}
.back { left: 32px; }
.back::before { content: ''; width: 12px; height: 12px; border-left: 3px solid var(--accent-text); border-bottom: 3px solid var(--accent-text); transform: rotate(45deg); margin-left: 6px; margin-right: 2px; border-radius: 1px; }
.nav-menu { right: 32px; padding: 0 24px 0 20px; }
.nav-menu svg { width: 24px; height: 24px; }
.back:active, .nav-menu:active { transform: scale(0.94); opacity: 0.75; }
body[data-screen="language"] .nav-menu,
body[data-screen="home"] .nav-menu { display: none; }

/* ------------------------------------------------------------------ Bühne */

.screen {
  display: none;
  flex-direction: column; align-items: center; justify-content: flex-start;
  height: 100dvh;
  padding: var(--stage-top) 56px 44px;
  text-align: center;
  position: relative;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.screen.active { display: flex; animation: screen-in 0.55s var(--spring); }
.screen > * { flex-shrink: 0; }
@keyframes screen-in { from { opacity: 0; transform: translateY(18px) scale(0.985); } to { opacity: 1; transform: none; } }

/* Startbild: Foto links, Sprachen rechts */
#screen-language.screen { flex-direction: row; align-items: stretch; padding: 0; overflow: hidden; text-align: left; }
.language-visual { flex: 1 1 44%; position: relative; overflow: hidden; min-width: 0; }
.language-visual img { width: 100%; height: 100%; object-fit: cover; display: block; animation: slow-zoom 26s ease-in-out infinite alternate; }
.language-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.12) 100%); }
@keyframes slow-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }

.language-panel {
  flex: 1 1 56%; min-width: 0;
  background:
    radial-gradient(700px 500px at 100% 0%, rgba(165, 129, 58, 0.11), transparent 60%),
    radial-gradient(600px 500px at 0% 100%, rgba(111, 140, 78, 0.08), transparent 60%),
    #faf6ea;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--header-h) min(7vw, 96px) 0;
}
.language-panel .eyebrow { color: var(--accent-text); font-size: 0.72em; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 14px; }
.language-panel p { color: var(--text-2); }
.language-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; max-width: 640px; }
body[data-screen="language"] .topbar { background: rgba(255, 255, 255, 0.55); border-bottom-color: transparent; }

/* ------------------------------------------------------------------ Kacheln */

.language-grid button, .route-card, .tile {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: var(--card);
  box-shadow: var(--shadow-card);
  color: var(--text);
  transition: transform 0.3s var(--spring), box-shadow 0.3s var(--spring), background 0.2s;
}
.language-grid button { align-items: center; gap: 16px; min-height: 88px; padding: 0 28px; border-radius: var(--r-md); font-weight: 600; font-size: 1.05em; background: #fffdf7; }
.language-grid .flag { font-size: 2em; line-height: 1; }

.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; width: 100%; max-width: var(--content-w); }
.route-grid--home { grid-template-columns: repeat(4, 1fr); }

/* Kachel wie ein iPadOS-Widget: farbiges Icon oben, Text unten */
.route-card {
  flex-direction: column; align-items: flex-start; justify-content: space-between;
  gap: 24px; min-height: 340px; padding: 30px 28px 32px;
  border-radius: 34px; text-align: left;
}
.route-card > .icon {
  width: 46px; height: 46px; padding: 15px; box-sizing: content-box;
  border-radius: 22px; color: #fff;
  background: linear-gradient(160deg, #c9a45a, #a5813a);
  box-shadow: 0 6px 16px rgba(165, 129, 58, 0.32);
}
.route-grid .route-card:nth-child(2) > .icon { background: linear-gradient(160deg, #8fae6c, #6f8c4e); box-shadow: 0 6px 16px rgba(111, 140, 78, 0.32); }
.route-grid .route-card:nth-child(3) > .icon { background: linear-gradient(160deg, #4a4438, #201d17); box-shadow: 0 6px 16px rgba(32, 29, 23, 0.30); }
.route-grid .route-card:nth-child(4) > .icon { background: linear-gradient(160deg, #a89f90, #8a8073); box-shadow: 0 6px 16px rgba(138, 128, 115, 0.32); }
.route-text { display: block; }
.route-label { font-weight: 700; font-size: 1.22em; line-height: 1.15; letter-spacing: -0.02em; display: block; }
.route-sub { color: var(--text-2); font-size: 0.8em; display: block; margin-top: 8px; }

.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; max-width: var(--content-w); }
.tile {
  flex-direction: row; align-items: center; justify-content: flex-start; gap: 20px;
  min-height: 112px; padding: 0 28px; border-radius: 26px; font-weight: 600; font-size: 0.95em; text-align: left;
}
.tile .icon { width: 30px; height: 30px; padding: 12px; box-sizing: content-box; border-radius: 16px; background: var(--accent-soft); color: var(--accent-text); }

.language-grid button:active, .route-card:active, .tile:active { transform: scale(0.965); box-shadow: var(--shadow-press); }

/* ------------------------------------------------------------------ Aktionen */

.action-row { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; align-items: flex-start; }
.call-block { position: relative; display: flex; flex-direction: column; align-items: center; }
.call-block [data-jana-status] { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 10px; width: max-content; max-width: 340px; font-size: 0.78em; color: var(--text-2); }

.action, .wizard-choices button, form button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: var(--btn-h); padding: 0 40px;
  border: none; border-radius: var(--r-md);
  background: var(--accent-soft); color: var(--accent-text);
  font-weight: 600; font-size: 1em; line-height: 1.2; letter-spacing: -0.012em;
  transition: transform 0.25s var(--spring), background 0.2s, opacity 0.2s;
}
.action .icon { width: 28px; height: 28px; }

/* Hauptaktion: gefüllt, wie der blaue Standardknopf */
.action--gold, form button[type="submit"] { background: linear-gradient(155deg, #b58f47, #a5813a); color: #fff; box-shadow: 0 8px 22px rgba(165, 129, 58, 0.36); }
.action:active, .wizard-choices button:active, form button[type="submit"]:active { transform: scale(0.96); opacity: 0.85; }

.link-button { background: none; border: none; padding: 12px; color: var(--accent-text); font-weight: 600; font-size: 1em; }

/* ------------------------------------------------------------------ Ja / Nein (Assistent) */

.wizard { width: 100%; max-width: 860px; }
.wizard-step { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.wizard-question { font-weight: 700; font-size: 1.55em; line-height: 1.2; letter-spacing: -0.022em; max-width: 720px; }
.wizard-choices { display: flex; gap: 20px; width: 100%; justify-content: center; }
.wizard-choices button { flex: 1 1 0; max-width: 380px; min-height: 96px; font-size: 1.25em; background: var(--card-solid); color: var(--text); box-shadow: var(--shadow-card); }
.wizard-choices--stack { flex-direction: column; align-items: center; }
.wizard-choices--stack button { width: 100%; max-width: 620px; justify-content: flex-start; }
.wizard-step > p:not(.wizard-question):not(.terms-note):not(.guide-note) { font-size: 1.05em; max-width: 720px; }

/* ------------------------------------------------------------------ Formulare */

form { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 640px; text-align: left; }
form h3 { text-align: center; }
form > p { text-align: center; }
form label { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 0.9em; }
form label small { font-weight: 400; color: var(--text-2); font-size: 0.85em; }
form input {
  font-family: inherit; font-size: 1.05em; height: 66px; padding: 0 22px;
  border: 1px solid var(--sep); border-radius: var(--r-sm);
  background: #fffdf7; color: var(--text); outline: none;
  transition: box-shadow 0.2s, border-color 0.2s;
}
form input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
form .wizard-choices { flex-direction: column; }
form .wizard-choices button { max-width: none; justify-content: flex-start; text-align: left; min-height: 76px; font-size: 1em; }
form .wizard-choices button.is-selected { box-shadow: 0 0 0 3px var(--accent); }
form .link-button { align-self: center; }
[data-zugang-other] { display: flex; flex-direction: column; gap: 20px; }
[data-zugang-result], [data-lobby-status] { min-height: 1.5em; margin-top: 16px; font-weight: 600; max-width: 640px; }

/* ------------------------------------------------------------------ Karten für Inhalte */

.guide { width: 100%; max-width: var(--content-w); display: flex; flex-direction: column; gap: 20px; text-align: left; }
.guide-grid, .lobby-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.lobby-cards { grid-template-columns: repeat(2, 1fr); width: 100%; max-width: 940px; margin-bottom: 24px; }

.guide-card, .mail-card, .info-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 28px 28px; text-align: left; font-size: 0.92em; line-height: 1.42;
}
.guide-card { display: flex; flex-direction: column; gap: 12px; }
.guide-card h3 { font-size: 1.3em; }

.mail-card { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 24px 30px; }
.mail-card p { margin: 0; }
.mail-card-title { font-weight: 700; font-size: 1.3em; letter-spacing: -0.02em; margin-bottom: 4px !important; }
.mail-mock { flex: none; background: var(--fill); border-radius: var(--r-sm); padding: 14px 22px; display: flex; flex-direction: column; gap: 2px; }
.mail-mock-caption { color: var(--text-2); font-size: 0.8em; }
.mail-mock-line b { font-size: 1.15em; }
.mail-mock-code { letter-spacing: 0.15em; font-weight: 700; }

.guide-open { display: flex; flex-direction: column; gap: 2px; background: var(--green-soft); border-radius: var(--r-sm); padding: 14px 16px; }
.guide-open-time { font-weight: 700; font-size: 1.3em; color: #4f6b35; letter-spacing: -0.02em; }
.guide-sub { font-weight: 600; color: var(--accent-text); border-top: 1px solid var(--sep); padding-top: 12px; }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; text-align: left; width: 100%; }
.steps li { counter-increment: step; display: flex; gap: 14px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--sep); }
.steps li:last-child { border-bottom: none; }
.steps li::before {
  content: counter(step); flex: none; width: 32px; height: 32px;
  border-radius: 50%; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 0.8em;
  display: flex; align-items: center; justify-content: center;
}
.tips-card { max-width: 780px; width: 100%; }

.keypad { align-self: center; display: grid; grid-template-columns: repeat(3, 44px); gap: 6px; background: #201d17; padding: 12px; border-radius: 18px; }
.keypad span { height: 34px; border-radius: 9px; background: #3b362c; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.85em; }
.keypad span.hot { background: var(--accent); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55); }
.keypad svg { width: 18px; height: 18px; }

.code-display {
  font-family: var(--mono); font-weight: 600; font-size: 2.6em; letter-spacing: 0.2em; text-align: center;
  background: var(--fill); border-radius: var(--r-sm); padding: 16px 10px 16px 24px; margin: 6px 0;
}

/* Zimmer buchen */
[data-booking-open], [data-booking-closed] { width: 100%; display: flex; flex-direction: column; align-items: center; }
.booking-layout { display: flex; align-items: flex-start; justify-content: center; gap: 32px; width: 100%; max-width: var(--content-w); text-align: left; }
.booking-layout .steps { flex: 1 1 0; min-width: 0; font-size: 1.02em; padding-top: 4px; }
.booking-layout .info-card { flex: 1.1 1 0; min-width: 0; }
.info-card-title { font-weight: 700; font-size: 1.3em; margin: 0 0 8px; letter-spacing: -0.02em; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { position: relative; padding: 7px 0 7px 24px; line-height: 1.38; }
.info-list li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.qr-wrap { flex: none; background: #fff; padding: 20px; border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.qr-wrap svg { display: block; width: 230px; height: 230px; }
.qr-wrap--small { padding: 8px; border-radius: 14px; box-shadow: none; border: 1px solid var(--sep); }
.qr-wrap--small svg { width: 68px; height: 68px; }
.qr-wrap--small { padding: 6px; }
[data-booking-open] .lede { margin-top: -14px; }
[data-booking-open] .terms-note { margin-top: 26px; }

/* Parken */
.park-grid { display: grid; grid-template-columns: 1fr; gap: 12px; width: 100%; max-width: 1200px; text-align: left; }
.park-grid .guide-card { font-size: 0.95em; padding: 16px 26px; gap: 8px; }
.park-grid .info-list li { padding: 3px 0 3px 24px; }
.park-grid .info-list li::before { top: 11px; }
.park-grid .park-status { padding: 10px 16px; }
.info-list--big { color: var(--text); }
.park-status { font-weight: 600; padding: 14px 18px; border-radius: var(--r-sm); background: var(--green-soft); }
.park-status.is-full { background: var(--orange-soft); }
.map-frame { position: relative; border-radius: var(--r-sm); overflow: hidden; line-height: 0; border: 1px solid var(--sep); }
.map-frame img { display: block; width: 100%; height: auto; }
.map-frame svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-frame .pin-hotel { fill: var(--text); stroke: #fffdf7; stroke-width: 4; }
.map-frame .pin-p { fill: var(--accent); stroke: #fffdf7; stroke-width: 4; }
.map-frame .pin-p-text { fill: #fff; font-weight: 700; font-size: 36px; font-family: var(--font); }
.map-frame .map-pill { fill: #fffdf7; stroke: var(--accent); stroke-width: 3; }
.map-frame .map-pill--hotel { fill: var(--text); stroke: #fffdf7; }
.map-frame .map-name { font-family: var(--font); font-weight: 700; font-size: 34px; fill: var(--text); }
.map-frame .map-name--hotel { fill: #fffdf7; }
.map-frame .map-attr { font-family: var(--font); font-size: 18px; fill: var(--text-2); paint-order: stroke; stroke: rgba(255,255,255,0.85); stroke-width: 4px; }
.park-actions { display: flex; align-items: center; gap: 20px; }
.park-actions .park-status { flex: 1; margin: 0; }
.park-actions .call-block { flex: none; margin: 0; }
.park-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.info-list--row { display: grid; grid-template-columns: 0.85fr 1.35fr 1fr; gap: 10px; font-size: 0.93em; }
.list-col .guide-note, .map-col .guide-note { margin: 4px 0 0; font-size: 0.85em; text-align: left; }
.list-col .alt-list { margin-top: 6px; }
.map-note { text-align: center; margin-top: -4px; font-size: 0.85em; }
.alt-list { display: flex; flex-direction: column; gap: 10px; }
.alt-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--sep); padding-top: 8px; }
.alt-item:first-child { border-top: 0; padding-top: 0; }
.alt-item .qr-wrap { width: 88px; flex: none; }
.alt-item div:first-child { display: flex; flex-direction: column; gap: 2px; }
.alt-item span { color: var(--text-2); font-size: 0.88em; }

/* FAQ-Antwort */
#screen-faq-detail [data-faq-title] { margin-bottom: 26px; }


/* ------------------------------------------------------------------ Bewegung (leise): Kacheln atmen synchron, nichts verrutscht */

@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.012); } }
.screen.active .route-card, .screen.active .tile, #screen-language .language-grid button { animation: breathe 6s ease-in-out infinite; }
.language-grid button:active, .route-card:active, .tile:active { animation-play-state: paused; }

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

/* ------------------------------------------------------------------ Hochformat (iPad hochkant) und schmalere Fenster */

@media (orientation: portrait) {
  .route-grid--home { grid-template-columns: repeat(2, 1fr); max-width: 860px; }
  .route-card { min-height: 300px; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); max-width: 860px; }
  .guide-grid { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }
  .park-grid { max-width: 820px; }
  .park-alt { grid-template-columns: 1fr; }
  .booking-layout { flex-direction: column; align-items: center; max-width: 820px; }
  .booking-layout .steps, .booking-layout .info-card { width: 100%; flex: none; }
  .mail-card { flex-direction: column; align-items: flex-start; }
  .lobby-cards { grid-template-columns: 1fr; }
  #screen-language.screen { flex-direction: column; }
  .language-visual { flex: 0 0 38vh; }
  .language-panel { flex: 1; padding: 40px 72px 48px; justify-content: flex-start; }
  .language-grid { max-width: 760px; }
}
@media (max-width: 1100px) and (orientation: landscape) {
  .route-grid--home { grid-template-columns: repeat(2, 1fr); max-width: 860px; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: 1fr; }
}

/* iPad 13": die Anleitung muss ohne Scrollen auf einen Bildschirm */
#screen-code-anleitung h2 { margin-bottom: 10px; }
#screen-code-anleitung .lede { margin: 0 0 20px; font-size: 0.95em; }
#screen-code-anleitung .guide { gap: 16px; }
#screen-code-anleitung .guide-grid { gap: 16px; }
#screen-code-anleitung .mail-card { padding: 16px 26px; font-size: 0.85em; }
#screen-code-anleitung .mail-card-title { font-size: 1.2em; }
#screen-code-anleitung .guide-card { font-size: 0.82em; padding: 20px 22px; gap: 8px; }
#screen-code-anleitung .guide-card h3 { font-size: 1.35em; }
#screen-code-anleitung .steps li { padding: 8px 0; gap: 12px; }
#screen-code-anleitung .steps li::before { width: 28px; height: 28px; font-size: 0.85em; }
#screen-code-anleitung .keypad { grid-template-columns: repeat(3, 40px); gap: 5px; padding: 9px; border-radius: 14px; }
#screen-code-anleitung .keypad span { height: 26px; border-radius: 7px; font-size: 0.8em; }
#screen-code-anleitung .guide-open { padding: 10px 14px; }
#screen-code-anleitung .action-row { margin-top: 2px; }

body[data-screen="language"] .topbar { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; }

#screen-code-anleitung .guide-col { display: flex; flex-direction: column; gap: 16px; }
#screen-code-anleitung .guide-col .mail-card { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 22px; font-size: 0.82em; }
#screen-code-anleitung .guide-col .mail-mock { width: 100%; }
#screen-code-anleitung .lede { display: none; }
.minimap { max-height: 240px; }

/* Kacheln: Text beginnt bei allen auf derselben Höhe, Icon oben */
.route-card { min-height: 410px; }
.route-card > .icon { width: 54px; height: 54px; padding: 17px; border-radius: 26px; }
.route-text { margin-top: auto; min-height: 132px; display: block; }
.route-label { font-size: 1.28em; }
@media (orientation: portrait) { .route-card { min-height: 330px; } .route-text { min-height: 120px; } }

/* FAQ-Antwort als Karte mit Icon und Zeilen */
.faq-card {
  width: 100%; max-width: 900px; text-align: left;
  background: var(--card); border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  padding: 34px 40px 30px;
  display: flex; flex-direction: column; gap: 18px;
}
.faq-icon {
  align-self: center;
  width: 60px; height: 60px; padding: 17px; box-sizing: content-box;
  border-radius: 26px; color: #fff;
  background: linear-gradient(160deg, #c9a45a, #a5813a);
  box-shadow: 0 6px 16px rgba(165, 129, 58, 0.32);
  margin-bottom: 6px;
}
.faq-icon svg { width: 60px; height: 60px; display: block; }
.faq-rows { display: flex; flex-direction: column; }
.faq-row { display: flex; flex-direction: column; gap: 4px; padding: 18px 4px; border-top: 1px solid var(--sep); font-size: 1.08em; line-height: 1.5; }
.faq-row:first-child { border-top: none; padding-top: 6px; }
.faq-row strong { font-weight: 700; letter-spacing: -0.014em; color: var(--text); }
.faq-row span { color: var(--text-2); }
.faq-row strong + span { color: var(--text-2); }
.faq-field { display: flex; flex-direction: column; gap: 6px; background: var(--fill); border-radius: var(--r-md); padding: 20px 26px; }
.faq-field-label { font-size: 0.75em; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); }
.faq-field-value { font-family: var(--mono); font-weight: 600; font-size: 1.7em; letter-spacing: 0.03em; word-break: break-all; }

/* Kacheln: Icons und Texte mittig, nicht links */
.route-card { align-items: center; text-align: center; }
.route-text { text-align: center; }
.tile { flex-direction: column; justify-content: center; text-align: center; gap: 12px; min-height: 150px; padding: 18px 20px; }

/* Allgemeine Fragen: Kacheln füllen den Bildschirm, Icons groß und mittig */
.tile-grid { gap: 22px; }
.tile { min-height: 212px; gap: 16px; font-size: 1.1em; }
.tile .icon { width: 38px; height: 38px; padding: 20px; border-radius: 26px; }
.lang-switch button { height: 46px; }
.language-hint { color: var(--text-2); font-size: 0.8em; line-height: 1.5; max-width: 620px; }

/* Erfolg: großes Häkchen, klarer Abschluss */
.done-panel { display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 640px; }
.done-icon { width: 84px; height: 84px; padding: 22px; box-sizing: content-box; border-radius: 50%; background: linear-gradient(160deg, #8fae6c, #6f8c4e); color: #fff; box-shadow: 0 8px 22px rgba(111, 140, 78, 0.36); }
.done-icon svg { width: 84px; height: 84px; display: block; }
.done-text { font-size: 1.3em; font-weight: 600; line-height: 1.35; }
.lobby-countdown { color: var(--text-2); font-weight: 600; margin: 4px 0 14px; }
[data-lobby-result] { display: flex; flex-direction: column; align-items: center; }

.h1-sub { display: block; color: var(--accent-text); }
.faq-card { max-width: 980px; }
.faq-row { font-size: 1.15em; }
.faq-row span, .faq-row strong + span { color: #4a4338; }
.help-block { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 12px; }
.done-panel { margin-top: 24px; }
.wizard-hint { color: var(--text-2); font-size: 0.85em; max-width: 640px; margin-top: -14px; }
#screen-code-anleitung .guide-card { font-size: 0.88em; }
#screen-zugang h2 { margin-bottom: 8px; }
#screen-zugang .lede { margin: 0 0 20px; font-size: 1em; }
#screen-zugang form { gap: 14px; }
#screen-zugang form input { height: 60px; }
#screen-zugang .help-block { margin-top: 4px; gap: 10px; }

/* FAQ-Kacheln: 12 Themen in vier Spalten */
[data-faq-buttons] { grid-template-columns: repeat(4, 1fr); }
[data-faq-buttons] .tile { min-height: 188px; padding: 16px 14px; font-size: 1.02em; }

/* Umgebung: Orte als Karten in drei Spalten */
.faq-card--wide { max-width: 1260px; padding: 14px 24px; }
.spot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 18px; }
.spot-head { grid-column: 1 / -1; margin: 4px 0 0; font-size: 1.05em; letter-spacing: 0.02em; color: var(--accent-text); border-bottom: 1px solid var(--sep); padding-bottom: 4px; }
.spot-head:first-child { margin-top: 0; }
.spot { display: flex; flex-direction: column; gap: 2px; line-height: 1.25; font-size: 0.8em; }
.spot strong { font-size: 1.08em; letter-spacing: -0.01em; }
.spot small { color: var(--accent-text); font-weight: 600; font-size: 0.85em; }
.spot span { color: #4a4338; }
@media (max-width: 900px) {
  [data-faq-buttons] { grid-template-columns: repeat(2, 1fr); }
  .spot-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Zugang-Intro: drei Karten wie in der Code-Anleitung, oben ein Bild, darunter wenig Text. */
#screen-zugang-intro .guide { gap: 16px; }
#screen-zugang-intro .guide-grid { gap: 16px; }
#screen-zugang-intro .guide-card { font-size: 0.95em; padding: 22px 24px; gap: 10px; }
#screen-zugang-intro .guide-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.3em; }
#screen-zugang-intro .guide-card p { margin: 0; }
#screen-zugang-intro .link-button { padding: 4px 0 0; align-self: flex-start; }
#screen-zugang-intro > .action { align-self: center; margin-top: 16px; }
.intro-visual { height: 150px; display: flex; align-items: center; justify-content: center; background: var(--fill); border-radius: var(--r-sm); }
.intro-num { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 0.75em; font-weight: 700; }
.sms-bubble { background: #fff; border-radius: 18px 18px 18px 4px; box-shadow: var(--shadow-card); padding: 12px 18px; display: flex; flex-direction: column; gap: 2px; font-size: 0.95em; }
.sms-bubble b { color: var(--text-2); font-size: 0.75em; letter-spacing: 0.08em; }
.sms-bubble span { font-weight: 600; color: var(--accent-text); }
.digit-boxes { display: flex; gap: 8px; }
.digit-boxes span { width: 40px; height: 52px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-card); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.5em; color: #4f6b35; }
.intro-wrong { display: flex; flex-direction: column; gap: 2px; margin-top: 4px !important; padding-top: 10px; border-top: 1px solid var(--sep); font-size: 0.9em; color: var(--accent-text); font-weight: 600; }
.intro-wrong s { color: var(--text-2); font-weight: 400; letter-spacing: 0.05em; }
#screen-zugang-intro .keypad { grid-template-columns: repeat(3, 34px); gap: 4px; padding: 8px; border-radius: 12px; }
#screen-zugang-intro .keypad span { height: 22px; border-radius: 6px; font-size: 0.7em; }

/* Zugang wiederherstellen: zwei Stufen. Stufe 1 (Name + Datum) -> hinterlegte Nummer; Stufe 2 (Buchungsnummer) schaltet freie Nummer frei. */
.zg-form { max-width: 640px; gap: 16px; }
.zg-tier { background: var(--card); border: 1px solid rgba(255,255,255,0.85); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: 22px 26px; display: flex; flex-direction: column; gap: 14px; }
.zg-title { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2em; letter-spacing: -0.02em; text-align: left !important; }
.zg-title .icon { width: 26px; height: 26px; color: var(--accent-text); }
.zg-title em { margin-left: auto; font-style: normal; font-weight: 600; font-size: 0.7em; color: var(--text-2); background: var(--fill); padding: 4px 12px; border-radius: 999px; }
.zg-label { font-weight: 600; font-size: 0.9em; }
.zg-date { display: flex; flex-direction: column; gap: 8px; }
.zg-chips { display: flex; gap: 10px; }
.zg-chips button { flex: 1 1 0; height: 56px; border-radius: var(--r-sm); border: 2px solid transparent; background: var(--fill); color: var(--text); font-weight: 600; font-size: 1em; }
.zg-chips button.is-selected { background: #fff; border-color: var(--accent); color: var(--accent-text); box-shadow: var(--shadow-card); }
.zg-note { margin: 0; text-align: left !important; font-size: 0.85em; color: var(--text-2); line-height: 1.4; }
.zg-note--warn { color: var(--accent-text); font-weight: 600; }
.zg-note--info { background: rgba(165, 129, 58, 0.10); border-left: 4px solid #a5813a; border-radius: 10px; padding: 12px 16px; color: #201d17; font-weight: 600; }
.zg-tier--plus { background: rgba(255,255,255,0.55); border-style: dashed; border-color: rgba(138,128,115,0.45); box-shadow: none; transition: background .25s, border-color .25s; }
.zg-tier--plus.is-unlocked { background: var(--green-soft); border-style: solid; border-color: #6f8c4e; }
.zg-tier--plus.is-unlocked .zg-title .icon { color: #4f6b35; }
.digit-input { display: flex; gap: 10px; justify-content: center; }
#screen-zugang .digit-input input { width: 64px; height: 80px; padding: 0; text-align: center; font-size: 2em; font-weight: 700; border-radius: 14px; }

/* Nachbau des schwarzen Feldes aus der Buchungsbestaetigung ("Reservierung: ...") - Ziffern sind ein Beispiel. */
.res-pill { flex: none; background: #000; color: #fff; border-radius: 999px; padding: 9px 20px; font-weight: 600; font-size: 1em; white-space: nowrap; }
.res-pill b { font-weight: 700; letter-spacing: 0.04em; }
.zg-where { display: flex; align-items: center; gap: 14px; }
.zg-where .zg-note { flex: 1 1 auto; }

/* Zugang, Schritt 2: Auswahlkarten und Erfolgsseite */
.zg-what { margin: 0; padding: 12px 16px; border-radius: var(--r-sm); font-weight: 600; font-size: 0.95em; line-height: 1.4; text-align: left !important; }
.zg-what--code { background: var(--green-soft); color: #3f5a28; }
.zg-what--link { background: var(--accent-soft); color: var(--accent-text); }
.zg-tier .wizard-choices { gap: 10px; }
.zg-tier .wizard-choices button { position: relative; background: #fff; border: 2px solid transparent; padding: 0 20px 0 60px; box-shadow: var(--shadow-card); }
.zg-tier .wizard-choices button::before { content: ""; position: absolute; left: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; border: 2px solid var(--text-2); box-sizing: border-box; }
.zg-tier .wizard-choices button.is-selected { border-color: var(--accent); box-shadow: var(--shadow-card); }
.zg-tier .wizard-choices button.is-selected::before { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 5px, transparent 6px); }
.done-icon { animation: done-pop .5s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes done-pop { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.done-hint { margin: -6px 0 0; max-width: 520px; color: var(--text-2); font-size: 1em; line-height: 1.45; text-align: center; }
.zg-tier--plus.needs-number { border-style: solid; border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 4px var(--accent-soft); }
.zg-need { margin: 0; padding: 12px 16px; border-radius: var(--r-sm); background: #fff; color: var(--accent-text); font-weight: 700; font-size: 0.95em; line-height: 1.4; text-align: left !important; }

/* Anruf: Auflegen-Knopf und Rückruf-Formular unter dem Anruf-Button */
.action--danger { background: #b3402e; color: #fff; }
.callback-form { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 420px; margin-top: 10px; }
.callback-form input { height: 60px; }
.call-block { display: flex; flex-direction: column; align-items: center; gap: 10px; }

.done-sentto { margin: -8px 0 0; font-size: 1.15em; color: var(--text-2); text-align: center; }
.done-sentto strong { color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
