/* =============================================================
   Unterseiten-Verbesserungen (V Vortex + Anime.js)
   Property, Dashboard, Login, Register, Payment, Admin
   ============================================================= */

/* === GLOBAL: Hintergrundfarbe und Navbar fuer alle Unterseiten === */
body {
  background: #ffffff;
}

/* === Animated Backgrounds (global, alle Seiten) === */
.ib-bg-animation,
.ib-bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.ib-bg-canvas { display: none; }

@keyframes ibGradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
body.bg-gradient .ib-bg-animation {
  background: linear-gradient(135deg, #ffffff 0%, #e8f0f8 25%, #f0f4ff 50%, #edf7f0 75%, #ffffff 100%);
  background-size: 400% 400%;
  animation: ibGradientShift 15s ease infinite;
}
body.bg-particles .ib-bg-canvas { display: block; }

@keyframes ibBlobFloat1 { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(80px,-60px) scale(1.1)} 66%{transform:translate(-40px,40px) scale(.95)} }
@keyframes ibBlobFloat2 { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(-60px,80px) scale(1.05)} 66%{transform:translate(50px,-30px) scale(.9)} }
@keyframes ibBlobFloat3 { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(40px,50px) scale(1.08)} 66%{transform:translate(-70px,-40px) scale(.92)} }

