/* TerminPilot Premium 1.4.0 - Buchungsseite */

/* Grundlagen */
:root {
  --brand: #0B9B8B;
  --brand-soft: #E8F8F5;
  --brand-deep: color-mix(in srgb, var(--brand) 74%, #04202a);
  --ink: #0d2236;
  --ink-2: #33475b;
  --muted: #5d6d7e;
  --line: #e2e9ee;
  --bg: #f5f8f7;
  --card: #ffffff;
  --navy: #0b1f33;
  --ok: #137a58;
  --ok-bg: #eafaf2;
  --err: #b42318;
  --err-bg: #fff1ef;
  --shadow-sm: 0 4px 14px rgba(13,34,54,.06);
  --shadow: 0 22px 60px rgba(13,34,54,.10);
  --radius: 20px;
  --serif: Georgia, "Times New Roman", serif;
  --surface: #ffffff;
  --surface-2: #f4f7f8;
  --line-strong: #d5dee4;
  --disabled: #aab5bd;
  --on-brand: #ffffff;
  --header-bg: rgba(255,255,255,.82);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.tp-front { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; }
svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 99; padding: 9px 14px; border-radius: 10px; background: var(--navy); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; }
.tp-wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.tp-note { font-size: 12px; color: var(--muted); font-weight: 400; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Ende: Grundlagen */

/* Buttons */
.tp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 700; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.tp-btn-primary { background: var(--brand-deep); color: var(--on-brand); box-shadow: 0 10px 24px color-mix(in srgb, var(--brand) 28%, transparent); }
.tp-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px color-mix(in srgb, var(--brand) 34%, transparent); }
.tp-btn-primary:disabled { opacity: .7; transform: none; cursor: wait; }
.tp-btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink-2); }
.tp-btn-ghost:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.tp-btn-small { min-height: 38px; padding: 0 15px; font-size: 13px; }
/* Ende: Buttons */

/* Header */
.tp-header { position: sticky; top: 0; z-index: 30; background: var(--header-bg); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.tp-header-row { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tp-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; letter-spacing: -.2px; text-decoration: none; }
.tp-brand img { max-height: 40px; max-width: 190px; object-fit: contain; }
.tp-brand-icon { width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-deep); }
.tp-header-actions { display: flex; align-items: center; gap: 14px; }
.tp-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.tp-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22b07d; box-shadow: 0 0 0 0 rgba(34,176,125,.5); animation: tp-pulse 2.4s infinite; }
/* Ende: Header */

