/* Therapiepraxis Hirthe — shared design system */

:root {
  --ink:        #14202a;
  --ink-soft:   #2c3a44;
  --muted:      #6e6a64;
  --line:       #e6dfd2;
  --paper:      #f6f1e8;
  --paper-warm: #ede4d2;
  --card:       #ffffff;
  --brand:      #c41e1e;
  --brand-deep: #7d1414;
  --brand-soft: #f1cfcf;
  --accent:     #a04e2e;
  --accent-soft:#e2b699;

  --radius-sm: 6px;
  --radius:    14px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(20,32,42,.04), 0 4px 12px rgba(20,32,42,.04);
  --shadow:    0 12px 40px -12px rgba(20,32,42,.18);

  --container: 1320px;
  --pad-x: clamp(20px, 4vw, 64px);
  --gap-sect: clamp(80px, 10vw, 160px);

  --serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --sans:  "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono:  "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
.display { font-size: clamp(3.2rem, 7.5vw, 7.5rem); line-height: 0.95; letter-spacing: -0.025em; }
.h1 { font-size: clamp(2.6rem, 5.5vw, 5.5rem); line-height: 1; }
.h2 { font-size: clamp(2rem, 3.6vw, 3.6rem); line-height: 1.04; }
.h3 { font-size: clamp(1.4rem, 1.8vw, 1.9rem); line-height: 1.15; }
.italic { font-style: italic; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 1px; background: currentColor; opacity: .6; }

.lead {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
  text-wrap: pretty;
}
p { margin: 0 0 1em; text-wrap: pretty; }

.wrap { max-width: var(--container); margin: 0 auto; padding-inline: var(--pad-x); }
.wrap-narrow { max-width: 920px; margin: 0 auto; padding-inline: var(--pad-x); }
section { padding-block: var(--gap-sect); }
section.tight { padding-block: clamp(48px, 6vw, 96px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-family: var(--sans); font-weight: 500; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn::after { content: ""; }
.btn--icon::after { content: "→"; font-size: 18px; transition: transform .2s ease; }
.btn--icon:hover::after { transform: translateX(3px); }

/* Header */
.topbar {
  background: var(--brand-deep);
  color: var(--paper-warm);
  font-size: 13px; padding: 9px var(--pad-x);
  display: flex; justify-content: center; align-items: center; gap: 18px;
  white-space: nowrap;
  overflow: hidden;
}
.topbar > * { flex: 0 0 auto; }
@media (max-width: 980px) { .topbar .hide-md { display: none; } }
@media (max-width: 640px) { .topbar .hide-sm { display: none; } }
.topbar a { text-decoration: underline; text-underline-offset: 3px; }
.topbar .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent-soft); }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
}
.site-header .row {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 18px; gap: 24px;
}
.brand-mark { display: flex; align-items: center; gap: 12px; }
.brand-mark img.logo {
  display: block;
  height: 38px;
  width: auto;
}
.brand-mark .glyph {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--brand); color: var(--paper);
  border-radius: 50%;
  font-family: var(--serif); font-size: 24px; line-height: 1;
  padding-bottom: 2px;
}
.brand-mark .word { font-family: var(--serif); font-size: 24px; line-height: 1; }
.brand-mark .sub {
  display: block; font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  margin-top: 4px;
}
/* Footer logo — cream tinted via filter so it reads on the dark background */
.site-footer .brand-mark img.logo {
  filter: brightness(0) saturate(100%) invert(94%) sepia(8%) saturate(280%) hue-rotate(343deg) brightness(101%) contrast(94%);
  height: 36px;
  opacity: .9;
}

.nav { display: flex; align-items: center; gap: 4px; font-size: 15px; }
.nav a {
  padding: 10px 14px; border-radius: 999px;
  color: var(--ink-soft);
  transition: background .2s ease, color .2s ease;
}
.nav a:hover, .nav a.active {
  background: color-mix(in oklab, var(--ink) 6%, transparent);
  color: var(--ink);
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.phone-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 13px; color: var(--ink-soft);
  white-space: nowrap;
}
.phone-pill::before {
  content: ""; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--praxis-status-color, #4caf50);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--praxis-status-color, #4caf50) 25%, transparent);
  transition: background .3s ease, box-shadow .3s ease;
}
@media (max-width: 1080px) { .nav { display: none; } .phone-pill .label { display: none; } }

