/* MEVAH — Platzhalter-Website
   Calm medical palette, self-contained, no external assets */

:root {
  --teal-950: #073032;
  --teal-900: #0a4a4c;
  --teal-800: #0c5c5e;
  --teal-700: #0a6a6c;
  --teal-600: #0f8b8d;
  --teal-500: #1aa3a0;
  --teal-300: #5cc9a7;
  --teal-200: #b5e8d6;
  --teal-100: #e3f6ef;
  --teal-50: #f3fbf8;
  --mint: #5cc9a7;
  --coral: #e8615a;
  --coral-dark: #c44c46;
  --ink: #1f3a3d;
  --ink-soft: #3a5558;
  --muted: #4a6063;
  --paper: #f7faf9;
  --mist: #f3faf7;
  --warm: #fbf8f5;
  --coral-text: #b53b36;
  --coral-darker: #9e3b36;
  --line: #d3e8e2;
  --line-strong: #b5d9d0;
  --white: #ffffff;
  --danger: #9b1c1c;
  --ok: #0a6a6c;
  --shadow: 0 1px 2px rgba(15, 139, 141, 0.06), 0 8px 24px rgba(15, 139, 141, 0.08);
  --shadow-soft: 0 1px 2px rgba(15, 139, 141, 0.05), 0 12px 32px rgba(15, 139, 141, 0.09);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 76px;
  --max: 1120px;
  --font: "Segoe UI", "Helvetica Neue", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "Liberation Serif", Georgia, serif;
  --focus: 0 0 0 3px var(--white), 0 0 0 6px var(--teal-600);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--teal-700); text-underline-offset: 3px; }
a:hover { color: var(--teal-900); }

a[href^="tel:"],
.tel {
  color: var(--coral-text);
  font-weight: 650;
  text-decoration: none;
}
a[href^="tel:"]:hover,
.tel:hover {
  color: var(--coral-darker);
}


:focus-visible {
  outline: 3px solid var(--teal-600);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 2000;
  background: var(--teal-800);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  top: 0.75rem;
  outline-offset: 2px;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(247, 250, 249, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.18rem;
  text-decoration: none;
  color: var(--teal-800);
  flex-shrink: 0;
}
.logo:hover { color: var(--teal-900); }
.logo-img {
  display: block;
  height: auto;
  max-width: 100%;
}
.logo-img-header {
  height: 54px;
  width: auto;
}
.logo-img-footer {
  height: auto;
  width: 240px;
  max-width: 100%;
}
.logo-tag {
  font-size: 0.7rem;
  color: var(--coral-text);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
}
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 550;
  padding: 0.3rem 0;
}
.nav a:hover { color: var(--teal-700); }
.nav a.btn-primary,
.nav a.btn-primary:hover,
.nav a.btn-cta,
.nav a.btn-cta:hover {
  color: var(--white);
  border-bottom: 0;
}

.header-cta { margin-left: 0.5rem; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.menu-toggle svg { width: 22px; height: 22px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--teal-700);
  color: var(--white);
  border-color: var(--teal-700);
}
.btn-primary:hover {
  background: var(--teal-900);
  color: var(--white);
  border-color: var(--teal-900);
}
.btn-cta {
  background: var(--coral-dark);
  color: var(--white);
  border-color: var(--coral-dark);
}
.btn-cta:hover {
  background: var(--coral-darker);
  color: var(--white);
  border-color: var(--coral-darker);
}
.btn-ghost {
  background: transparent;
  color: var(--teal-800);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: var(--teal-50);
  color: var(--teal-900);
  border-color: var(--teal-300);
}
.btn-lg { padding: 0.9rem 1.45rem; font-size: 1rem; }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 480px at 85% -10%, rgba(92, 201, 167, 0.32), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(15, 139, 141, 0.08), transparent 55%),
    linear-gradient(180deg, var(--teal-50) 0%, var(--paper) 100%);
  padding: 4.5rem 0 5rem;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin: 0 0 1rem;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-500);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.05rem, 4.2vw, 3.35rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1.15rem;
  color: var(--teal-950);
}

.lead {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 38rem;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.trust svg {
  width: 16px;
  height: 16px;
  color: var(--teal-600);
  flex-shrink: 0;
}

.hero-art {
  position: relative;
  min-height: 320px;
}
.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  padding: 1.75rem 1.6rem 1.5rem;
  position: relative;
}
.hero-card h2 {
  font-size: 1.05rem;
  margin: 0 0 1rem;
  color: var(--teal-900);
}
.care-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.care-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.care-list strong { color: var(--ink); font-weight: 650; display: block; line-height: 1.3; }
.icon-bubble {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--teal-100);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-bubble svg { width: 20px; height: 20px; }

