:root {
  color-scheme: light;
  --page: #f8f7f4;
  --page-soft: #f2f0eb;
  --surface: #ffffff;
  --ink: #1c1915;
  --ink-soft: #403c35;
  --sand-900: #1c1915;
  --sand-800: #3d3930;
  --sand-700: #5c5750;
  --sand-600: #706a60;
  --sand-500: #8c867a;
  --sand-400: #b8b2a6;
  --sand-300: #d4cfc5;
  --sand-200: #e8e4dc;
  --sand-100: #f2f0eb;
  --accent: #b07840;
  --accent-2: #c49050;
  --accent-soft: #f5ede0;
  --danger: #b42318;
  --danger-soft: #fff1f0;
  --ok: #137333;
  --ok-soft: #ecfdf3;
  --warning: #9a6700;
  --warning-soft: #fff8e6;
  --shadow-soft: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.1), 0 16px 48px rgba(0, 0, 0, 0.06);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.58;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.app-shell,
.admin-shell {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 12px 16px 32px;
}

.admin-shell {
  width: min(100%, 1180px);
}

.brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0 16px;
}

.logo-button {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 8px;
}

.logo-button:focus-visible {
  outline: 3px solid rgba(196, 144, 80, 0.28);
  outline-offset: 5px;
}

.brand-logo {
  width: 158px;
  max-width: 58vw;
  height: auto;
  object-fit: contain;
}

.language-button,
.icon-button {
  min-width: 48px;
  min-height: 44px;
  border: 1px solid var(--sand-200);
  border-radius: 12px;
  color: var(--sand-700);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.language-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 132px;
  padding: 0 13px;
  white-space: nowrap;
}

.language-button img {
  width: 22px;
  height: 15px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(28, 25, 21, 0.12);
}

.reservation-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
}

.reservation-item {
  border: 1px solid var(--sand-200);
  border-radius: 12px;
  padding: 10px 11px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  min-height: 68px;
}

.reservation-label,
.step-label,
.field span,
.hint-label {
  display: block;
  color: var(--sand-500);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reservation-value {
  margin-top: 5px;
  color: var(--sand-900);
  font-weight: 750;
  line-height: 1.25;
}

.progress {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
  margin: 12px 0 14px;
}

.progress-step {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.progress-dot {
  height: 6px;
  border-radius: 999px;
  background: var(--sand-200);
}

.progress-step span {
  color: var(--sand-400);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress-step.active .progress-dot,
.progress-step.done .progress-dot {
  background: linear-gradient(135deg, #d4b07a, var(--accent));
}

.progress-step.active span,
.progress-step.done span {
  color: var(--accent);
}

.panel {
  border: 1px solid var(--sand-200);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  padding: clamp(16px, 3vw, 24px);
}

.loading-card {
  display: grid;
  place-items: center;
  gap: 14px;
  min-height: 280px;
  color: var(--sand-500);
}

.spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--sand-200);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.screen-title {
  margin: 0;
  color: var(--sand-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.65rem, 5.5vw, 3.05rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.screen-copy {
  color: var(--sand-600);
  line-height: 1.62;
  margin: 10px 0 0;
  max-width: 66ch;
}

.section-title {
  margin: 24px 0 0;
  color: var(--sand-900);
  font-size: 1.05rem;
  font-weight: 750;
}

.form-grid {
  display: grid;
  gap: 11px;
  margin-top: 16px;
}

.two-col {
  grid-template-columns: 1fr 1fr;
}

.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.field {
  display: grid;
  gap: 7px;
}

.field input,
.field select,
.field textarea {
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--sand-200);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--sand-900);
  background: var(--surface);
  outline: none;
  box-shadow: 0 0 0 transparent;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(196, 144, 80, 0.16);
}

.field input[type="date"] {
  min-width: 0;
  color-scheme: light;
}

.field input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.72;
}

.country-picker {
  grid-column: 1 / -1;
}

.country-picker > label {
  display: block;
}

.country-combobox {
  position: relative;
}

.country-results {
  position: absolute;
  z-index: 20;
  inset-inline: 0;
  top: calc(100% + 6px);
  display: grid;
  max-height: 292px;
  overflow: auto;
  border: 1px solid var(--sand-200);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.country-results[hidden] {
  display: none;
}

.country-results button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  border: 0;
  border-bottom: 1px solid var(--sand-100);
  background: transparent;
  color: var(--sand-800);
  padding: 8px 11px;
  text-align: left;
}

.country-results button:hover,
.country-results button:focus-visible {
  background: var(--accent-soft);
  outline: none;
}

.country-results button span {
  color: var(--sand-500);
  font-size: 0.78rem;
  font-weight: 800;
}

.country-no-results {
  padding: 11px;
  color: var(--sand-500);
  font-size: 0.9rem;
}

.country-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 30px;
}

.country-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid var(--sand-200);
  border-radius: 999px;
  background: var(--surface);
  color: var(--sand-800);
  padding: 0 10px 0 12px;
  font-size: 0.84rem;
  font-weight: 700;
}

