@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
  /* ==========================================================================================
     ANLEITUNG FÜR FARBÄNDERUNGEN:
     Hier können die Farben der Website ganz einfach angepasst werden.
     Es müssen nur die Hex-Codes (z.B. #cedb37) bei den 6 Hauptfarben unten geändert werden.
     Alle Verläufe, Hover-Effekte (beim Drüberfahren) und transparenten Hintergründe
     werden automatisch berechnet. Es müssen keine weiteren Zeilen angefasst werden!
     ========================================================================================== */

  /* Hauptfarben */
  --primary: #cedb37;       /* Hauptfarbe aus dem Apfel-Logo (Gelb-Grün) - leuchtend */
  --primary-dark: #9ca71e;  /* Dunklere Hauptfarbe - für Hover-Effekte, Buttons und Überschriften */
  --primary-light: #dee778; /* Hellere Hauptfarbe - für dezente Highlights und Kreise */

  /* Akzentfarben */
  --accent-orange: #E0A831; /* Akzentfarbe (Orange/Bronze) - für Linien und Untertitel */
  --accent-green: #818a19;  /* Alternative Akzentfarbe (Grün) - für einige Container-Boxen */

  /* Text & Hintergründe */
  --text-dark: #1a1a1a;     /* Dunkler Text (fast schwarz) */
  --bg-light: color-mix(in srgb, var(--primary) 55%, white);      /* Heller Hintergrund für Über-Mich Sektion */
  --bg-light-soft: color-mix(in srgb, var(--primary) 15%, white); /* Sehr heller Hintergrund für Sektionen */
}

/* ==========================================
   BASIS & TYPOGRAFIE
   ========================================== */
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-serif {
  font-family: 'Playfair Display', serif;
}

h2 {
  color: var(--primary-dark);
}

.bg-light {
  background-color: var(--bg-light-soft) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-accent {
  background-color: var(--accent-orange);
}

/* ==========================================
   UI ELEMENTE
   ========================================== */
.brand-dot {
  color: var(--primary-dark);
  font-size: 2rem;
}

.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--text-dark);
  padding: 1rem 2rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}

.btn-premium:hover {
  background-color: var(--primary-dark);
  color: #ffffff;
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--text-dark);
  padding: 1rem 2rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--primary-dark);
}

.btn-secondary-outline:hover {
  background-color: var(--primary-dark);
  color: #ffffff;
  border-color: var(--primary-dark);
}

/* ==========================================
   MOBILE NAVIGATION & BURGER MENU
   ========================================== */
.burger-button {
  background: none;
  border: none;
  padding: 0;
  width: 28px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1060;
  position: relative;
  cursor: pointer;
}

.burger-button .burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  transform-origin: center;
}

