/* =============================================================
   QUEEN CLEAN ADL – Global Design System
   Einheitliches Design für alle Seiten
   Version 3.0 – März 2026 | Full Redesign
   ============================================================= */

/* --- Design Tokens --- */
:root {
  --qc-gold: #c5a059;
  --qc-gold-light: #e8d5a3;
  --qc-gold-dark: #8a6b2f;
  --qc-gold-glow: rgba(197, 160, 89, 0.25);
  --qc-gold-gradient: linear-gradient(135deg, #c5a059 0%, #e8d5a3 50%, #b8943f 100%);
  --qc-gold-shimmer: linear-gradient(110deg, #c5a059 0%, #f0e4c4 25%, #c5a059 50%, #f0e4c4 75%, #c5a059 100%);
  --qc-dark: #1a1a2e;
  --qc-dark-soft: #2c2c3e;
  --qc-text: #2c2c2c;
  --qc-text-muted: #777;
  --qc-bg-warm: #fdfbf7;
  --qc-bg-cream: #faf5e8;
  --qc-radius-sm: 8px;
  --qc-radius-md: 16px;
  --qc-radius-lg: 24px;
  --qc-radius-pill: 50px;
  --qc-shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --qc-shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --qc-shadow-lg: 0 16px 40px rgba(0,0,0,0.1);
  --qc-shadow-gold: 0 8px 24px rgba(197, 160, 89, 0.2);
  --qc-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --qc-transition: all 0.4s var(--qc-ease);
}

/* --- Base Reset & Smooth Scroll --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
section[id] { scroll-margin-top: 80px; }

/* --- Typography Enhancements --- */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: 0.3px;
  line-height: 1.3;
}

p { line-height: 1.75; }

/* --- Gold Separator Component --- */
.qc-sep {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--qc-gold-gradient);
  border-radius: 2px;
  margin: 15px auto 25px;
  border: none;
}

/* ================================================
   HEADER & NAVIGATION POLISH
   ================================================ */
.u-header {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Nav link gold underline on hover */
.u-nav-link {
  transition: var(--qc-transition) !important;
  position: relative;
}

.u-nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--qc-gold);
  transition: width 0.3s ease, left 0.3s ease;
}

.u-nav-link:hover::after {
  width: 80%;
  left: 10%;
}

/* Dropdown menus */
.u-nav-popup {
  border-top: 3px solid var(--qc-gold) !important;
  border-radius: 0 0 var(--qc-radius-sm) var(--qc-radius-sm) !important;
  box-shadow: var(--qc-shadow-lg) !important;
}

/* ================================================
   GOLD BUTTONS – Unified System
   ================================================ */
.gold-button, .gold-button-dien {
  display: inline-block;
  padding: 16px 44px;
  background: var(--qc-gold-gradient);
  background-size: 200% auto;
  color: #fff !important;
  text-decoration: none !important;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--qc-radius-pill);
  border: none;
  transition: var(--qc-transition);
  box-shadow: var(--qc-shadow-gold);
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
  cursor: pointer;
}

.gold-button:hover, .gold-button-dien:hover {
  background-position: right center;
  box-shadow: 0 10px 30px rgba(197, 160, 89, 0.4);
  transform: translateY(-3px);
  color: #fff !important;
  text-decoration: none !important;
}

.gold-button:active, .gold-button-dien:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.gold-button-outline {
  display: inline-block;
  padding: 14px 38px;
  background: transparent;
  color: var(--qc-gold-dark) !important;
  text-decoration: none !important;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--qc-radius-pill);
  border: 2px solid var(--qc-gold);
  transition: var(--qc-transition);
  text-align: center;
}

.gold-button-outline:hover {
  background: var(--qc-gold-gradient);
  color: #fff !important;
  border-color: transparent;
  box-shadow: var(--qc-shadow-gold);
  transform: translateY(-2px);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* ================================================
   CARD & LIST-ITEM HOVER EFFECTS
   ================================================ */
.u-list-item, .u-repeater-item {
  transition: var(--qc-transition);
}

.u-list-item:hover, .u-repeater-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--qc-shadow-lg);
}

.u-image-circle {
  transition: var(--qc-transition);
}

