/* =============================================
   JULIA GROSSE – WIRBELSÄULENAUFRICHTUNG & CRANIOSACRAL
   Stylesheet | Version 1.0
   =============================================

   SCHRIFTEN (DSGVO-konform – lokal gehostet):
   Benötigte Dateien im Ordner /fonts/:
     nunito-v26-latin-300.woff2
     nunito-v26-latin-regular.woff2
     nunito-v26-latin-600.woff2
     nunito-v26-latin-700.woff2
   Download (kostenlos): https://gwfh.makkuva.net/fonts/nunito
   ============================================= */

/* ---- Lokale Schrift (DSGVO-sicher) ---- */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local(''),
       url('../fonts/nunito-v26-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local(''),
       url('../fonts/nunito-v26-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local(''),
       url('../fonts/nunito-v26-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local(''),
       url('../fonts/nunito-v26-latin-700.woff2') format('woff2');
}

/* =============================================
   CSS VARIABLEN – CI JULIA GROSSE
============================================= */
:root {
  --lila:        #604a6c;
  --lila-light:  #7d6389;
  --lila-pale:   #ede8f2;
  --braun:       #c8bda5;
  --braun-light: #ede8df;
  --braun-dark:  #a89880;
  --schwarz:     #1c1c1c;
  --weiss:       #ffffff;
  --text:        #2c2c2c;
  --text-light:  #6f6f6f;
  --bg-warm:     #f8f5f1;
  --bg-section:  #f2ede8;

  --font-body: 'Nunito', 'Calibri', 'Segoe UI', sans-serif;

  /* Runde Ecken – harmonisches Design */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  32px;
  --radius-xl:  48px;
  --radius-full: 9999px;

  --shadow-sm:  0 2px 12px rgba(96, 74, 108, 0.08);
  --shadow-md:  0 6px 30px rgba(96, 74, 108, 0.12);
  --shadow-lg:  0 16px 60px rgba(96, 74, 108, 0.16);
  --transition: all 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--weiss);
  line-height: 1.75;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* =============================================
   COOKIE BANNER (DSGVO)
============================================= */
#cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: var(--schwarz);
  color: var(--weiss);
  z-index: 9999;
  padding: 1.4rem 1.8rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.85rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
  transform: translateY(120%);
  animation: slideUpBanner 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s forwards;
}
@keyframes slideUpBanner {
  to { transform: translateY(0); }
}
#cookie-banner p {
  flex: 1;
  min-width: 200px;
  line-height: 1.6;
  opacity: 0.85;
}
#cookie-banner a {
  color: var(--braun);
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: 0.7rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.btn-cookie {
  padding: 0.55rem 1.3rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.btn-cookie-accept {
  background: var(--lila);
  color: var(--weiss);
}
.btn-cookie-accept:hover {
  background: var(--lila-light);
}
.btn-cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-cookie-decline:hover {
  border-color: rgba(255,255,255,0.6);
  color: var(--weiss);
}

/* =============================================
   NAVIGATION / HEADER
============================================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s ease, background 0.38s ease,
              box-shadow 0.38s ease, padding 0.38s ease;
  /* Weißer halbtransparenter Balken – immer sichtbar */
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 24px rgba(96, 74, 108, 0.09);
  padding: 0.65rem 5%;
}
/* Versteckt beim Runterscrollen auf Mobil */
header.header-hidden {
  transform: translateY(-110%);
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-link img {
  height: 120px;
  width: auto;
  opacity: 0;
  animation: fadeIn 0.7s 0.3s forwards;
  transition: height 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
header.scrolled .logo-link img {
  height: 80px;
}

/* Auf Unterseiten: Header ist immer im scrolled-Zustand */
header.scrolled .logo-link img {
  height: 70px;
}

@media (max-width: 768px) {
  header {
    padding: 0.6rem 5%;
  }
  header.scrolled {
    padding: 0.5rem 5%;
  }
  .logo-link img {
    height: 64px !important;
    opacity: 1;
    animation: none;
  }
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
nav a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  transition: color 0.3s;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--lila);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
nav a:hover {
  color: var(--lila);
}
nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--lila) !important;
  color: var(--weiss) !important;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full) !important;
  box-shadow: 0 4px 16px rgba(96,74,108,0.28);
  transition: var(--transition) !important;
}
.nav-cta::after {
  display: none !important;
}
.nav-cta:hover {
  background: var(--lila-light) !important;
  box-shadow: 0 6px 22px rgba(96,74,108,0.38) !important;
  transform: translateY(-1px);
}