.burger-button.active .burger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.burger-button.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-button.active .burger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(252, 252, 252, 0.98);
  z-index: 1040;
  padding-top: 100px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  backdrop-filter: blur(15px);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-overlay.open .mobile-nav-links a {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-overlay .mobile-nav-links a {
  display: block;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.mobile-nav-overlay .mobile-nav-links a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-overlay .mobile-nav-links a:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav-overlay .mobile-nav-links a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav-overlay .mobile-nav-links a:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav-overlay .mobile-nav-links a:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav-overlay .mobile-nav-links a:nth-child(6) { transition-delay: 0.35s; }
.mobile-nav-overlay .mobile-nav-links a:nth-child(7) { transition-delay: 0.4s; }
.mobile-nav-overlay .mobile-nav-links a:nth-child(8) { transition-delay: 0.45s; }
.mobile-nav-overlay .mobile-nav-links a:nth-child(9) { transition-delay: 0.5s; }
.mobile-nav-overlay .mobile-nav-links a:nth-child(10) { transition-delay: 0.55s; }

/* ==========================================
   HEADER PUSH (Abstand für Mobile & Desktop)
   ========================================== */
.header-push {
  padding-top: 96px;
}

@media (max-width: 767px) {
  .header-push {
    padding-top: 26px;
  }
}

body.nav-is-locked {
  overflow: hidden;
  height: 100vh;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  padding: 1.5rem 0;
  transition: all 0.4s ease-in-out;
  background-color: color-mix(in srgb, var(--primary) 30%, transparent);
}

.site-header .nav-link,
.site-header .nav-cta {
  font-size: 1.1rem !important;
  font-weight: 500 !important;
}

.site-header.scrolled {
  background-color: color-mix(in srgb, var(--primary) 80%, transparent);
  padding: 0.8rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
}

.site-header.scrolled .nav-link,
.site-header.scrolled .brand-name,
.site-header.scrolled .burger-line {
  color: var(--text-dark) !important;
}

.site-header.scrolled .brand-dot {
  color: #fff !important;
}

.site-header.mobile-menu-active {
  background-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* ==========================================
   HERO & SEKTIONEN
   ========================================== */
.hero-subtitle {
  color: var(--accent-orange);
  letter-spacing: 2px;
  font-size: 0.85rem;
}

.hero-highlight {
  height: 12px;
  background-color: var(--primary-light);
  z-index: -1;
  opacity: 0.7;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 120%;
  background-color: #eee;
  overflow: hidden;
}

.hero-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-accent {
  position: absolute;
  top: 1.4rem;
  bottom: -1.4rem;
  right: -1.4rem;
  left: 1.4rem;
  background-color: var(--primary-light);
  z-index: -1;
}

@media (max-width: 767px) {
  .hero-bg-accent {
    display: none;
  }
}

.sticky-top-120 {
  top: 120px;
}

.check-circle {
  width: 24px;
  height: 24px;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  flex-shrink: 0;
}

.accent-line {
  width: 80px;
  height: 4px;
  background-color: var(--accent-orange);
  margin-bottom: 1.5rem;
}

/* ==========================================
   ASYMMETRISCHES GRID (SOFT CONTAINERS)
   ========================================== */
.service-grid-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s ease, background-color 0.4s ease;
}

.service-grid-item h3 {
  color: var(--primary-dark);
  transition: color 0.3s ease;
}

.service-grid-item:hover {
  transform: translateY(-5px);
  color: inherit;
}

.service-grid-item:hover h3 {
  color: color-mix(in srgb, var(--primary-dark) 75%, black);
}

.bg-primary-light {
  background-color: color-mix(in srgb, var(--primary) 38%, white);
}

.bg-accent-green-light {
  background-color: color-mix(in srgb, var(--accent-green) 38%, white);
}

.bg-surface-primary {
  background-color: color-mix(in srgb, var(--primary) 38%, white);
  text-align: center;
}

.bg-surface-primary:hover {
  background-color: color-mix(in srgb, var(--primary) 60%, white);
}

.bg-surface-primary-soft {
  background-color: color-mix(in srgb, var(--primary) 18%, white);
  text-align: center;
}

.bg-surface-primary-soft:hover {
  background-color: color-mix(in srgb, var(--primary) 38%, white);
}

.bg-surface-primary-hard {
  background-color: color-mix(in srgb, var(--primary) 60%, white);
  text-align: center;
}

.bg-surface-primary-hard:hover {
  background-color: color-mix(in srgb, var(--primary) 82%, white);
}

.bg-surface-accent {
  background-color: color-mix(in srgb, var(--accent-orange) 38%, white);
  text-align: center;
}

.bg-surface-accent:hover {
  background-color: color-mix(in srgb, var(--accent-orange) 60%, white);
}

.bg-surface-accent-soft {
  background-color: color-mix(in srgb, var(--accent-orange) 18%, white);
  text-align: center;
}

.bg-surface-accent-soft:hover {
  background-color: color-mix(in srgb, var(--accent-orange) 38%, white);
}

.bg-surface-accent-hard {
  background-color: color-mix(in srgb, var(--accent-orange) 60%, white);
  text-align: center;
}

.bg-surface-accent-hard:hover {
  background-color: color-mix(in srgb, var(--accent-orange) 82%, white);
}

.bg-surface-light {
  background-color: color-mix(in srgb, var(--accent-green) 38%, white);
  text-align: center;
}

.bg-surface-light:hover {
  background-color: color-mix(in srgb, var(--accent-green) 60%, white);
}

.bg-surface-light-soft {
  background-color: color-mix(in srgb, var(--accent-green) 18%, white);
  text-align: center;
}

.bg-surface-light-soft:hover {
  background-color: color-mix(in srgb, var(--accent-green) 38%, white);
}

.bg-surface-light-hard {
  background-color: color-mix(in srgb, var(--accent-green) 60%, white);
  text-align: center;
}

.bg-surface-light-hard:hover {
  background-color: color-mix(in srgb, var(--accent-green) 82%, white);
}

.grid-arrow {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  padding-top: 2rem;
  color: var(--primary-dark);
  transition: color 0.3s ease;
}

.service-grid-item:hover .grid-arrow {
  color: color-mix(in srgb, var(--primary-dark) 62%, black);
}

/* ==========================================
   VORTEILE & ABLAUF SEKTIONEN
   ========================================== */
.vorteile-section {
  position: relative;
  overflow: hidden;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .process-step {
    flex-direction: row;
    align-items: flex-start;
  }
}

.process-step.process-stacked {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.5rem;
}

.process-step.process-stacked .process-number {
  font-size: 3.5rem !important;
  min-width: auto !important;
}

.process-number {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--primary-dark);
  font-weight: 700;
}

@media (min-width: 768px) {
  .process-number {
    font-size: 5rem;
    min-width: 100px;
  }
}

.process-content {
  flex: 1;
}

.process-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.process-step-img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
}