/* ===== Sections ===== */
section { padding: 5rem 0; }
.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}
.section-head h2,
.panel h2,
.contact-intro h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--teal-950);
}
.section-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin: 0 0 0.5rem;
}
.section-head p { margin: 0; color: var(--muted); }

.bg-mist { background: var(--mist); }
.bg-warm { background: var(--warm); }
.bg-teal {
  background: linear-gradient(160deg, var(--teal-900) 0%, var(--teal-800) 55%, #0f8b8d 100%);
  color: var(--white);
}
.bg-teal .section-kicker { color: var(--teal-200); }
.bg-teal h2 { color: var(--white); }
.bg-teal .section-head p { color: rgba(255,255,255,0.82); }

/* ===== Leistungen ===== */
.cards-services {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.15rem;
}
.cards-services .card {
  grid-column: span 2;
}
@media (min-width: 901px) {
  .cards-services .card:nth-child(4) { grid-column: 2 / 4; }
  .cards-services .card:nth-child(5) { grid-column: 4 / 6; }
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.4rem;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--teal-100);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: var(--teal-950);
  min-height: 2.55em;
  line-height: 1.25;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ===== Ablauf ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.steps > li {
  list-style: none;
  margin: 0;
}
.step {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--teal-500);
  color: var(--white);
  font-weight: 750;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  color: var(--white);
}
.step p {
  margin: 0;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

/* ===== Audiences ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}
.panel h2 { font-size: 1.55rem; }
.panel p.intro { color: var(--muted); margin: 0 0 1.15rem; }
.panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}
.panel li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.65rem;
  align-items: start;
  color: var(--ink-soft);
}
.panel li svg {
  width: 20px;
  height: 20px;
  color: var(--teal-600);
  margin-top: 0.2rem;
}

/* ===== About / Team ===== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: start;
}
.about-copy p { color: var(--ink-soft); margin: 0 0 1rem; }
.note {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-700);
  background: var(--teal-100);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  margin-bottom: 0.85rem;
}
.team {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}
.person {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.1rem 1.2rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 0.85rem;
  background: var(--teal-100);
  color: var(--teal-800);
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar svg { width: 36px; height: 36px; }
.person h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}
.person p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ===== FAQ ===== */
.faq-list {
  display: grid;
  gap: 0.7rem;
  max-width: 800px;
}
.faq-item h3 { margin: 0; font-size: inherit; font-weight: inherit; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1.05rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-weight: 650;
  color: var(--teal-950);
}
.faq-item button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--teal-700);
  transition: transform 0.2s ease;
}
.faq-item.is-open button svg { transform: rotate(45deg); }
.faq-panel {
  display: none;
  padding: 0 1.2rem 1.15rem;
  color: var(--muted);
}
.faq-item.is-open .faq-panel { display: block; }
.faq-panel p { margin: 0; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: start;
}
.contact-meta {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.contact-meta li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.75rem;
  align-items: start;
}
.contact-meta a { text-decoration: none; color: var(--ink); font-weight: 600; }
.contact-meta a:hover { color: var(--teal-700); }
.contact-meta a[href^="tel:"] { color: var(--coral-text); }
.contact-meta a[href^="tel:"]:hover { color: var(--coral-darker); }
.contact-meta span { display: block; font-size: 0.85rem; color: var(--muted); font-weight: 500; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--ink-soft);
}
.req { color: var(--teal-700); }
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  background: var(--paper);
}
input:focus, select:focus, textarea:focus {
  outline: 3px solid var(--teal-200);
  border-color: var(--teal-600);
}
textarea { min-height: 130px; resize: vertical; }
.consent {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: 0.88rem;
  color: var(--muted);
}
.consent input { margin-top: 0.25rem; width: 1.1rem; height: 1.1rem; accent-color: var(--teal-700); }
.form-actions { margin-top: 0.25rem; }
.form-hint {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}
.success.is-visible { display: block; }
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.success-icon svg { width: 32px; height: 32px; }
.success h3 { margin: 0 0 0.5rem; font-family: var(--serif); font-size: 1.5rem; color: var(--teal-950); }
.success p { margin: 0; color: var(--muted); }

