/* Curiva — 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: 42px;
  width: auto;
}
.logo-img-footer {
  height: 100px;
  width: auto;
  max-width: min(100%, 340px);
}
.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; }
.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: 3.5rem 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: 34px; }
  .logo-img-footer { height: 78px; }
  .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);
}