/* Hero */
.hero { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 80px); }
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  line-height: 0.98; letter-spacing: -0.025em;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .meta {
  display: flex; flex-wrap: wrap; gap: 28px 36px;
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero .meta-item .k {
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 4px;
}
.hero .meta-item .v {
  font-family: var(--serif); font-size: 22px; line-height: 1.1;
}

.hero-image {
  position: relative; aspect-ratio: 3/2; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--paper-warm);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-image .badge {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--paper); color: var(--ink);
  padding: 12px 18px 13px; border-radius: 999px;
  font-size: 13px;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-sm);
}
.hero-image .badge .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent); position: relative;
}
.hero-image .badge .pulse::after {
  content: ""; position: absolute; inset: -4px;
  border-radius: 50%; border: 1px solid var(--accent);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}
.hero-image .stamp {
  position: absolute; right: -16px; bottom: 28px;
  background: var(--accent); color: var(--paper);
  padding: 18px 22px; border-radius: var(--radius);
  font-family: var(--serif); font-size: 18px; line-height: 1.1;
  max-width: 220px; transform: rotate(-3deg);
  box-shadow: var(--shadow);
}
.hero-image .stamp .big { display: block; font-size: 36px; line-height: 1; margin-bottom: 4px; }
.hero-cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

/* Two-column hero: image left, text right */
.hero-split {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-text { }
.hero-text h1 { margin-top: 20px; }
.hero-text h1 em { color: var(--accent); font-style: italic; }
.hero-text .lead { margin-top: 22px; max-width: 54ch; color: var(--ink-soft); }

/* Marquee */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0; background: var(--paper); overflow: hidden;
}
.strip-inner {
  display: flex; gap: 56px; align-items: center;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px); line-height: 1;
  color: var(--ink-soft);
  animation: marquee 38s linear infinite;
  width: max-content;
}
.strip-inner .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); display: inline-block;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Split */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 80px); align-items: center;
}
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
}
.fig {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 4/5; background: var(--paper-warm);
}
.fig img { width: 100%; height: 100%; object-fit: cover; }
.fig.tall { aspect-ratio: 3/4; }
.fig.wide { aspect-ratio: 4/3; }
.fig.square { aspect-ratio: 1/1; }

