/* ==========================================================================
   PhysioMarienhölzung – Stylesheet
   Farben und Typografie orientieren sich am bestehenden Auftritt
   (Grün #00824B, Salbei #8ABF99, Lexend Deca + Inter).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design-Tokens
   -------------------------------------------------------------------------- */
:root {
  --brand: #00824b;
  --brand-600: #0a9d5c;
  --brand-700: #006b3e;
  --brand-900: #07351f;

  --sage: #8abf99;
  --sage-100: #eef6f0;
  --sage-200: #dcecdf;
  --sage-300: #c3ddca;

  --ink: #131314;
  --ink-700: #333a36;
  --ink-500: #5c665f;
  --ink-400: #7a847d;

  --paper: #ffffff;
  --cream: #f7faf7;
  --line: rgba(19, 19, 20, 0.09);
  --line-soft: rgba(19, 19, 20, 0.06);

  --font-head: 'Lexend Deca', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 1px 2px rgba(7, 53, 31, 0.06), 0 2px 8px rgba(7, 53, 31, 0.04);
  --shadow-md: 0 8px 24px -8px rgba(7, 53, 31, 0.18), 0 2px 8px rgba(7, 53, 31, 0.06);
  --shadow-lg: 0 28px 60px -24px rgba(7, 53, 31, 0.32);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --container: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   2. Reset & Basis
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-700);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

body.nav-open {
  overflow: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

/* Ausgewogene Zeilenumbrüche nur bei den großen Überschriften. In den schmalen
   Leistungs-Karten führt `balance` sonst zu unnatürlichen Umbrüchen. */
h1, h2 { text-wrap: balance; }

h1 { font-size: clamp(2rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.55rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.375rem); }

p { margin: 0 0 1rem; }

a {
  color: var(--brand-700);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

img, svg { max-width: 100%; display: block; }

ul, ol { margin: 0; padding: 0; list-style: none; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

::selection {
  background: var(--sage-300);
  color: var(--brand-900);
}

:focus-visible {
  outline: 3px solid var(--brand-600);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. Layout-Helfer
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--cream { background: var(--cream); }
.section--sage { background: var(--sage-100); }

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; text-decoration: none; }

.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;
}

/* Lange Inhalte dürfen nicht aus ihren Boxen laufen.
   `min-width: 0` lässt Flex-Kinder schrumpfen, `overflow-wrap: anywhere`
   bricht dann sehr lange Tokens wie E-Mail-Adressen. */
.contact__item > span,
.notice p,
.service-card > div { min-width: 0; }

.contact__item a,
.form-note a,
.legal a { overflow-wrap: anywhere; }

/* --------------------------------------------------------------------------
   4. Kopfzeile / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(7, 53, 31, 0.5);
  background: rgba(255, 255, 255, 0.94);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }

.brand__mark {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--brand-600), var(--brand-700));
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.brand__mark svg { width: 24px; height: 24px; }

.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-top: 3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Nur die echten Navigationslinks – nicht der CTA-Button (.btn) darin,
   sonst überschreibt diese Regel dessen Schriftfarbe. */
.nav__links > a {
  color: var(--ink-700);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-pill);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav__links > a:hover {
  color: var(--brand-700);
  background: var(--sage-100);
  text-decoration: none;
}

.nav__cta { margin-left: 0.5rem; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  place-items: center;
  color: var(--ink);
}
.nav__toggle span {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, background 0.25s ease;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, top 0.25s ease;
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }

.nav-open .nav__toggle span { background: transparent; }
.nav-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  text-align: center;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active { transform: translateY(0); }

.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary:hover { background: var(--brand-700); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--brand-700);
  border-color: rgba(0, 130, 75, 0.28);
}
.btn--ghost:hover { background: var(--sage-100); }

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--brand-700);
}
.btn--light:hover { background: #f0f7f2; }

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.12); }