.country-chip span[aria-hidden="true"] {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sand-100);
  color: var(--sand-700);
}

.date-field {
  grid-column: auto;
}

.date-parts {
  display: grid;
  grid-template-columns: minmax(58px, 0.8fr) minmax(66px, 0.9fr) minmax(92px, 1.2fr) 34px;
  gap: 8px;
  align-items: center;
}

.date-parts input {
  text-align: center;
}

.date-field.invalid .date-parts input {
  border-color: var(--danger);
  background: var(--danger-soft);
}

.calendar-glyph {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--sand-200);
  border-radius: 8px;
  color: transparent;
  background:
    linear-gradient(var(--sand-700), var(--sand-700)) 50% 58% / 16px 2px no-repeat,
    linear-gradient(var(--sand-700), var(--sand-700)) 50% 42% / 16px 2px no-repeat,
    linear-gradient(var(--sand-700), var(--sand-700)) 34% 28% / 2px 6px no-repeat,
    linear-gradient(var(--sand-700), var(--sand-700)) 66% 28% / 2px 6px no-repeat,
    var(--surface);
}

.readonly-field small,
.field small {
  color: var(--sand-500);
  font-size: 0.82rem;
  line-height: 1.35;
}

.readonly-value {
  display: flex;
  align-items: center;
  min-height: 46px;
  border: 1px solid var(--sand-200);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--sand-700);
  background: var(--page);
  font-weight: 700;
}

.muted-text {
  color: var(--sand-500);
  font-size: 0.9rem;
}

.choice-grid {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.choice-button,
.guest-list-button {
  width: 100%;
  border: 1px solid var(--sand-200);
  border-radius: 12px;
  color: var(--sand-800);
  background: var(--surface);
  text-align: left;
  padding: 13px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.choice-button strong,
.guest-list-button strong {
  display: block;
  color: var(--sand-900);
  font-weight: 800;
}

.choice-button span,
.guest-list-button span {
  display: block;
  color: var(--sand-500);
  font-size: 0.9rem;
  margin-top: 3px;
}

.choice-button:hover,
.guest-list-button:hover {
  transform: translateY(-1px);
  border-color: var(--sand-300);
  box-shadow: var(--shadow-card);
}

.choice-button.selected,
.guest-list-button.selected {
  border-color: var(--accent-2);
  background: var(--accent-soft);
}

.guest-workspace {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 18px;
}

.guest-list {
  display: grid;
  gap: 10px;
}

.guest-form-card {
  border: 1px solid var(--sand-200);
  border-radius: 10px;
  background: var(--page);
  padding: 14px;
}

.guest-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.guest-card {
  border: 1px solid var(--sand-200);
  border-radius: 12px;
  background: var(--surface);
  padding: 13px;
  box-shadow: var(--shadow-soft);
}

.guest-card h3 {
  margin: 0 0 8px;
  color: var(--sand-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.18rem;
  line-height: 1.2;
}

.guest-card dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.guest-card div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--sand-100);
  padding-top: 6px;
}

.guest-card dt {
  color: var(--sand-500);
  font-size: 0.82rem;
}

.guest-card dd {
  margin: 0;
  color: var(--sand-800);
  font-weight: 650;
  text-align: right;
}

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

.primary-button,
.secondary-button,
.danger-button,
.text-button {
  min-height: 48px;
  border-radius: 10px;
  padding: 0 16px;
  font-weight: 750;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.primary-button {
  border: 1px solid var(--sand-900);
  color: #ffffff;
  background: var(--sand-900);
  box-shadow: var(--shadow-soft);
}

.primary-button:hover {
  transform: translateY(-1px);
  background: var(--ink-soft);
  box-shadow: var(--shadow-card);
}

.secondary-button {
  color: var(--sand-700);
  border: 1px solid var(--sand-200);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.secondary-button:hover {
  color: var(--sand-900);
  border-color: var(--sand-300);
}

.danger-button {
  color: #ffffff;
  border: 1px solid var(--danger);
  background: var(--danger);
}

.text-button {
  min-height: 42px;
  border: 0;
  color: var(--accent);
  background: transparent;
  padding: 0 8px;
}

.notice,
.error-box,
.success-box,
.warning-box {
  margin-top: 16px;
  border-radius: 12px;
  padding: 12px 13px;
  line-height: 1.6;
}

.notice.subtle,
.local-test-notice {
  border-color: var(--sand-200);
  background: var(--page);
  color: var(--sand-600);
}

.local-test-notice {
  margin-top: 14px;
  border: 1px solid var(--sand-200);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.9rem;
}

.info-disclosure {
  margin-top: 16px;
  border: 1px solid var(--sand-200);
  border-radius: 10px;
  background: var(--page);
  padding: 10px 12px;
}

.info-disclosure summary {
  color: var(--sand-900);
  cursor: pointer;
  font-weight: 800;
}

.info-disclosure ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--sand-700);
}

.info-disclosure p {
  margin: 10px 0 0;
  color: var(--sand-500);
  font-size: 0.9rem;
}

.notice {
  border: 1px solid #e8d5b8;
  background: var(--accent-soft);
  color: #6c451f;
}

.warning-box {
  border: 1px solid #f3d18a;
  background: var(--warning-soft);
  color: var(--warning);
}

.error-box {
  border: 1px solid #ffd1cc;
  background: var(--danger-soft);
  color: var(--danger);
}

.success-box {
  border: 1px solid #b7ebc6;
  background: var(--ok-soft);
  color: var(--ok);
}

.summary-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--sand-100);
  padding: 0 0 10px;
}

