/*
Theme Name: Praxis Dr. Zinn
Theme URI: https://www.praxis-zinn.de
Author: Praxis Dr. Zinn
Description: Modernes WordPress Theme für die Gemeinschaftspraxis Dr. med. S. Zinn & C. Berus, Sindelfingen.
Version: 4.5.1
License: GNU General Public License v2 or later
Text Domain: praxis-zinn
Requires at least: 6.0
Requires PHP: 8.0
*/

/* ================================================================
   DESIGN TOKENS
   ================================================================ */
:root {
  /* Palette — warm dusty rose from logo + nature greens */
  --rose: #c4a084;
  --rose-light: #ddc8b4;
  --rose-pale: #f5ede6;
  --rose-dark: #a07a5c;
  --sage: #8a9e7e;
  --sage-light: #c5d4bc;
  --sage-pale: #eef3eb;
  --bark: #463939;
  --bark-light: #6b5a5a;
  --cream: #faf8f5;
  --warm-white: #fffcf9;
  --white: #ffffff;
  --text: #4a4344;
  --text-light: #8a7e7f;
  --text-muted: #b3a6a7;
  --border: #ebe4df;
  --shadow-sm: 0 1px 3px rgba(70,57,57,0.06);
  --shadow-md: 0 4px 20px rgba(70,57,57,0.08);
  --shadow-lg: 0 12px 40px rgba(70,57,57,0.12);
  --shadow-xl: 0 20px 60px rgba(70,57,57,0.15);

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  /* Layout */
  --max-w: 1140px;
  --max-w-narrow: 780px;
  --header-h: 80px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 0.35s;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bark); text-decoration: none; transition: color var(--duration) var(--ease); }
a:hover { color: var(--rose); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
address { font-style: normal; }

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--bark);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 0.5em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 0.5em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin-bottom: 0.4em; }
h4 { font-size: 1.1rem; margin-bottom: 0.3em; }
p { margin-bottom: 0.9em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--bark); }
.label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--rose);
}

/* ================================================================
   LAYOUT HELPERS
   ================================================================ */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}