.btn--lg { padding: 1rem 1.85rem; font-size: 1rem; }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.875rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* --------------------------------------------------------------------------
   6. Typografische Bausteine
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--sage);
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  color: var(--ink-500);
  max-width: 62ch;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head--center .lead { margin-inline: auto; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(110% 90% at 82% 0%, rgba(138, 191, 153, 0.5) 0%, rgba(138, 191, 153, 0) 58%),
    radial-gradient(90% 80% at 0% 100%, rgba(0, 130, 75, 0.14) 0%, rgba(0, 130, 75, 0) 60%),
    var(--cream);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(7, 53, 31, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 6rem);
}

.hero h1 { margin-bottom: 1.1rem; }
.hero h1 em {
  font-style: normal;
  color: var(--brand);
}

.hero__sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1rem, 1.9vw, 1.35rem);
  letter-spacing: 0;
  color: var(--ink-500);
  margin-top: 0.7rem;
}

.hero__actions { margin-top: 2rem; }

.hero__art {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: linear-gradient(160deg, var(--brand-700), var(--brand-900));
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero__art::before {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  right: -110px; top: -110px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(138, 191, 153, 0.55), rgba(138, 191, 153, 0));
}
.hero__art::after {
  content: "";
  position: absolute;
  width: 200px; height: 200px;
  left: -70px; bottom: -80px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
}
.hero__art-inner { position: relative; z-index: 1; }
.hero__art h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.hero__art p { color: rgba(255, 255, 255, 0.82); font-size: 0.98rem; }

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.chip {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  max-width: 100%;
}
.hero__badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #7ee2a8;
  box-shadow: 0 0 0 0 rgba(126, 226, 168, 0.7);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(126, 226, 168, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(126, 226, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(126, 226, 168, 0); }
}

/* --------------------------------------------------------------------------
   9. Über uns
   -------------------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about__panel {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--sage-100), #fff);
  border: 1px solid var(--sage-200);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat span { font-size: 0.86rem; color: var(--ink-500); }

.checklist { display: grid; gap: 0.9rem; margin-top: 1.75rem; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.98rem;
  color: var(--ink-700);
}
.checklist svg {
  width: 22px; height: 22px;
  flex: none;
  margin-top: 2px;
  color: var(--brand);
}

/* --------------------------------------------------------------------------
   10. Leistungen
   -------------------------------------------------------------------------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 1rem;
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage-300);
}
.service-card__icon {
  width: 44px; height: 44px;
  flex: none;
  border-radius: 13px;
  background: var(--sage-100);
  color: var(--brand);
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.service-card:hover .service-card__icon { background: var(--brand); color: #fff; }
.service-card__icon svg { width: 22px; height: 22px; }
.service-card__title {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
  margin: 0.15rem 0 0.25rem;
  line-height: 1.35;
}
.service-card__text { margin: 0; font-size: 0.9rem; color: var(--ink-500); }

/* --------------------------------------------------------------------------
   11. Team
   -------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr));
  gap: 1rem;
}
.person {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.person:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage-300);
}
.person__avatar {
  width: 72px; height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--brand-900);
  background: linear-gradient(150deg, var(--sage-200), var(--sage-100));
  border: 1px solid var(--sage-300);
}
.person__name {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.2;
  margin: 0 0 0.2rem;
}

.team-note {
  margin-top: 2rem;
  text-align: center;
  color: var(--ink-500);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   12. Jobs
   -------------------------------------------------------------------------- */
.jobs {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--brand-700), var(--brand-900));
  color: #fff;
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-lg);
}
.jobs::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  right: -140px; top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(138, 191, 153, 0.5), rgba(138, 191, 153, 0));
}
.jobs__inner { position: relative; z-index: 1; }
.jobs .eyebrow { color: #b8e6c6; }
.jobs .eyebrow::before { background: rgba(184, 230, 198, 0.6); }
.jobs h2 { color: #fff; }
.jobs__lead { color: rgba(255, 255, 255, 0.84); max-width: 60ch; }

.jobs__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  gap: 0.75rem 1.5rem;
  margin: 2rem 0 2.25rem;
}
.jobs__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.92);
}
.jobs__list svg {
  width: 20px; height: 20px;
  flex: none;
  margin-top: 3px;
  color: #7ee2a8;
}