/* Hero */
.tp-hero { position: relative; overflow: hidden; padding: 56px 0 0; background: radial-gradient(900px 420px at 78% 30%, color-mix(in srgb, var(--brand-soft) 90%, #fff) 0, transparent 70%), linear-gradient(180deg, #fbfcfb 0, var(--bg) 100%); }
.tp-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.tp-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--brand-deep); }
.tp-kicker span { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.tp-hero h1 { margin: 0; font-size: clamp(32px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -1.2px; font-weight: 600; }
.tp-hero h1 em { display: block; font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.6px; color: var(--brand-deep); }
.tp-lead { max-width: 440px; margin: 18px 0 0; font-size: 15px; color: var(--muted); }
.tp-hero-cta { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.tp-hero-note { font-size: 12px; color: var(--muted); }
.tp-hero-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.tp-hero-points li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.tp-hero-points span { color: var(--brand-deep); }
.tp-hero-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 34px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.tp-motion-toggle { margin-left: auto; padding: 0; border: 0; background: none; font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
/* Ende: Hero */

/* Animation: Szene */
.tp-scene { position: relative; height: 460px; perspective: 1200px; }
.tp-glow { position: absolute; left: 50%; top: 50%; width: 340px; height: 340px; border-radius: 50%; translate: -50% -50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 22%, transparent) 0, transparent 68%); filter: blur(6px); }
.tp-orbit { position: absolute; left: 50%; top: 50%; border: 1px dashed color-mix(in srgb, var(--brand) 30%, transparent); border-radius: 50%; translate: -50% -50%; animation: tp-orbit linear infinite; }
.tp-orbit-1 { width: 300px; height: 300px; animation-duration: 26s; }
.tp-orbit-2 { width: 400px; height: 400px; animation-duration: 38s; animation-direction: reverse; border-style: solid; border-color: color-mix(in srgb, var(--brand) 14%, transparent); }
.tp-orbit-3 { width: 470px; height: 470px; animation-duration: 54s; border-color: color-mix(in srgb, var(--brand) 18%, transparent); }
.tp-planet { position: absolute; left: 50%; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; padding: 8px; border-radius: 50%; background: var(--surface); color: var(--brand-deep); box-shadow: 0 6px 18px rgba(13,34,54,.12), 0 0 0 4px color-mix(in srgb, var(--brand-soft) 80%, transparent); animation: tp-orbit linear infinite reverse; animation-duration: inherit; }
.tp-orbit-2 .tp-planet { top: auto; bottom: 0; margin: 0 0 -17px -17px; background: var(--brand-deep); color: var(--on-brand); animation-direction: normal; }
.tp-orbit-3 .tp-planet { left: 0; top: 50%; margin: -17px 0 0 -17px; }
.tp-planet-text { display: grid; place-items: center; padding: 0; font-size: 12px; font-weight: 800; }
.tp-spark { position: absolute; font-size: 16px; color: color-mix(in srgb, var(--brand) 70%, #fff); animation: tp-twinkle 3.2s ease-in-out infinite; }
.tp-spark-1 { left: 6%; top: 14%; }
.tp-spark-2 { right: 4%; bottom: 22%; animation-delay: 1.4s; }

/* Animation: schwebende Karte */
.tp-device { position: absolute; left: 50%; top: 50%; width: 270px; margin: -165px 0 0 -135px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow), 0 2px 0 rgba(255,255,255,.8) inset; transform-style: preserve-3d; animation: tp-float 7s ease-in-out infinite; }
.tp-device-bar { display: flex; align-items: center; gap: 5px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.tp-device-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.tp-device-bar span { margin-left: 8px; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-device-body { position: relative; overflow: hidden; padding: 16px; }
.tp-device-label { margin: 0; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--brand-deep); font-weight: 700; }
.tp-device-service { margin: 2px 0 12px; font-family: var(--serif); font-size: 19px; }
.tp-device-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 12px; }
.tp-device-week span { display: grid; justify-items: center; padding: 5px 0; border-radius: 9px; background: var(--surface-2); }
.tp-device-week small { font-size: 9px; color: var(--muted); }
.tp-device-week b { font-size: 12px; }
.tp-device-week .is-closed { opacity: .4; }
.tp-device-week .is-active { background: var(--brand-deep); color: var(--on-brand); }
.tp-device-week .is-active small { color: color-mix(in srgb, var(--on-brand) 80%, transparent); }
.tp-device-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tp-device-slots span { padding: 7px 0; border: 1px solid var(--line); border-radius: 8px; text-align: center; font-size: 11px; font-weight: 600; animation: tp-slot 7.2s ease-in-out infinite; animation-delay: calc(var(--i) * 1.2s); }
.tp-device-btn { margin-top: 12px; padding: 9px; border-radius: 9px; background: var(--brand-deep); color: var(--on-brand); text-align: center; font-size: 11px; font-weight: 700; }
.tp-scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--brand) 70%, transparent), transparent); box-shadow: 0 0 14px color-mix(in srgb, var(--brand) 50%, transparent); animation: tp-scan 5.5s ease-in-out infinite; }

/* Animation: Hinweise */
.tp-float { position: absolute; display: flex; align-items: center; gap: 9px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 13px; background: color-mix(in srgb, var(--surface) 95%, transparent); box-shadow: var(--shadow-sm); font-size: 12px; animation: tp-bob 5s ease-in-out infinite; }
.tp-float small { display: block; font-size: 10px; color: var(--muted); letter-spacing: .3px; }
.tp-float b { font-size: 12px; }
.tp-float-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); font-size: 13px; font-weight: 800; }
.tp-float-icon-soft { padding: 5px; background: var(--brand-soft); color: var(--brand-deep); }
.tp-float-1 { right: 0; top: 60px; }
.tp-float-2 { left: 2%; bottom: 78px; animation-delay: 1.6s; }
.tp-float-3 { left: 8%; top: 46px; padding: 7px 12px; color: var(--ink-2); animation-delay: .8s; }
.tp-float-3 b { color: var(--brand-deep); }
.tp-scene-caption { position: absolute; left: 0; right: 0; bottom: 4px; margin: 0; text-align: center; font-size: 11px; letter-spacing: 2.4px; text-transform: uppercase; color: color-mix(in srgb, var(--brand-deep) 75%, var(--muted)); }

