/* ============================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES (Light Mode Optimized)
   ============================================================ */
:root {
  /* Farben (Exklusives Light-Mode Schema) */
  --bg-main: #FCFBFA;          /* Edles, warmes Alabaster-Weiß */
  --bg-alt: #F4F2ED;           /* Sanfter Kontrast-Hintergrund für Wechsel-Sections */
  --bg-card: #FFFFFF;          /* Klare weiße Cards */

  --text-main: #1E2522;        /* Tiefes Salbeigrün/Anthrazit für 100% Lesbarkeit */
  --text-muted: #576156;       /* Gedecktes Dunkelgrau für Fließtext & Untertitel */

  --accent: #827154;           /* Warmes Muted Sand Gold */
  --accent-hover: #6E5D43;
  --accent-light: rgba(176, 139, 91, 0.12);

  --border-color: rgba(30, 37, 34, 0.08);
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.08);

  /* Typografie */
  --font-serif: 'Lora', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container-width: 1180px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-organic: 40% 60% 60% 40% / 50% 40% 60% 50%; /* Kieselstein-Optik */

  /* Animationen */
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 200ms var(--ease-smooth);
  --transition-normal: 350ms var(--ease-smooth);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  overflow-x: hidden;
}

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

.skip-to-content {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--text-main);
  color: var(--bg-main);
  padding: 0.5rem 1rem;
  z-index: 1000;
  transition: top var(--transition-fast);
}

.skip-to-content:focus {
  top: 1rem;
}

/* ============================================================
   BREATHING ORB (LIGHT MODE OPTIMIZED)
   ============================================================ */
.breathing-orb {
  position: fixed;
  top: 15%;
  right: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--accent-light) 0%, rgba(252, 251, 250, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  animation: breathe 9s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.7; }
  50% { transform: scale(1.18) translate(-3%, 3%); opacity: 1; }
}

/* ============================================================
   LAYOUT & CONTAINER
   ============================================================ */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

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

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.grid-3-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  background: rgba(252, 251, 250, 0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-main);
  font-weight: 500;
}

.brand-subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 400;
  transition: color var(--transition-fast);
}

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

/* ============================================================
   HERO FULLSCREEN (DESKTOP FIT)
   ============================================================ */
.hero-fullscreen {
  position: relative;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Weißer, eleganter Verlauf über dem Bild für Lesbarkeit */
.hero-overlay-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(252, 251, 250, 0.95) 0%,
    rgba(252, 251, 250, 0.75) 50%,
    rgba(252, 251, 250, 0.3) 100%
  );
  z-index: 2;
}

.hero-fullscreen-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
  padding: 4rem 0;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

/* ============================================================
   BUTTONS & LINKS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--text-main);
  color: var(--bg-main);
}

.btn-primary:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-subtle);
}

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

.btn-secondary:hover {
  border-color: var(--text-main);
  background-color: rgba(0, 0, 0, 0.02);
}

.btn-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

/* ============================================================
   SERVICE SECTIONS & MEDIA
   ============================================================ */
.section-eyebrow {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.section-body {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.organic-frame {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-organic);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--border-color);
  transition: transform var(--transition-normal);
}

.organic-frame:hover {
  transform: scale(1.02);
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   CARDS (BENEFITS)
   ============================================================ */
.card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-normal);
}

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

.card-icon {
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================================
   CTA & SCHEDULER
   ============================================================ */
.cta-container {
  max-width: 800px;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.serif-italic {
  font-style: italic;
  color: var(--accent);
}

.cta-description {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.scheduler-placeholder {
  background: var(--bg-card);
  border: 1px dashed var(--accent);
  padding: 4rem 2rem;
  border-radius: var(--radius-md);
  color: var(--text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  background-color: var(--bg-alt);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--text-main);
}

/* ============================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ============================================================ */
@media (max-width: 968px) {
  .hero-fullscreen {
    min-height: auto;
    padding: 4rem 0;
  }

  .hero-overlay-backdrop {
    background: rgba(252, 251, 250, 0.92); /* Höhere Abdeckung für Lesbarkeit auf Mobilgeräten */
  }

  .hero-title {
    font-size: 2.0rem;
  }
  .cta-title {
    font-size: 2.0rem;
  }

  .grid-2-col, .grid-3-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .reverse-on-desktop {
    display: flex;
    flex-direction: column-reverse;
  }

  .nav-list {
    display: none; /* Kann per JS in ein Mobile-Menü umgewandelt werden */
  }

  .organic-frame {
    height: 300px;
  }
}

/* Reduced Motion (Accessibility) */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* ============================================================
   RESPONSIVE DRAWER & MOBILE MENU
   ============================================================ */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
  z-index: 200;
}

.hamburger-bar {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: all var(--transition-fast);
}

.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: var(--bg-main);
  z-index: 99;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 2rem;
}

.mobile-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
}

.mobile-nav-link {
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-serif);
}

.mobile-nav-link.highlight {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 968px) {
  .desktop-only { display: none !important; }
  .mobile-nav-toggle { display: flex; }
}

/* ============================================================
   BUTTON MORE & LINKS
   ============================================================ */
.btn-more {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}

.btn-more:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

/* ============================================================
   QUALIFIKATIONEN SECTION
   ============================================================ */
.qualifikationen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.qualifikation-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-subtle);
}

.qualifikation-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 600;
}

.qualifikation-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.qualifikation-card li strong {
  color: var(--text-main);
}

/* ============================================================
   HONORAR SECTION
   ============================================================ */
.honorar-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
}

.honorar-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.honorar-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.honorar-price {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-main);
}

.honorar-price small {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.honorar-subprice, .honorar-extra {
  font-size: 0.85rem;
  color: var(--accent);
  margin-top: 0.25rem;
}

/* ============================================================
   PHONE CONTACT BOX
   ============================================================ */
.phone-contact-box {
  background: var(--bg-card);
  padding: 3rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-hover);
  max-width: 550px;
  margin: 2rem auto 0;
}

.phone-icon {
  color: var(--accent);
  margin-bottom: 1rem;
}

.phone-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  display: block;
  margin-bottom: 1rem;
  transition: color var(--transition-fast);
}

.phone-number:hover {
  color: var(--accent);
}

.phone-hours {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
/* ============================================================
   SUBPAGES & READABILITY STYLES
   ============================================================ */
.container-readable {
  max-width: 760px;
  margin: 0 auto;
}

.page-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 400;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.page-hero-media {
  height: 320px;
  margin-bottom: 2.5rem;
}

.lead-text {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.text-block p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.text-block h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--text-main);
}

.highlight-box {
  background: var(--bg-alt);
  padding: 2rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent);
  margin: 2rem 0;
}

.styled-list {
  list-style: none;
  padding-left: 0;
}

.styled-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.styled-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.stufen-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.margin-y {
  margin: 3rem 0;
  border: none;
  border-top: 1px solid var(--border-color);
}

.page-cta {
  background: var(--bg-card);
  padding: 3rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-subtle);
  margin-top: 4rem;
}
/* Grundzustand vor dem Einblenden */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
  transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Zustand, wenn das Element im Sichtfeld ist */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* 1. État initial (Caché et légèrement décalé) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

/* 2. État final (Déclenché par le JavaScript) */
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.2s; }
.reveal-delay-2 { transition-delay: 0.4s; }
.reveal-delay-3 { transition-delay: 0.6s; }
.reveal-delay-4 { transition-delay: 0.9s; }

/* Sécurité d'accessibilité : Désactivation pour les personnes sensibles aux mouvements */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
