/* ==========================================================================
   AV-Room Design System — Avioni Corporate Identity
   Gemeinschaftsraum Arcadien Dornstadt
   ========================================================================== */

/* --- TODO: self-host Open Sans WOFF2 (DSGVO-konform, kein Google Fonts CDN!) --- */
/* Aktuell als Platzhalter ueber Google Fonts eingebunden in den HTML-Dateien */

/* ---------- CSS Custom Properties ---------- */
:root {
  --av-red:          #E5292A;
  --av-red-light:    #E57575;
  --av-dark:         #4D4D4D;
  --av-muted:        #A3A3A3;
  --av-light:        #F7F7F7;
  --av-white:        #FFFFFF;
  --av-border:       #EDEDED;
  --av-footer:       #3D4045;
  --av-footer-dark:  #2D2F33;

  --av-success:      #28a745;
  --av-danger:       #dc3545;

  --font-body:       'Open Sans', sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--av-dark);
  background-color: var(--av-white);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: var(--av-red);
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  color: var(--av-red-light);
}

::selection {
  background: rgba(229, 41, 42, 0.15);
  color: var(--av-dark);
}

:focus-visible {
  outline: 2px solid var(--av-red);
  outline-offset: 3px;
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.3;
  color: var(--av-dark);
}

h1 {
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h2 {
  font-size: 22px;
  text-transform: uppercase;
}

h3 {
  font-size: 18px;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title h2 {
  margin-bottom: 0.5rem;
}
.section-title .subtitle {
  color: var(--av-muted);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Akzentlinie / Divider */
.av-divider {
  width: 45px;
  height: 3px;
  background: var(--av-red);
  margin: 15px auto;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
  position: relative;
}

.section--alt {
  background-color: var(--av-light);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 12px 30px;
  border: 2px solid var(--av-red);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.btn-avioni,
.btn-primary {
  background: var(--av-red);
  color: var(--av-white);
  border: 2px solid var(--av-red);
}

.btn-avioni:hover,
.btn-primary:hover {
  background: var(--av-red-light);
  border-color: var(--av-red-light);
  color: var(--av-white);
}

.btn-secondary {
  background: transparent;
  color: var(--av-red);
  border: 2px solid var(--av-red);
}

.btn-secondary:hover {
  background: var(--av-red);
  color: var(--av-white);
}

.btn-sm {
  padding: 6px 16px;
  font-size: 12px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--av-muted);
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--av-white);
  border: 1px solid var(--av-border);
  border-radius: 0;
  color: var(--av-dark);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--av-red);
  box-shadow: 0 0 0 2px rgba(229, 41, 42, 0.1);
}

.form-input::placeholder {
  color: var(--av-muted);
}

.form-error {
  color: var(--av-danger);
  font-size: 13px;
  margin-top: 0.5rem;
}

.form-success {
  color: var(--av-success);
  font-size: 13px;
  margin-top: 0.5rem;
}

/* ---------- Top Navigation / Header ---------- */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--av-white);
  border-bottom: 1px solid var(--av-border);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.top-nav .nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.top-nav .nav-brand img {
  height: 50px;
}

.top-nav .nav-brand-text {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--av-dark);
  margin-left: 12px;
}

.top-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-nav .nav-links a {
  color: var(--av-dark);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.top-nav .nav-links a:hover,
.top-nav .nav-links a.active {
  color: var(--av-red);
}

.top-nav .nav-links .btn {
  padding: 6px 16px;
  font-size: 12px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--av-dark);
  transition: all 0.3s ease;
}

body:has(.top-nav) .hero { padding-top: 90px; }
.buchung-page, .konto-page { padding-top: 110px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 2rem 1.5rem;
  background: var(--av-dark);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/public/images/hero.jpg') center/cover no-repeat;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h1 {
  color: var(--av-white);
  font-size: 32px;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-info-card {
  margin-top: 2.5rem;
  display: inline-block;
}

.hero-info-card .av-card {
  display: flex;
  gap: 2rem;
  padding: 1.5rem 2.5rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.95);
}