/* Desktop: mobile-only links verstecken */
.nav-link-mobile { display: none !important; }
/* Desktop: desktop links normal zeigen */
.nav-link-desktop { display: flex; }

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}
.nav-dropdown-trigger svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.nav-dropdown.open .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  /* Unsichtbare Brücke: padding-top schließt die Lücke zwischen Trigger und Menü */
  padding-top: 0.6rem;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 200;
  /* transform nur für Animation, nicht für position */
  transform: translateX(-50%) translateY(-6px);
}
.nav-dropdown-menu-inner {
  background: var(--weiss);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 250px;
  border: 1px solid rgba(96,74,108,0.08);
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a[aria-current="page"] {
  background: var(--lila-pale);
  color: var(--lila);
}


/* =============================================
   CHECKBOX-NAV: Desktop-Elemente verstecken
   Die Checkboxen, das Overlay und mobile Labels
   sind NUR auf Mobil aktiv.
============================================= */

/* Checkboxen immer unsichtbar */
.nav-toggle-input,
.dropdown-toggle-input {
  display: none !important;
  position: absolute;
  width: 0; height: 0;
  opacity: 0;
  pointer-events: none;
}

/* Overlay nur auf Mobil sichtbar → auf Desktop nie */
.nav-overlay {
  display: none;
}

/* Mobile-only Label-Elemente auf Desktop verstecken */
.nav-close,
.nav-dropdown-label,
.nav-dropdown-submenu {
  display: none;
}

/* Hamburger auf Desktop verstecken */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--schwarz);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

/* =============================================
   DESKTOP DROPDOWN
============================================= */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}
.nav-dropdown-trigger svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.nav-dropdown.open .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  padding-top: 0.6rem;
  transform: translateX(-50%) translateY(-6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 200;
}
.nav-dropdown-menu-inner {
  background: var(--weiss);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 250px;
  border: 1px solid rgba(96,74,108,0.08);
  /* Untereinander, nicht nebeneinander */
  display: flex;
  flex-direction: column;
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a[aria-current="page"] {
  background: var(--lila-pale);
  color: var(--lila);
}


/* =============================================
   HERO
============================================= */
#hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, #f5f0eb 0%, #ede5d8 55%, #e0d4c3 100%);
}

/* Dekorative Formen – rund, organisch */
.hero-blob-1 {
  position: absolute;
  top: -15%;
  right: -8%;
  width: 60%;
  height: 85%;
  background: radial-gradient(ellipse 60% 70% at 60% 40%,
    rgba(200, 189, 165, 0.55) 0%,
    rgba(200, 189, 165, 0.2) 50%,
    transparent 80%);
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  pointer-events: none;
}
.hero-blob-2 {
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 40%;
  height: 60%;
  background: radial-gradient(ellipse at center,
    rgba(96, 74, 108, 0.06) 0%,
    transparent 70%);
  border-radius: 60% 40% 45% 55% / 40% 60% 50% 50%;
  pointer-events: none;
}

/* Bild-Bereich rechts */
.hero-image-area {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 46%;
  overflow: hidden;
  border-radius: 48px 0 0 80px;
}
.hero-image-area picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-image-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 1280px;
  margin: 0 auto;
  padding: 9rem 5% 6rem;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lila);
  background: var(--lila-pale);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: slideUp 0.7s 0.5s forwards;
}