.wrap--narrow { max-width: var(--max-w-narrow); }
.section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
  position: relative;
}
@media (max-width: 767px) {
  .section { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ================================================================
   SCROLL REVEAL ANIMATIONS
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ================================================================
   DECORATIVE ELEMENTS
   ================================================================ */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.blob--rose { background: var(--rose-light); }
.blob--sage { background: var(--sage-light); }

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.site-header.scrolled {
  background: rgba(255,252,249,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(70,57,57,0.06);
}
/* White nav links on hero, dark when scrolled */
.is-home .nav-desktop a { color: rgba(255,255,255,0.85); }
.is-home .nav-desktop a:hover,
.is-home .nav-desktop .current-menu-item > a { color: var(--white); background: rgba(255,255,255,0.12); }
.is-home .hamburger span { background: var(--white); }
.is-home .site-header.scrolled .nav-desktop a { color: var(--text); }
.is-home .site-header.scrolled .nav-desktop a:hover,
.is-home .site-header.scrolled .nav-desktop .current-menu-item > a { color: var(--bark); background: var(--rose-pale); }
.is-home .site-header.scrolled .hamburger span { background: var(--bark); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.site-logo img {
  height: 44px;
  width: auto;
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.site-logo:hover img { transform: scale(1.03); }
/* Default: show colored logo, hide white */
.site-logo .logo-white { display: none; }
.site-logo .logo-color { display: block; }
/* On homepage before scroll: show white, hide color */
.is-home .site-logo .logo-white { display: block; }
.is-home .site-logo .logo-color { display: none; }
/* On homepage after scroll: show color, hide white */
.is-home .site-header.scrolled .site-logo .logo-white { display: none; }
.is-home .site-header.scrolled .site-logo .logo-color { display: block; }

/* Desktop Nav */
.nav-desktop { display: none; }
.nav-desktop ul {
  display: flex; gap: 0.25rem; list-style: none; padding: 0; margin: 0;
}
.nav-desktop a {
  display: inline-flex; align-items: center;
  padding: 0.45rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  border-radius: var(--radius-full);
  transition: all var(--duration) var(--ease);
  text-decoration: none;
}
.nav-desktop a:hover,
.nav-desktop .current-menu-item > a,
.nav-desktop .current_page_item > a {
  color: var(--bark);
  background: var(--rose-pale);
  text-decoration: none;
}
@media (min-width: 1080px) {
  .nav-desktop { display: block; }
  .hamburger { display: none !important; }
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none; padding: 0;
  z-index: 1001; position: relative;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--bark); border-radius: 2px;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-overlay {
  position: fixed; inset: 0; background: rgba(70,57,57,0.3);
  backdrop-filter: blur(4px); z-index: 998;
  opacity: 0; pointer-events: none;
  transition: opacity var(--duration) var(--ease);
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }
.mobile-nav {
  position: fixed; top: 0; right: -100%;
  width: min(85vw, 380px); height: 100vh;
  background: var(--white);
  z-index: 999; overflow-y: auto;
  transition: right 0.4s var(--ease);
  padding: calc(var(--header-h) + 1.5rem) 2rem 2rem;
  box-shadow: var(--shadow-xl);
}
.mobile-nav.open { right: 0; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav li { border-bottom: 1px solid var(--border); }
.mobile-nav a {
  display: block; padding: 1rem 0;
  font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text); text-decoration: none;
}
.mobile-nav a:hover,
.mobile-nav .current-menu-item > a {
  color: var(--rose); text-decoration: none;
}

/* ================================================================
   HERO — Homepage (background image with overlay)
   ================================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + var(--space-lg));
  padding-bottom: var(--space-xl);
  overflow: hidden;
  background: var(--bark);
  color: var(--white);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(70, 57, 57, 0.82) 0%,
    rgba(70, 57, 57, 0.6) 40%,
    rgba(70, 57, 57, 0.45) 100%
  );
}
/* Subtle accent glow over the overlay */
.hero::before {
  content: '';
  position: absolute;
  bottom: -20%; left: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,160,132,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  top: -15%; right: -8%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138,158,126,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.hero__center {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.hero__center .hero__text {
  margin-left: auto;
  margin-right: auto;
}
.hero__center .hero__actions {
  justify-content: center;
}
.hero__content { position: relative; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem 0.4rem 0.5rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  font-size: 0.8rem; font-weight: 500; color: rgba(255,255,255,0.9);
}
.hero__badge-dot {
  width: 8px; height: 8px;
  background: var(--sage);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 0.6em;
  color: var(--white);
}
.hero h1 span { color: var(--rose-light); }
.hero__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-top: 2rem;
}
/* Hero button overrides for dark bg */
.hero .btn--primary {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--white);
}
.hero .btn--primary:hover {
  background: var(--rose-dark);
  border-color: var(--rose-dark);
}
.hero .btn--outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.hero .btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  color: var(--white);
}
@media (max-width: 767px) {
  .hero { min-height: auto; padding-bottom: var(--space-lg); }
  .hero__bg img { object-position: center 30%; }
}
/* ================================================================
   INFO STRIP — below hero
   ================================================================ */
.info-strip {
  position: relative;
  z-index: 10;
  margin-top: -4rem;
  padding-bottom: var(--space-md);
}
.info-strip__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .info-strip__grid { grid-template-columns: repeat(3, 1fr); }
}
.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}
.info-card__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--rose-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.info-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}
.info-card p, .info-card address {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-light);
  font-style: normal;
}
.info-card a {
  color: var(--rose-dark);
  font-weight: 500;
}
.info-card a:hover {
  text-decoration: underline;
}
.info-card__note {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

/* ================================================================
   SERVICES TEASER — homepage
   ================================================================ */
.services-teaser {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 600px) {
  .services-teaser { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .services-teaser { grid-template-columns: repeat(4, 1fr); }
}
.services-teaser__item {
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.services-teaser__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.services-teaser__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--rose-pale);
  font-size: 1.4rem;
  margin: 0 auto 1rem;
}
.services-teaser__item h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--bark);
  margin-bottom: 0.5rem;
}
.services-teaser__item p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-light);
}
/* Opening Hours grid (used in info cards) */
.hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1.2rem;
  font-size: 0.92rem;
}
.hours-grid dt { font-weight: 600; color: var(--bark); white-space: nowrap; }
.hours-grid dd { color: var(--text-light); }
.hours-grid dd.closed { color: var(--text-muted); }
.hours-note-small {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-light);
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn--primary {
  background: var(--bark);
  color: var(--white);
  border-color: var(--bark);
}
.btn--primary:hover {
  background: var(--rose-dark);
  border-color: var(--rose-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--outline {
  background: transparent;
  color: var(--bark);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--bark);
  background: var(--cream);
  color: var(--bark);
}
.btn--icon {
  font-size: 1.1rem;
  line-height: 1;
}

/* ================================================================
   NOTICE BANNER
   ================================================================ */
.notice {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--rose);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 2rem;
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ================================================================
   SECTION HEADERS
   ================================================================ */
.section-header {
  max-width: 600px;
  margin-bottom: var(--space-lg);
}
.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-header .label { margin-bottom: 0.75rem; display: block; }
.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ================================================================
   PAGE HERO (inner pages)
   ================================================================ */
.page-hero {
  padding-top: calc(var(--header-h) + var(--space-lg));
  padding-bottom: var(--space-lg);
  background: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -15%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--rose-pale) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { position: relative; z-index: 1; }
.page-hero p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ================================================================
   TEAM
   ================================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.team-card__img {
  aspect-ratio: 1;
  overflow: hidden;
}
.team-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.team-card:hover .team-card__img img {
  transform: scale(1.06);
}
.team-card__body {
  padding: 1.2rem 1.25rem 1.4rem;
}
.team-card__body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}
.team-card__body p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 0.1rem;
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .team-card__body { padding: 0.9rem 0.85rem; }
  .team-card__body h3 { font-size: 0.9rem; }
}