.hero-info-item {
  text-align: center;
}

.hero-info-item .value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--av-red);
  line-height: 1.2;
}

.hero-info-item .label {
  font-size: 11px;
  color: var(--av-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- Cards (Avioni Style) ---------- */
.av-card {
  background: var(--av-white);
  border: 1px solid var(--av-border);
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.av-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.av-card--static:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ---------- Kalender ---------- */
.kalender-wrapper {
  max-width: 500px;
  margin: 0 auto;
}

.kalender-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
}

.kalender-nav h3 {
  font-size: 16px;
  color: var(--av-dark);
}

.kalender-nav button {
  background: var(--av-white);
  border: 1px solid var(--av-border);
  color: var(--av-red);
  width: 36px;
  height: 36px;
  border-radius: 0;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.kalender-nav button:hover {
  background: var(--av-red);
  color: var(--av-white);
  border-color: var(--av-red);
}

.kalender-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.kalender-header {
  text-align: center;
  font-size: 11px;
  color: var(--av-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 0;
  font-weight: 600;
}

.kalender-tag {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: default;
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid transparent;
}

.kalender-tag.leer {
  cursor: default;
}

.kalender-tag.frei {
  color: var(--av-dark);
  cursor: pointer;
}

.kalender-tag.frei:hover {
  background: rgba(229, 41, 42, 0.08);
  color: var(--av-red);
}

.kalender-tag.belegt {
  background: rgba(229, 41, 42, 0.1);
  color: var(--av-red);
  cursor: not-allowed;
}

.kalender-tag.belegt::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--av-red);
}

.kalender-tag.heute {
  background: var(--av-red);
  color: var(--av-white);
  font-weight: 700;
}

.kalender-tag.vergangen {
  color: #ccc;
  cursor: default;
}

.kalender-tag.selected {
  background: var(--av-red) !important;
  color: var(--av-white) !important;
  font-weight: 700;
}

/* Tooltip */
.kalender-tag[data-tooltip]:hover::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--av-dark);
  color: var(--av-white);
  padding: 4px 10px;
  font-size: 11px;
  white-space: nowrap;
  z-index: 10;
}

/* ---------- Ausstattung ---------- */
.ausstattung-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.ausstattung-card {
  text-align: center;
  padding: 2.5rem 2rem;
}

.ausstattung-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.ausstattung-card h3 {
  margin-bottom: 0.75rem;
  font-size: 16px;
}