body.bg-blobs .ib-bg-animation { overflow: hidden; }
body.bg-blobs .ib-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35; }
body.bg-blobs .ib-blob-1 { width:500px;height:500px;background:#dbeafe;top:-10%;left:-5%;animation:ibBlobFloat1 18s ease-in-out infinite }
body.bg-blobs .ib-blob-2 { width:400px;height:400px;background:#dcfce7;top:40%;right:-5%;animation:ibBlobFloat2 22s ease-in-out infinite }
body.bg-blobs .ib-blob-3 { width:450px;height:450px;background:#e0e7ff;bottom:-10%;left:30%;animation:ibBlobFloat3 20s ease-in-out infinite }

/* Globale Navbar-Farben (Standard: weiß) — wird von seitenspezifischen Regeln überschrieben */
.navbar {
  background: white;
  border-bottom: 1px solid var(--gray-200);
}

.navbar .nav-logo {
  color: var(--primary);
}

.navbar .nav-link {
  color: var(--text-secondary);
}

.navbar .nav-link:hover {
  color: var(--primary);
}


/* Footer global */
.footer {
  background: var(--primary);
  color: var(--text-light-muted);
}

/* === PAGE ENTRANCE ANIMATIONS === */
.vx-fade-in {
  opacity: 0;
  transform: translateY(20px);
}

.vx-fade-in.vx-show {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   PROPERTY DETAIL PAGE — Premium Booking Layout
   ================================================================ */

/* --- Page Container --- */
.property-page {
  padding: 0 0 120px;
  background: transparent;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  animation: ibPageIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes ibPageIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.property-page .container {
  max-width: 1280px;
}

/* --- Back Link --- */
.property-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 50px;
  border: 1px solid var(--gray-200);
  background: #ffffff;
  transition: all var(--transition);
  margin-bottom: 8px;
  margin-top: 4px;
  box-shadow: var(--shadow);
}

.property-page .back-link:hover {
  color: var(--text-primary);
  border-color: var(--gray-300);
  background: var(--gray-50);
  box-shadow: var(--shadow-lg);
}

/* --- 2-Spalten Grid: Content links, Booking rechts --- */
.property-page .property-detail-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 1024px) {
  .property-page .property-detail-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ========================================
   LEFT COLUMN — Content
   ======================================== */

/* --- 1. Galerie --- */
.property-page .gallery-grid {
  border-radius: 16px;
  max-height: 500px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(5,26,36,0.06);
  gap: 4px;
}

.property-page .gallery-main {
  height: 500px;
  overflow: hidden;
}

.property-page .gallery-thumb {
  overflow: hidden;
  position: relative;
}

.property-page .gallery-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5,26,36,0);
  transition: background 0.3s ease;
}

.property-page .gallery-thumb:hover::after {
  background: rgba(5,26,36,0.08);
}

.property-page .gallery-main img,
.property-page .gallery-thumb img {
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.property-page .gallery-main:hover img {
  transform: scale(1.03);
}

.property-page .gallery-thumb:hover img {
  transform: scale(1.08);
}

.property-page .gallery-more-overlay {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(5,26,36,0.55);
  backdrop-filter: blur(2px);
}

/* Footer auf dunkler Property-Seite */
.property-page ~ .footer .container {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  color: rgba(246,252,255,0.5);
}

@media (max-width: 768px) {
  .property-page .gallery-main { height: 260px; }
  .property-page .gallery-grid { max-height: none; border-radius: 16px; }
}

/* --- 2. Titel, Location, Type Badge --- */
.property-page .property-info h1 {
  font-family: var(--font-body);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 24px 0 6px 0;
  color: var(--text-primary);
}

.property-page .property-location-detail {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.property-page .property-type-label {
  display: inline-block;
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #fff;
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* --- 3. Features / Facts Bar --- */
.property-page .property-features {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px 24px;
  border: 1px solid var(--gray-200);
  margin-bottom: 0;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-page .property-features:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.property-page .feature {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.property-page .feature strong {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1rem;
}

/* --- Sektions-Container --- */
.property-page .property-amenities,
.property-page .property-description,
.property-page .property-reviews,
.property-page .property-map-section {
  margin-top: 40px;
  margin-bottom: 0;
  padding: 32px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-page .property-amenities:hover,
.property-page .property-description:hover,
.property-page .property-reviews:hover,
.property-page .property-map-section:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Sektions-Überschriften */
.property-page .property-description h2,
.property-page .property-amenities h2,
.property-page .property-reviews h2,
.property-page .property-map-section h2 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--text-primary);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-200);
}

/* --- 4. Amenities --- */
.property-page .amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

@media (max-width: 640px) {
  .property-page .amenities-grid { grid-template-columns: 1fr; }
}

.property-page .amenity-badge {
  border-radius: 10px;
  padding: 11px 16px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  font-size: 0.86rem;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.property-page .amenity-badge:hover {
  background: var(--primary-light);
  border-color: rgba(5,26,36,0.15);
  transform: translateY(-1px);
}

/* --- 5. Beschreibung --- */
.property-page .property-description {
  line-height: 1.8;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.property-page .property-description p {
  margin-bottom: 14px;
}

/* --- 6. Bewertungen --- */
.property-page .booking-badge {
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 16px;
}

.property-page .reviews-score-bar {
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 20px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}

.property-page .review-card {
  border-radius: 14px;
  padding: 20px;
  border: 1px solid var(--gray-200);
  margin-bottom: 12px;
  background: #ffffff;
  transition: all var(--transition);
  color: var(--text-secondary);
}

.property-page .review-card:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
}

.property-page .review-header .review-author {
  color: var(--text-primary);
}

.property-page .review-country {
  color: var(--text-muted);
}

.property-page .review-form-card {
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--gray-200);
  padding: 24px;
  margin-top: 20px;
  color: var(--text-secondary);
}

.property-page .review-form-card h3 {
  color: var(--text-primary);
}

.property-page .review-form-card label {
  color: var(--text-secondary);
}

.property-page .review-form-card textarea {
  background: var(--gray-50);
  border-color: var(--gray-200);
  color: var(--text-primary);
}

.property-page .reviews-score-bar {
  background: var(--gray-50);
  border-color: var(--gray-200);
}

.property-page .reviews-score-info strong {
  color: var(--text-primary);
}

.property-page .reviews-score-info span {
  color: var(--text-muted);
}

.property-page .empty-state,
.property-page .property-reviews > p {
  color: var(--text-muted);
}

.property-page .review-form-card h3 {
  font-family: var(--font-serif);
  font-weight: 600;
}

.property-page .star-rating .star {
  transition: color 0.15s ease, transform 0.15s ease;
}

.property-page .star-rating .star:hover {
  transform: scale(1.2);
}

/* --- 7. Karte / Lage --- */
.property-page .property-map-section {
  padding-bottom: 8px;
}

.property-page .property-map {
  border-radius: 14px;
  height: 240px;
  box-shadow: none;
  border: 1px solid var(--gray-200);
}

/* ========================================
   RIGHT COLUMN — Sticky Booking Widget
   ======================================== */
.property-page .booking-widget {
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(5, 26, 36, 0.06);
  box-shadow: 0 2px 8px rgba(5,26,36,0.04), 0 8px 32px rgba(5,26,36,0.06);
  padding: 28px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  position: sticky;
  top: 80px;
  animation: ibWidgetIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
  transition: box-shadow 0.3s ease;
}

.property-page .booking-widget:hover {
  box-shadow: 0 20px 50px rgba(5,26,36,0.10), 0 8px 20px rgba(5,26,36,0.06);
}

@keyframes ibWidgetIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.property-page .booking-widget::-webkit-scrollbar {
  display: none;
}

/* Preis-Header */
.property-page .booking-widget-header {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gray-200);
}

.property-page .booking-price {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-primary);
  font-weight: 700;
}

.property-page .booking-per-night {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Kalender */
.property-page .kalender-container {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gray-200);
}

.property-page .kalender-nav {
  margin-bottom: 14px;
}

.property-page .kalender-nav span {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.property-page .kalender-btn {
  background: white;
  color: var(--text-secondary);
  border: 1px solid var(--gray-200);
  width: 34px;
  height: 34px;
}

.property-page .kalender-btn:hover {
  background: var(--gray-100);
  border-color: var(--gray-300);
}

.property-page .kalender-wochentage span {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.property-page .kalender-tag {
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.property-page .kalender-tag.frei:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.property-page .kalender-tag.ausgewaehlt {
  background: var(--primary) !important;
  color: white !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(5,26,36,0.15);
}

.property-page .kalender-tag.heute {
  border: 2px solid var(--primary);
}

.property-page .kalender-legende {
  margin-top: 12px;
  font-size: 0.7rem;
}

/* Check-in / Check-out */
.property-page .booking-dates {
  gap: 10px;
  margin-bottom: 14px;
}

.property-page .booking-form .form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.property-page .booking-form .form-group input,
.property-page .booking-form .form-group select {
  border-radius: 10px;
  border: 1px solid var(--gray-200);
  padding: 12px 14px;
  font-size: 0.9rem;
  background: var(--gray-50);
  transition: all var(--transition);
}

.property-page .booking-form .form-group input:focus,
.property-page .booking-form .form-group select:focus {
  background: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5,26,36,0.06);
}

/* Summary */
.property-page .booking-summary {
  border-radius: 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 16px;
  margin-bottom: 18px;
}

.property-page .summary-row {
  padding: 6px 0;
}

.property-page .summary-row span:last-child {
  font-weight: 700;
  color: var(--text-primary);
}

/* Booking Buttons */
.property-page .btn-book {
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  padding: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--transition);
  width: 100%;
}

.property-page .btn-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5,26,36,0.12);
}

/* Login hint */
.property-page .booking-login-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 14px;
}

.property-page .booking-login-hint a {
  color: var(--primary);
  font-weight: 600;
}

/* --- Lightbox --- */
.lightbox {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox-content img {
  border-radius: 12px;
}

/* --- Payment Options (within widget) --- */
.property-page .payment-method-option {
  border-radius: var(--radius-sm) !important;
  padding: 14px 16px !important;
  border: 2px solid var(--gray-200) !important;
  transition: all var(--transition);
  position: relative;
}

.property-page .payment-method-option:hover {
  border-color: var(--primary) !important;
  background: var(--gray-50);
}

.property-page .payment-method-option:has(input:checked) {
  border-color: var(--primary) !important;
  background: rgba(5, 26, 36, 0.03);
  box-shadow: 0 0 0 1px var(--primary);
}

/* Payment Status Badge */
.payment-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
}
.payment-status--pending {
  background: var(--warning-light);
  color: #92400e;
}
.payment-status--success {
  background: var(--success-light);
  color: var(--success);
}
.payment-status--failed {
  background: var(--danger-light);
  color: var(--danger);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .property-page {
    padding: 16px 0 80px;
  }

  .property-page .property-info h1 {
    font-size: 1.5rem;
    margin-top: 20px;
  }

  .property-page .property-features {
    padding: 14px 18px;
    gap: 14px;
  }

  .property-page .property-amenities,
  .property-page .property-description,
  .property-page .property-reviews,
  .property-page .property-map-section {
    padding: 24px 20px;
    border-radius: 14px;
    margin-top: 20px;
  }

  .property-page .amenities-grid {
    grid-template-columns: 1fr;
  }

  .property-page .booking-widget {
    position: static;
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
  }

  .property-page .back-link {
    margin-bottom: 16px;
    font-size: 0.82rem;
  }

  .property-page .gallery-grid {
    border-radius: 14px;
  }
}

/* === DASHBOARD PAGE — Fullscreen mit Partikel === */
.dashboard-page {
  padding: 0;
  background: transparent;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  z-index: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.dashboard-page::-webkit-scrollbar {
  display: none;
}

.dash-particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.dash-center {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px 20px 80px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

/* Header */
.dash-header {
  padding-top: 90px;
  margin-bottom: 28px;
  position: relative;
  z-index: 5;
  padding-bottom: 20px;
}

.dashboard-page h1 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.dash-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Kein Scrollbar auf Dashboard */
html:has(.dashboard-page),
html:has(.dashboard-page) body {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  overflow-x: hidden !important;
}

html:has(.dashboard-page)::-webkit-scrollbar,
html:has(.dashboard-page) body::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
}

/* Dashboard Navbar: hell */
body:has(.dashboard-page) .navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--gray-200);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
}

