/*
Theme Name: Physiohoch3 v2
Theme URI: https://physiotherapiehoch3.de
Author: Physiotherapiehoch3
Description: Alternatives modernes Custom-Theme – klares, großzügiges Layout mit Seriosität und Wärme.
Version: 2.0.0
Requires PHP: 7.4
License: Private
Text Domain: physiohoch3v2
*/

/* =====================================================
   DESIGN TOKENS
   ===================================================== */
:root {
  /* Brand – das Hover-Grün der Live-Seite */
  --green:          #ABD463;
  --green-dark:     #7a9f39;
  --green-deep:     #577423;
  --green-light:    #eef7df;
  --green-muted:    #dbedbd;
  --green-glass:    rgba(171,212,99,0.12);

  /* Neutrals */
  --white:    #ffffff;
  --off:      #f8f9fb;
  --border:   #e8ecf0;
  --gray-100: #f1f4f7;
  --gray-200: #e2e7ec;
  --gray-400: #9aa5b4;
  --gray-600: #5a6779;
  --gray-800: #2d3a47;
  --gray-900: #19232e;

  /* Text */
  --text:       #2d3a47;
  --text-light: #5a6779;
  --text-muted: #9aa5b4;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.07), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-green: 0 8px 30px rgba(171,212,99,0.22);

  /* Radii */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   32px;
  --r-full: 9999px;

  /* Typography */
  --font: 'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Layout */
  --max-w: 1140px;
  --narrow: 760px;
  --t: 0.22s ease;
}

/* =====================================================
   RESET
   ===================================================== */
*, *::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);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--green-deep); }
p { margin-bottom: 1rem; }
h1,h2,h3,h4,h5 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: .75rem;
}
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
ul, ol { padding-left: 1.5rem; }

/* =====================================================
   LAYOUT
   ===================================================== */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.wrap--narrow { max-width: var(--narrow); }

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}

/* Logo */
.site-logo img {
  height: 44px;
  width: auto;
  display: block;
  /* Keep original colors – no filter */
}
.site-logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}
.site-logo-text span { color: var(--green); }

/* Nav */
.site-nav ul {
  display: flex;
  list-style: none;
  padding: 0; margin: 0;
  gap: 2px;
  align-items: center;
}
.site-nav a {
  display: block;
  padding: .45rem .8rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--r-sm);
  transition: background var(--t), color var(--t);
}
.site-nav a:hover,
.site-nav .current-menu-item > a {
  background: var(--green-light);
  color: var(--green-deep);
}

/* Header right */
.header-right {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-shrink: 0;
}
.header-phone {
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-800);
  white-space: nowrap;
}
.header-phone a { color: inherit; }
.header-phone a:hover { color: var(--green-dark); }

.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: .4rem .5rem;
  cursor: pointer;
  color: var(--gray-800);
}
.menu-toggle svg { width: 20px; height: 20px; display: block; }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .65rem 1.4rem;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--r-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--t);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  box-shadow: 0 4px 14px rgba(171,212,99,0.3);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}
.btn-ghost {
  background: transparent;
  color: var(--gray-800);
  border-color: var(--gray-200);
}
.btn-ghost:hover {
  background: var(--gray-100);
  border-color: var(--gray-200);
  color: var(--gray-900);
}
.btn-outline-green {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green);
}
.btn-outline-green:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: .85rem 1.9rem; font-size: 1rem; }
.btn-sm { padding: .45rem 1rem; font-size: .83rem; }

/* =====================================================
   HERO  –  Split layout, full height feel
   ===================================================== */
.hero-section {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
/* Subtle green blob top-right */
.hero-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(171,212,99,.13) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-light);
  border: 1px solid var(--green-muted);
  padding: .3rem .9rem;
  border-radius: var(--r-full);
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  display: block;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--gray-900);
  margin-bottom: 1.4rem;
}
.hero-title .accent {
  color: var(--green);
  position: relative;
}
/* underline squiggle */
.hero-title .accent::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-muted));
  border-radius: var(--r-full);
}