.summary-row strong {
  color: var(--sand-900);
  text-align: right;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--sand-200);
  border-radius: 999px;
  background: var(--page);
  color: var(--sand-600);
  padding: 0 11px;
  font-size: 0.8rem;
  font-weight: 650;
}

.signature-panel {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  border: 1px solid var(--sand-200);
  border-radius: 12px;
  background: var(--page);
  padding: 14px;
}

.signature-canvas {
  width: 100%;
  aspect-ratio: 3.3 / 1;
  border: 1px dashed var(--sand-300);
  border-radius: 10px;
  background: var(--surface);
  touch-action: none;
}

.signature-actions,
.check-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.check-row {
  justify-content: flex-start;
  color: var(--sand-700);
  font-size: 0.92rem;
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--sand-900);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  color: #ffffff;
  background: var(--sand-900);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-panel {
  padding: 18px;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(190px, 260px) 1fr auto;
  gap: 12px;
  align-items: end;
}

.field.compact input {
  min-height: 44px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 16px;
  margin-top: 16px;
}

.admin-list,
.admin-detail {
  min-height: 360px;
  border: 1px solid var(--sand-200);
  border-radius: 16px;
  padding: 12px;
  background: var(--page);
}

.admin-list button {
  width: 100%;
  border: 1px solid var(--sand-200);
  border-radius: 14px;
  background: var(--surface);
  color: var(--sand-800);
  padding: 13px;
  text-align: left;
  margin-bottom: 8px;
  box-shadow: var(--shadow-soft);
}

pre {
  overflow: auto;
  white-space: pre-wrap;
  color: var(--sand-700);
  background: var(--surface);
  border: 1px solid var(--sand-200);
  border-radius: 14px;
  padding: 12px;
}

@media (max-width: 840px) {
  .reservation-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guest-workspace,
  .admin-toolbar,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .guest-card-grid,
  .two-col,
  .three-col,
  .signature-actions {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .app-shell,
  .admin-shell {
    padding: 14px 12px 28px;
  }

  .brand-logo {
    width: 128px;
  }

  .language-button {
    min-width: 118px;
    padding: 0 10px;
  }

  .reservation-strip {
    grid-template-columns: 1fr;
  }

  .progress-step span {
    display: none;
  }

  .panel {
    padding: 20px;
    border-radius: 16px;
  }

  .actions {
    flex-direction: column-reverse;
  }

  .primary-button,
  .secondary-button,
  .danger-button {
    width: 100%;
  }
}

/* D015 (Auftrag Teil A.3): dezente Konfetti-Animation auf dem
   Registrierungserfolg-Bildschirm. */
.confetti-canvas {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  pointer-events: none;
  z-index: 999;
}

/* D015 (Auftrag Teil B): Kamera-Upload für das Ausweisdokument. */
.camera-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  color: var(--sand-500);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.camera-divider::before,
.camera-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--sand-200);
}