/* Leistungen list */
.leistungen-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.leistung-row {
  display: grid;
  grid-template-columns: 110px 1.1fr 1.8fr 180px auto;
  align-items: center;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .25s ease, padding-inline .25s ease;
}
.leistung-row:hover {
  background: color-mix(in oklab, var(--accent-soft) 22%, transparent);
  padding-inline: 16px;
}
.leistung-row .num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.leistung-row .title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  line-height: 1.05;
}
.leistung-row .desc { color: var(--ink-soft); font-size: 15px; max-width: 50ch; }
.leistung-row .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.leistung-row .tag {
  font-size: 11px; padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--paper);
}
.leistung-row .arrow {
  font-family: var(--serif); font-size: 28px;
  color: var(--ink);
  transition: transform .25s ease;
}
.leistung-row:hover .arrow { transform: translateX(8px); }
@media (max-width: 900px) {
  .leistung-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .leistung-row .arrow { display: none; }
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(20px, 2.4vw, 36px);
}
.tcard { position: relative; }
.tcard .portrait {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-warm);
}
.tcard .portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.tcard:hover .portrait img { transform: scale(1.04); }
.tcard .role-badge {
  position: absolute; bottom: 12px; left: 12px;
  background: var(--paper);
  font-size: 11px; padding: 6px 10px;
  border-radius: 999px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.tcard .name {
  font-family: var(--serif); font-size: 22px; line-height: 1.1;
  margin-top: 14px;
}
.tcard .name em { font-style: italic; color: var(--muted); font-size: 14px; display: block; margin-top: 2px; font-family: var(--sans); letter-spacing: 0.02em; }

/* Info-grid (Kassen, Öffnungszeiten) */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-grid--two { grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .info-grid--two { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; } }
.info-card--compact { padding: 28px; }
@media (max-width: 640px) { .info-card--compact { padding: 22px 20px; } }
.info-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  min-height: 100%;
}
.info-card .ico {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  margin-bottom: 24px;
}
.info-card h3 { font-size: 28px; margin-bottom: 14px; }
.info-card .rows { margin-top: 10px; }
.info-card .row-i {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.info-card .row-i:first-child { border-top: 0; }
.info-card .row-i .day { color: var(--muted); white-space: nowrap; }
.info-card .row-i .time { font-family: var(--mono); font-size: 13px; color: var(--ink); white-space: nowrap; text-align: right; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  cursor: pointer;
}
.faq-item summary {
  display: flex; justify-content: space-between; gap: 24px;
  align-items: flex-start;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.15;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 28px; line-height: 1;
  color: var(--brand);
  font-weight: 300;
  transition: transform .25s ease;
  flex: 0 0 auto;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .body {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 70ch;
}

/* CTA section */
.cta-band {
  background: var(--brand-deep);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 88px);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 60%, transparent) 0%, transparent 70%);
  opacity: .35;
}
.cta-band h2 { color: var(--paper); }
.cta-band .lead { color: color-mix(in oklab, var(--paper) 82%, var(--brand-deep)); }
.cta-band .btn--ghost { color: var(--paper); border-color: color-mix(in oklab, var(--paper) 55%, transparent); }
.cta-band .btn--ghost:hover { background: var(--paper); color: var(--brand-deep); }
.cta-band .btn--primary { background: var(--paper); color: var(--brand-deep); }
.cta-band .btn--primary:hover { background: #fff; color: var(--brand-deep); }

/* Footer */
.site-footer {
  background: var(--brand-deep);
  color: color-mix(in oklab, var(--paper) 80%, var(--brand-deep));
  padding: clamp(64px, 8vw, 120px) 0 32px;
}
.site-footer h3 { color: var(--paper); font-size: 14px; font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 18px; }
.site-footer a { color: color-mix(in oklab, var(--paper) 85%, var(--brand-deep)); }
.site-footer a:hover { color: var(--paper); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid color-mix(in oklab, var(--paper) 16%, var(--brand-deep));
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  font-size: 13px;
  color: color-mix(in oklab, var(--paper) 60%, var(--brand-deep));
}
.footer-bottom .word-mark,
.site-footer .word-mark {
  font-family: var(--serif);
  font-size: clamp(80px, 16vw, 220px);
  line-height: 0.9;
  color: color-mix(in oklab, var(--paper) 14%, var(--brand-deep));
  letter-spacing: -0.04em;
  text-align: center;
  margin-top: 48px;
  user-select: none;
}

/* Subpage hero */
.page-hero { padding-top: clamp(60px, 7vw, 120px); padding-bottom: clamp(40px, 5vw, 80px); }
.page-hero .crumbs {
  font-family: var(--mono); font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.page-hero .crumbs a:hover { color: var(--ink); }
.page-hero h1 {
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.95; letter-spacing: -0.025em;
}
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero .intro { margin-top: 28px; max-width: 60ch; }

/* Contact */
.form-block { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label {
  font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--card);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .field-row { grid-template-columns: 1fr; } }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); }
.consent input { margin-top: 4px; }

/* Sticky service nav (Leistungen page) */
.svc-sticky {
  position: sticky; top: 80px;
  align-self: start;
  display: grid; gap: 8px;
}
.svc-sticky a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--serif); font-size: 22px;
  transition: background .2s ease, border-color .2s ease;
}
.svc-sticky a:hover, .svc-sticky a.active {
  background: var(--brand);
  color: var(--paper);
  border-color: var(--brand);
}
.svc-sticky a span { font-family: var(--mono); font-size: 12px; opacity: .7; }

.svc-detail { padding-top: 24px; }
.svc-detail h2 { font-size: clamp(2.4rem, 4.5vw, 4.5rem); margin-bottom: 18px; }
.svc-detail h2 em { font-style: italic; color: var(--accent); }
.svc-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 4vw, 64px);
  margin-top: 28px;
}
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.svc-bullets li {
  padding-left: 28px;
  position: relative;
  color: var(--ink-soft);
}
.svc-bullets li::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  left: 6px; top: 9px;
}
.svc-detail + .svc-detail { margin-top: 96px; padding-top: 96px; border-top: 1px solid var(--line); }