/* ===== Footer ===== */
.site-footer {
  background: var(--white);
  color: var(--ink-soft);
  padding: 3.25rem 0 1.5rem;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.site-footer .logo { margin-bottom: 0.85rem; gap: 0.35rem; }
.site-footer .logo-tag { font-size: 0.78rem; padding-left: 0.2rem; }
.site-footer p { margin: 0 0 0.6rem; font-size: 0.92rem; }
.site-footer h2 {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin: 0.35rem 0 0.8rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--teal-700); text-decoration: underline; }
.site-footer a[href^="tel:"] { color: var(--coral-text); font-weight: 650; }
.site-footer a[href^="tel:"]:hover { color: var(--coral-darker); }
.placeholder-flag {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  background: var(--teal-50);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  color: var(--muted);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ===== Leistungen page ===== */
.page-hero {
  background:
    radial-gradient(900px 400px at 100% 0%, rgba(92, 201, 167, 0.28), transparent 55%),
    linear-gradient(180deg, var(--teal-50) 0%, var(--paper) 100%);
  padding: 3.25rem 0 2.75rem;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.85rem;
  color: var(--teal-950);
}
.page-hero .lead { margin-bottom: 0; max-width: 42rem; }
.group-head { max-width: 46rem; margin-bottom: 2rem; }
.group-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  letter-spacing: -0.025em;
  margin: 0 0 0.65rem;
  color: var(--teal-950);
}
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.card ul {
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.card ul li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 0.4rem;
  align-items: start;
}
.card ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--mint);
}
.finance {
  display: grid;
  gap: 1.15rem;
}
.finance-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.4rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--teal-600);
}
.finance-card.planned {
  border-left-color: var(--coral);
  background: linear-gradient(180deg, #fffaf9 0%, var(--white) 40%);
}
.finance-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
  color: var(--teal-950);
}
.finance-card p { margin: 0 0 0.75rem; color: var(--ink-soft); font-size: 0.98rem; }
.finance-card p:last-child { margin-bottom: 0; }
.badge-planned {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral-dark);
  background: #fdeceb;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.65rem;
}
.badge-current {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-700);
  background: var(--teal-100);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.65rem;
}
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.85rem 1.6rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.pillar h3 {
  margin: 0 0 0.55rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--teal-950);
}
.pillar p { color: var(--muted); margin: 0 0 1rem; }
.pillar ul {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  color: var(--ink-soft);
}
.pillar li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.55rem;
  align-items: start;
}
.pillar li svg { width: 18px; height: 18px; color: var(--teal-600); margin-top: 0.2rem; }
.pillar .btn { margin-top: auto; align-self: flex-start; }

/* ===== Legal pages ===== */
.legal {
  padding: 0 0 5rem;
}
.legal-card {
  max-width: 760px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow);
}
.legal h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 0.5rem;
  color: var(--teal-950);
}
.warn {
  background: #fff7e8;
  border: 1px solid #efd7a0;
  color: #5c4813;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin: 1.25rem 0 1.75rem;
  font-size: 0.95rem;
}
.legal h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.5rem;
  color: var(--teal-900);
}
.legal p, .legal li { color: var(--ink-soft); }
.crumb { font-size: 0.9rem; margin-bottom: 1.25rem; color: var(--muted); }
.crumb a { color: var(--teal-700); }


/* ===== Photos ===== */
.media {
  margin: 0;
  overflow: hidden;
}
.media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.hero-photo {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  background: var(--teal-100);
}
.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 28%;
}
.hero-art .hero-card {
  margin-top: -3.25rem;
  margin-inline: 1.05rem;
  position: relative;
  z-index: 1;
}

.pillar {
  overflow: hidden;
}
.pillar-media {
  margin: 0 0 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--teal-100);
}
.pillar-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 42%;
}
.pillar:has(.pillar-media) {
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
}
.pillar:has(.pillar-media) > :not(.pillar-media) {
  margin-left: 1.6rem;
  margin-right: 1.6rem;
}
.pillar:has(.pillar-media) h3 {
  margin-top: 0;
}
.pillar:has(.pillar-media) .btn {
  margin-left: 1.6rem;
  margin-right: 1.6rem;
  margin-bottom: 0.15rem;
}

.band-photo {
  margin: 0 0 2rem;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--teal-100);
}
.band-photo img {
  width: 100%;
  height: min(420px, 48vw);
  object-fit: cover;
  object-position: center 36%;
}
.band-photo-after {
  margin-top: 2rem;
  margin-bottom: 0;
}

.about-photo {
  margin: 0 0 2.5rem;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--teal-100);
}
.about-photo img {
  width: 100%;
  height: min(460px, 50vw);
  object-fit: cover;
  object-position: center 42%;
}