/* ==========================================
   ÜBER MICH TEASER & STANDORTE
   ========================================== */
.about-teaser-section {
  background-color: var(--bg-light);
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  background-color: #eee;
  border-radius: .5rem;
}

@media (min-width: 992px) {
  .about-image-wrapper {
    padding-top: 120%;
  }
}

.about-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.object-top {
  object-position: top;
}

.location-list {
  border-left: 4px solid var(--accent-orange);
  padding-left: 1.5rem;
  margin-top: 2rem;
}

/* ==========================================
   FAQ ACCORDION (Native HTML <details>)
   ========================================== */
.faq-section {
  background-color: #ffffff;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1.5rem 0;
}

.faq-item:first-of-type {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

summary::-webkit-details-marker {
  display: none;
}

.faq-question {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .faq-question {
    font-size: 1.5rem;
  }
}

.faq-question:hover {
  color: var(--primary-dark);
}

.faq-question::after {
  content: '+';
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary-dark);
  transition: transform 0.3s ease;
}

details[open] .faq-question {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

details[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  font-weight: 300;
  line-height: 1.6;
  padding-right: 2rem;
  animation: fade-in-down 0.4s ease-out;
}

@keyframes fade-in-down {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  background-color: var(--text-dark);
  color: #ffffff;
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.site-footer .footer-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--primary-dark) !important;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.site-footer .footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #ffffff !important;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand .brand-dot {
  color: var(--primary);
}

.footer-brand:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 4rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

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

.footer-locations {
  list-style: none;
  padding: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-locations li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-locations li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--primary-dark);
}

/* ==========================================
   TRUST BAR
   ========================================== */
.trust-bar {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02), inset 0 -1px 3px rgba(0, 0, 0, 0.02);
}

.trust-bar .trust-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.trust-bar .trust-bar-item:hover {
  transform: translateY(-2px);
}

.trust-bar .trust-bar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background-color: color-mix(in srgb, var(--text-dark) 8%, transparent);
  color: var(--text-dark);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: bold;
}

/* ==========================================
   FINAL CTA SECTION
   ========================================== */
.final-cta-section .btn-premium {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px color-mix(in srgb, var(--primary) 15%, transparent);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.final-cta-section .btn-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--primary-dark) 25%, transparent);
}

/* ==========================================
   ANIMATIONEN (PREMIUM ENTRY AESTHETICS)
   ========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.3s;
}

.delay-3 {
  animation-delay: 0.45s;
}

.delay-4 {
  animation-delay: 0.6s;
}

.location-card-img {
  height: 250px;
}

.alert-primary-border {
  border-left: 3px solid var(--primary) !important;
}

.header-dropdown-menu {
  background-color: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px) !important;
}

.text-primary-dark {
  color: var(--primary-dark) !important;
}

/* ==========================================
   FORMULARE & COOKIE BANNER
   ========================================== */
.form-control,
.form-select {
  border: 1px solid rgba(0, 0, 0, 0.15);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--primary) 25%, transparent);
  color: var(--text-dark);
}

.form-check-input:focus {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--primary) 25%, transparent);
}

.form-check-input:checked {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  padding-bottom: 20px;
}

.cookie-banner .cookie-content {
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.15) !important;
}