.hero-headline {
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--schwarz);
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: slideUp 0.8s 0.7s forwards;
}
.hero-headline strong {
  font-weight: 700;
  color: var(--lila);
}

.hero-sub {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
  max-width: 440px;
  line-height: 1.85;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: slideUp 0.8s 0.9s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: slideUp 0.8s 1.1s forwards;
}

/* Kontakt-Leiste im Hero */
.hero-contact-strip {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
  flex-wrap: wrap;
  opacity: 0;
  animation: slideUp 0.8s 1.3s forwards;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.3s;
}
.contact-item:hover {
  color: var(--lila);
}
.contact-icon {
  width: 34px;
  height: 34px;
  background: var(--weiss);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.contact-icon svg {
  width: 15px;
  height: 15px;
  stroke: var(--lila);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Scroll-Indikator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s 2s forwards;
}
.scroll-indicator span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
}
.scroll-dot {
  width: 6px;
  height: 6px;
  background: var(--braun-dark);
  border-radius: 50%;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0);    opacity: 0.4; }
  50%       { transform: translateY(8px); opacity: 1;   }
}

/* =============================================
   BUTTONS
============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--lila);
  color: var(--weiss);
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(96, 74, 108, 0.3);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--lila-light);
  box-shadow: 0 8px 32px rgba(96, 74, 108, 0.4);
  transform: translateY(-2px);
}
.btn-primary svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  flex-shrink: 0;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--schwarz);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  background: rgba(255,255,255,0.7);
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--braun);
}
.btn-secondary:hover {
  color: var(--lila);
  border-color: var(--lila);
  background: var(--lila-pale);
}
.btn-secondary svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.btn-secondary:hover svg {
  transform: translateX(4px);
}

.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--weiss);
  color: var(--lila);
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}
.btn-light:hover {
  background: var(--braun-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.btn-light svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  flex-shrink: 0;
}

/* =============================================
   SECTION SHARED
============================================= */
section {
  padding: 6rem 5%;
}
.container {
  max-width: 1160px;
  margin: 0 auto;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lila);
  background: var(--lila-pale);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--schwarz);
  margin-bottom: 1rem;
}
.section-title strong {
  font-weight: 700;
  color: var(--lila);
}
.divider {
  width: 40px;
  height: 3px;
  background: linear-gradient(to right, var(--lila), var(--braun));
  border-radius: var(--radius-full);
  margin: 1.2rem 0 2rem;
}

/* Scroll Fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   ÜBER MICH
============================================= */
#ueber-mich {
  background: var(--weiss);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5rem;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image-frame {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--braun-light), var(--braun));
  border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.about-image-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}
.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
/* Dekorativer Hintergrundkreis */
.about-image-wrap::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: -16px;
  background: var(--lila-pale);
  border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) var(--radius-lg);
  z-index: -1;
}
.about-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.about-img-placeholder svg {
  width: 52px;
  opacity: 0.4;
  stroke: white;
  fill: none;
  stroke-width: 1.2;
}

.about-text p {
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 1rem;
}
.about-text p.lead {
  font-size: 1.08rem;
  color: var(--text);
  font-weight: 400;
}
.about-signature {
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 300;
  font-style: italic;
  color: var(--lila);
  margin-top: 2rem;
  opacity: 0.85;
}

/* =============================================
   LEISTUNGEN
============================================= */
#leistungen {
  background: var(--bg-section);
}
.leistungen-header {
  max-width: 580px;
  margin-bottom: 3.5rem;
}
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.leistung-card {
  background: var(--weiss);
  padding: 2.2rem 1.8rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.leistung-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--lila), var(--braun));
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.leistung-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.leistung-card:hover::after {
  transform: scaleX(1);
}
.leistung-icon {
  width: 72px;
  height: 72px;
  background: var(--weiss);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  box-shadow: 0 2px 12px rgba(96,74,108,0.10);
  flex-shrink: 0;
  overflow: hidden;
  padding: 8px;
}
.leistung-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.leistung-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--lila);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.leistung-card h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--schwarz);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.leistung-card p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-light);
}
.leistung-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lila);
  transition: gap 0.3s;
}
.leistung-more svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  transition: transform 0.3s;
}
.leistung-more:hover {
  gap: 0.8rem;
}
.leistung-more:hover svg {
  transform: translateX(4px);
}