.ausstattung-card p {
  color: var(--av-muted);
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- Bewertungen ---------- */
.bewertungen-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.bewertungen-slider::-webkit-scrollbar {
  display: none;
}

.bewertung-card {
  min-width: 300px;
  max-width: 350px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

.bewertung-sterne {
  color: var(--av-red);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.bewertung-text {
  color: var(--av-muted);
  font-style: italic;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.bewertung-autor {
  color: var(--av-dark);
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Werbung Banner ---------- */
.werbung-banner {
  text-align: center;
  padding: 2rem;
}

.werbung-banner:empty {
  display: none;
}

.werbung-banner img {
  max-width: 100%;
}

/* ---------- Footer (3-teilig, Avioni CI) ---------- */
.footer-pre {
  background: var(--av-white);
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--av-border);
}

.footer-pre img {
  height: 70px;
  margin-bottom: 15px;
}

.footer-pre .footer-company {
  font-size: 14px;
  font-weight: 700;
  color: var(--av-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-pre .footer-tagline {
  font-size: 13px;
  color: var(--av-muted);
  margin-top: 4px;
}

.footer-claim {
  background: var(--av-footer);
  padding: 15px 0;
  text-align: center;
}

.footer-claim span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
}

.footer-copy {
  background: var(--av-footer-dark);
  padding: 15px 0;
  text-align: center;
}

.footer-copy-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-copy a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.footer-copy a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-copy .copy-text {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
}

/* ---------- Login Page ---------- */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--av-light);
}

.login-card {
  width: 100%;
  max-width: 460px;
}

.login-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.login-header img {
  height: 50px;
  margin-bottom: 1rem;
}

.login-header h1 {
  font-size: 18px;
  margin-bottom: 0.5rem;
}

.login-header p {
  color: var(--av-muted);
  font-size: 14px;
}

.login-step {
  display: none;
}

.login-step.active {
  display: block;
}

.login-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--av-border);
}

.login-footer a {
  color: var(--av-muted);
  font-size: 13px;
}

.login-footer a:hover {
  color: var(--av-red);
}

/* OTP Input Grid */
.otp-inputs {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin: 2rem 0;
}

.otp-input {
  width: 52px;
  height: 62px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  background: var(--av-white);
  border: 2px solid var(--av-border);
  border-radius: 0;
  color: var(--av-red);
  transition: all 0.3s ease;
}

.otp-input:focus {
  outline: none;
  border-color: var(--av-red);
  box-shadow: 0 0 0 2px rgba(229, 41, 42, 0.15);
}

.otp-timer {
  text-align: center;
  color: var(--av-muted);
  font-size: 14px;
  margin-bottom: 1.5rem;
}

.otp-timer .time {
  color: var(--av-red);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.otp-resend {
  text-align: center;
  margin-top: 1rem;
}

.otp-resend button {
  background: none;
  border: none;
  color: var(--av-muted);
  font-size: 13px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.3s ease;
}

.otp-resend button:not(:disabled):hover {
  color: var(--av-red);
}

.otp-resend button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  background: var(--av-white);
  border: 1px solid var(--av-border);
  padding: 2rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--av-muted);
  font-size: 1.5rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  color: var(--av-red);
}

/* ---------- Wizard Progress ---------- */
.wizard-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
  padding: 0 1rem;
}

.wizard-step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  position: relative;
}

.wizard-step-indicator .step-num {
  width: 36px;
  height: 36px;
  background: var(--av-white);
  border: 2px solid var(--av-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--av-muted);
  transition: all 0.3s ease;
}

.wizard-step-indicator.active .step-num {
  background: var(--av-red);
  color: var(--av-white);
  border-color: var(--av-red);
}

.wizard-step-indicator.completed .step-num {
  background: var(--av-red);
  color: var(--av-white);
  border-color: var(--av-red);
}