.camera-block {
  display: grid;
  gap: 12px;
}

.camera-live,
.camera-preview {
  display: grid;
  gap: 10px;
}

.camera-live video,
.camera-preview canvas {
  width: 100%;
  max-height: 360px;
  border-radius: 12px;
  background: var(--sand-900);
  object-fit: cover;
}

.camera-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .camera-actions {
    flex-direction: column;
  }

  .camera-actions button {
    width: 100%;
  }
}

/* D015 (Auftrag Teil E): kompakte Admin-Übersichtszeilen (Name, Apartment,
   Buchungs-/Reservierungs-ID, Status-Badge) - Details öffnen sich erst im
   aufklappbaren Detailbereich (siehe admin.js, <details>). */
.admin-row {
  display: grid;
  gap: 4px;
}

.admin-row-name {
  font-weight: 800;
  color: var(--sand-900);
}

.admin-row-apartment {
  color: var(--sand-600);
  font-size: 0.9rem;
}

.admin-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.status-pill.status-vollstaendig {
  background: var(--ok);
}

.status-pill.status-in_pruefung {
  background: var(--warning);
}

.status-pill.status-unvollstaendig {
  background: var(--sand-600);
}

.status-pill.status-geloescht {
  background: var(--danger);
}

/* ======================================================================
   Gaesteoberflaeche V7 (12.11.2026): Kopf mit beiden Original-Logos,
   kompakte Buchungszeile, Intro, Rechnung am Ende, Gaestebereich.
   Nur Klassen, keine Inline-Styles (CSP style-src 'self').
   ====================================================================== */

.app-shell {
  width: min(100%, 560px);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.brand-header {
  padding: 12px 0 12px;
  border-bottom: 1px solid var(--sand-200);
  margin-bottom: 12px;
}

.brand-logo-kc {
  width: 96px;
  max-width: 30vw;
}

.brand-logo-pa {
  width: 78px;
  max-width: 24vw;
}

.booking-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  color: var(--sand-600);
}

.booking-code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  color: var(--ink);
  letter-spacing: 0.03em;
}

.booking-source {
  font-weight: 650;
  color: var(--ink);
  border: 1px solid var(--sand-200);
  background: var(--surface);
  border-radius: 999px;
  padding: 2px 10px;
}

.booking-bar .language-button {
  margin-left: auto;
  min-width: 0;
  min-height: 38px;
  border-radius: 999px;
}

.reservation-strip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid var(--sand-200);
  border-radius: 14px;
  background: var(--surface);
  padding: 12px 14px;
  box-shadow: var(--shadow-soft);
}

.stay-name {
  font-weight: 700;
}

.stay-line {
  font-size: 0.9rem;
  color: var(--sand-600);
}

.invoice-check {
  border: 1.5px solid var(--sand-200);
  border-radius: 14px;
  padding: 14px;
  background: var(--surface);
  cursor: pointer;
}

.invoice-check.checked {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.invoice-check input {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
}

.invoice-check small {
  color: var(--sand-600);
  font-weight: 400;
}

.invoice-fields {
  margin-top: 12px;
}

.field.wide,
.check-row.wide {
  grid-column: 1 / -1;
}

.field.has-error input {
  border-color: var(--danger);
  background: var(--danger-soft);
}

.field-error {
  color: var(--danger);
  font-weight: 600;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* --- Gaestebereich nach dem Check-in --- */
.guest-area {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.done-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 8px 0 4px;
}

.done-tick {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ok);
  background: var(--ok-soft);
}

.done-tick svg {
  width: 28px;
  height: 28px;
}

.area-card {
  position: relative;
  border: 1px solid var(--sand-200);
  border-radius: 18px;
  background: var(--surface);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.area-title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
}

.area-apartment {
  display: flex;
  flex-direction: column;
}

.area-apartment span {
  color: var(--sand-600);
  font-size: 0.9rem;
}

.area-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.area-times div {
  background: var(--page-soft);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
}

.area-times span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sand-600);
  font-weight: 700;
}

.gallery {
  position: relative;
  margin: -18px -18px 0;
}

.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-track img {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  scroll-snap-align: start;
  cursor: zoom-in;
  display: block;
}

.gallery-caption {
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 3px 10px;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
}

.gallery-nav.prev {
  left: 10px;
}

.gallery-nav.next {
  right: 10px;
}

.gallery-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.gallery-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}

.gallery-dots button.on {
  width: 20px;
  border-radius: 4px;
  background: #ffffff;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #0c0b09;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lightbox-track img {
  aspect-ratio: auto;
  max-height: 82vh;
  object-fit: contain;
  cursor: default;
}

