/*
Theme Name: Privatpraxis Speth
Theme URI: https://privatpraxis-speth.de
Author: netztaucher | digital
Author URI: https://netztaucher.com/wordpress
Description: Maßgeschneidertes Theme für die Privatpraxis für Physiotherapie Speth in Mainaschaff. Basiert auf dem Moss Grey Design System.
Version: 1.0.0
License: Proprietary
Text Domain: privatpraxis-speth
Tags: physiotherapy, medical, one-page, custom-colors
*/

/* ============================================================
   PRIVATPRAXIS SPETH – Design System: Moss Grey Edition
   ============================================================ */

/* === FONTS (lokal) === */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/manrope.woff2') format('woff2');
}

/* === DESIGN TOKENS (Hell-Variante) === */
:root {
  --moss:           #53745C;  /* Sage  – aufgehellt von #4E6A57 */
  --fern:           #4E7A5E;  /* Meadow – aufgehellt von #2F4A3A */
  --deep-forest:    #2A4437;  /* Forest Shadow – aufgehellt von #1F2E25 */
  --forest-ink:     #1F3329;  /* aufgehellt von #0E1713 */
  --forest-teal:    #1E4A4E;  /* Lagoon – aufgehellt von #0F2C30 */
  --cream:          #FAFBF7;
  --mist:           #EFF2EC;  /* Linen – wärmer und heller */
  --text:           #2A4437;
  --text-muted:     #58725E;  /* Sage Text – heller und lesbarer */
  --cta:            #D4892B;
  --cta-dark:       #DE9B45;
  --cta-text:       #2A1A05;  /* dunkler Buttontext auf hellem CTA */
  /* Accent & UI */
  --accent:         #7ec99a;  /* helles Grün für Icons, Hero em */
  --accent-light:   #EFF7F2;  /* sehr helles Grün für Labels */
  --white:          #ffffff;
  --card-bg:        #F4F5F2;  /* Karten-Hintergrund */
  --card-bg-hover:  #eaece7;
  --icon-bg:        #e8f5ec;  /* Icon-Hintergrund */
  --radius:         1rem;
  --radius-sm:      0.5rem;
  --shadow:         0 4px 24px rgba(42, 68, 55, 0.1);
  --shadow-lg:      0 12px 48px rgba(42, 68, 55, 0.15);
}


/* --- Hero --- */

/* --- Section Titles & Labels --- */

/* --- Why-Private (dunkleres Grün) --- */

/* --- Cards (Indikationen, Benefits, Steps) --- */

/* --- Person / Über mich --- */

/* --- Contact --- */

/* --- Footer --- */

/* --- Nav --- */

/* --- Hero Badge & Image --- */

/* --- Wave SVGs: use CSS to recolor fills --- */
/* Wave before Über mich uses mist color */

/* --- Buttons auf dunklem HG --- */


/* === WHATSAPP FAST-LANE === */
.wa-fastlane {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.wa-fastlane:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}
.wa-fastlane svg { fill: white; width: 28px; height: 28px; }

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

html {
  scroll-behavior: smooth;
  overflow-x: clip; /* clip statt hidden — bricht position:sticky nicht */
}

body {
  font-family: 'Manrope', sans-serif;
  background: white;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  overflow-x: clip;
  max-width: 100vw;
  padding-top: 96px;
}

/* === LAYOUT === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 6rem 0; }
section:not(.hero):not(.why-private):not(.contact-section):nth-child(even) {
  background: white;
}

/* === NAV === */
nav.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(78,106,87,0.12);
}
/* WP Admin-Bar Offset (eingeloggt) */
body.admin-bar nav.site-nav { top: 32px; }
body.admin-bar { padding-top: 128px; }
@media (max-width: 782px) {
  body.admin-bar nav.site-nav { top: 46px; }
  body.admin-bar { padding-top: 142px; }
}

