/* ==========================================================================
   CSS CUSTOM PROPERTIES (THEMING)
   ========================================================================== */
:root {
  /* Common variables */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  
  /* WhatsApp theme brand color */
  --whatsapp-color: #25d366;
  --whatsapp-color-hover: #20ba5a;
}

/* Dark Theme Colors (Default) */
.dark-theme {
  --bg-primary: #121620; /* Deep neutral slate-grey */
  --bg-secondary: #1a202c; /* Solid dark slate-grey */
  --text-primary: #ffffff; /* Crisp white */
  --text-secondary: #a0aec0; /* Cool grey */
  --text-muted: #718096; /* Slate-grey muted */
  
  --accent-gold: #BE1622; /* Logo Red */
  --accent-gold-hover: #9c101a; /* Darker Red for hover */
  --accent-gold-soft: rgba(190, 22, 34, 0.12); /* Soft transparent red */
  
  --border-color: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(26, 32, 44, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);
  
  --shadow-color: rgba(0, 0, 0, 0.45);
  --shadow-glow: rgba(190, 22, 34, 0.15);
  
  --orb-1-color: rgba(190, 22, 34, 0.08); /* Red orb */
  --orb-2-color: rgba(74, 85, 104, 0.4);   /* Grey orb */
  --orb-3-color: rgba(190, 22, 34, 0.03); /* Red orb */
}

/* Light Theme Colors */
.light-theme {
  --bg-primary: #f7fafc; /* Very light cool grey */
  --bg-secondary: #ffffff; /* White background */
  --text-primary: #1a202c; /* Dark charcoal/black */
  --text-secondary: #4a5568; /* Slate-grey */
  --text-muted: #718096;
  
  --accent-gold: #BE1622; /* Logo Red */
  --accent-gold-hover: #9c101a;
  --accent-gold-soft: rgba(190, 22, 34, 0.08);
  
  --border-color: rgba(26, 32, 44, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(26, 32, 44, 0.08);
  
  --shadow-color: rgba(26, 32, 44, 0.06);
  --shadow-glow: rgba(190, 22, 34, 0.08);
  
  --orb-1-color: rgba(190, 22, 34, 0.04);
  --orb-2-color: rgba(203, 213, 225, 0.3);
  --orb-3-color: rgba(190, 22, 34, 0.02);
}

/* ==========================================================================
   RESET & GLOBAL STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  height: -webkit-fill-available;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  transition: background-color var(--transition-medium), color var(--transition-medium);
  position: relative;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* ==========================================================================
   BACKGROUND DECORATIVE ELEMENTS
   ========================================================================== */
.bg-orb {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
  animation: floatOrb 25s infinite alternate ease-in-out;
}

.orb-1 {
  top: -100px;
  right: -50px;
  width: 500px;
  height: 500px;
  background-color: var(--orb-1-color);
  animation-duration: 20s;
}

.orb-2 {
  top: 30vh;
  left: -200px;
  width: 600px;
  height: 600px;
  background-color: var(--orb-2-color);
  animation-duration: 30s;
}

.orb-3 {
  bottom: -100px;
  right: 10%;
  width: 400px;
  height: 400px;
  background-color: var(--orb-3-color);
  animation-duration: 25s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(50px, 40px) scale(1.15);
  }
}

/* ==========================================================================
   HEADER & FLOATING NAVBAR
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
  transition: border-color var(--transition-medium), background-color var(--transition-medium);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
}

.logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  width: 64px;
  position: relative;
  z-index: 10;
  margin-bottom: -50px;
  overflow: visible;
}

.logo-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110px;
  height: 110px;
  background-color: var(--bg-primary);
  border: none;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  z-index: -1;
  transition: background-color var(--transition-medium);
}

.logo-svg {
  height: 135px;
  width: 135px;
  flex-shrink: 0;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.mobile-menu-toggle {
  display: none !important;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  position: relative;
  transition: color var(--transition-fast);
}

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

.nav-link.active {
  color: var(--accent-gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent-gold);
  border-radius: var(--radius-full);
}

/* Dynamic theme overrides for the SVG logo */
.light-theme .logo-svg {
  /* Using CSS filters to slightly adapt logo text color in light theme if SVG file properties don't adapt natively */
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px var(--shadow-glow);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--border-color);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  background-color: transparent;
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  background-color: var(--border-color);
  color: var(--accent-gold);
  transform: scale(1.05);
}