/* ================================================================
   PRAXIS (about the practice)
   ================================================================ */
.praxis-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}
@media (min-width: 768px) {
  .praxis-grid { grid-template-columns: 1fr 1fr; }
  .praxis-grid--reverse { direction: rtl; }
  .praxis-grid--reverse > * { direction: ltr; }
}
.praxis-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.praxis-img img {
  width: 100%;
  display: block;
}

/* ================================================================
   ABOUT BLOCKS
   ================================================================ */
.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  border: 1px solid var(--border);
  transition: box-shadow var(--duration) var(--ease);
}
.about-card:hover { box-shadow: var(--shadow-md); }
.about-card:last-child { margin-bottom: 0; }
.about-card h3 { margin-bottom: 1rem; }
.about-card p { font-size: 0.95rem; line-height: 1.8; }
@media (max-width: 767px) {
  .about-card { padding: 1.5rem; }
}

/* ================================================================
   SERVICES
   ================================================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
}
.service-card__icon--rose { background: var(--rose-pale); color: var(--rose-dark); }
.service-card__icon--sage { background: var(--sage-pale); color: var(--sage); }
.service-card__icon--bark { background: rgba(70,57,57,0.08); color: var(--bark); }
.service-card__icon--warm { background: #fef3e2; color: #c4880a; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.service-card p { font-size: 0.92rem; line-height: 1.7; color: var(--text-light); }
.service-card ul {
  padding-left: 1.2rem; margin: 0.8rem 0 0;
  list-style: none;
}
.service-card li {
  font-size: 0.88rem; line-height: 1.65;
  color: var(--text-light);
  padding: 0.2rem 0;
  position: relative;
  padding-left: 1rem;
}
.service-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.65em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--rose);
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
.contact-info h3 { margin-bottom: 1rem; }
.contact-info address {
  font-size: 0.95rem; line-height: 2;
}
.contact-info a { color: var(--rose-dark); font-weight: 500; }
.contact-info a:hover { color: var(--rose); text-decoration: underline; }
.contact-detail {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.7rem 0;
  font-size: 0.95rem;
}
.contact-detail__icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--rose-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--rose-dark);
}

/* Form */
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(196,160,132,0.12);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-submit {
  margin-top: 0.5rem;
}

/* ================================================================
   HEILEURYTHMIE
   ================================================================ */
.heileurythmie-wrap {
  max-width: var(--max-w-narrow);
  text-align: center;
}
.heileurythmie-wrap p { font-size: 1.1rem; line-height: 1.9; }
.phone-big {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--bark);
  margin: 1rem 0;
}

/* ================================================================
   LEGAL (Impressum, Datenschutz)
   ================================================================ */