nav.site-nav .inner {
  height: 96px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
nav.site-nav .logo {
  display: block;
  line-height: 0;
  text-decoration: none;
  flex-shrink: 0;
}
nav.site-nav .logo img {
  height: 56px;
  width: auto;
}

/* Desktop nav links */
nav.site-nav .nav-links {
  display: none;
  list-style: none;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  flex: 1;
}
nav.site-nav .nav-links a {
  display: block;
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
nav.site-nav .nav-links a:hover {
  color: var(--deep-forest);
  background: rgba(78,106,87,0.08);
}

/* Right cluster */
nav.site-nav .nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

/* Phone link */
nav.site-nav .nav-phone {
  display: none;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(78,106,87,0.2);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
nav.site-nav .nav-phone:hover {
  background: rgba(78,106,87,0.08);
  border-color: var(--moss);
  color: var(--moss);
}
nav.site-nav .nav-phone svg { color: var(--moss); flex-shrink: 0; }

/* Social icons */
nav.site-nav .nav-social {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
nav.site-nav .nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
nav.site-nav .nav-social a:hover {
  color: var(--moss);
  background: rgba(78,106,87,0.08);
}

/* CTA Button */
nav.site-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--moss);
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  border-radius: 99px;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(78,106,87,0.35);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
nav.site-nav .nav-cta:hover {
  background: var(--fern);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(78,106,87,0.45);
}

/* Hamburger */
nav.site-nav .nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.35rem;
  background: none;
  border: 1px solid rgba(78,106,87,0.2);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.15s;
}
nav.site-nav .nav-hamburger:hover { background: rgba(78,106,87,0.08); }
nav.site-nav .nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--deep-forest);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.25s, opacity 0.2s;
}
nav.site-nav .nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.site-nav .nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
nav.site-nav .nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu Overlay */
nav.site-nav .nav-mobile {
  background: white;
  border-top: 1px solid rgba(78,106,87,0.1);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s;
}
nav.site-nav .nav-mobile.is-open {
  max-height: 600px;
  opacity: 1;
}
nav.site-nav .nav-mobile ul {
  list-style: none;
  padding: 1rem 1.5rem 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
nav.site-nav .nav-mobile ul a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-radius: 0.75rem;
  transition: background 0.15s, color 0.15s;
}
nav.site-nav .nav-mobile ul a:hover {
  background: rgba(78,106,87,0.07);
  color: var(--moss);
}

.nav-mobile-contact {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.nav-mobile-phone {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(78,106,87,0.2);
  transition: background 0.15s, color 0.15s;
}
.nav-mobile-phone:hover { background: rgba(78,106,87,0.05); color: var(--moss); }
.nav-mobile-phone svg { color: var(--moss); flex-shrink: 0; }

.nav-cta--mobile {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
}

.nav-mobile-social {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.25rem;
}
.nav-mobile-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(78,106,87,0.15);
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.nav-mobile-social a:hover { color: var(--moss); background: rgba(78,106,87,0.07); border-color: var(--moss); }

/* === DESKTOP NAV (≥ 1080px) === */
@media (min-width: 1080px) {
  nav.site-nav .nav-links    { display: flex; }
  nav.site-nav .nav-phone    { display: flex; }
  nav.site-nav .nav-social   { display: flex; }
  nav.site-nav .nav-hamburger { display: none; }
  nav.site-nav .nav-mobile   { display: none !important; }
}

/* === HERO === */
.hero {
  background: var(--fern) !important;
  color: white !important;
  padding: 5rem 0 6rem;
  padding-top: calc(5rem + 96px);
  margin-top: -96px;
  position: relative;
  overflow: hidden;
}
/* Diagonal-Verlauf + Glow statt flacher Farbfläche — palette-agnostisch über Schwarz/Weiß-Overlays
   (vorher: Gradient-Mesh mit hardcodierten Moos-Tönen, brach bei anderen Paletten) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 80% at 25% 30%, rgba(255,255,255,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 70% 90% at 85% 75%, rgba(0,0,0,0.16) 0%, transparent 65%),
    linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 40%, rgba(0,0,0,0.22) 100%);
  pointer-events: none;
  z-index: 1;
}
/* (old radial-gradient removed — replaced by gradient mesh above) */
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}
.hero-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(168,213,181,0.4);
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
}
.hero h1 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--white) !important;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 400;
}
.hero-pills {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-pill {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.95);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cta);
  color: var(--cta-text, #ffffff);
  padding: 0.9rem 2rem;
  border-radius: 99px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.3s, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.btn-primary:hover {
  background: var(--cta-dark);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 36px rgba(196,123,43,0.5), 0 0 0 4px rgba(196,123,43,0.12);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.btn-ghost:hover { color: white; }

/* === HERO IMAGE === */
.hero-image {
  position: relative;
  animation: heroImageReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
@keyframes heroImageReveal {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.hero-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}
.hero-image:hover img {
  transform: scale(1.03);
  box-shadow: 0 16px 56px rgba(42, 68, 55, 0.22);
}
.hero-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: white;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: heroImageReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-image:hover .hero-badge {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(42, 68, 55, 0.18);
}
.hero-badge-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--moss);
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.hero-badge-text { line-height: 1.3; }
.hero-badge-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--deep-forest);
}
.hero-badge-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* === ABSCHNITT-HEADER === */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--deep-forest);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}
.section-header {
  margin-bottom: 3.5rem;
}