@keyframes tp-orbit { to { transform: rotate(360deg); } }
@keyframes tp-float { 0%, 100% { transform: translateY(0) rotateY(-14deg) rotateX(6deg) rotateZ(-4deg); } 50% { transform: translateY(-10px) rotateY(-8deg) rotateX(3deg) rotateZ(-2deg); } }
@keyframes tp-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes tp-scan { 0%, 100% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 70% { transform: translateY(250px); opacity: .9; } 85% { transform: translateY(250px); opacity: 0; } }
@keyframes tp-slot { 0%, 12%, 100% { background: var(--surface); color: var(--ink); border-color: var(--line); transform: none; } 4%, 9% { background: var(--brand-soft); color: var(--brand-deep); border-color: color-mix(in srgb, var(--brand) 45%, transparent); transform: translateY(-2px); } }
@keyframes tp-twinkle { 0%, 100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes tp-pulse { 0% { box-shadow: 0 0 0 0 rgba(34,176,125,.45); } 70% { box-shadow: 0 0 0 8px rgba(34,176,125,0); } 100% { box-shadow: 0 0 0 0 rgba(34,176,125,0); } }
@keyframes tp-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.tp-paused .tp-scene *, .tp-paused .tp-live-dot { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .tp-scene *, .tp-live-dot, .form-step { animation: none !important; }
  html { scroll-behavior: auto; }
}
/* Ende: Animation */

/* Buchung */
.tp-booking { padding: 56px 0 72px; scroll-margin-top: 50px; }
.tp-booking-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.tp-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.tp-booking-card { padding: 28px; box-shadow: var(--shadow); }
.tp-booking-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.tp-booking-head .tp-kicker { margin-bottom: 6px; }
.tp-booking-head h2 { margin: 0; font-size: 26px; letter-spacing: -.6px; font-weight: 600; }
.tp-secure { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 99px; background: var(--ok-bg); color: var(--ok); font-size: 12px; font-weight: 600; white-space: nowrap; }
.tp-secure svg { width: 15px; height: 15px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0 22px; padding: 0; list-style: none; counter-reset: s; }
.step { position: relative; display: flex; align-items: center; gap: 9px; padding-bottom: 12px; font-size: 12px; color: var(--muted); }
.step::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--line); transition: background .3s; }
.step span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 12px; font-weight: 700; transition: all .3s; }
.step small { font-size: 12px; font-weight: 600; }
.step.active::after { background: var(--brand); }
.step.active span { border-color: var(--brand-deep); background: var(--brand-deep); color: var(--on-brand); }
.step.current { color: var(--ink); }

.form-step { animation: tp-in .35s ease both; }
.tp-step-title { margin: 0 0 14px; font-size: 16px; font-weight: 700; }
.tp-fieldset { margin: 0; padding: 0; border: 0; }

.tp-services { display: grid; gap: 10px; }
.service-option { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.service-option:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.service-option input { position: absolute; opacity: 0; pointer-events: none; }
.service-option:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; }
.tp-radio { width: 18px; height: 18px; border: 2px solid var(--line-strong); border-radius: 50%; transition: all .2s; }
.service-option.selected { border-color: var(--brand); background: color-mix(in srgb, var(--brand-soft) 55%, var(--surface)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent); }
.service-option.selected .tp-radio { border-color: var(--brand-deep); box-shadow: inset 0 0 0 4px var(--surface); background: var(--brand-deep); }
.tp-service-main { display: grid; gap: 2px; }
.service-name { font-size: 15px; font-weight: 700; }
.tp-service-desc { font-size: 13px; color: var(--muted); }
.service-meta { display: grid; justify-items: end; gap: 1px; white-space: nowrap; }
.service-meta strong { font-size: 15px; }
.service-meta small { font-size: 12px; color: var(--muted); }

.tp-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.tp-actions-end { justify-content: flex-end; }