/* =============================================
   KONTAKT / CTA
============================================= */
#kontakt {
  background: var(--lila);
  color: var(--weiss);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
/* Organische Hintergrund-Formen */
#kontakt::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 55%;
  height: 160%;
  background: radial-gradient(ellipse,
    rgba(255, 255, 255, 0.07) 0%,
    transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
#kontakt::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -8%;
  width: 45%;
  height: 140%;
  background: radial-gradient(ellipse,
    rgba(200, 189, 165, 0.14) 0%,
    transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.kontakt-inner {
  position: relative;
  z-index: 2;
}
#kontakt .section-eyebrow {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}
#kontakt .section-title {
  color: var(--weiss);
}
#kontakt .section-title strong {
  color: var(--braun-light);
}
#kontakt > .container > .kontakt-inner > p {
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.85;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.85;
}
.kontakt-methods {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.kontakt-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--weiss);
  background: rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.8rem;
  border: 1px solid rgba(255,255,255,0.18);
  transition: var(--transition);
  min-width: 160px;
}
.kontakt-method:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-3px);
}
.kontakt-method-icon {
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
}
.kontakt-method-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--weiss);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.kontakt-method .label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
}
.kontakt-method .value {
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

/* =============================================
   VITA ACCORDION
============================================= */
.vita-accordion {
  margin-top: 3.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(96, 74, 108, 0.12);
  background: var(--weiss);
  box-shadow: var(--shadow-sm);
}

/* Toggle-Button */
.vita-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 2rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  text-align: left;
  transition: background 0.3s;
}
.vita-toggle:hover {
  background: var(--lila-pale);
}
.vita-toggle[aria-expanded="true"] {
  background: var(--lila-pale);
  border-bottom: 1px solid rgba(96, 74, 108, 0.12);
}
.vita-toggle-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.vita-toggle-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--lila);
  letter-spacing: 0.02em;
}
.vita-toggle-sub {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 400;
}
.vita-toggle-icon {
  width: 36px;
  height: 36px;
  background: var(--lila-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.vita-toggle-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--lila);
  transition: transform 0.38s ease;
}
.vita-toggle[aria-expanded="true"] .vita-toggle-icon {
  background: var(--lila);
}
.vita-toggle[aria-expanded="true"] .vita-toggle-icon svg {
  stroke: white;
  transform: rotate(180deg);
}

/* Aufklappbarer Inhalt */
.vita-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.vita-content.open {
  grid-template-rows: 1fr;
}
.vita-inner {
  overflow: hidden;
}

/* Timeline */
.vita-timeline {
  padding: 2rem 2rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
/* vertikale Linie */
.vita-timeline::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  bottom: 2.5rem;
  left: 3.1rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--lila-pale), var(--braun-light));
  border-radius: var(--radius-full);
}
.vita-entry {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 1.2rem;
  padding-bottom: 1.8rem;
  position: relative;
}
.vita-entry:last-child {
  padding-bottom: 0;
}
.vita-dot {
  width: 14px;
  height: 14px;
  background: var(--lila);
  border-radius: 50%;
  border: 3px solid var(--weiss);
  box-shadow: 0 0 0 2px var(--lila);
  margin-top: 0.3rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.vita-body {
  padding-bottom: 0;
}
.vita-period {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lila);
  margin-bottom: 0.35rem !important;
}
.vita-body p {
  font-size: 0.93rem;
  line-height: 1.85;
  color: var(--text-light);
  margin-bottom: 0 !important;
}

@media (max-width: 768px) {
  .vita-toggle { padding: 1.2rem 1.4rem; }
  .vita-timeline { padding: 1.5rem 1rem 1.5rem 1.8rem; }
  .vita-timeline::before { left: 2.2rem; }
}