/* === INDIKATIONEN === */
.indication-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.indication-card {
  background: var(--card-bg);
  border: 1px solid rgba(47,74,58,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: box-shadow 0.2s, transform 0.15s, background 0.2s;
}
.indication-card:hover {
  background: var(--card-bg-hover);
  transform: translateY(-3px);
}
.indication-icon {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--icon-bg);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.indication-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.indication-card p {
  font-size: 0.85rem;
  color: rgba(47,74,58,0.7);
  line-height: 1.55;
}

/* === WHY PRIVATE === */
.why-private {
  background: var(--fern) !important;
  color: white !important;
}
.why-private .section-title { color: white; }
.why-private .section-sub { color: rgba(255,255,255,0.6); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.benefit-item {
  padding: 1.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  transition: background 0.2s;
}
.benefit-item:hover {
  background: rgba(255,255,255,0.1);
}
.benefit-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(255,255,255,0.1);
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.benefit-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}
.benefit-item p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* === PROZESS === */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 2.25rem;
  left: calc(16.66% + 1rem);
  right: calc(16.66% + 1rem);
  height: 2px;
  background: linear-gradient(90deg, var(--moss), rgba(78,106,87,0.2));
  z-index: 0;
}
.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
}
.step-number {
  width: 4.5rem;
  height: 4.5rem;
  background: var(--moss);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 16px rgba(78,106,87,0.4);
}
.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--deep-forest);
  margin-bottom: 0.5rem;
}
.step-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === PERSON === */
.person-section .container {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}
.person-image-wrap {
  position: relative;
}
.person-image-wrap img {
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
}
.person-image-wrap::after {
  content: '';
  position: absolute;
  inset: -12px;
  border: 2px solid rgba(78,106,87,0.2);
  border-radius: 2rem;
  z-index: -1;
}
.credentials {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
}
.credential {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}
.credential::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--moss);
  border-radius: 50%;
  flex-shrink: 0;
}

