/* ==========================================================================
   SULLIVAN INK & SULLIVAN AESTHETICS - BESPOKE EDITORIAL DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand Theme: Sullivan Ink (Dark Gold & Slate Luxury) */
  --bg-ink: #141518;
  --bg-ink-card: #1b1c20;
  --bg-ink-glass: rgba(20, 21, 24, 0.95);
  --text-ink-primary: #F4F3EF;
  --text-ink-secondary: #9E978C;
  --accent-gold: #C5A059;
  --accent-gold-light: #D4AF37;

  /* Brand Theme: Sullivan Aesthetics (Warm Nude & White Luxury) */
  --bg-aesthetics: #FAF8F5;
  --bg-aesthetics-card: #FFFFFF;
  --bg-aesthetics-glass: rgba(255, 255, 255, 0.96);
  --text-aesthetics-primary: #221E1B;
  --text-aesthetics-secondary: #70675E;
  --accent-nude: #C5A059;
  --accent-rose: #B88B6B;

  /* Active Theme Defaults */
  --bg-body: var(--bg-ink);
  --bg-card: var(--bg-ink-card);
  --bg-glass: var(--bg-ink-glass);
  --text-main: var(--text-ink-primary);
  --text-muted: var(--text-ink-secondary);
  --accent-primary: var(--accent-gold);
  --accent-hover: var(--accent-gold-light);
  --border-color: rgba(197, 160, 89, 0.22);
  --shadow-color: rgba(0, 0, 0, 0.4);

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', system-ui, -apple-system, sans-serif;

  /* Editorial Layout Spacing (Max 5px Soft Rounding) */
  --container-max: 1320px;
  --radius-sm: 4px;
  --radius-md: 5px;
  --radius-lg: 5px;
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Theme Variant Classes */
body.theme-aesthetics {
  --bg-body: var(--bg-aesthetics);
  --bg-card: var(--bg-aesthetics-card);
  --bg-glass: var(--bg-aesthetics-glass);
  --text-main: var(--text-aesthetics-primary);
  --text-muted: var(--text-aesthetics-secondary);
  --accent-primary: var(--accent-rose);
  --accent-hover: var(--accent-nude);
  --border-color: rgba(184, 139, 107, 0.2);
  --shadow-color: rgba(0, 0, 0, 0.05);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  letter-spacing: 0.2px;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 92%;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* ==========================================================================
   HERO HEADER BANNER
   ========================================================================== */

.site-header.hero-header-banner {
  position: relative;
  width: 100%;
  background: #141518;
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
  padding: 16px 0 0 0;
  overflow: visible;
  z-index: 100;
}

body.theme-aesthetics .site-header.hero-header-banner {
  background: #FFFFFF;
  border-bottom: 1px solid rgba(184, 139, 107, 0.25);
}

.header-container {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 1400px;
  width: 92%;
  margin: 0 auto;
  min-height: 200px;
  overflow: visible;
}

/* Left: Scarab Logo (Vertically Centered in Header Banner Height) */
.header-left {
  display: flex;
  align-items: center;
  align-self: center;
  justify-content: flex-start;
  padding-bottom: 0;
  margin-top: -10px;
  z-index: 5;
}

.scarab-logo-img {
  height: 135px;
  width: auto;
  object-fit: contain;
  transition: opacity var(--transition-fast);
}

.scarab-logo-img:hover {
  opacity: 0.9;
}

/* Center: Typography + Segmented Tab Switch (EXACT 50% HORIZONTAL CENTERING) */
.header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding-bottom: 22px;
  z-index: 10;
  pointer-events: none;
}

.header-center > * {
  pointer-events: auto;
}

.schriftzug-img {
  height: 62px;
  width: auto;
  object-fit: contain;
}

/* Editorial Segmented Switch (Max 5px Soft Radius) */
.brand-switcher-pill {
  display: inline-flex;
  align-items: center;
  background: #0d0e10;
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 5px;
  padding: 3px;
}

body.theme-aesthetics .brand-switcher-pill {
  background: #F4F0EB;
  border: 1px solid rgba(184, 139, 107, 0.3);
}

.brand-btn {
  padding: 8px 24px;
  border-radius: 4px;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  color: #8C8477;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.brand-btn:hover {
  color: #C5A059;
}

.brand-btn.active {
  background: #C5A059;
  color: #FFFFFF !important;
}