.lightbox .gallery-nav {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.lightbox-close {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top, 0px));
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 24px;
}

.lightbox-count {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.gift-card {
  border: 1.5px solid #e9c58e;
  background: linear-gradient(160deg, #fbf6ee, var(--surface));
}

.gift-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
}

.gift-qr {
  width: 116px;
  height: 116px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid var(--sand-200);
  background: #ffffff;
}

.gift-qr svg {
  width: 100%;
  height: 100%;
  display: block;
}

.gift-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.gift-text p {
  margin: 0;
}

.gift-code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: #8a5c2c;
}

.review-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.review-links a {
  flex: 1 1 180px;
}

/* --- Adressvorschlaege (Schritt 2) --- */
.address-search {
  grid-column: 1 / -1;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.address-search > .field {
  margin: 0;
}

.address-suggestions {
  display: flex;
  flex-direction: column;
  margin-top: 6px;
  border: 1.5px solid var(--accent);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.address-suggestion {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 11px 12px;
  border: 0;
  border-top: 1px solid var(--sand-200);
  background: none;
  text-align: left;
}

.address-suggestion:first-child {
  border-top: 0;
}

.address-suggestion:hover,
.address-suggestion:focus-visible {
  background: var(--accent-soft);
  outline: none;
}

.address-suggestion span {
  color: var(--sand-600);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.address-attribution {
  margin: 0;
  padding: 6px 12px;
  font-size: 0.75rem;
  color: var(--sand-600);
  background: var(--page-soft);
  border-top: 1px solid var(--sand-200);
}

/* --- Ausweisfoto: Kamera oder Galerie --- */
.doc-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.doc-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 10px;
  border: 1.5px solid var(--sand-200);
  border-radius: 14px;
  background: var(--surface);
  text-align: center;
  cursor: pointer;
}

.doc-tile:hover,
.doc-tile:focus-within {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.doc-tile small {
  color: var(--sand-600);
}

.doc-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #8a5c2c;
  background: var(--accent-soft);
}

.doc-icon svg {
  width: 24px;
  height: 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.doc-tile:has(+ .visually-hidden:focus-visible) {
  outline: 3px solid rgba(196, 144, 80, 0.4);
}

.doc-preview {
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.doc-preview img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--sand-200);
  background: var(--page-soft);
}

.doc-preview figcaption {
  color: var(--ok);
  font-weight: 700;
  font-size: 0.9rem;
}

.doc-file {
  padding: 14px;
  border: 1px solid var(--sand-200);
  border-radius: 12px;
  background: var(--page-soft);
}

/* --- Intro --- */
.intro-stage {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: pointer;
  background: radial-gradient(70% 50% at 50% 42%, #ffffff 0%, var(--page) 60%, #eee7db 100%);
  padding: env(safe-area-inset-top, 0px) 24px env(safe-area-inset-bottom, 0px);
}

.intro-stage.out {
  animation: introStageOut 0.8s ease forwards;
}

.intro-stage.out .intro-box {
  animation: introLiftOut 0.8s ease forwards;
}

.intro-glow {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 120vmin;
  height: 120vmin;
  margin: -60vmin;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 60%);
  opacity: 0;
  animation: introFadeIn 1.6s 0.9s ease forwards;
}

.intro-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: min(330px, 86vw);
  perspective: 900px;
}

.intro-box.settled {
  perspective: none;
}

.intro-logo {
  width: 76%;
  transform-origin: 50% 100%;
  animation: introStandUp 1.7s 0.2s cubic-bezier(0.2, 0.8, 0.25, 1.05) both;
}

.intro-logo.settled {
  animation: none;
  transform: none;
  opacity: 1;
}

.intro-logo svg,
.intro-logo img {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  shape-rendering: geometricPrecision;
}

.intro-floor {
  width: 66%;
  height: 22px;
  margin-top: -4px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(28, 25, 21, 0.22), transparent);
  transform: scaleX(0.2);
  opacity: 0;
  animation: introFloor 1.7s 0.2s cubic-bezier(0.2, 0.8, 0.25, 1) forwards;
}

.intro-hello {
  margin: 18px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  opacity: 0;
  animation: introRise 0.8s 2.2s ease forwards;
}

.intro-hello2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 18px;
  color: #8a5c2c;
  text-align: center;
  opacity: 0;
  animation: introRise 0.8s 2.55s ease forwards;
}