.group-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.15rem;
}
.group-intro .group-head {
  margin-bottom: 0;
}
.group-photo,
.group-photos figure {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--teal-100);
}
.group-photo img,
.group-photos img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.group-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.group-intro-photos {
  grid-template-columns: 1fr;
}
.group-intro-photos .group-head {
  max-width: 46rem;
}

/* ===== Mobile nav ===== */
@media (max-width: 900px) {
  .cards-services,
  .cards-3 {
    grid-template-columns: 1fr 1fr;
  }
  .cards-services .card { grid-column: auto; }
  .steps,
  .team { grid-template-columns: 1fr 1fr; }
  .hero-grid,
  .about-grid,
  .contact-grid,
  .split,
  .pillars,
  .cards-3,
  .footer-grid,
  .group-intro { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0 3.25rem; }
  .hero-art { min-height: 0; }
  .hero-art .hero-card { margin-top: -2.25rem; margin-inline: 0.85rem; }
  .band-photo img { height: min(280px, 58vw); }
  .about-photo img { height: min(280px, 62vw); }
  .pillar:has(.pillar-media) > :not(.pillar-media),
  .pillar:has(.pillar-media) .btn { margin-left: 1.35rem; margin-right: 1.35rem; }
  .header-cta { display: none; }

  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.15rem;
    gap: 0;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 0.8rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }
  .nav a:last-of-type { border-bottom: 0; }
  .nav .btn { margin-top: 0.75rem; width: 100%; }
}

@media (max-width: 600px) {
  .wrap { width: min(var(--max), calc(100% - 1.75rem)); }
  section { padding: 3.25rem 0; }
  .cards-services,
  .cards-3,
  .steps,
  .team,
  .form-grid { grid-template-columns: 1fr; }
  .cards-services .card { grid-column: auto; }
  .card h3 { min-height: 0; }
  .form-card, .panel, .legal-card, .finance-card, .pillar { padding: 1.35rem 1.15rem; }
  .pillar:has(.pillar-media) { padding-top: 0; padding-left: 0; padding-right: 0; padding-bottom: 1.35rem; }
  .pillar:has(.pillar-media) > :not(.pillar-media),
  .pillar:has(.pillar-media) .btn { margin-left: 1.15rem; margin-right: 1.15rem; }
  .hero-art .hero-card { margin-top: -1.75rem; margin-inline: 0.65rem; }
  .group-photos { grid-template-columns: 1fr; }
  .band-photo,
  .about-photo,
  .hero-photo,
  .group-photo,
  .group-photos figure { border-radius: 16px; }
  .hero h1 { font-size: 2rem; }
  .logo-img-header { height: 44px; }
  .logo-img-footer { width: 220px; }
  .logo-tag { font-size: 0.64rem; }
}

@media (min-width: 901px) {
  .nav-mobile-cta { display: none !important; }
}


/* ===== WordPress additions (menus, admin bar, generic pages, CF7) ===== */
.nav a.is-current { color: var(--teal-700); }

body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
body.admin-bar { scroll-padding-top: calc(var(--header-h) + 44px); }

.logo .custom-logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: 100%;
}
@media (max-width: 600px) {
  .logo .custom-logo { height: 34px; }
}

.entry-content > *:first-child { margin-top: 0; }
.entry-content p,
.entry-content li { color: var(--ink-soft); }
.page-empty { color: var(--muted); }

.form-card .wpcf7-form p { margin: 0 0 1rem; }
.form-card .wpcf7-form-control-wrap { display: block; }
.form-card .wpcf7-form input[type="text"],
.form-card .wpcf7-form input[type="email"],
.form-card .wpcf7-form input[type="tel"],
.form-card .wpcf7-form input[type="url"],
.form-card .wpcf7-form select,
.form-card .wpcf7-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  background: var(--paper);
}
.form-card .wpcf7-form input:focus,
.form-card .wpcf7-form select:focus,
.form-card .wpcf7-form textarea:focus {
  outline: 3px solid var(--teal-200);
  border-color: var(--teal-600);
}
.form-card .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid var(--teal-700);
  cursor: pointer;
  line-height: 1.2;
  background: var(--teal-700);
  color: var(--white);
}
.form-card .wpcf7-submit:hover {
  background: var(--teal-900);
  border-color: var(--teal-900);
  color: var(--white);
}
.form-card .wpcf7-not-valid-tip { color: var(--danger); font-size: 0.85rem; }
.form-card .wpcf7-response-output {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
}