body.theme-aesthetics .brand-btn.active {
  background: #B88B6B;
  color: #FFFFFF !important;
}

/* Right: Header Illustration with Floating Booking Icon */
.header-right {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  height: 100%;
  position: relative;
  overflow: visible;
  z-index: 5;
}

.carmela-hero-wrapper {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 100%;
  overflow: visible;
}

.carmela-img {
  height: 210px;
  max-height: 210px;
  width: auto;
  object-fit: contain;
  display: block;
  align-self: flex-end;
}

.calendar-booking-btn {
  position: absolute;
  top: 15px;
  right: -25px;
  width: 42px;
  height: 42px;
  background: #C5A059;
  color: #FFFFFF !important;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all 0.2s ease;
  z-index: 20;
}

body.theme-aesthetics .calendar-booking-btn {
  background: #B88B6B;
  color: #FFFFFF !important;
}

.calendar-booking-btn:hover {
  background: #D4AF37;
  transform: translateY(-2px);
}

/* Nav Menu Bar below Banner */
.main-nav-bar {
  background: #0f1012;
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

body.theme-aesthetics .main-nav-bar {
  background: #FAF8F5;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--accent-primary);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* ==========================================================================
   ARCHITECTURAL 2-SIDE HERO PORTAL
   ========================================================================== */

.hero-portal {
  position: relative;
  min-height: calc(100vh - 220px);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow: hidden;
  width: 100%;
}

.portal-split {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 50px;
  transition: flex var(--transition-smooth);
  cursor: pointer;
}

.portal-split::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

.portal-ink::before {
  background-image: linear-gradient(180deg, rgba(20,21,24,0.7) 0%, rgba(20,21,24,0.94) 100%), url('../images/hero_ink_bg.png');
}

.portal-aesthetics::before {
  background-image: linear-gradient(180deg, rgba(250,248,245,0.75) 0%, rgba(250,248,245,0.96) 100%), url('../images/hero_aesthetics_bg.png');
}

.portal-split:hover {
  flex: 1.15;
}

.portal-split:hover::before {
  transform: scale(1.02);
}

.portal-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.portal-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.portal-ink .portal-badge {
  background: rgba(197, 160, 89, 0.12);
  color: var(--accent-gold);
  border: 1px solid rgba(197, 160, 89, 0.4);
}

.portal-aesthetics .portal-badge {
  background: rgba(184, 139, 107, 0.14);
  color: var(--accent-rose);
  border: 1px solid rgba(184, 139, 107, 0.4);
}

.portal-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.portal-ink .portal-title {
  color: var(--text-ink-primary);
}

.portal-aesthetics .portal-title {
  color: var(--text-aesthetics-primary);
}

.portal-desc {
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.7;
  font-weight: 300;
}

.portal-ink .portal-desc {
  color: var(--text-ink-secondary);
}

.portal-aesthetics .portal-desc {
  color: var(--text-aesthetics-secondary);
}

.portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 32px;
  border-radius: 5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  background: var(--accent-gold);
  color: #FFFFFF !important;
  border: 1px solid var(--accent-gold);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.portal-btn:hover {
  background: var(--accent-gold-light);
  border-color: var(--accent-gold-light);
  color: #FFFFFF !important;
}

body.theme-aesthetics .portal-btn {
  background: var(--accent-rose);
  border-color: var(--accent-rose);
  color: #FFFFFF !important;
}

body.theme-aesthetics .portal-btn:hover {
  background: #A07456;
  border-color: #A07456;
}

.portal-ink .portal-btn {
  background: var(--accent-gold);
  color: #FFFFFF !important;
  border: 1px solid var(--accent-gold);
}

.portal-ink .portal-btn:hover {
  background: var(--accent-gold-light);
  border-color: var(--accent-gold-light);
}

.portal-aesthetics .portal-btn {
  background: var(--text-aesthetics-primary);
  color: #FFFFFF !important;
  border: 1px solid var(--text-aesthetics-primary);
}

.portal-aesthetics .portal-btn:hover {
  background: var(--accent-rose);
  border-color: var(--accent-rose);
}

/* ==========================================================================
   MULTI-STEP BOOKING POPUP MODAL (DER WEG ZU DEINEM TATTOO TERMIN)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 11, 13, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #191b1f;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #F4F3EF;
}

body.theme-aesthetics .modal-container {
  background: #FFFFFF;
  border-color: rgba(184, 139, 107, 0.25);
  color: var(--text-aesthetics-primary);
}

.modal-backdrop.active .modal-container {
  transform: translateY(0);
}

.modal-header {
  padding: 24px 30px 18px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent-gold);
}

body.theme-aesthetics .modal-title {
  color: var(--accent-rose);
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: var(--text-main);
}

.modal-progress-bar {
  display: flex;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  width: 100%;
}

.modal-progress-fill {
  height: 100%;
  background: var(--accent-gold);
  width: 25%;
  transition: width 0.3s ease;
}

body.theme-aesthetics .modal-progress-fill {
  background: var(--accent-rose);
}

.modal-body {
  padding: 30px;
}

.modal-step {
  display: none;
}

.modal-step.active {
  display: block;
  animation: fadeInStep 0.3s ease;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

.modal-footer {
  padding: 18px 30px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.btn-modal-prev, .btn-modal-next {
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-modal-prev {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.btn-modal-prev:hover {
  color: var(--text-main);
  border-color: var(--text-main);
}

.btn-modal-next {
  background: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  color: #FFFFFF;
}

.btn-modal-next:hover {
  background: var(--accent-gold-light);
}

body.theme-aesthetics .btn-modal-next {
  background: var(--accent-rose);
  border-color: var(--accent-rose);
}

.modal-info-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 20px;
  margin-bottom: 20px;
}

body.theme-aesthetics .modal-info-card {
  background: #FAF8F5;
}

.modal-form-group {
  margin-bottom: 18px;
}

.modal-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.modal-form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background: #121316;
  color: #FFF;
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

body.theme-aesthetics .modal-form-control {
  background: #FFF;
  color: #221E1B;
}

.modal-form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
}

/* ==========================================================================
   SECTIONS & EDITORIAL CARDS
   ========================================================================== */

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

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 55px;
}

.section-subtitle {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.02rem;
  font-weight: 300;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

/* Cards (Subtle 5px Radius) */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 38px 32px;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.service-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
}

.service-card .icon-box {
  width: 52px;
  height: 52px;
  border-radius: 4px;
  background: rgba(197, 160, 89, 0.1);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  border: 1px solid rgba(197, 160, 89, 0.2);
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 400;
  margin-bottom: 14px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 300;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-primary);
}