.hero-body {
  font-size: 1.08rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.75;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.hero-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
  margin-bottom: .2rem;
}
.hero-stat-num span { color: var(--green); }
.hero-stat-label {
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Right image with floating card */
.hero-visual {
  position: relative;
}
/* ── Hero Logo Card ── */
.hero-logo-card {
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  background: var(--white);
  border: 1px solid var(--border);
  display: inline-flex;
  flex-direction: column;
  width: 100%;
}

.hero-logo-inner {
  padding: 2.25rem 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  background: var(--white);
  border-radius: var(--r-xl);
}

.hero-logo-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  display: block;
}

.hero-logo-tagline {
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
  letter-spacing: .01em;
  padding-top: .25rem;
  border-top: 1px solid var(--border);
  width: 100%;
}

/* hero-badge removed (IFAMT badge no longer in hero) */

.hero-badge-2 {
  position: absolute;
  top: -1rem;
  right: -1rem;
  background: var(--green);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: .85rem 1.1rem;
  box-shadow: var(--shadow-green);
  text-align: center;
}
.hero-badge-2 strong { display: block; font-size: 1.3rem; font-weight: 800; line-height: 1; }
.hero-badge-2 span { font-size: .75rem; opacity: .9; }

/* =====================================================
   TRUST STRIP
   ===================================================== */
.trust-strip {
  background: var(--gray-900);
  padding: .9rem 0;
}
.trust-strip-inner {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .83rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
}
.trust-item-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* =====================================================
   SECTION HEADER
   ===================================================== */
.sec-head {
  margin-bottom: 3rem;
}
.sec-head--center { text-align: center; }
.sec-head--center .sec-body { margin: 0 auto; }

.sec-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: .6rem;
}
.sec-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}
.sec-body {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* =====================================================
   SERVICES  –  horizontal scroll cards
   ===================================================== */
.services-section { padding: 5rem 0; background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem 1.75rem;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-muted);
}

.service-icon {
  width: 52px; height: 52px;
  background: var(--green-light);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .5rem;
  transition: background var(--t);
}
.service-card:hover .service-icon { background: var(--green-muted); }
.service-icon svg { width: 26px; height: 26px; color: var(--green-dark); }

.service-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
}
.service-text {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.service-list {
  list-style: none;
  padding: 0; margin: .25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.service-list li {
  font-size: .83rem;
  color: var(--text-light);
  padding-left: 1.1rem;
  position: relative;
}
.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* =====================================================
   APPROACH / COACHING  –  3-step with line
   ===================================================== */
.approach-section {
  padding: 5rem 0;
  background: var(--off);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.approach-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.approach-step {
  display: flex;
  gap: 1.25rem;
  position: relative;
}
/* vertical connector line */
.approach-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 52px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--green-muted), transparent);
}
.step-num {
  width: 40px; height: 40px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(171,212,99,.35);
  position: relative;
  z-index: 1;
}
.step-content {
  padding-bottom: 2.5rem;
}
.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .35rem;
}
.step-text {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
}

/* Right side text block */
.approach-content {}
.approach-content h2 { margin-bottom: 1rem; }
.approach-content p { color: var(--text-light); margin-bottom: 1.25rem; }
.approach-highlight {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--green-muted);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}
.approach-highlight p {
  margin: 0;
  font-size: .95rem;
  color: var(--gray-800);
  font-weight: 500;
}
.approach-highlight strong { color: var(--green-dark); }

/* =====================================================
   TEAM PREVIEW
   ===================================================== */
.team-section { padding: 5rem 0; background: var(--white); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.team-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform var(--t), box-shadow var(--t);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-photo {
  aspect-ratio: 1 / 1.1;
  overflow: hidden;
  background: var(--green-light);
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .4s ease;
}
.team-card:hover .team-photo img { transform: scale(1.04); }

.team-body { padding: 1.1rem 1.25rem 1.4rem; }
.team-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .2rem;
}
.team-role {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--green-dark);
  margin-bottom: .6rem;
}
.team-motto {
  font-size: .83rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
  margin: 0;
}

/* =====================================================
   CTA BAND
   ===================================================== */