/* Kalender */
.tp-datetime { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; }
.tp-calendar, .tp-times { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.tp-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.tp-cal-head strong { font-size: 14px; }
.tp-cal-nav { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); font-size: 17px; line-height: 1; }
.tp-cal-nav:disabled { opacity: .35; cursor: default; }
.tp-cal-week, .tp-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.tp-cal-week span { padding: 4px 0; text-align: center; font-size: 12px; color: var(--muted); font-weight: 600; }
.tp-cal-day { aspect-ratio: 1; border: 0; border-radius: 10px; background: transparent; font-size: 13px; font-weight: 600; transition: background .15s, color .15s; }
.tp-cal-day:not(:disabled):hover { background: var(--brand-soft); color: var(--brand-deep); }
.tp-cal-day:disabled { color: var(--disabled); font-weight: 400; cursor: default; }
.tp-cal-day.is-today { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 45%, transparent); }
.tp-cal-day.selected, .tp-cal-day.selected:hover { background: var(--brand-deep); color: var(--on-brand); box-shadow: 0 6px 14px color-mix(in srgb, var(--brand) 30%, transparent); }
.tp-times-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; font-size: 14px; font-weight: 700; }
.time-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.time-btn { min-height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 13px; font-weight: 600; animation: tp-in .3s ease both; transition: all .15s; }
.time-btn:hover { border-color: var(--brand); color: var(--brand-deep); }
.time-btn.selected { border-color: var(--brand-deep); background: var(--brand-deep); color: var(--on-brand); }

/* Kontaktdaten */
.tp-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-bottom: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.summary-row { display: grid; gap: 2px; padding: 12px 14px; background: color-mix(in srgb, var(--brand-soft) 45%, var(--surface)); }
.summary-row span { font-size: 12px; color: var(--muted); }
.summary-row strong { font-size: 14px; }
.tp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tp-field { display: grid; gap: 6px; margin-bottom: 12px; }
.tp-field label { font-size: 13px; font-weight: 600; }
.tp-field input, .tp-field textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--surface); font-size: 14px; transition: border-color .15s, box-shadow .15s; }
.tp-field input:focus, .tp-field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent); }
.tp-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); }
.tp-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--brand-deep); }
.tp-check a { color: var(--brand-deep); }

/* Meldungen */
.alert { margin-bottom: 14px; padding: 11px 14px; border-radius: 11px; font-size: 13px; }
.alert-error { background: var(--err-bg); color: var(--err); }
.alert-success { background: var(--ok-bg); color: var(--ok); }
.tp-empty { padding: 22px; border-radius: 14px; background: var(--surface-2); text-align: center; }
/* Ende: Buchung */