.image-card {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  height: 420px;
  border: 1px solid var(--border-color);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-card:hover img {
  transform: scale(1.04);
}

.image-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: #FFFFFF;
}

.image-card-overlay h4 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 6px;
}

.image-card-overlay p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  font-weight: 300;
}

/* Uncropped Artist Portfolio Card */
.artist-card-hidden {
  display: none !important;
}

.artist-uncropped-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.artist-uncropped-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.artist-img-wrapper {
  width: 100%;
  background: #000;
  border-bottom: 1px solid var(--border-color);
  display: block;
}

.artist-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.artist-card-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.artist-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFF;
  margin-bottom: 6px;
}

.artist-card-style {
  font-size: 0.9rem;
  color: #A39887;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Stats Counter */
.stats-banner {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 55px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: #0b0c0e;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px;
  color: var(--text-muted);
}

body.theme-aesthetics .site-footer {
  background: #FAF8F5;
  border-top: 1px solid rgba(184, 139, 107, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

body.theme-aesthetics .footer-brand h3 {
  color: var(--accent-rose);
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 15px;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
  .header-container {
    min-height: 170px;
  }
  .scarab-logo-img {
    height: 90px;
  }
  .schriftzug-img {
    height: 48px;
  }
  .carmela-img {
    height: 160px;
  }
  .section-title {
    font-size: 2.5rem;
  }
  .portal-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 900px) {
  .grid-3, .grid-4, .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Full Width Stylized Google Maps Section */
.full-width-map-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
}

.map-container {
  position: relative;
  width: 100%;
  height: 460px;
}

.stylized-map-iframe {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  filter: invert(92%) hue-rotate(180deg) grayscale(85%) contrast(1.15) brightness(0.85);
  transition: filter 0.3s ease;
}

body.theme-aesthetics .stylized-map-iframe {
  filter: grayscale(85%) sepia(20%) brightness(0.96) contrast(0.95);
}

/* Custom Logo-Colored Map Pin Marker Overlay */
.custom-map-pin {
  position: absolute;
  top: 61.5%;
  left: 31.5%;
  transform: translate(-50%, -100%);
  z-index: 6;
  color: var(--accent-gold);
  font-size: 3rem;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.85));
  pointer-events: none;
  animation: pinBounce 2.5s infinite ease-in-out;
}

body.theme-aesthetics .custom-map-pin {
  color: var(--accent-rose);
}

@keyframes pinBounce {
  0%, 100% { transform: translate(-50%, -100%); }
  50% { transform: translate(-50%, -110%); }
}

.map-info-wrapper {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}

.map-info-card {
  pointer-events: auto;
  max-width: 380px;
  margin-left: 0;
  background: rgba(20, 21, 24, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  color: #FFF;
}

body.theme-aesthetics .map-info-card {
  background: rgba(250, 248, 245, 0.94);
  color: var(--text-aesthetics-primary);
  border-color: rgba(184, 139, 107, 0.3);
}

@media (max-width: 768px) {
  .map-info-wrapper {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
  }
  .map-info-card {
    max-width: 100%;
    margin: -60px 20px 20px 20px;
  }
  .map-container {
    height: auto;
  }
  .stylized-map-iframe {
    height: 340px;
  }

  /* Mobile Header Layout */
  .site-header.hero-header-banner {
    padding: 15px 0 15px 0;
  }

  .header-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: auto;
    gap: 16px;
    padding-bottom: 10px;
  }

  .header-left {
    padding-bottom: 0;
    justify-content: center;
  }

  .scarab-logo-img {
    height: 80px;
  }

  .header-center {
    position: relative;
    left: auto;
    transform: none;
    padding-bottom: 0;
    gap: 12px;
  }

  .schriftzug-img {
    height: 42px;
  }

  .brand-btn {
    padding: 7px 18px;
    font-size: 0.72rem;
    letter-spacing: 1.8px;
  }

  .header-right {
    display: none; /* Hide header SVG illustration on small mobile screens */
  }

  /* Fixed Floating Booking Button for Mobile */
  .calendar-booking-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    top: auto;
    width: 54px;
    height: 54px;
    font-size: 1.4rem;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    z-index: 999;
  }

  /* Nav Links Scrollable Row */
  .main-nav-bar {
    padding: 10px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links {
    justify-content: flex-start;
    padding: 0 20px;
    white-space: nowrap;
    gap: 24px;
  }

  /* Hero Split Portal Stacked */
  .hero-portal {
    flex-direction: column;
    min-height: auto;
  }

  .portal-split {
    min-height: 360px;
    padding: 60px 24px;
  }

  .portal-title {
    font-size: 2.4rem;
  }

  .portal-desc {
    font-size: 0.95rem;
  }

  /* Cards & Sections */
  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .image-card {
    height: 320px;
  }

  /* Multi-Step Modal Mobile */
  .modal-container {
    width: 95%;
    max-height: 94vh;
    border-radius: 6px;
  }

  .modal-header {
    padding: 18px 20px;
  }

  .modal-title {
    font-size: 1.25rem;
  }

  .modal-body {
    padding: 20px 16px;
  }

  .modal-footer {
    padding: 14px 20px 18px;
  }
}

@media (max-width: 600px) {
  .grid-3, .grid-4, .grid-2, .footer-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2.6rem;
  }

  #modal-booking-form div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

/* Cookie Banner Component (DSGVO / DSG) */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 960px;
  margin: 0 auto;
  z-index: 99999;
  background: rgba(20, 21, 24, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--accent-gold);
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

body.theme-aesthetics .cookie-banner {
  background: rgba(250, 248, 245, 0.96);
  border-color: var(--accent-rose);
  color: var(--text-aesthetics-primary);
}

.cookie-banner-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
}

.cookie-banner-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  flex: 1;
}

body.theme-aesthetics .cookie-banner-text {
  color: var(--text-aesthetics-muted);
}

.cookie-banner-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    bottom: 16px;
    left: 16px;
    right: 16px;
    padding: 20px;
  }
  .cookie-banner-buttons {
    flex-direction: column;
  }
  .cookie-banner-buttons button,
  .cookie-banner-buttons a {
    width: 100%;
    justify-content: center;
  }
}