/* ===== Landing pages (Google Ads) ===== */
.landing-hero {
  position: relative;
  overflow: visible;
  background:
    radial-gradient(1200px 480px at 85% -10%, rgba(92, 201, 167, 0.32), transparent 60%),
    linear-gradient(180deg, var(--teal-50) 0%, var(--paper) 100%);
  padding: 3.25rem 0 3.5rem;
  border-bottom: 1px solid var(--line);
}
.landing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 2.5rem;
  align-items: start;
}
.landing-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.05rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1.1rem;
  color: var(--teal-950);
}
.landing-hero .lead { margin-bottom: 1.35rem; }
.landing-hero .form-card { margin: 0; }
.landing-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.landing-photo {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--teal-100);
}
.landing-photo img {
  width: 100%;
  height: min(420px, 48vw);
  object-fit: cover;
  object-position: center 36%;
}
.lp-close {
  padding: 5rem 0;
}
.lp-close-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: start;
}
.compliance {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal-600);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow);
  color: var(--ink-soft);
}
.job-card .note,
.example-flag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-700);
  background: var(--teal-100);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.65rem;
}
.jobs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.job-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.85rem 1.6rem 1.5rem;
  box-shadow: var(--shadow);
}
.job-card h2,
.job-card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--teal-950);
  margin: 0 0 0.75rem;
}
.job-card h3 { font-size: 1.05rem; font-family: var(--font); margin-top: 1.1rem; }
.job-card p, .job-card li { color: var(--ink-soft); }
.job-card ul { margin: 0.4rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.4rem; }
.job-card li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.55rem;
  align-items: start;
}
.job-card li::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: inset 0 0 0 3px var(--teal-100);
}

.sticky-cta {
  display: none;
}

.wpcf7 .form-grid,
.wpcf7 .curiva-cf7-grid,
.form-card .wpcf7 { display: block; }
.form-card .wpcf7-form { margin: 0; }
.form-card .wpcf7-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-card .wpcf7-form label {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.form-card .wpcf7-acceptance label,
.form-card .wpcf7-form .consent,
.form-card .wpcf7-list-item-label {
  flex-direction: row;
  align-items: start;
  gap: 0.65rem;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--muted);
}
.form-card .wpcf7-form .field-full,
.form-card .wpcf7-form .full { grid-column: 1 / -1; }
.form-card .wpcf7-form input[type="file"] {
  padding: 0.45rem 0;
  border: 0;
  background: transparent;
}
.form-card .wpcf7-acceptance { margin: 0; }
.form-card .wpcf7-spinner { margin-left: 0.5rem; }
.form-card .wpcf7-not-valid-tip { color: var(--danger); font-size: 0.85rem; }
.form-card .wpcf7 form.invalid .wpcf7-response-output,
.form-card .wpcf7 form.unaccepted .wpcf7-response-output,
.form-card .wpcf7-response-output {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
}

@media (max-width: 900px) {
  .landing-hero-grid,
  .lp-close-grid,
  .jobs-grid { grid-template-columns: 1fr; }
  .landing-photo img { height: min(280px, 58vw); }
  .sticky-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    padding: 0.7rem 0.9rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(247, 250, 249, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(15, 139, 141, 0.08);
  }
  .sticky-cta .btn { width: 100%; }
  body.admin-bar .sticky-cta { bottom: 0; }
  body.has-sticky-cta {
    padding-bottom: 6.25rem;
  }
}

@media (max-width: 600px) {
  .form-card .wpcf7-form .form-grid { grid-template-columns: 1fr; }
  .landing-hero { padding: 2.5rem 0 2.75rem; }
}


/* ===== Multi-step inquiry wizard ===== */
.cv-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cv-wizard {
  position: relative;
}
.cv-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.cv-progress {
  margin: 0 0 1.25rem;
}
.cv-progress-label {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--ink-soft);
}
.cv-progress-track {
  display: block;
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: var(--teal-100);
  overflow: hidden;
}
/* CF7/wpautop wraps the fill in <p>; zero its margin so a late JS
   repair still has a visible bar, and prefer a direct-child div. */
.cv-progress-track p {
  margin: 0;
  padding: 0;
  height: 100%;
}
.cv-progress-fill {
  display: block;
  height: 6px;
  width: 0%;
  max-width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal-600), var(--mint));
  transition: width 0.35s ease;
}