/* Map placeholder */
.map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--brand-deep);
  color: var(--paper);
  position: relative;
  aspect-ratio: 16/9;
  display: grid; place-items: center;
}
.map svg { width: 100%; height: 100%; opacity: .6; }
.map .pin {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -100%);
  background: var(--accent);
  color: var(--paper);
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  display: inline-flex; gap: 8px; align-items: center;
  box-shadow: var(--shadow);
}
.map .pin::after {
  content: "";
  position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid var(--accent);
}

/* Stat row */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
}
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat .n {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  line-height: 1;
  color: var(--brand);
}
.stat .n em { font-style: italic; color: var(--accent); }
.stat .l {
  font-size: 13px; color: var(--muted);
  margin-top: 8px; max-width: 22ch;
}

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(32px, 4vw, 64px);
}
.section-head .left { max-width: 36ch; }
@media (max-width: 800px) { .section-head { flex-direction: column; align-items: flex-start; } }


/* ============================================
   Mobile (≤ 640px) — phone-specific tweaks
   ============================================ */
@media (max-width: 640px) {
  :root {
    --gap-sect: 64px;
    --pad-x: 20px;
    --radius-lg: 22px;
  }

  body { font-size: 16px; }

  /* Header — smaller logo, tighter CTA, no phone pill */
  .site-header .row { padding-block: 12px; gap: 12px; }
  .brand-mark img.logo { height: 30px; }
  .nav-actions .phone-pill { display: none; }
  .site-header .btn { padding: 10px 16px; font-size: 13px; gap: 6px; }
  .site-header .btn::after { font-size: 16px; }

  /* Topbar — only phone link is left after hide-sm/hide-md, center it */
  .topbar { padding: 8px 16px; font-size: 12px; gap: 10px; }

  /* Hero */
  .hero { padding-top: 32px; padding-bottom: 32px; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.8rem); line-height: 0.98; }
  .hero .lead { font-size: 1rem; }
  .hero .meta { gap: 18px 28px; margin-top: 28px; padding-top: 22px; }
  .hero .meta-item .v { font-size: 18px; }
  .hero .meta-item .k { font-size: 10px; }
  .hero-cta { margin-top: 28px; gap: 10px; }
  .hero-cta .btn { padding: 13px 18px; font-size: 14px; flex: 1 1 auto; justify-content: center; }
  /* Mobile: stack image above text */
  .hero-split { grid-template-columns: 1fr; gap: 24px; }
  .hero-image .stamp { display: none; }

  /* Marquee — smaller */
  .strip { padding: 16px 0; }
  .strip-inner { font-size: 26px; gap: 32px; }
  .strip-inner .dot { width: 7px; height: 7px; }

  /* Stats */
  .stats { gap: 18px 24px; padding: 28px 0; }
  .stat .n { font-size: 2.4rem; }
  .stat .l { font-size: 12px; }

  /* Section heads */
  .section-head { gap: 18px; margin-bottom: 32px; }

  /* Leistungen-list rows */
  .leistung-row { padding: 22px 0; gap: 6px; }
  .leistung-row .num { font-size: 11px; }
  .leistung-row .title { font-size: 1.7rem; }
  .leistung-row .desc { font-size: 14px; }
  .leistung-row .tags { margin-top: 4px; }
  .leistung-row:hover { padding-inline: 0; }

  /* Team grid */
  .team-grid { gap: 18px; grid-template-columns: 1fr 1fr; }
  .team-grid .tcard .name { font-size: 18px; }
  .team-grid .tcard .name em { font-size: 12px; }
  .team-grid .role-badge { font-size: 10px; padding: 5px 8px; }
  .team-grid-lg { gap: 22px 14px; grid-template-columns: 1fr 1fr; }
  .team-grid-lg .tcard.lg .name { font-size: 17px; }
  .team-grid-lg .tcard.lg .name em { font-size: 11px; }
  .team-grid-lg .tcard.lg .quote { font-size: 14px; padding-left: 10px; margin-top: 10px; }
  .team-grid-lg .tcard.lg .meta { font-size: 10px; }
  .team-grid-lg .join-card {
    padding: 22px;
    grid-column: span 2;
    aspect-ratio: 16/10;
  }
  .team-grid-lg .join-card h3 { font-size: 26px; }

  /* Team filter — horizontal scroll */
  .team-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: calc(-1 * var(--pad-x));
    padding-inline: var(--pad-x);
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .team-filter::-webkit-scrollbar { display: none; }
  .team-filter button { padding: 8px 14px; font-size: 13px; }

  /* Info cards */
  .info-card { padding: 24px 22px; }
  .info-card h3 { font-size: 22px; }
  .info-card .ico { width: 36px; height: 36px; margin-bottom: 16px; }
  .info-grid { gap: 16px; }

  /* FAQ */
  .faq-item { padding: 22px 0; }
  .faq-item summary { font-size: 1.15rem; gap: 16px; }
  .faq-item summary::after { font-size: 22px; }
  .faq-item .body { font-size: 14px; margin-top: 12px; }

  /* CTA Band */
  .cta-band { padding: 36px 28px; border-radius: var(--radius-lg); }
  .cta-band h2 { font-size: 2rem; }
  .cta-band .lead { font-size: 1rem; }
  .cta-band::before { width: 240px; height: 240px; right: -80px; top: -80px; }

  /* Subpage hero */
  .page-hero { padding-top: 32px; padding-bottom: 24px; }
  .page-hero h1 { font-size: clamp(2.6rem, 11vw, 4rem); }
  .page-hero .crumbs { margin-bottom: 18px; font-size: 11px; }
  .page-hero .intro { margin-top: 20px; font-size: 1rem; }

  /* Sticky service nav — becomes horizontal scroll chip-row on mobile */
  .svc-sticky {
    position: relative; top: auto;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    margin-inline: calc(-1 * var(--pad-x));
    padding-inline: var(--pad-x);
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .svc-sticky::-webkit-scrollbar { display: none; }
  .svc-sticky a { padding: 10px 14px; font-size: 16px; }
  .svc-sticky a span { display: none; }

  /* Leistungen service block */
  .svc-block { padding-block: 48px; }
  .svc-detail h2 { font-size: 2.2rem; }
  .svc-grid { gap: 28px; margin-top: 22px; }
  .svc-bullets li { font-size: 14px; padding-left: 22px; }
  .svc-bullets li::before { width: 6px; height: 6px; left: 4px; top: 9px; }

  /* Form */
  .form-card { padding: 24px 20px; }
  .form-card h2 { font-size: 1.8rem; }
  .field input, .field textarea, .field select { padding: 12px 14px; }
  .pill-row label { padding: 8px 12px; font-size: 13px; }

  /* Footer */
  .site-footer { padding-top: 56px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 40px; }
  .footer-bottom {
    flex-direction: column; gap: 10px;
    align-items: flex-start; padding-top: 24px;
    text-align: left;
  }
  .site-footer .word-mark {
    font-size: 25vw;
    margin-top: 28px;
    letter-spacing: -0.05em;
  }

  /* Map / Map-large */
  .map, .map-large { aspect-ratio: 4/3; }
  .map .pin, .map-large .pin { font-size: 12px; padding: 10px 14px; }
  .nearby { grid-template-columns: 1fr 1fr; gap: 12px; }
  .nearby .item { padding: 14px 16px; }

  /* Career grid */
  .career-grid .jobs li { grid-template-columns: 1fr; gap: 8px; font-size: 1.1rem; padding: 18px 0; }
  .career-grid .jobs li .when { font-size: 12px; }
  .career-grid .jobs li .ap { justify-self: flex-start; }
}

/* ============================================
   Narrow tablet (641–900px) — small adjustments
   ============================================ */
@media (max-width: 900px) and (min-width: 641px) {
  .hero h1 { font-size: clamp(3rem, 8vw, 5rem); }
  .team-grid-lg .join-card { grid-column: span 1; }
}