/* =============================================
   KONTAKTFORMULAR SECTION
============================================= */
#formular {
  background: var(--bg-warm);
  padding: 6rem 5%;
}
.formular-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.formular-intro .section-title {
  margin-bottom: 0.5rem;
}
.formular-intro p {
  font-size: 0.97rem;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 1.2rem;
}
.formular-info-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.formular-info-item .fi-icon {
  width: 36px;
  height: 36px;
  background: var(--lila-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.formular-info-item .fi-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--lila);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Formular-Box */
.form-box {
  background: var(--weiss);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.2rem;
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}
.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}
.form-group label .required {
  color: var(--lila);
  margin-left: 2px;
}
.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-warm);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  width: 100%;
  transition: var(--transition);
  outline: none;
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #bbb;
  font-weight: 400;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--lila);
  background: var(--weiss);
  box-shadow: 0 0 0 4px rgba(96, 74, 108, 0.08);
}
.form-group input.error,
.form-group textarea.error {
  border-color: #d9534f;
  background: #fff8f8;
}
.form-group .error-msg {
  font-size: 0.75rem;
  color: #d9534f;
  font-weight: 600;
  display: none;
}
.form-group.has-error .error-msg {
  display: block;
}
.form-group textarea {
  min-height: 120px;
}

/* Datenschutz-Checkbox */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.1rem;
  background: var(--lila-pale);
  border-radius: var(--radius-md);
}
.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid var(--lila);
  border-radius: 5px;
  accent-color: var(--lila);
  margin-top: 2px;
  cursor: pointer;
}
.form-consent label {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-light);
  cursor: pointer;
}
.form-consent label a {
  color: var(--lila);
  text-decoration: underline;
  font-weight: 600;
}
.form-consent label a:hover {
  color: var(--lila-light);
}

/* Absenden Button */
.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--lila);
  color: var(--weiss);
  padding: 0.95rem 2rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(96, 74, 108, 0.3);
}
.btn-submit:hover:not(:disabled) {
  background: var(--lila-light);
  box-shadow: 0 8px 32px rgba(96, 74, 108, 0.4);
  transform: translateY(-2px);
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-submit svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  flex-shrink: 0;
}
.btn-submit .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.btn-submit.loading .spinner     { display: block; }
.btn-submit.loading .btn-text    { display: none; }
.btn-submit.loading .btn-icon    { display: none; }

/* Erfolgs- / Fehlermeldung */
.form-message {
  display: none;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1rem;
  text-align: center;
}
.form-message.success {
  background: #edf7f0;
  color: #2d7a4a;
  border: 1px solid #b8e0c8;
}
.form-message.error-msg-global {
  background: #fff0f0;
  color: #c0392b;
  border: 1px solid #f5c6c6;
}
.form-message.active {
  display: block;
}

/* Hinweis: Direkt unter Formular */
.form-note {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.8rem;
  line-height: 1.6;
  opacity: 0.75;
}

/* Responsive Formular */
@media (max-width: 900px) {
  .formular-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
  .form-box  { padding: 1.8rem 1.3rem; }
}

/* =============================================
   FOOTER
============================================= */
footer {
  background: var(--schwarz);
  color: rgba(255, 255, 255, 0.6);
  padding: 2.5rem 5% 1.5rem;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 1.2rem;
}
.footer-logo img {
  height: 56px;
  width: auto;
  margin-bottom: 0.8rem;
  opacity: 0.95;
}
.footer-logo p {
  font-size: 0.82rem;
  line-height: 1.7;
  margin-top: 0.5rem;
}
.footer-links h4 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.35rem;
}
.footer-links a {
  font-size: 0.82rem;
  opacity: 0.65;
  transition: opacity 0.3s;
}
.footer-links a:hover {
  opacity: 1;
}
.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.73rem;
  opacity: 0.45;
}
.footer-bottom-links {
  display: flex;
  gap: 1.2rem;
}
.footer-bottom-links a {
  transition: opacity 0.3s;
}
.footer-bottom-links a:hover {
  opacity: 1;
}