/* Property-Seite: Navbar hell */
body:has(.property-page) .navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--gray-200);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
}

/* === Dashboard Card Slider === */
.dash-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.dash-dot {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gray-200);
  background: #ffffff;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.dash-dot:hover {
  background: var(--gray-50);
  color: var(--text-primary);
  border-color: var(--gray-300);
}

.dash-dot.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(5,26,36,0.15);
}

.dash-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-bottom: 40px;
}

.dash-slide {
  display: none;
  width: 100%;
  pointer-events: none;
}

.dash-slide.dash-active {
  display: block;
  pointer-events: auto;
}

/* Sicherstellen dass inaktive Slides nicht durchscheinen */
.dash-slide:not(.dash-active) {
  opacity: 0 !important;
  visibility: hidden !important;
  position: absolute !important;
  z-index: -1 !important;
}

.dashboard-card {
  background: white;
  border-radius: 20px !important;
  border: 1px solid var(--gray-300) !important;
  box-shadow: 0 0 24px rgba(0,0,0,0.12) !important;
  overflow: hidden;
  padding: 32px;
  margin-bottom: 0;
  text-align: left;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
  animation: ibAuthIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dashboard-card:hover {
  box-shadow: 0 8px 28px rgba(5,26,36,0.08);
  transform: translateY(-2px);
}

.dashboard-card h2 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-200);
}