.intro-skip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--sand-600);
  opacity: 0;
  animation: introRise 0.6s 1s ease forwards;
}

.intro-spark {
  position: absolute;
  width: 10px;
  height: 10px;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, #ffffff 0 18%, transparent 20%),
    linear-gradient(0deg, transparent 46%, #ffffff 50%, transparent 54%),
    linear-gradient(90deg, transparent 46%, #ffffff 50%, transparent 54%);
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.35)) drop-shadow(0 0 6px #ffffff);
  animation: introTwinkle 1.1s ease-out forwards;
}

.fireworks {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 45;
}

@keyframes introStandUp {
  0% { transform: translateY(70px) rotateX(78deg) rotateY(-10deg) scale(0.85); opacity: 0; }
  30% { opacity: 1; }
  70% { transform: translateY(-6px) rotateX(-9deg) rotateY(4deg) scale(1.02); }
  100% { transform: none; opacity: 1; }
}

@keyframes introFloor {
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes introFadeIn {
  to { opacity: 1; }
}

@keyframes introRise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes introTwinkle {
  0% { opacity: 0; transform: scale(0.2) rotate(0); }
  35% { opacity: 1; transform: scale(1.15) rotate(45deg); }
  100% { opacity: 0; transform: scale(0.5) rotate(90deg); }
}

@keyframes introLiftOut {
  to { transform: translateY(-18px) scale(0.96); opacity: 0; }
}

@keyframes introStageOut {
  to { opacity: 0; visibility: hidden; }
}

@media (max-width: 420px) {
  .gift-row {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-logo,
  .intro-floor,
  .intro-glow,
  .intro-hello,
  .intro-hello2,
  .intro-skip {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
  }
}

[hidden] {
  display: none !important;
}

/* ======================================================================
   V8 (12.11.2026, Video-Rueckmeldung): kleinere, klare Schrift, kein
   Ueberlauf, eine Spalte am Handy, breiter am PC, Fortschritt als
   "Schritt x von n", Reisende ohne Seitenleiste, Kalenderfelder.
   ====================================================================== */

body {
  font-size: 15px;
  line-height: 1.5;
}

.app-shell {
  width: min(100%, 600px);
}

@media (min-width: 900px) {
  .app-shell {
    width: min(100%, 680px);
  }
}

.panel {
  padding: clamp(16px, 4vw, 28px);
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Ueberschriften: gleiche klare Schrift wie der Text, deutlich kleiner */
.screen-title,
.guest-card h3,
.done-hero .screen-title {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  overflow-wrap: break-word;
  hyphens: auto;
  text-wrap: balance;
}

.screen-title {
  font-size: clamp(1.3rem, 4.6vw, 1.65rem);
}

.title-count {
  color: var(--sand-500);
  font-weight: 600;
  font-size: 0.8em;
}

.screen-copy {
  font-size: 0.95rem;
  margin-top: 6px;
}

.hint-line {
  margin: 12px 0 0;
  color: var(--sand-500);
  font-size: 0.85rem;
  line-height: 1.45;
}

.section-title {
  margin-top: 22px;
  font-size: 0.98rem;
  font-weight: 700;
}

/* Feldbeschriftungen: normal geschrieben statt GROSSBUCHSTABEN */
.field span,
.field > span,
.country-picker label span {
  color: var(--sand-700, #4a4339);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.field small {
  color: var(--sand-500);
  font-size: 0.8rem;
  line-height: 1.4;
}

.field,
.form-grid > *,
.address-search {
  min-width: 0;
}

.field input,
.field select {
  min-height: 44px;
  font-size: 16px; /* verhindert das Zoomen auf dem iPhone */
}

.form-grid {
  gap: 12px;
  margin-top: 14px;
}

.field-wide,
.form-grid .check-row {
  grid-column: 1 / -1;
}

@media (max-width: 480px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* Datum mit Kalender */
.date-field input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  min-width: 0;
  text-align: left;
}

.date-field input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
}

.date-field input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.7;
}

/* Fortschritt: "Schritt 2 von 3" + Balken */
.progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 2px 12px;
}

.progress-text {
  flex: none;
  color: var(--sand-500);
  font-size: 0.8rem;
  font-weight: 600;
}

.progress-track {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: var(--sand-200);
  overflow: hidden;
}

.progress-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, #d4b07a, var(--accent));
  transition: width 0.35s ease;
}

/* Staatsangehoerigkeit: zwei grosse Antworten, ein Tipp genuegt */
.choice-grid {
  margin-top: 18px;
  gap: 10px;
}

.choice-button {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
}

.choice-button .choice-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
}