blockquote {
  border-left: 3px solid var(--moss);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

/* Magnetic button base */
.btn-magnetic {
  transition: transform 0.15s cubic-bezier(0.33, 1, 0.68, 1);
}

/* === CONTACT === */
.contact-section {
  background: var(--fern) !important;
  color: white !important;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  padding: 7rem 0 6rem;
}
.contact-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-section .section-title {
  color: white;
  margin-bottom: 1.25rem;
}
.contact-section .section-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 0.5rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  transition: background 0.2s;
}
.contact-item:hover {
  background: rgba(255,255,255,0.08);
}
.contact-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(126,201,154,0.18);
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-item h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-light);
  margin-bottom: 0.25rem;
}
.contact-item p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.contact-form {
  /* helle Karte statt Glas-Overlay — lesbar in jeder Palette */
  background: var(--surface, #ffffff);
  border: none;
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-sizing: border-box;
  max-width: 100%;
  box-shadow: var(--shadow-lg);
}
.contact-form h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--mist);
  border: 1px solid var(--text-muted);
  border: 1px solid color-mix(in srgb, var(--text-muted) 60%, transparent);
  border-radius: 0.625rem;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--cta); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.btn-submit {
  width: 100%;
  background: var(--cta);
  color: var(--cta-text, #ffffff);
  border: none;
  padding: 0.9rem;
  border-radius: 99px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-submit:hover {
  background: var(--cta-dark);
  transform: translateY(-1px);
}

/* === FLUENT FORMS im Kontaktabschnitt ===
   Bildet das Formular-Design (.form-group / .btn-submit) auf die
   Markup-Klassen von Fluent Forms ab, damit der Entwurf unveraendert bleibt. */
.contact-form .fluentform .ff-el-group { margin-bottom: 1rem; }
.contact-form .fluentform .ff-el-input--label label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.contact-form .fluentform .ff-el-input--label .ff-el-is-required.asterisk-right:after {
  color: var(--cta);
  margin-left: 0.15em;
}
.contact-form .fluentform .ff-el-form-control {
  width: 100%;
  background: var(--mist);
  border: 1px solid color-mix(in srgb, var(--text-muted) 60%, transparent);
  border-radius: 0.625rem;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  outline: none;
  box-shadow: none;
  transition: border-color 0.2s;
}
.contact-form .fluentform .ff-el-form-control::placeholder { color: var(--text-muted); }
.contact-form .fluentform .ff-el-form-control:focus { border-color: var(--cta); box-shadow: none; }
.contact-form .fluentform textarea.ff-el-form-control { resize: vertical; min-height: 100px; }
.contact-form .fluentform .ff-btn-submit {
  width: 100%;
  background: var(--cta);
  color: var(--cta-text, #ffffff);
  border: none;
  padding: 0.9rem;
  border-radius: 99px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.contact-form .fluentform .ff-btn-submit:hover {
  background: var(--cta-dark);
  transform: translateY(-1px);
}
.contact-form .fluentform .text-danger,
.contact-form .fluentform .error-text {
  font-size: 0.75rem;
  margin-top: 0.3rem;
}
.contact-form .fluentform .ff-message-success {
  background: var(--accent-light);
  border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
  border-radius: 0.625rem;
  padding: 1rem 1.15rem;
  color: var(--text);
  font-size: 0.9rem;
}

/* === AMELIA-BUCHUNGSDIALOG ===
   Uebernommen aus wunder-mama.de, dort am Geraet gemessen und bewaehrt.
   Der Dialog oeffnet ueber die Klasse .pps-book (Shortcode in footer.php). */
@media (max-width: 767px) {
  /* Dialog auf Mobil auf volle Flaeche: Amelia setzt sonst eine feste Hoehe
     mit Versatz, wodurch der Inhalt unten abgeschnitten wird. */
  .amelia-v2-booking .el-dialog,
  .am-dialog-popup .el-dialog {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  .amelia-v2-booking .el-dialog__body,
  .am-dialog-popup .el-dialog__body {
    padding: 0 !important;
    height: calc(100% - 60px) !important;
    max-height: none !important;
  }

  .amelia-v2-booking #amelia-container.am-fs__wrapper,
  .amelia-v2-booking .am-fs__wrapper {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  .amelia-v2-booking .am-fs__main-mobile,
  .amelia-v2-booking .am-fs__main-inner {
    height: 100% !important;
    max-height: 100% !important;
  }

  /* Bestaetigungsseite: die vier Kalender-Kacheln standen 2x2 und schoben
     die Termindaten aus dem Bild. Eine Reihe zu viert passt. */
  .am-fs-sb-cs-cals-cards {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 6px !important;
  }

  .am-fs-sb-cs-cals-card {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 10px 2px !important;
  }

  .am-fs-sb-cs-cals-card p {
    font-size: 11px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    margin: 4px 0 0 !important;
  }
}

/* === FOOTER === */
footer {
  background: var(--forest-teal) !important;
  color: rgba(255,255,255,0.78);
  padding: 3rem 0;
  text-align: center;
  font-size: 0.875rem;
}
footer .logo-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
footer .logo-footer img { height: 36px; width: auto; opacity: 0.7; }
footer .logo-footer span {
  font-weight: 700;
  color: rgba(255,255,255,0.88);
}
footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.25rem;
}
footer .footer-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.8rem;
}
footer .footer-links a:hover { color: #ffffff; }

/* Footer Social + Telefon */
.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: color 0.2s, border-color 0.2s;
}
.footer-phone:hover { color: white; border-color: var(--accent); }
.footer-phone svg { color: var(--accent); flex-shrink: 0; }
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.footer-social a:hover { color: var(--accent); border-color: var(--accent); }
footer .footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.72); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  /* --- Sections --- */
  section { padding: 3rem 0; }

  /* --- Header / Nav --- */
  nav.site-nav .inner {
    padding: 0 1rem;
    height: auto;          /* kein fixes height — verhindert Abschneiden */
    min-height: 60px;
    gap: 0.75rem;
  }
  nav.site-nav .logo img {
    height: 36px;
  }
  nav.site-nav .logo span {
    font-size: 0.95rem;
  }
  /* Desktop CTA ausblenden — erscheint im Hamburger-Menü */
  nav.site-nav .nav-cta {
    display: none;
  }
  nav.site-nav .nav-hamburger {
    display: flex;
  }

  /* --- Hero --- */
  .hero { padding: 4rem 0 3rem; }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-image { display: none; }
  .hero h1 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .hero-sub { font-size: 1rem; }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
    box-sizing: border-box;
  }

  /* --- Container volle Breite --- */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* --- Indication Grid --- */
  .indication-grid {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }

  /* --- Benefits --- */
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }
  .benefit-item { padding: 1.25rem; }

  /* --- Prozess --- */
  .process-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .process-steps::before { display: none; }
  .step-card { text-align: left; display: flex; align-items: flex-start; gap: 1rem; }
  .step-number { margin: 0; flex-shrink: 0; width: 3.25rem; height: 3.25rem; font-size: 1rem; }

  /* --- Person --- */
  .person-section .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .person-image-wrap {
    max-width: 260px;
    margin: 0 auto;
  }

  /* --- Contact Section --- */
  .contact-section .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-form {
    padding: 1.5rem 1rem;
    width: 100%;
    box-sizing: border-box;
  }
  .form-group input,
  .form-group textarea {
    font-size: 1rem;      /* ≥16px verhindert iOS-Zoom */
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    width: 100%;
    box-sizing: border-box;
  }
  .btn-submit {
    padding: 1rem;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  /* --- Footer --- */
  footer .footer-links {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }
}

/* Extra small (iPhone SE etc.) */
@media (max-width: 390px) {
  nav.site-nav .logo img { height: 30px; }
  nav.site-nav .logo span { font-size: 0.85rem; }
  .hero h1 { font-size: 1.65rem; }
}

/* === EXTRACTED FROM INLINE STYLES === */

/* Hintergrund-Utilities */
.bg-mist  { background: var(--mist); }
.bg-white { background: var(--white); }

/* Centered CTA block unterhalb von Prozess-Steps */
.section-cta-center {
  text-align: center;
  margin-top: 3.5rem;
}

/* section-sub auf dunkelm Hintergrund (why-private, contact) */
.section-sub--light { color: rgba(255,255,255,0.6); }
.section-sub--contact { color: rgba(255,255,255,0.82); margin-bottom: 2.5rem; }

/* section-label auf dunkelm Hintergrund */
.section-label--light { color: var(--accent); }
.section-label--moss  { color: rgba(78,106,87,0.9); }

/* Person-Section: Bio-Text und CTA-Wrapper */
.person-bio {
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 1rem;
}
.person-cta { margin-top: 2rem; }

/* Inline strong auf dunklem Hintergrund */
.text-light-strong { color: rgba(255,255,255,0.9); }
.text-light-em     { color: rgba(255,255,255,0.8); }

/* Footer-Links: Hervorhebung */
a.link-moss { color: var(--moss); }
a.link-moss:hover { color: var(--fern); }

/* ============================================================
   SCROLL-REVEAL ANIMATIONS
   ============================================================ */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Base reveal class — hidden by default, animated when .is-visible */
.reveal {
  opacity: 0;
  transform: translateY(32px);
}
.reveal.is-visible {
  animation: revealUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Card stagger: nth-child delays for grids */
.reveal-stagger > *:nth-child(1) { animation-delay: 0s; }
.reveal-stagger > *:nth-child(2) { animation-delay: 0.08s; }
.reveal-stagger > *:nth-child(3) { animation-delay: 0.16s; }
.reveal-stagger > *:nth-child(4) { animation-delay: 0.24s; }
.reveal-stagger > *:nth-child(5) { animation-delay: 0.32s; }
.reveal-stagger > *:nth-child(6) { animation-delay: 0.40s; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
}
.reveal-stagger.is-visible > * {
  animation: revealUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ============================================================
   HERO GRAIN TEXTURE
   ============================================================ */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 1;
  border-radius: 0;
  mix-blend-mode: overlay;
}
.hero > * { position: relative; z-index: 2; }

/* ============================================================
   BUTTON SUBMIT GLOW
   ============================================================ */
.btn-submit:hover {
  background: var(--cta-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 36px rgba(196,123,43,0.5), 0 0 0 4px rgba(196,123,43,0.1);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
  .hero-image, .hero-badge { animation: none !important; }
  .hero-image img { transform: none !important; }
}

/* ============================================================
   SVG WAVE SECTION DIVIDERS (absolute, inside sections)
   ============================================================ */
/* Sections that contain a wave need relative + extra bottom space */
.has-wave-bottom {
  position: relative;
  padding-bottom: 8rem !important; /* room for the wave */
}
.has-wave-bottom > .wave-svg {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  line-height: 0;
  z-index: 3;
}
.has-wave-bottom > .wave-svg svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ============================================================
   PARALLAX HERO IMAGE
   ============================================================ */
.hero-image {
  perspective: 1000px;
}
.hero-image img {
  will-change: transform;
  transition: transform 0.1s linear;
}