.booking-card {
  border-radius: var(--radius);
  padding: 20px;
  background: white;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.booking-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.booking-card h3 {
  color: var(--primary);
}

/* Profile */
.profile-info {
  color: var(--text-secondary);
}

.profile-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  gap: 8px;
}

.profile-row:last-child {
  border-bottom: none;
}

.profile-row strong {
  color: var(--primary);
  min-width: 80px;
}

/* Empty State */
.empty-state {
  color: var(--text-muted);
  padding: 48px;
  text-align: center;
}

.empty-state a {
  color: var(--primary);
  font-weight: 600;
}

/* === AUTH PAGES (Login / Register) === */
.auth-page {
  min-height: calc(100vh - 72px);
  background: linear-gradient(160deg, var(--gray-50) 0%, var(--primary-light) 50%, rgba(5,26,36,0.06) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-page--dark {
  background: transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Navbar auf Auth-Seiten — hell */
.dark-page .navbar {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom-color: var(--gray-200) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.dark-page .nav-logo {
  color: var(--primary);
}

.dark-page .nav-link {
  color: var(--text-secondary);
}

.dark-page .nav-link:hover {
  color: var(--primary);
}

.dark-page .nav-link.btn-register {
  color: var(--primary);
}

/* Mobile Navbar auf Auth-Seiten */
@media (max-width: 768px) {
  .dark-page .nav-links {
    background: #ffffff !important;
    border: 1px solid var(--gray-200);
  }

  .dark-page .nav-toggle {
    color: rgba(224,235,240,0.9);
  }
}

.auth-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.auth-page--dark .auth-card {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xl);
}

.auth-card {
  background: white;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(5,26,36,0.04), 0 16px 48px rgba(5,26,36,0.06);
  border: 1px solid rgba(5,26,36,0.05);
  padding: 48px 40px;
  width: 100%;
  max-width: 440px;
  animation: ibAuthIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

@keyframes ibAuthIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-card h2 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 32px;
  color: var(--text-primary);
}

.auth-card .form-group label {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.auth-card .form-group input {
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.95rem;
  border: 1.5px solid var(--gray-200);
  background: var(--gray-50);
  transition: all 0.25s ease;
}

.auth-card .form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(5, 26, 36, 0.06);
  background: #ffffff;
}

.auth-card .btn {
  width: 100%;
  padding: 14px;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  margin-top: 8px;
  box-shadow: 0 10px 30px rgba(5,26,36,0.18), 0 2px 6px rgba(5,26,36,0.12);
}

.auth-link {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.auth-link a {
  font-weight: 600;
  color: var(--primary);
}

/* Passwort-Anforderungen */
.password-requirements {
  margin-top: 6px;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.password-requirements li {
  padding: 2px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.password-requirements li::before {
  content: '\2715';
  font-size: 0.7rem;
  color: #c0392b;
  font-weight: 700;
  min-width: 14px;
  text-align: center;
}

.password-requirements li.valid {
  color: var(--text-secondary);
}

.password-requirements li.valid::before {
  content: '\2713';
  color: #27ae60;
}

/* === ADMIN PANEL === */
.admin-sidebar {
  background: var(--primary);
}

.sidebar-header {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-header h2 {
  font-family: var(--font-serif);
  letter-spacing: -0.02em;
}

.nav-item {
  border-radius: 8px;
  margin: 2px 8px;
  transition: all var(--transition);
}

.nav-item:hover {
  background: rgba(255,255,255,0.08);
}

.nav-item.aktiv {
  background: rgba(255,255,255,0.12);
  border-left-color: var(--text-light);
}

.topbar {
  border-bottom: 1px solid var(--gray-200);
  box-shadow: none;
}

.topbar h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stat-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  box-shadow: 0 18px 48px rgba(5,26,36,0.06);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(5,26,36,0.12);
}

.stat-number {
  font-family: var(--font-serif);
  color: var(--primary);
}

.admin-sektion {
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  box-shadow: 0 18px 48px rgba(5,26,36,0.06);
}

.admin-tabelle th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* === PAYMENT SUCCESS === */
.payment-success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

/* === BADGES === */
.badge {
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 5px 14px;
  text-transform: uppercase;
}

.badge-success { background: var(--success-light); color: var(--success); }
.badge-warning { background: var(--warning-light); color: var(--warning); }
.badge-danger { background: var(--danger-light); color: var(--danger); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .dashboard-page h1 { font-size: 1.5rem; }
  .auth-card { padding: 32px 24px; }
  .auth-card h2 { font-size: 1.4rem; }
  .property-page .property-info h1 { font-size: 1.5rem; }
}