.cv-step[hidden] { display: none !important; }
.cv-step fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
  min-inline-size: 0;
  width: 100%;
}
.cv-step legend {
  display: block;
  width: 100%;
  float: none;
  padding: 0;
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--teal-950);
}
.cv-hint {
  margin: -0.4rem 0 0.9rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.cv-step-error .cv-error {
  display: block;
}
.cv-error {
  display: none;
  margin: 0 0 0.8rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: #fdecec;
  color: var(--danger);
  font-size: 0.88rem;
  font-weight: 650;
}

/* Tile groups: grid lives on the actual parent of .wpcf7-list-item
   (.wpcf7-radio / .wpcf7-checkbox / .cv-tiles-inner). Wrappers stay
   display:block; width:100%. Avoid display:contents and 1fr rows —
   both mis-measure and can drop/clip items in iOS Safari. */
.form-card,
.cv-wizard,
.cv-step,
.cv-tiles {
  overflow: visible;
  height: auto;
  max-height: none;
}
.cv-step {
  display: block;
}
.cv-step[hidden] {
  display: none !important;
}
.cv-tiles {
  display: block;
  width: 100%;
  margin: 0;
}
.cv-tiles > p,
.cv-tiles .wpcf7-form-control-wrap,
.form-card .cv-tiles .wpcf7-form-control-wrap,
.form-card .cv-tiles > p {
  display: block;
  width: 100%;
  margin: 0;
}
.cv-tiles .wpcf7-radio,
.cv-tiles .wpcf7-checkbox,
.cv-tiles .cv-tiles-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(76px, auto);
  align-items: stretch;
  justify-items: stretch;
  gap: 0.65rem;
  width: 100%;
  margin: 0;
}
.cv-tiles-list .wpcf7-radio,
.cv-tiles-list .wpcf7-checkbox,
.cv-tiles-list .cv-tiles-inner {
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: minmax(72px, auto);
}
.cv-tiles-3 .wpcf7-radio,
.cv-tiles-3 .wpcf7-checkbox,
.cv-tiles-3 .cv-tiles-inner {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cv-tiles .wpcf7-list-item,
.cv-tiles .cv-tile {
  display: flex;
  min-width: 0;
  width: 100%;
  margin: 0 !important;
  padding: 0;
  align-self: stretch;
}
.cv-tiles .wpcf7-list-item label,
.cv-tiles .cv-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-sizing: border-box;
  width: 100%;
  flex: 1 1 auto;
  height: auto;
  min-height: 88px;
  margin: 0;
  padding: 0.85rem 0.65rem;
  text-align: center;
  overflow: visible;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--teal-950);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.3;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.cv-tiles-list .wpcf7-list-item label,
.cv-tiles-list .cv-tile {
  flex-direction: row;
  justify-content: flex-start;
  text-align: left;
  min-height: 76px;
  padding: 0.85rem 1rem;
  gap: 0.8rem;
}
.cv-tiles .wpcf7-list-item label:hover,
.cv-tiles .cv-tile:hover {
  border-color: var(--teal-300);
  background: var(--teal-50);
}
.cv-tiles .wpcf7-list-item label:has(input:checked),
.cv-tiles .wpcf7-list-item.is-selected label,
.cv-tiles .cv-tile.is-selected,
.cv-tiles .cv-tile:has(input:checked) {
  border-color: var(--teal-600);
  background: var(--teal-50);
  box-shadow: 0 0 0 3px var(--teal-100);
}
.cv-tiles .wpcf7-list-item label:focus-within,
.cv-tiles .cv-tile:focus-within {
  outline: 3px solid var(--teal-600);
  outline-offset: 2px;
}
.cv-tiles .wpcf7-list-item input,
.cv-tiles .cv-tile input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.cv-tiles .wpcf7-list-item-label,
.form-card .cv-tiles .wpcf7-list-item-label {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  text-align: inherit;
  font-weight: 650;
  font-size: inherit;
  line-height: 1.3;
  color: inherit;
  overflow: visible;
  overflow-wrap: break-word;
}
.cv-tiles-list .wpcf7-list-item-label,
.form-card .cv-tiles-list .wpcf7-list-item-label {
  width: auto;
}
.cv-tile-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  overflow: visible;
  color: var(--teal-600);
}
.cv-tiles .wpcf7-list-item label:has(input:checked) .cv-tile-icon,
.cv-tiles .cv-tile:has(input:checked) .cv-tile-icon {
  color: var(--teal-700);
}
@media (max-width: 340px) {
  .cv-tiles .wpcf7-radio,
  .cv-tiles .wpcf7-checkbox,
  .cv-tiles .cv-tiles-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Contact labels: keep "PLZ *" (and other "Label *") on one line.
   The global form-card label rule is flex-direction:column, which put
   the required asterisk on its own line. */
.form-card .cv-wizard .field label,
.form-card .cv-wizard .cv-contact label {
  display: block;
  flex-direction: unset;
  align-items: unset;
  gap: 0;
}
.form-card .cv-wizard .field .req,
.form-card .cv-wizard .cv-contact .req {
  display: inline;
}
.form-card .cv-wizard .field .wpcf7-form-control-wrap,
.form-card .cv-wizard .cv-contact .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
}
.form-card .cv-wizard .wpcf7-acceptance label,
.form-card .cv-wizard .consent {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.65rem;
}