.cta-band {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--gray-900) 0%, #1e2d3d 100%);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(171,212,99,.12) 0%, transparent 65%);
  pointer-events: none;
}
.cta-band::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -60px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(171,212,99,.08) 0%, transparent 65%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
.cta-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: .6rem;
}
.cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.65);
  margin: 0;
}
.cta-actions {
  display: flex;
  gap: .85rem;
  flex-direction: column;
  align-items: flex-end;
}
.cta-band .btn-primary {
  box-shadow: var(--shadow-green);
}
.btn-white-outline {
  background: transparent;
  color: rgba(255,255,255,.85);
  border: 2px solid rgba(255,255,255,.25);
}
.btn-white-outline:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.5);
  color: var(--white);
}

/* =====================================================
   PRAXIS PAGE
   ===================================================== */
.praxis-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.praxis-gallery-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.praxis-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.praxis-gallery-item:hover img { transform: scale(1.04); }

/* =====================================================
   PRÄVENTION PAGE
   ===================================================== */
.praev-intro {
  background: var(--green-light);
  border: 1px solid var(--green-muted);
  border-radius: var(--r-xl);
  padding: 2.5rem 3rem;
  margin-bottom: 3rem;
}
.praev-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--green);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  padding: .4rem 1rem;
  border-radius: var(--r-full);
  margin-bottom: 1rem;
}
.praev-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.praev-step {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--green-muted);
}
.praev-step-num {
  width: 32px; height: 32px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  margin: 0 auto .6rem;
}
.praev-step p { font-size: .83rem; color: var(--text-light); margin: 0; }

.kurs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}
.kurs-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
  display: flex;
  flex-direction: column;
}
.kurs-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.kurs-img { aspect-ratio: 1; overflow: hidden; }
.kurs-img img { width: 100%; height: 100%; object-fit: cover; }
.kurs-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  flex: 1;
}
.kurs-title { font-size: .92rem; font-weight: 700; color: var(--gray-900); margin: 0; }
.kurs-body .btn { font-size: .8rem; padding: .45rem 1rem; align-self: stretch; text-align: center; justify-content: center; }

/* =====================================================
   PAGE HERO (subpages)
   ===================================================== */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  background: linear-gradient(135deg, var(--green-light) 0%, var(--white) 60%);
  border-bottom: 1px solid var(--border);
}
.page-hero-crumb {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: .5rem;
}
.page-hero-crumb a { color: var(--text-muted); }
.page-hero-crumb a:hover { color: var(--green-dark); }
.page-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.6);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { font-size: .88rem; line-height: 1.65; color: rgba(255,255,255,.5); }
.footer-logo { margin-bottom: 1.25rem; }
.footer-logo img {
  height: 48px;
  width: auto;
  /* White card so logo colors show correctly on dark footer */
  background: var(--white);
  border-radius: var(--r-md);
  padding: 6px 12px;
  display: block;
}

.footer-col h4 {
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .9rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .45rem; }
.footer-col ul li a {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  transition: color var(--t);
}
.footer-col ul li a:hover { color: var(--green); }

.footer-contact { display: flex; flex-direction: column; gap: .55rem; }
.footer-contact-row {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .88rem; color: rgba(255,255,255,.55);
}
.footer-contact-row svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: .2rem; color: var(--green); }
.footer-contact-row a { color: inherit; }
.footer-contact-row a:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: rgba(255,255,255,.35); font-size: .82rem; }
.footer-links a:hover { color: var(--green); }

/* =====================================================
   STANDARD PAGE CONTENT
   ===================================================== */
.entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}
.entry-content p { margin-bottom: 1.1rem; }
.entry-content h2 { margin-top: 2.5rem; }
.entry-content h3 { margin-top: 1.75rem; }
.entry-content ul, .entry-content ol { margin-bottom: 1.1rem; }
.entry-content li { margin-bottom: .35rem; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================
   FORM STYLES
   ===================================================== */
#anmeldeformular, #fragebogen, #fragebogen_bipq, #hauptproblemformular {
  max-width: 620px;
  margin: 2rem auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  font-family: var(--font);
}
#anmeldeformular h1, #fragebogen h1, #fragebogen_bipq h1 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--green-light);
}
#anmeldeformular h3, #fragebogen h3, #fragebogen_bipq h3 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: 1.25rem 0 .5rem;
  line-height: 1.5;
}
#anmeldeformular label, #fragebogen label, #fragebogen_bipq label, #hauptproblemformular label {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  color: var(--gray-700, #374151);
  margin-top: .75rem;
  margin-bottom: .3rem;
  font-family: var(--font);
}
#anmeldeformular input[type="text"],
#anmeldeformular input[type="date"],
#anmeldeformular input[type="email"],
#fragebogen input[type="text"],
#fragebogen input[type="date"],
#fragebogen_bipq input[type="text"],
#fragebogen_bipq input[type="date"],
#hauptproblemformular input[type="text"],
#hauptproblemformular input[type="date"],
#hauptproblemformular textarea {
  width: 100%;
  padding: .6rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--t), box-shadow var(--t);
  box-sizing: border-box;
}
#anmeldeformular input:focus, #fragebogen input:focus,
#fragebogen_bipq input:focus, #hauptproblemformular input:focus,
#hauptproblemformular textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(171,212,99,.15);
}
#anmeldeformular button, #fragebogen button, #fragebogen_bipq button,
#hauptproblemformular button[type="submit"] {
  display: block;
  width: 100%;
  padding: .9rem 1.5rem;
  background: var(--green);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  margin-top: 1.25rem;
}
#anmeldeformular button:hover, #fragebogen button:hover,
#fragebogen_bipq button:hover, #hauptproblemformular button[type="submit"]:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-green);
}
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  margin: .5rem 0;
  height: 6px;
  background: var(--green-muted);
  border-radius: var(--r-full);
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  background: var(--green);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(171,212,99,.4);
}
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  background: var(--green);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
.wert {
  display: inline-block;
  min-width: 28px;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  background: var(--green);
  border-radius: var(--r-sm);
  padding: 2px 8px;
  margin-left: 6px;
  font-size: .92rem;
}
#anmeldeformular table { width: 100%; border-collapse: collapse; margin-top: .75rem; font-size: .88rem; }
#anmeldeformular th, #anmeldeformular td {
  padding: .5rem .75rem;
  border: 1px solid var(--border);
  text-align: left;
  color: var(--text);
}
#anmeldeformular th {
  background: var(--green-light);
  font-weight: 700;
  font-size: .82rem;
  color: var(--green-deep);
}
#hauptproblemformular fieldset {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.25rem;
  margin: 1rem 0;
  background: var(--off);
}
#hauptproblemformular legend {
  font-weight: 700;
  color: var(--green-dark);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 0 .5rem;
}
canvas {
  border: 2px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--white);
  touch-action: none;
  display: block;
}

/* =====================================================
   UTILS
   ===================================================== */
.text-center { text-align: center; }
.section-pad { padding: 5rem 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-logo-inner { padding: 1.5rem 1.25rem 1.25rem; }
  .hero-badge, .hero-badge-2 { display: none; }
  .hero-stats { gap: 1.5rem; }
  .cta-inner { grid-template-columns: 1fr; gap: 2rem; }
  .cta-actions { align-items: flex-start; flex-direction: row; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .praev-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .site-nav { display: none; }
  .site-nav.is-open {
    display: block;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: .75rem;
    z-index: 99;
  }
  .site-nav.is-open ul { flex-direction: column; gap: 2px; }
  .site-nav.is-open a { display: block; padding: .65rem 1rem; }
  .menu-toggle { display: flex; }
  .header-phone { display: none; }

  .hero-section { padding: 3rem 0 2.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .praev-steps { grid-template-columns: 1fr 1fr; }
  .trust-strip-inner { gap: 1rem; }

  #anmeldeformular, #fragebogen, #fragebogen_bipq { padding: 1.5rem; margin: 1rem; }
  .praev-intro { padding: 1.5rem; }
}