.u-list-item:hover .u-image-circle,
.u-repeater-item:hover .u-image-circle {
  border-color: var(--qc-gold) !important;
  box-shadow: 0 0 20px var(--qc-gold-glow);
}

/* ================================================
   GALLERY / CAROUSEL IMPROVEMENTS
   ================================================ */
.u-gallery .u-over-slide {
  background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.7) 100%) !important;
}

.u-gallery .u-gallery-heading {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
  font-size: 1.15em;
}

.u-gallery .u-gallery-text {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  line-height: 1.6;
}

.u-gallery .u-carousel-control {
  transition: var(--qc-transition);
}

.u-gallery .u-carousel-control:hover {
  opacity: 1 !important;
  transform: translateY(-50%) scale(1.12);
}

.u-gallery-item {
  transition: var(--qc-transition);
}

.u-gallery-item:hover .u-back-image {
  transform: scale(1.05);
  transition: transform 0.6s ease;
}

/* ================================================
   SECTION ENHANCEMENTS
   ================================================ */

/* Parallax sections */
.u-parallax h2 {
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.5px;
}

/* ================================================
   FOOTER REDESIGN
   ================================================ */
.u-footer {
  position: relative;
}

.u-footer .u-line-1 {
  background: var(--qc-gold-gradient) !important;
  opacity: 0.6 !important;
  border: none !important;
  height: 2px !important;
}

.u-footer .u-social-icon {
  transition: var(--qc-transition);
}

.u-footer .u-social-icon:hover {
  transform: translateY(-4px) scale(1.15);
  filter: brightness(1.2) drop-shadow(0 4px 8px rgba(197, 160, 89, 0.3));
}

.u-footer .u-text-1 {
  letter-spacing: 0.3px;
  opacity: 0.9;
}

/* ================================================
   BACK-TO-TOP BUTTON
   ================================================ */
.u-back-to-top {
  transition: var(--qc-transition) !important;
  border: 2px solid transparent !important;
}

.u-back-to-top:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.4) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

/* ================================================
   MAP STYLING
   ================================================ */
.u-map {
  border-radius: var(--qc-radius-md) !important;
  overflow: hidden;
  box-shadow: var(--qc-shadow-md);
}

/* ================================================
   FORM ELEMENTS (if any remain)
   ================================================ */
input, textarea, select {
  border-radius: var(--qc-radius-sm);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--qc-gold) !important;
  box-shadow: 0 0 0 3px var(--qc-gold-glow) !important;
  outline: none;
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes goldPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.3); }
  50% { box-shadow: 0 0 0 12px rgba(197, 160, 89, 0); }
}

/* Content fade-in on load */
.qc-content-section { animation: fadeInUp 0.6s ease-out; }

/* ================================================
   RESPONSIVE ADJUSTMENTS
   ================================================ */
@media (max-width: 991px) {
  .u-nav-link::after { display: none; }
  
  .gold-button, .gold-button-dien {
    padding: 14px 32px;
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .gold-button, .gold-button-dien {
    padding: 13px 28px;
    font-size: 12px;
    letter-spacing: 1px;
  }
  
  .gold-button-outline {
    padding: 12px 24px;
    font-size: 12px;
  }
}

/* ================================================
   SELECTION COLOR
   ================================================ */
::selection {
  background: var(--qc-gold-light);
  color: var(--qc-dark);
}

::-moz-selection {
  background: var(--qc-gold-light);
  color: var(--qc-dark);
}

/* ================================================
   PRINT STYLES
   ================================================ */
@media print {
  .u-header, .u-footer, .u-back-to-top, .u-social-icons { display: none !important; }
  section { page-break-inside: avoid; break-inside: avoid; }
  .gold-button, .gold-button-outline, .gold-button-dien {
    border: 1px solid #333 !important;
    background: none !important;
    color: #333 !important;
    box-shadow: none !important;
  }
  body { font-size: 11pt; }
}

/* =============================================================
   ADDITIONAL POLISH – v3.1
   ============================================================= */

/* --- Image Lazy-Load Fade In --- */
img[loading="lazy"], img.lazyload {
  opacity: 0;
  transition: opacity 0.5s ease;
}

img.lazyloaded, img[loading="lazy"][src] {
  opacity: 1;
}

/* --- Section Title Gold Accents --- */
h1, .u-text-1 {
  position: relative;
}

section h1::after,
section .u-section-2 h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--qc-gold-gradient);
  border-radius: 2px;
  margin: 12px auto 0;
}