/* =============================================
   MODAL (Impressum / Datenschutz)
============================================= */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9000;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}
.modal-overlay.active {
  display: flex;
}
.modal-box {
  background: var(--weiss);
  max-width: 680px;
  width: 100%;
  max-height: 82vh;
  overflow-y: auto;
  padding: 2.8rem 2.5rem;
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.93) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: var(--bg-warm);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover {
  background: var(--lila-pale);
  color: var(--lila);
}
.modal-box h2 {
  font-family: var(--font-body);
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--schwarz);
}
.modal-box h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 1.6rem 0 0.5rem;
  color: var(--lila);
}
.modal-box p,
.modal-box address {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--text-light);
  font-style: normal;
  margin-bottom: 0.4rem;
}
.modal-box a {
  color: var(--lila);
  text-decoration: underline;
}

/* =============================================
   KEYFRAMES (global)
============================================= */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .leistungen-grid { grid-template-columns: 1fr 1fr; }
  .about-grid      { gap: 3rem; }
  .hero-image-area { width: 42%; }
}

@media (max-width: 768px) {

  /* Desktop Nav verstecken */
  #main-nav-desktop { display: none !important; }

  /* Hamburger zeigen */
  .hamburger { display: flex; }

  /* ---- REST DER SEITE ---- */
  .hero-image-area  { display: none; }
  .hero-content     { padding: 8rem 5% 5rem; }
  section           { padding: 4.5rem 5%; }
  .about-grid       { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image-frame{ max-width: 360px; margin: 0 auto; }
  .leistungen-grid  { grid-template-columns: 1fr; }
  #kontakt          { border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .kontakt-methods  { flex-direction: column; align-items: center; }
  .kontakt-method   { width: 100%; max-width: 280px; }
  .footer-inner     { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  footer            { padding: 2rem 5% 1.2rem; }
  #cookie-banner    { left: 0.8rem; right: 0.8rem; bottom: 0.8rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .hero-contact-strip { gap: 0.9rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* =============================================
   MOBILE NAV – außerhalb des Headers
   position: fixed, aber unabhängig vom Header
============================================= */

/* Overlay */
.mob-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 8000;
  cursor: pointer;
}
.mob-overlay.open { display: block; }

/* Sidebar */
.mob-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 85vw);
  background: #fff;
  z-index: 9000;
  padding: 4rem 1.5rem 2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mob-nav.open { transform: translateX(0); }

/* Schließen-Button */
.mob-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 36px;
  height: 36px;
  background: var(--lila);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  line-height: 1;
}

/* Links */
.mob-nav > a {
  display: block;
  padding: 0.9rem 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid rgba(96,74,108,0.1);
  text-decoration: none;
}
.mob-nav > a:hover { color: var(--lila); }
.mob-nav > a::after { display: none !important; }

/* Leistungen Toggle */
.mob-sub-wrap {
  border-bottom: 1px solid rgba(96,74,108,0.1);
}
.mob-sub-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.9rem 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.mob-sub-trigger svg { transition: transform 0.3s; flex-shrink: 0; }
.mob-sub-trigger.open svg { transform: rotate(180deg); }

/* Untermenü */
.mob-sub {
  display: none;
  background: var(--lila-pale);
  border-radius: var(--radius-md);
  padding: 0.3rem 0.4rem;
  margin-bottom: 0.5rem;
}
.mob-sub.open { display: block; }
.mob-sub a {
  display: block;
  padding: 0.65rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-sm);
  text-decoration: none;
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.mob-sub a::after { display: none !important; }
.mob-sub a:hover,
.mob-sub a[aria-current="page"] { color: var(--lila); background: rgba(96,74,108,0.08); }

/* CTA */
.mob-cta {
  margin-top: 1.5rem !important;
  text-align: center !important;
  display: block !important;
}




@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .hero-contact-strip { gap: 0.9rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; }
}