.wizard-step-indicator .step-label {
  font-size: 10px;
  color: var(--av-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.wizard-step-indicator.active .step-label {
  color: var(--av-red);
}

.wizard-step-line {
  flex: 1;
  height: 2px;
  background: var(--av-border);
  margin: 0 0.5rem;
  margin-bottom: 1.2rem;
}

/* ---------- Wizard Panels ---------- */
.wizard-panel {
  display: none;
}

.wizard-panel.active {
  display: block;
}

.wizard-buttons {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

/* ---------- Buchung Zusammenfassung ---------- */
.buchung-zusammenfassung {
  margin-top: 1.5rem;
  padding: 1.2rem;
  background: var(--av-light);
  border: 1px solid var(--av-border);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 14px;
}

.summary-row span {
  color: var(--av-muted);
}

.summary-total {
  border-top: 1px solid var(--av-border);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  font-size: 16px;
}

/* ---------- Hausordnung Scroll ---------- */
.hausordnung-scroll {
  max-height: 300px;
  overflow-y: auto;
  padding: 1.5rem;
  background: var(--av-light);
  border: 1px solid var(--av-border);
  font-size: 13px;
  line-height: 1.8;
  color: var(--av-dark);
}

.hausordnung-scroll h3 {
  font-size: 16px;
  margin-bottom: 1rem;
  color: var(--av-dark);
}

.hausordnung-scroll ol {
  padding-left: 1.5rem;
}

.hausordnung-scroll li {
  margin-bottom: 0.75rem;
}

.hausordnung-scroll::-webkit-scrollbar {
  width: 6px;
}
.hausordnung-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.hausordnung-scroll::-webkit-scrollbar-thumb {
  background: rgba(229, 41, 42, 0.2);
  border-radius: 3px;
}

/* ---------- Regeln Checkbox ---------- */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 14px;
  color: var(--av-dark);
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--av-red);
  margin-top: 2px;
  flex-shrink: 0;
}

/* ---------- Unterschrift Canvas ---------- */
.unterschrift-bereich canvas {
  width: 100%;
  max-width: 400px;
  height: 120px;
  background: var(--av-light);
  border: 1px solid var(--av-border);
  cursor: crosshair;
  display: block;
}

/* ---------- Payment Container ---------- */
.payment-container {
  text-align: center;
  padding: 1rem 0;
}

.payment-amount {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
}

.payment-total {
  font-size: 32px;
  font-weight: 700;
  color: var(--av-red);
}

.payment-notice {
  background: var(--av-light);
  border: 1px solid var(--av-border);
  padding: 1.5rem;
  color: var(--av-muted);
  font-size: 14px;
  line-height: 1.8;
}

.payment-methods {
  display: flex;
  gap: 0;
  justify-content: center;
  margin: 1.5rem 0 1rem;
  background: var(--av-light);
  border: 1px solid var(--av-border);
  overflow: hidden;
}

.payment-tab {
  flex: 1;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--av-muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-tab.active {
  background: var(--av-red);
  color: var(--av-white);
}

.payment-tab:hover:not(.active) {
  background: rgba(229, 41, 42, 0.05);
  color: var(--av-dark);
}

.payment-panel {
  display: none;
  padding: 1.5rem 0;
}

.payment-panel.active {
  display: block;
}

.stripe-element-container {
  padding: 1rem;
  background: var(--av-light);
  border: 1px solid var(--av-border);
  min-height: 80px;
}

.paypal-container {
  max-width: 400px;
  margin: 0 auto;
  min-height: 60px;
}

.ssl-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 12px;
  color: var(--av-muted);
  padding: 0.5rem 0;
}

/* ---------- Success / Confetti ---------- */
.success-icon {
  width: 80px;
  height: 80px;
  background: var(--av-red);
  color: var(--av-white);
  font-size: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.confetti-container {
  position: relative;
  height: 0;
  overflow: visible;
}

.confetti-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  top: 0;
}

.buchung-details-final {
  max-width: 320px;
  margin: 1.5rem auto;
  padding: 1.2rem;
  background: var(--av-light);
  border: 1px solid var(--av-border);
}

/* ---------- Konto / Dashboard ---------- */
.konto-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.reservierung-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--av-border);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.reservierung-item:last-child {
  border-bottom: none;
}

.res-datum {
  font-weight: 600;
  color: var(--av-dark);
}

.res-betrag {
  font-size: 13px;
  color: var(--av-muted);
}

.res-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ---------- Status Badges ---------- */
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-pending {
  background: rgba(229, 41, 42, 0.1);
  color: var(--av-red);
  border: 1px solid rgba(229, 41, 42, 0.2);
}

.badge-paid {
  background: rgba(40, 167, 69, 0.1);
  color: var(--av-success);
  border: 1px solid rgba(40, 167, 69, 0.2);
}

.badge-confirmed {
  background: rgba(40, 167, 69, 0.1);
  color: var(--av-success);
  border: 1px solid rgba(40, 167, 69, 0.2);
}

.badge-done {
  background: rgba(163, 163, 163, 0.15);
  color: var(--av-muted);
  border: 1px solid rgba(163, 163, 163, 0.2);
}

.badge-cancelled {
  background: rgba(220, 53, 69, 0.1);
  color: var(--av-danger);
  border: 1px solid rgba(220, 53, 69, 0.2);
}

/* ---------- Sterne Widget ---------- */
.sterne-widget {
  display: inline-flex;
  gap: 0.5rem;
  font-size: 2.5rem;
  cursor: pointer;
}