/* --- Sticky Header Shadow on Scroll --- */
.u-header.u-sticky {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
}

/* --- Image Hover Zoom for Gallery Items --- */
.u-gallery-item .u-back-image,
.u-carousel-item .u-back-image {
  transition: transform 0.7s ease !important;
}

.u-gallery-item:hover .u-back-image,
.u-carousel-item:hover .u-back-image {
  transform: scale(1.08) !important;
}

/* --- Card Border Accent on Hover --- */
.u-list-item[class*="u-border"] {
  transition: var(--qc-transition), border-color 0.3s ease;
}

.u-list-item[class*="u-border"]:hover {
  border-color: var(--qc-gold) !important;
}

/* --- Smooth Link Transitions --- */
a {
  transition: color 0.3s ease, opacity 0.3s ease;
}

/* --- Phone Number Call-to-Action Styling --- */
a[href^="tel:"] {
  transition: var(--qc-transition);
}

a[href^="tel:"]:hover {
  color: var(--qc-gold) !important;
}

/* --- Logo Subtle Hover --- */
.u-logo img {
  transition: filter 0.4s ease, transform 0.4s ease;
}

.u-logo:hover img {
  filter: brightness(1.08);
  transform: scale(1.02);
}

/* --- Parallax Section Overlay Enhancement --- */
section.u-parallax::before,
section.u-shading::before {
  transition: opacity 0.5s ease;
}

/* --- Contact Email Button Pulse Effect --- */
.gold-button[href^="mailto:"] {
  animation: goldPulse 3s ease-in-out infinite;
}

.gold-button[href^="mailto:"]:hover {
  animation: none;
}

/* --- Testimonial/Review Cards --- */
.u-section-7 .u-repeater-item,
.u-section-8 .u-repeater-item {
  border-radius: var(--qc-radius-md) !important;
  transition: var(--qc-transition);
}

.u-section-7 .u-repeater-item:hover,
.u-section-8 .u-repeater-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--qc-shadow-lg);
}

/* --- Icon Circle Enhancement --- */
.u-icon-circle {
  transition: var(--qc-transition);
}

.u-icon-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--qc-gold-glow);
}

/* --- Breadcrumb / Section Dividers --- */
section + section {
  position: relative;
}

/* --- Focus Accessibility --- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--qc-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Custom Scrollbar (Webkit) --- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--qc-gold), var(--qc-gold-dark));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--qc-gold-dark);
}

/* --- Firefox Scrollbar --- */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--qc-gold) #f5f5f5;
}

/* --- Layout Cell Image Enhancement --- */
.u-layout-cell .u-image {
  transition: transform 0.6s ease;
}

.u-layout-cell:hover .u-image {
  transform: scale(1.02);
}

/* --- Hero Sections Overlay Enhancement --- */
section[data-bg*="linear-gradient"] {
  position: relative;
}

/* --- Rounded Image Borders Gold Glow --- */
.u-image-round {
  transition: var(--qc-transition);
}

.u-image-round:hover {
  box-shadow: 0 8px 30px rgba(197, 160, 89, 0.2);
}

/* --- Loading Skeleton Effect --- */
@keyframes loading {
  0% { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}

/* --- Tooltip for Phone Numbers --- */
a[href^="tel:"]:hover::after {
  content: 'Anrufen';
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--qc-dark);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.9;
}

/* --- Dark Mode Prep (for future) --- */
@media (prefers-color-scheme: dark) {
  /* Reserved for future dark mode */
}

/* --- Reduced Motion Accessibility --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html { scroll-behavior: auto; }
}

/* --- High Contrast Mode --- */
@media (prefers-contrast: high) {
  .gold-button, .gold-button-dien {
    border: 2px solid #000 !important;
  }
  
  .u-nav-link::after {
    height: 3px;
  }
}