.btn-icon svg {
  width: 20px;
  height: 20px;
}

/* Custom visibility toggling for light/dark moon/sun icons */
.dark-theme .sun-icon { display: block; }
.dark-theme .moon-icon { display: none; }
.light-theme .sun-icon { display: none; }
.light-theme .moon-icon { display: block; }

.icon-inline {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 180px;
  padding-bottom: 180px;
  position: relative;
  background-image: linear-gradient(to bottom, rgba(11, 15, 25, 0.55) 0%, rgba(11, 15, 25, 0.75) 100%), url('background.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image var(--transition-medium);
}

.light-theme .hero-section {
  background-image: linear-gradient(to bottom, rgba(248, 250, 252, 0.55) 0%, rgba(248, 250, 252, 0.75) 100%), url('background.webp');
}

@media (min-width: 993px) {
  .hero-section {
    background-attachment: fixed;
  }
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--accent-gold-soft);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-gold);
  border-radius: var(--radius-full);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(245, 158, 11, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 52px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #7f1d1d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Hero Bottom Horizontal details bar */
.hero-bottom-bar {
  background: rgba(18, 22, 32, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.light-theme .hero-bottom-bar {
  background: rgba(255, 255, 255, 0.75);
}

.hero-bar-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.bar-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bar-icon {
  width: 44px;
  height: 44px;
  background-color: var(--accent-gold-soft);
  color: var(--accent-gold);
  border: 1px solid rgba(190, 22, 34, 0.25);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bar-icon svg {
  width: 20px;
  height: 20px;
}

.bar-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bar-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.bar-value {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

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

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: 0 20px 30px -15px var(--shadow-color), 0 0 0 1px var(--accent-gold-soft);
}

.service-card-image {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

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

.service-card-body {
  padding: 32px;
  padding-top: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
}

.service-icon-wrapper {
  position: absolute;
  top: -28px;
  left: 32px;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background-color: var(--accent-gold);
  color: #ffffff;
  border: 3px solid var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 2;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.service-icon {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ==========================================================================
   CONTACT SECTION & BUSINESS CARD
   ========================================================================== */
.contact-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.contact-grid-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.contact-text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background-color: var(--accent-gold-soft);
  border: 1px solid rgba(190, 22, 34, 0.25);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.contact-heading {
  font-family: var(--font-heading);
  font-size: 36px;
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 24px;
}

.contact-owner-info {
  display: flex;
  flex-direction: column;
  border-left: 3px solid var(--accent-gold);
  padding-left: 16px;
}

.contact-owner-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.contact-owner-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-gold);
}

.contact-info-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-grow: 1;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background-color: var(--accent-gold-soft);
  color: var(--accent-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
}

.contact-detail-content {
  display: flex;
  flex-direction: column;
}

.contact-detail-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  font-weight: 700;
}

.contact-detail-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.contact-detail-link:hover {
  color: var(--accent-gold);
}

.contact-buttons-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  width: 180px;
}

.contact-cta-btn {
  width: 100%;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

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

.whatsapp-cta:hover {
  background-color: var(--whatsapp-color-hover);
  border-color: var(--whatsapp-color-hover);
  box-shadow: 0 6px 15px -4px rgba(37, 211, 102, 0.4);
}

@media (max-width: 992px) {
  .contact-grid-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .contact-info-block {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .contact-buttons-stack {
    width: 100%;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.owner-note {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.link-footer-btn {
  font-size: inherit;
  color: inherit;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.link-footer-btn:hover {
  color: var(--accent-gold);
}

.footer-separator {
  color: var(--border-color);
}

.attribution {
  font-size: 13px;
}

.link-360 {
  font-weight: 600;
  color: var(--text-primary);
}

.link-360:hover {
  color: var(--accent-gold);
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background-color: var(--bg-secondary);
  border: 1px solid var(--accent-gold);
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px -5px var(--shadow-color);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideUpFade 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.toast-success-icon {
  color: var(--accent-gold);
  width: 16px;
  height: 16px;
}

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

/* ==========================================================================
   NATIVE DIALOG MODAL (IMPRESSUM)
   ========================================================================== */
.impressum-dialog {
  margin: auto;
  border: none;
  background: transparent;
  padding: 24px;
  max-width: 600px;
  width: 100%;
  color: var(--text-primary);
  outline: none;
  overflow: visible;
  /* Top layer scaling transition (standard native support) */
  transition: opacity var(--transition-medium) allow-discrete,
              display var(--transition-medium) allow-discrete;
  opacity: 0;
}

.impressum-dialog[open] {
  opacity: 1;
}

/* Starting style for entry transition */
@starting-style {
  .impressum-dialog[open] {
    opacity: 0;
  }
  .impressum-dialog[open] .dialog-content {
    transform: scale(0.95) translateY(10px);
  }
}

.impressum-dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  transition: opacity var(--transition-medium) allow-discrete;
  opacity: 0;
}

.impressum-dialog[open]::backdrop {
  opacity: 1;
}

@starting-style {
  .impressum-dialog[open]::backdrop {
    opacity: 0;
  }
}

.dialog-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  max-height: 80vh;
  overflow: hidden;
  transform: scale(1) translateY(0);
  transition: transform var(--transition-medium);
}

.impressum-dialog[open] .dialog-content {
  /* target style when open */
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(255, 255, 255, 0.01);
}

.dialog-header h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
}

.btn-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.btn-close:hover {
  background-color: var(--border-color);
  color: var(--text-primary);
  transform: rotate(90deg);
}

.btn-close svg {
  width: 18px;
  height: 18px;
}

.dialog-body {
  padding: 32px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
}

.impressum-section h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.impressum-section p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.impressum-section a {
  color: var(--accent-gold);
  text-decoration: underline;
}

.impressum-section a:hover {
  color: var(--accent-gold-hover);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */

/* Tablet (Max 992px) */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-title {
    font-size: 44px;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1; /* Display graphic on top on tablets */
  }
}

/* Mobile (Max 768px) */
@media (max-width: 768px) {
  .main-header {
    top: 0;
  }
  
  .header-container {
    padding: 0 16px;
    height: 56px;
    border-radius: 0;
    margin: 0;
  }
  
  .logo-link {
    height: 44px;
    width: 44px;
    margin-bottom: 0;
    overflow: hidden;
  }
  
  .logo-link::before {
    display: none;
  }
  
  .logo-svg {
    height: 100% !important;
    width: 100% !important;
  }
  
  .header-cta {
    display: none; /* Hide header tel CTA on mobile since we have big CTAs */
  }

  .mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
  }

  .hamburger-icon {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
  }

  .hamburger-icon line {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }

  .mobile-menu-toggle.active .line-1 {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-menu-toggle.active .line-2 {
    opacity: 0;
  }

  .mobile-menu-toggle.active .line-3 {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 24px;
    gap: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    z-index: 90;
  }

  .nav-menu.active {
    display: flex;
  }

  .hero-section {
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .hero-bottom-bar {
    position: relative;
    bottom: auto;
    margin-top: 50px;
    border-left: none;
    border-right: none;
    background: var(--bg-secondary);
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .services-section {
    padding: 70px 0;
  }
  
  .section-title {
    font-size: 30px;
  }
  
  .contact-section {
    padding: 70px 0;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .footer-separator {
    display: none;
  }

  .attribution {
    display: block;
    width: 100%;
    margin-top: 12px;
    text-align: center;
  }
}

/* Small Screens (Max 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }
  
  .detail-item {
    gap: 12px;
    padding: 10px;
  }
  
  .detail-value {
    font-size: 13px;
  }
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-banner-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 480px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  pointer-events: none;
}

.cookie-banner-wrapper.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-banner-text h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.cookie-banner-text p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.banner-text-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-gold);
  text-decoration: underline;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.banner-text-link:hover {
  color: var(--accent-gold-hover);
}

.cookie-banner-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.cookie-banner-actions .btn {
  padding: 8px 16px;
  font-size: 12px;
}

@media (max-width: 576px) {
  .cookie-banner-wrapper {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
    padding: 16px;
  }
  
  .cookie-banner-actions {
    flex-direction: column;
  }
  
  .cookie-banner-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   6. SERVICE CARD DETAIL LISTS
   ========================================================================== */
.service-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 14px;
  color: var(--text-secondary);
  position: relative;
  padding-left: 20px;
}

.service-list li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--accent-gold);
  font-weight: bold;
}

.service-card-text-more {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ==========================================================================
   7. ADVANTAGES SECTION (VORTEILE)
   ========================================================================== */
.advantages-section {
  padding: 60px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

@media (max-width: 992px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}

.advantage-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.advantage-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: rgba(190, 22, 34, 0.1);
  color: var(--accent-gold);
  flex-shrink: 0;
}

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

.advantage-info h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.advantage-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   8. ABOUT US SECTION (ÜBER UNS)
   ========================================================================== */
.about-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.about-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-lead {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.about-cta-wrapper {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   9. WHY US CHECKLIST (WARUM WIR)
   ========================================================================== */
.why-us-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 50px;
}

.why-us-box {
  background-color: var(--bg-primary);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.why-us-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-us-icon {
  color: var(--accent-gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: rgba(190, 22, 34, 0.08);
  border-radius: 50%;
}

.why-us-icon svg {
  width: 22px;
  height: 22px;
}

.why-us-box h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.why-us-box p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   10. WORKFLOW STEP LAYOUT (ABLauf)
   ========================================================================== */
.workflow-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 50px;
  position: relative;
}

.step-card {
  background-color: var(--bg-secondary);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  position: relative;
  transition: transform var(--transition-medium);
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 900;
  color: var(--accent-gold);
  opacity: 0.8;
  margin-bottom: 16px;
  line-height: 1;
}

.step-card h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.step-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   11. FAQ ACCORDION SECTION
   ========================================================================== */
.faq-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.faq-accordion {
  max-width: 800px;
  margin: 50px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition-medium);
}

.faq-item[open] {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--accent-gold);
  line-height: 1;
  transition: transform var(--transition-medium);
}

.faq-item[open] .faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 20px 24px;
  border-top: 1px solid transparent;
}

.faq-item[open] .faq-answer {
  border-top-color: var(--border-color);
  animation: slideDown 0.25s ease-out;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   12. TESTIMONIALS SECTION (BEWERTUNGEN)
   ========================================================================== */
.reviews-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 50px;
}

.review-card {
  background-color: var(--bg-secondary);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-medium);
}

.review-card:hover {
  transform: translateY(-4px);
}

.review-stars {
  color: var(--accent-gold);
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 24px;
}

.review-author {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.review-author strong {
  font-size: 14px;
  color: var(--text-primary);
}

.review-author span {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ==========================================================================
   13. FOOTER DIRECTORY GRID (ZUSATZ LINKS)
   ========================================================================== */
.footer-directory-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.footer-dir-col h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.footer-dir-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.footer-dir-col ul li a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-dir-col ul li a:hover {
  color: var(--accent-gold);
}

/* Responsive Footer columns */
@media (max-width: 768px) {
  .footer-directory-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 30px;
  }
}