/* Seitenspalte */
.tp-aside { display: grid; gap: 16px; position: sticky; top: 86px; }
.tp-info { padding: 22px; }
.tp-info-head { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.tp-info-head strong { display: block; font-size: 15px; }
.tp-info-head div span { display: block; font-size: 12px; color: var(--muted); }
.tp-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-deep); font-family: var(--serif); font-size: 20px; }
.tp-info-label { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.tp-hours { margin: 0 0 18px; padding: 0; list-style: none; }
.tp-hours li { display: flex; justify-content: space-between; padding: 6px 8px; border-radius: 8px; font-size: 13px; }
.tp-hours b { font-weight: 600; }
.tp-hours .is-closed { color: var(--muted); font-weight: 400; }
.tp-hours .is-today { background: var(--brand-soft); color: var(--brand-deep); }
.tp-contact { display: grid; gap: 3px; margin: 0; font-size: 13px; color: var(--ink-2); }
.tp-trust { padding: 18px 22px; }
.tp-trust p { display: flex; gap: 9px; margin: 0; padding: 5px 0; font-size: 13px; color: var(--ink-2); }
.tp-trust span { color: var(--brand-deep); font-weight: 800; }
/* Ende: Seitenspalte */

/* Footer */
.tp-footer { border-top: 1px solid var(--line); background: var(--surface); }
.tp-footer-row { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 12px; color: var(--muted); }
.tp-footer nav { display: flex; gap: 18px; }
.tp-footer a { text-decoration: none; }
.tp-footer a:hover { color: var(--ink); }
/* Ende: Footer */

/* Mobil */
@media (max-width: 960px) {
  .tp-hero-grid, .tp-booking-grid { grid-template-columns: 1fr; }
  .tp-scene { height: 420px; max-width: 520px; width: 100%; margin-inline: auto; }
  .tp-aside { position: static; }
}
@media (max-width: 640px) {
  .tp-live { display: none; }
  .tp-hero { padding-top: 36px; }
  .tp-scene { height: 380px; transform: scale(.86); transform-origin: top center; margin-bottom: -40px; }
  .tp-hero-foot { gap: 12px 20px; }
  .tp-motion-toggle { margin-left: 0; }
  .tp-booking { padding-top: 36px; }
  .tp-booking-card { padding: 20px 16px; }
  .tp-booking-head { flex-direction: column; }
  .step small { display: none; }
  .tp-datetime, .tp-two, .tp-summary { grid-template-columns: 1fr; }
  .service-option { grid-template-columns: auto 1fr; }
  .service-meta { grid-column: 2; display: flex; align-items: baseline; gap: 10px; }
  .tp-orbit-3, .tp-float-3 { display: none; }
  .tp-orbit-2 { width: 340px; height: 340px; }
  .tp-float-1 { right: -4px; top: 34px; }
  .tp-float-2 { left: -4px; bottom: 44px; }
  .tp-actions { flex-direction: column-reverse; }
  .tp-actions .tp-btn { width: 100%; }
}
/* Ende: Mobil */

/* Rechtstexte */
.tp-legal { padding: 48px 0 72px; }
.tp-legal-card { max-width: 780px; margin-inline: auto; padding: 34px; }
.tp-legal-card h1 { margin: 0 0 18px; font-size: 28px; font-weight: 600; letter-spacing: -.6px; }
.tp-legal-card h2 { margin: 24px 0 6px; font-size: 16px; font-weight: 700; }
.tp-legal-card p { margin: 0 0 12px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 640px) { .tp-legal-card { padding: 22px 18px; } }
/* Ende: Rechtstexte */

/* Bestätigung */
.tp-confirm { padding: 56px 0 80px; background: radial-gradient(700px 360px at 50% 0, color-mix(in srgb, var(--brand-soft) 90%, #fff), transparent 70%); }
.tp-confirm-card { max-width: 620px; margin-inline: auto; padding: 36px 34px; text-align: center; box-shadow: var(--shadow); }
.tp-confirm-card h1 { margin: 6px 0 8px; font-size: clamp(26px, 3.4vw, 32px); font-weight: 600; letter-spacing: -.8px; }
.tp-confirm-card h1 em { font-family: var(--serif); font-weight: 400; color: var(--brand-deep); }
.tp-confirm-card .tp-lead { margin: 0 auto 22px; max-width: 440px; }
.tp-confirm-card .tp-kicker { margin: 0; }
.tp-confirm-badge { position: relative; display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); }
.tp-confirm-badge svg { width: 54px; height: 54px; stroke-width: 3; }
.tp-ring { stroke-dasharray: 145; stroke-dashoffset: 145; animation: tp-draw .7s ease forwards; }
.tp-mark { stroke-dasharray: 40; stroke-dashoffset: 40; animation: tp-draw .45s .6s ease forwards; }
.tp-confirm-orbit { position: absolute; inset: -12px; border: 1px dashed color-mix(in srgb, var(--brand) 35%, transparent); border-radius: 50%; animation: tp-orbit 16s linear infinite; }
.tp-confirm-orbit::after { content: ''; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--brand); }
.tp-confirm-badge.is-off { background: var(--surface-2); color: var(--muted); }
.tp-confirm-badge.is-off .tp-confirm-orbit { display: none; }
.tp-confirm-badge.is-warn { background: var(--err-bg); color: var(--err); font-size: 30px; font-weight: 800; }
.tp-confirm-date { display: flex; align-items: center; gap: 16px; margin: 0 0 14px; padding: 16px 18px; border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line)); border-radius: 16px; background: linear-gradient(90deg, var(--brand-soft), var(--surface)); text-align: left; }
.tp-confirm-date strong { display: block; font-size: 16px; }
.tp-confirm-date span { font-size: 13px; color: var(--muted); }
.tp-confirm-date.is-off { opacity: .6; text-decoration: line-through; }
.tp-confirm-day { display: grid; justify-items: center; flex: 0 0 auto; width: 58px; padding: 8px 0; border-radius: 12px; background: var(--brand-deep); color: var(--on-brand); line-height: 1.1; }
.tp-confirm-day small { font-size: 11px; opacity: .85; }
.tp-confirm-day b { font-size: 22px; }
.tp-confirm-card .tp-summary { text-align: left; }
.tp-confirm-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.tp-cancel { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
p.tp-cancel { display: block; }
.tp-link-btn { padding: 0; border: 0; background: none; color: var(--err); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@keyframes tp-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .tp-ring, .tp-mark { stroke-dashoffset: 0; animation: none; } .tp-confirm-orbit { animation: none; } }
@media (max-width: 640px) { .tp-confirm { padding-top: 32px; } .tp-confirm-card { padding: 26px 18px; } .tp-confirm-actions .tp-btn { width: 100%; } .tp-cancel { flex-direction: column; } }
/* Ende: Bestätigung */

/* Demo-Farbleiste */
.tp-demo-colors { position: fixed; left: 50%; bottom: 16px; z-index: 40; display: flex; align-items: center; gap: 8px; padding: 8px 12px; translate: -50% 0; border: 1px solid var(--line); border-radius: 99px; background: color-mix(in srgb, var(--surface) 95%, transparent); box-shadow: 0 14px 40px rgba(13,34,54,.16); backdrop-filter: blur(10px); font-size: 12px; animation: tp-in .5s .6s ease both; }
.tp-demo-label { padding: 3px 8px; border-radius: 99px; background: var(--navy); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.tp-demo-text { color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.tp-demo-swatch { width: 22px; height: 22px; flex: 0 0 auto; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px var(--line); transition: transform .15s; }
.tp-demo-swatch:hover { transform: scale(1.15); }
.tp-demo-swatch.is-active { box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--c); transform: scale(1.12); }
.tp-demo-reset { margin-left: 4px; color: var(--muted); white-space: nowrap; }
@media (max-width: 640px) { .tp-demo-colors { left: 8px; right: 8px; bottom: 8px; translate: none; flex-wrap: wrap; justify-content: center; border-radius: 16px; } .tp-demo-text { display: none; } .tp-footer { padding-bottom: 80px; } }
/* Ende: Demo-Farbleiste */

/* Stil: Dunkel (Industrial mit Neon) */
body.tp-dark {
  --ink: #f2f4f6;
  --ink-2: #c9d0d8;
  --muted: #9aa5b1;
  --line: #2a3038;
  --line-strong: #3a414b;
  --bg: #0d0f12;
  --card: #15181d;
  --surface: #15181d;
  --surface-2: #1c2026;
  --disabled: #4f5863;
  --navy: #050607;
  --brand-deep: var(--brand);
  --brand-soft: color-mix(in srgb, var(--brand) 16%, #15181d);
  --on-brand: #120d08;
  --header-bg: rgba(13,15,18,.86);
  --ok: #3ccf91; --ok-bg: rgba(60,207,145,.12);
  --err: #ff7a6b; --err-bg: rgba(255,122,107,.12);
  --shadow-sm: 0 4px 16px rgba(0,0,0,.35);
  --shadow: 0 24px 60px rgba(0,0,0,.5);
  --glow: 0 0 10px color-mix(in srgb, var(--brand) 70%, transparent), 0 0 28px color-mix(in srgb, var(--brand) 40%, transparent);
  color-scheme: dark;
}
.tp-dark .tp-hero {
  background:
    radial-gradient(700px 380px at 78% 35%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, #111419 0, var(--bg) 100%);
}
.tp-dark .tp-hero h1 { font-weight: 800; text-transform: uppercase; letter-spacing: -1px; line-height: 1.02; }
.tp-dark .tp-hero h1 em { font-family: inherit; font-style: normal; font-weight: 800; letter-spacing: -1px; color: var(--brand); text-shadow: 0 0 18px color-mix(in srgb, var(--brand) 45%, transparent); }
.tp-dark .tp-kicker { color: var(--brand); }
.tp-dark .tp-btn { text-transform: uppercase; letter-spacing: .6px; border-radius: 6px; }
.tp-dark .tp-btn-primary { box-shadow: var(--glow); }
.tp-dark .tp-btn-primary:hover { box-shadow: 0 0 14px var(--brand), 0 0 40px color-mix(in srgb, var(--brand) 50%, transparent); }
.tp-dark .tp-btn-ghost { background: transparent; border-color: #4a525d; color: var(--ink); }
.tp-dark .tp-brand-icon { background: color-mix(in srgb, var(--brand) 18%, transparent); color: var(--brand); }
.tp-dark .tp-booking-head h2, .tp-dark .tp-confirm-card h1, .tp-dark .tp-legal-card h1 { text-transform: uppercase; font-weight: 800; letter-spacing: -.4px; }
.tp-dark .tp-confirm-card h1 em { font-family: inherit; font-style: normal; color: var(--brand); }
.tp-dark .tp-card { border-color: var(--line); }
.tp-dark .tp-footer { background: #090b0d; }
.tp-dark .tp-confirm { background: radial-gradient(700px 360px at 50% 0, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%); }

/* Neon-Röhren links und rechts der Animation */
.tp-dark .tp-scene::before, .tp-dark .tp-scene::after {
  content: ''; position: absolute; top: 18%; width: 6px; height: 64%; border-radius: 6px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 70%, #fff), var(--brand) 20%, var(--brand) 80%, color-mix(in srgb, var(--brand) 70%, #fff));
  box-shadow: 0 0 8px var(--brand), 0 0 22px var(--brand), 0 0 60px color-mix(in srgb, var(--brand) 60%, transparent);
  animation: tp-neon 6s infinite;
}
.tp-dark .tp-scene::before { left: 2%; }
.tp-dark .tp-float, .tp-dark .tp-device { z-index: 2; }
.tp-dark .tp-scene::after { right: 2%; animation-delay: 2.3s; }
@keyframes tp-neon { 0%, 18%, 22%, 60%, 64%, 100% { opacity: 1; } 20%, 62% { opacity: .45; } }

/* Animation im dunklen Stil */
.tp-dark .tp-orbit { border-color: color-mix(in srgb, var(--brand) 35%, transparent); }
.tp-dark .tp-orbit-2 { border-color: color-mix(in srgb, var(--brand) 18%, transparent); }
.tp-dark .tp-planet { background: #1c2026; color: var(--brand); box-shadow: 0 0 0 4px rgba(255,255,255,.04), 0 0 16px color-mix(in srgb, var(--brand) 35%, transparent); }
.tp-dark .tp-orbit-2 .tp-planet { background: var(--brand); color: var(--on-brand); }
.tp-dark .tp-device { background: #171b21; box-shadow: 0 30px 70px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04); }
.tp-dark .tp-device-service { font-family: inherit; font-weight: 700; text-transform: uppercase; font-size: 15px; }
.tp-dark .tp-float { background: rgba(23,27,33,.95); }
.tp-dark .tp-glow { background: radial-gradient(circle, color-mix(in srgb, var(--brand) 30%, transparent) 0, transparent 68%); }
.tp-dark .tp-scene-caption { color: color-mix(in srgb, var(--brand) 80%, #fff); }
@keyframes tp-slot-dark { 0%, 12%, 100% { background: var(--surface); color: var(--ink); border-color: var(--line); } 4%, 9% { background: color-mix(in srgb, var(--brand) 22%, transparent); color: var(--brand); border-color: var(--brand); box-shadow: 0 0 10px color-mix(in srgb, var(--brand) 40%, transparent); } }
.tp-dark .tp-device-slots span { animation-name: tp-slot-dark; }
.tp-paused.tp-dark .tp-scene::before, .tp-paused.tp-dark .tp-scene::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .tp-dark .tp-scene::before, .tp-dark .tp-scene::after { animation: none; } }
@media (max-width: 640px) { .tp-dark .tp-scene::before, .tp-dark .tp-scene::after { display: none; } }
/* Ende: Stil Dunkel */

/* Demo-Leiste: Hell und Dunkel */
.tp-demo-sep { width: 1px; height: 18px; background: var(--line); }
.tp-demo-mode { padding: 3px 9px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-2); text-decoration: none; font-weight: 600; white-space: nowrap; }
.tp-demo-mode.is-active { border-color: var(--brand); background: var(--brand-soft); color: var(--ink); }
/* Ende: Demo-Leiste */