/* --------------------------------------------------------------------------
   13. Kontakt
   -------------------------------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact__list { display: grid; gap: 1rem; margin-top: 1.75rem; }
.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact__icon {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 12px;
  background: var(--sage-100);
  color: var(--brand);
  display: grid;
  place-items: center;
}
.contact__icon svg { width: 20px; height: 20px; }
.contact__item small {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 0.2rem;
}
.contact__item strong,
.contact__item a { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.contact__item a:hover { color: var(--brand-700); }

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
}
.form-card h3 { margin-bottom: 0.35rem; }
.form-card > p { font-size: 0.92rem; color: var(--ink-500); margin-bottom: 1.5rem; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--ink-700);
}
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand-600);
  box-shadow: 0 0 0 4px rgba(10, 157, 92, 0.14);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-400); }

.form-note {
  font-size: 0.82rem;
  color: var(--ink-400);
  margin: 1rem 0 0;
  overflow-wrap: anywhere;
}
.form-note a { color: var(--ink-500); text-decoration: underline; }

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: var(--sage-100); color: var(--brand-900); }
.form-status--err { background: #fdecec; color: #8a1f1f; }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.68);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: 0.94rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.82); }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand__text small { color: var(--sage); }
.footer-about p { max-width: 38ch; }

.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-col ul { display: grid; gap: 0.6rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   15. Rechtstext-Seiten (Impressum / Datenschutz)
   -------------------------------------------------------------------------- */
.page-hero {
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(138, 191, 153, 0.4) 0%, rgba(138, 191, 153, 0) 60%),
    var(--cream);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-400);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--ink-500); }
.page-hero h1 { margin-bottom: 0.5rem; hyphens: auto; -webkit-hyphens: auto; }

.legal {
  max-width: 780px;
  margin-inline: auto;
}
.legal h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  margin-top: 2.5rem;
}
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.08rem; margin-top: 1.75rem; }
.legal p, .legal li { color: var(--ink-700); }
.legal ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: 0.5rem; margin-bottom: 1rem; }
.legal ul li { padding-left: 0.15rem; }
.legal a { word-break: break-word; }

.legal-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-sm);
}

.notice {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: var(--sage-100);
  border: 1px solid var(--sage-200);
  color: var(--brand-900);
  font-size: 0.92rem;
  margin-bottom: 2rem;
}
.notice svg { width: 22px; height: 22px; flex: none; color: var(--brand); margin-top: 1px; }
.notice p { margin: 0; min-width: 0; overflow-wrap: anywhere; }

/* --------------------------------------------------------------------------
   16. Scroll-Reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__badge .dot { animation: none; }
  .btn:hover, .service-card:hover, .person:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   17. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .about { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.5rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-open .nav__links {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    visibility: visible;
  }
  .nav__links > a { padding: 0.85rem 1rem; font-size: 1rem; }
  .nav__cta { margin: 0.5rem 0 0; }
  .nav__cta .btn { width: 100%; }
  .nav__toggle { display: grid; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .brand { font-size: 1rem; gap: 0.55rem; }
  .brand__mark { width: 34px; height: 34px; border-radius: 10px; }
  .brand__mark svg { width: 20px; height: 20px; }
  .brand__text small { display: none; }
  .hero__badge { font-size: 0.76rem; padding: 0.35rem 0.7rem; }
  .hero__sub { font-size: 1rem; }

  /* Leistungen: Beschreibungen bleiben sichtbar, nur etwas kompakter. */
  .service-card { padding: 1.15rem 1.25rem; gap: 0.85rem; }
  .service-card__icon { width: 38px; height: 38px; border-radius: 11px; }
  .service-card__icon svg { width: 19px; height: 19px; }
  .service-card__title { font-size: 0.97rem; }
  .service-card__text { font-size: 0.87rem; }

  /* Team kompakt in zwei Spalten – dauerhaft sichtbar. */
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .person { padding: 1rem 0.7rem; }
  .person__avatar { width: 52px; height: 52px; font-size: 1.05rem; margin-bottom: 0.65rem; }
  .person__name { font-size: 0.9rem; }
}

@media (max-width: 420px) {
  .brand { font-size: 0.95rem; }
  .hero__art { padding: 1.5rem; }
}