.legal-content {
  max-width: var(--max-w-narrow);
  font-size: 0.92rem;
  line-height: 1.85;
}
.legal-content h3 { margin-top: 2rem; }
.legal-content p { margin-bottom: 0.8rem; }

/* ================================================================
   MAP — OpenStreetMap with Leaflet (GDPR 2-click consent)
   ================================================================ */

/* Consent placeholder */
.map-consent__placeholder {
  background: var(--cream);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}
.map-consent__icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.map-consent__placeholder p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-light);
  max-width: 400px;
  margin: 0;
}
.map-consent__link {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: underline;
  transition: color var(--duration) var(--ease);
}
.map-consent__link:hover {
  color: var(--rose-dark);
}

/* Map container (hidden until consent) */
.praxis-map {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  z-index: 0;
}

/* Warm-tint the OSM tiles to match the theme palette */
.praxis-map .leaflet-tile-pane {
  filter: saturate(0.85) sepia(0.12) brightness(1.02) contrast(0.96);
}

/* Custom marker */
.pz-marker {
  background: none !important;
  border: none !important;
}

/* Themed popup */
.pz-popup .leaflet-popup-content-wrapper {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-lg) !important;
  border: 1px solid var(--border);
  padding: 0;
}
.pz-popup .leaflet-popup-content {
  margin: 1rem 1.2rem !important;
  font-family: var(--font-body);
}
.pz-popup .leaflet-popup-tip {
  box-shadow: none;
  border: 1px solid var(--border);
}

/* Override Leaflet default controls to match theme */
.leaflet-control-zoom a {
  color: var(--bark) !important;
  border-color: var(--border) !important;
  background: var(--white) !important;
  width: 32px !important;
  height: 32px !important;
  line-height: 32px !important;
  font-size: 16px !important;
  border-radius: var(--radius) !important;
  transition: background var(--duration) var(--ease);
}
.leaflet-control-zoom a:hover {
  background: var(--rose-pale) !important;
  color: var(--rose-dark) !important;
}
.leaflet-control-zoom {
  border: none !important;
  box-shadow: var(--shadow-sm) !important;
  border-radius: var(--radius) !important;
  overflow: hidden;
}
.leaflet-control-attribution {
  font-size: 0.65rem !important;
  background: rgba(255,255,255,0.85) !important;
  backdrop-filter: blur(4px);
  color: var(--text-muted) !important;
  padding: 2px 8px !important;
  border-radius: var(--radius) 0 0 0 !important;
}
.leaflet-control-attribution a {
  color: var(--rose-dark) !important;
}

@media (max-width: 767px) {
  .praxis-map { height: 260px; }
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--bark);
  color: rgba(255,255,255,0.7);
  padding: var(--space-lg) 0 var(--space-md);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -200px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: auto 1fr auto; gap: 3rem; }
}
.footer__brand img {
  height: 44px; width: auto;
  opacity: 0.9;
  margin-bottom: 1rem;
}
.footer__brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 280px;
}
.footer__nav h5 {
  font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.75rem;
}
.footer__nav ul { list-style: none; padding: 0; }
.footer__nav a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}
.footer__nav a:hover { color: #fff; text-decoration: none; }
.footer__contact p, .footer__contact a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}
.footer__contact a:hover { color: #fff; }
.footer__bottom {
  margin-top: var(--space-md);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

@media (max-width: 767px) {
  .footer__grid { text-align: center; }
  .footer__brand p { margin-left: auto; margin-right: auto; }
}

/* ================================================================
   WORDPRESS SPECIFICS
   ================================================================ */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 1em auto; }
.entry-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.entry-content ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1rem; }
.entry-content li { margin-bottom: 0.3rem; }
.nav-links { margin-top: 2rem; font-size: 0.9rem; }
.screen-reader-text {
  clip: rect(1px,1px,1px,1px); position: absolute !important;
  height: 1px; width: 1px; overflow: hidden;
}

/* ================================================================
   PRINT
   ================================================================ */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .hamburger, .mobile-nav, .mobile-overlay, .site-footer, .blob { display: none !important; }
  .hero, .page-hero { padding-top: 2rem; min-height: auto; }
  .section { padding: 2rem 0; }
}