.cv-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}
.cv-contact .field-full,
.cv-contact .cv-trust,
.cv-contact .form-actions,
.cv-contact .wpcf7-acceptance,
.cv-contact .consent {
  grid-column: 1 / -1;
}
.cv-contact .wpcf7-acceptance,
.cv-contact .consent {
  margin: 0.15rem 0 0;
}
.cv-contact textarea { min-height: 88px; }
.cv-submit,
.cv-contact .wpcf7-submit,
.form-card .cv-wizard .wpcf7-submit {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  text-align: center;
  font-size: 1.05rem;
  padding: 0.95rem 1.15rem;
}
.cv-trust {
  margin: 0.35rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.cv-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.15rem;
}
.cv-nav .cv-back,
.cv-nav .cv-next {
  min-width: 7.5rem;
}
.cv-nav .cv-back[hidden],
.cv-nav .cv-next[hidden] {
  display: none !important;
}
.cv-nav .cv-next { margin-left: auto; }

.cv-wizard.is-complete .cv-progress,
.cv-wizard.is-complete .cv-kicker,
.cv-wizard.is-complete .cv-step,
.cv-wizard.is-complete .cv-nav,
.cv-wizard.is-complete .wpcf7-response-output {
  display: none !important;
}
.cv-success {
  display: none;
  text-align: center;
  padding: 1.5rem 0.25rem 0.5rem;
}
.cv-wizard.is-complete .cv-success,
.cv-success.is-visible {
  display: block;
}
.cv-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.cv-success-icon svg { width: 36px; height: 36px; }
.cv-success h3 {
  margin: 0 0 0.55rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--teal-950);
}
.cv-success p {
  margin: 0 auto;
  max-width: 28ch;
  color: var(--ink-soft);
}

.cv-step.is-enter-forward {
  animation: cvStepIn 0.35s ease;
}
.cv-step.is-enter-back {
  animation: cvStepInBack 0.35s ease;
}
@keyframes cvStepIn {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes cvStepInBack {
  from { opacity: 0; transform: translateX(-18px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
  .cv-contact { grid-template-columns: 1fr; }
  .cv-step legend { font-size: 1.25rem; }
  .form-card .cv-wizard { margin: 0; }
  .cv-tiles .wpcf7-list-item label,
  .cv-tiles .cv-tile {
    min-height: 76px;
    padding: 0.7rem 0.55rem;
  }
  .cv-tiles-list .wpcf7-list-item label,
  .cv-tiles-list .cv-tile {
    min-height: 72px;
    padding: 0.7rem 0.85rem;
  }
}
/* Nav stays in normal flow under the tiles so it cannot overlap or
   fade-mask the last row (the previous sticky + gradient did that
   on iPhone Safari, especially with the bottom sticky CTA). */
.cv-nav {
  position: static;
  background: none;
}
@media (max-width: 900px) {
  body.has-sticky-cta .form-card {
    margin-bottom: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cv-step.is-enter-forward,
  .cv-step.is-enter-back { animation: none; }
  .cv-progress-fill { transition: none; }
}


/* ===== Photo heroes (background image + teal/mint overlay) ===== */
.has-hero-photo {
  position: relative;
  isolation: isolate;
  overflow: visible;
  background: var(--teal-800);
  border-bottom: 0;
  color: #fff;
}
.has-hero-photo .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.has-hero-photo .hero-bg img {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  object-position: var(--hero-pos, center 32%);
}
.has-hero-photo .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 48, 50, 0.28) 0%, transparent 55%),
    linear-gradient(120deg, rgba(10, 106, 108, 0.88), rgba(15, 139, 141, 0.70) 55%, rgba(92, 201, 167, 0.45));
}
.has-hero-photo > .wrap,
.has-hero-photo .hero-grid,
.has-hero-photo .landing-hero-grid {
  position: relative;
  z-index: 1;
}
.has-hero-photo h1,
.has-hero-photo .hero h1,
.has-hero-photo.landing-hero h1,
.has-hero-photo.page-hero h1 {
  color: #fff;
  text-shadow: 0 1px 2px rgba(7, 48, 50, 0.25);
}
.has-hero-photo .lead,
.has-hero-photo.page-hero .lead,
.has-hero-photo.landing-hero .lead {
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 2px rgba(7, 48, 50, 0.2);
}
.has-hero-photo .eyebrow {
  color: #e3f6ef;
}
.has-hero-photo .eyebrow-dot {
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22);
}
.has-hero-photo .trust li {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.has-hero-photo .trust svg {
  color: #fff;
}
.has-hero-photo .hero-actions .btn-ghost,
.has-hero-photo .landing-cta-row .btn-ghost,
.has-hero-photo .hero-actions a.btn-ghost,
.has-hero-photo .landing-cta-row a.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
}
.has-hero-photo .hero-actions .btn-ghost:hover,
.has-hero-photo .landing-cta-row .btn-ghost:hover,
.has-hero-photo .hero-actions a.btn-ghost:hover,
.has-hero-photo .landing-cta-row a.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: #fff;
}
.has-hero-photo .hero-actions a[href^="tel:"],
.has-hero-photo .landing-cta-row a[href^="tel:"] {
  color: #fff;
}
.has-hero-photo .hero-actions a[href^="tel:"]:hover,
.has-hero-photo .landing-cta-row a[href^="tel:"]:hover {
  color: #e3f6ef;
}
.has-hero-photo .crumb,
.has-hero-photo .crumb a {
  color: #e3f6ef;
}
.has-hero-photo .crumb a:hover {
  color: #fff;
}
.has-hero-photo .form-card {
  box-shadow: 0 10px 40px rgba(7, 48, 50, 0.22), var(--shadow-soft);
}
.has-hero-photo .hero-card {
  box-shadow: 0 10px 40px rgba(7, 48, 50, 0.22), var(--shadow-soft);
}