.choice-button .choice-text {
  margin: 0;
  min-width: 0;
}

.choice-button .choice-text strong {
  font-size: 1.02rem;
  font-weight: 700;
}

.choice-button .choice-text span {
  font-size: 0.86rem;
}

/* Reisende: Reiter oben statt Seitenleiste */
.guest-tabs {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.guest-tab {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 220px;
  border: 1px solid var(--sand-200);
  border-radius: 999px;
  background: var(--surface);
  color: var(--sand-700, #4a4339);
  padding: 6px 12px 6px 6px;
  font-size: 0.86rem;
}

.guest-tab.selected {
  border-color: var(--accent-2);
  background: var(--accent-soft);
  color: var(--sand-900);
}

.guest-tab-no {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sand-100, #f1ede6);
  font-size: 0.78rem;
  font-weight: 700;
}

.guest-tab.complete .guest-tab-no {
  background: var(--ok-soft);
  color: var(--ok);
}

.guest-tab-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Dokumentart als Umschalter */
.seg {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.seg-button {
  min-height: 42px;
  border: 1px solid var(--sand-200);
  border-radius: 10px;
  background: var(--surface);
  color: var(--sand-800);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 8px;
  overflow-wrap: anywhere;
}

.seg-button.selected {
  border-color: var(--accent-2);
  background: var(--accent-soft);
  color: var(--sand-900);
  box-shadow: inset 0 0 0 1px var(--accent-2);
}

.doc-hint .hint-ok {
  color: var(--ok);
  font-weight: 600;
}

.doc-hint .hint-warn {
  color: var(--warning);
}

.doc-hint .hint-bad {
  color: var(--danger);
}

/* Laenderauswahl: Chips in normaler Schrift */
.country-chip,
.country-chip span {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.84rem;
}

/* Pruefseite */
.summary-block {
  margin-top: 18px;
}

.summary-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.summary-head .section-title {
  margin: 0;
}

.summary-row {
  gap: 16px;
}

.summary-row span {
  flex: none;
}

.summary-row strong {
  min-width: 0;
  text-align: right;
  overflow-wrap: anywhere;
}

.guest-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.guest-card h3 {
  font-size: 1rem;
}

.guest-card h3 small {
  display: block;
  color: var(--sand-500);
  font-size: 0.8rem;
  font-weight: 500;
}

.signature-canvas {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 720 / 220;
}

.signature-actions {
  flex-wrap: wrap;
}

.consent-row {
  margin-top: 18px;
  display: grid;
  gap: 6px;
}

.privacy-details summary {
  color: var(--accent);
  font-size: 0.85rem;
  cursor: pointer;
}

.privacy-details p {
  color: var(--sand-600);
  font-size: 0.85rem;
  margin: 6px 0 0;
}

.review-stay {
  text-align: center;
}

.actions {
  flex-wrap: wrap;
  gap: 10px;
}

.form-grid {
  align-items: start;
}

/* ======================================================================
   V9 (12.11.2026, zweites Video): eigener Kalender (datepicker.js),
   Gutschein nach der Abreise, Bewertungslinks.
   ====================================================================== */

.dp {
  position: relative;
}

.dp-control {
  display: flex;
  align-items: stretch;
  min-height: 44px;
  border: 1px solid var(--sand-200);
  border-radius: 10px;
  background: var(--surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dp-control:focus-within {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.dp.has-error .dp-control {
  border-color: var(--danger);
}

.field .dp-control .dp-text {
  flex: 1;
  min-width: 0;
  min-height: 42px;
  border: 0;
  border-radius: 10px 0 0 10px;
  background: transparent;
  box-shadow: none;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.field .dp-control .dp-text:focus {
  box-shadow: none;
}

.dp-toggle {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  border: 0;
  border-left: 1px solid var(--sand-200);
  border-radius: 0 10px 10px 0;
  background: var(--accent-soft);
  color: var(--accent);
}

.dp-toggle svg {
  width: 20px;
  height: 20px;
}

.dp-toggle[aria-expanded="true"] {
  background: var(--accent);
  color: #fff;
}

.dp-error {
  color: var(--danger) !important;
}

.dp-backdrop {
  display: none;
}

.dp-pop {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  width: 320px;
  max-width: calc(100vw - 32px);
  border: 1px solid var(--sand-200);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 12px 40px rgba(28, 25, 21, 0.18);
  padding: 12px;
}

.dp-head {
  display: grid;
  grid-template-columns: 36px 1fr 92px 36px;
  gap: 6px;
  align-items: center;
}

.dp-nav {
  height: 36px;
  border: 1px solid var(--sand-200);
  border-radius: 9px;
  background: var(--surface);
  color: var(--sand-800);
  font-size: 1.2rem;
  line-height: 1;
}

.dp-nav:disabled {
  opacity: 0.35;
}

.dp-select {
  height: 36px;
  min-width: 0;
  border: 1px solid var(--sand-200);
  border-radius: 9px;
  background: var(--surface);
  color: var(--sand-900);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0 6px;
}

.dp-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-top: 10px;
}

.dp-cell {
  display: grid;
  place-items: center;
  height: 38px;
  font-size: 0.9rem;
}

.dp-wd {
  height: 26px;
  color: var(--sand-500);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.dp-day {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--sand-900);
  font-variant-numeric: tabular-nums;
}

.dp-day:hover:not(:disabled) {
  background: var(--accent-soft);
}

.dp-day.today {
  box-shadow: inset 0 0 0 1px var(--accent-2);
}

.dp-day.selected {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.dp-day:disabled {
  color: var(--sand-300, #cfc6b8);
  cursor: default;
}

.dp-close {
  width: 100%;
  margin-top: 8px;
  height: 40px;
  border: 1px solid var(--sand-200);
  border-radius: 10px;
  background: var(--surface);
  color: var(--sand-800);
  font-weight: 600;
}

@media (max-width: 600px) {
  .dp-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 39;
    background: rgba(28, 25, 21, 0.35);
  }

  .dp-pop {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-width: none;
    border-radius: 18px 18px 0 0;
    padding: 16px max(16px, env(safe-area-inset-left, 0px)) calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .dp-cell {
    height: 44px;
    font-size: 1rem;
  }

  .dp-head {
    grid-template-columns: 44px 1fr 100px 44px;
  }

  .dp-nav,
  .dp-select {
    height: 44px;
  }
}

/* Gutschein */
.gift-wait {
  display: grid;
  gap: 6px;
}

.gift-wait strong {
  font-size: 1.6rem;
  color: var(--accent);
}

.gift-perks {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
  color: var(--sand-700, #4a4339);
}

.gift-perks li::before {
  content: "✓ ";
  color: var(--ok);
  font-weight: 700;
}

.review-hint {
  margin: 8px 0 0;
  color: var(--sand-500);
  font-size: 0.82rem;
}

.dp-pop {
  width: 340px;
}

.dp-head {
  grid-template-columns: 36px minmax(0, 1.5fr) minmax(0, 1fr) 36px;
}

@media (max-width: 600px) {
  .dp-head {
    grid-template-columns: 44px minmax(0, 1.5fr) minmax(0, 1fr) 44px;
  }
}

.area-title,
.done-hero h1,
.gift-card .area-title {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Live-Kamera fuers Ausweisfoto (12.11.2026) */
.camera-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #0f0d0b;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(20px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}

.camera-frame {
  position: relative;
  width: min(100%, 720px);
  max-height: 70vh;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.camera-video {
  display: block;
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
}

.camera-guide {
  position: absolute;
  inset: 12% 8%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.35);
}

.camera-hint {
  margin: 0;
  color: #f2eee7;
  font-size: 0.92rem;
  text-align: center;
}

.camera-actions {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(100%, 420px);
  gap: 12px;
}

.camera-actions .secondary-button {
  justify-self: start;
}

.camera-shutter {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: transparent;
  padding: 5px;
}

.camera-shutter span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
}

.camera-shutter:active span {
  background: var(--accent-2, #d9a05b);
}

.camera-actions {
  grid-template-columns: 1fr 72px 1fr;
}

.camera-actions .secondary-button {
  width: auto;
  min-width: 0;
  padding-inline: 18px;
}

.camera-shutter {
  flex: none;
  min-width: 72px;
  min-height: 72px;
}

/* Extras auf Anfrage */
.extras-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.extra-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--sand-200);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--surface);
}

.extra-item.requested {
  border-color: var(--accent-2);
  background: var(--accent-soft);
}

.extra-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.extra-text strong {
  font-size: 0.98rem;
}

.extra-text span {
  color: var(--sand-500);
  font-size: 0.85rem;
}

.extra-side {
  display: grid;
  justify-items: end;
  gap: 6px;
  flex: none;
}

.extra-price {
  font-weight: 700;
  color: var(--accent);
}

.extra-button {
  min-height: 36px;
  padding: 6px 14px;
  font-size: 0.88rem;
}