.sterne-widget .stern {
  color: var(--av-border);
  transition: all 0.3s ease;
}

.sterne-widget .stern:hover {
  transform: scale(1.1);
}

.sterne-widget .stern.active {
  color: var(--av-red);
}

/* ---------- Admin Page ---------- */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 260px;
  background: var(--av-white);
  border-right: 1px solid var(--av-border);
  padding: 2rem 1rem;
  flex-shrink: 0;
}

.admin-sidebar .logo {
  font-size: 14px;
  font-weight: 700;
  color: var(--av-red);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--av-border);
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  color: var(--av-muted);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-bottom: 0.25rem;
}

.admin-nav a:hover,
.admin-nav a.active {
  background: rgba(229, 41, 42, 0.06);
  color: var(--av-red);
}

.admin-main {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
  background: var(--av-light);
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--av-border);
}

.admin-header h1 {
  font-size: 18px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  padding: 1.5rem;
  text-align: center;
}

.stat-card .stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--av-red);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-card .stat-label {
  font-size: 11px;
  color: var(--av-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ---------- Admin Table ---------- */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th {
  text-align: left;
  color: var(--av-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 0.75rem 0.5rem;
  border-bottom: 2px solid var(--av-border);
}

.admin-table td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--av-border);
  color: var(--av-dark);
}

.admin-table tr:hover td {
  background: rgba(229, 41, 42, 0.02);
}

/* ---------- Admin Filter ---------- */
.filter-bar {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.filter-bar select,
.filter-bar input {
  padding: 0.5rem 1rem;
  background: var(--av-white);
  border: 1px solid var(--av-border);
  border-radius: 0;
  color: var(--av-dark);
  font-family: var(--font-body);
  font-size: 13px;
}

/* ---------- Chart Container ---------- */
.chart-container {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

/* ---------- Notification Toast ---------- */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  padding: 1rem 1.5rem;
  font-size: 14px;
  border: 1px solid var(--av-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  animation: toastIn 0.3s ease;
  max-width: 400px;
  background: var(--av-white);
}

.toast.success {
  background: rgba(40, 167, 69, 0.08);
  color: var(--av-success);
  border-color: rgba(40, 167, 69, 0.2);
}

.toast.error {
  background: rgba(220, 53, 69, 0.08);
  color: var(--av-danger);
  border-color: rgba(220, 53, 69, 0.2);
}

.toast.info {
  background: var(--av-white);
  color: var(--av-dark);
}

@keyframes toastIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* ---------- Loading Spinner ---------- */
.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--av-border);
  border-top-color: var(--av-red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

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

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.text-muted  { color: var(--av-muted); }
.text-accent { color: var(--av-red); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.hidden { display: none !important; }

/* ---------- Responsive: Mobile < 778px ---------- */
@media (max-width: 778px) {
  .top-nav .nav-links {
    display: none;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background: var(--av-white);
    border-bottom: 1px solid var(--av-border);
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .top-nav .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: 22px;
  }

  .hero-info-card .av-card {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }

  .ausstattung-grid {
    grid-template-columns: 1fr;
  }

  .admin-layout {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--av-border);
    padding: 1rem;
  }

  .admin-nav {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
  }

  .admin-nav a {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .otp-input {
    width: 44px;
    height: 54px;
    font-size: 1.2rem;
  }

  .section {
    padding: 40px 0;
  }

  .wizard-progress {
    margin-bottom: 1.5rem;
  }

  .wizard-step-indicator .step-label {
    display: none;
  }

  .wizard-buttons {
    flex-direction: column;
  }

  .konto-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .reservierung-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-table {
    font-size: 12px;
  }

  .admin-table th,
  .admin-table td {
    padding: 0.5rem 0.25rem;
  }

  .sterne-widget {
    font-size: 2rem;
  }

  .top-nav {
    padding: 0 15px;
  }
}

/* ---------- Responsive: Desktop Large ---------- */
@media (min-width: 1200px) {
  .ausstattung-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