.page-hero--legal {
  padding: 2.15rem 0 2.75rem;
}
.page-hero--legal h1 { margin-bottom: 0; }
.legal .page-hero--legal + .wrap {
  position: relative;
  z-index: 2;
  margin-top: -1.35rem;
  padding-bottom: 3.5rem;
}
.legal .page-hero--legal + .wrap .legal-card {
  margin-top: 0;
}

@media (max-width: 900px) {
  .has-hero-photo .hero-bg img {
    object-position: var(--hero-pos-mobile, var(--hero-pos, center 28%));
  }
  .has-hero-photo .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(7, 48, 50, 0.22) 0%, transparent 45%),
      linear-gradient(120deg, rgba(10, 106, 108, 0.90), rgba(15, 139, 141, 0.78) 55%, rgba(15, 139, 141, 0.68));
  }
  .legal .page-hero--legal + .wrap {
    margin-top: -1rem;
  }
  .has-hero-photo.landing-hero {
    padding-bottom: 2.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-hero-photo .hero-bg img { /* no Ken Burns or motion */ }
}


/* ===== Entlastungsbetrag guide + thank-you page ===== */
.guide-note {
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
  max-width: 46rem;
}
.cards-3-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.example-card .example-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.35rem 0 1rem;
}
.example-table th,
.example-table td {
  text-align: left;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.example-table th {
  font-weight: 550;
  padding-right: 1rem;
}
.example-table td {
  font-weight: 700;
  color: var(--teal-950);
  text-align: right;
  white-space: nowrap;
}
.example-card p:last-child { margin-bottom: 0; }
.cv-visually-hidden,
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.steps-on-paper {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.steps-on-paper .step {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.steps-on-paper .step h3 { color: var(--teal-950); }
.steps-on-paper .step p { color: var(--ink-soft); }

.thanks-hero { padding-bottom: 3rem; }
.thanks-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 2rem;
  align-items: start;
  padding: 3rem 0 4rem;
}
.thanks-card h2 {
  font-family: var(--serif);
  font-size: 1.55rem;
  margin: 0 0 0.65rem;
  color: var(--teal-950);
}
.thanks-links {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.thanks-links a { font-weight: 650; }
.pillar-extra { margin: 0.85rem 0 0; }
.pillar-extra a { font-weight: 650; }

@media (max-width: 900px) {
  .cards-3-two { grid-template-columns: 1fr; }
  .steps-on-paper,
  .thanks-grid { grid-template-columns: 1fr; }
  .thanks-grid { padding: 2rem 0 3.5rem; }
}
