/* ============================================================
   Components: Buttons, Header, Footer, Hero, Cards, …
   ============================================================ */

/* -------------------- BUTTONS -------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid transparent;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); } /* Meridian: Buttons komprimieren 1px beim Druck */
.btn svg { width: 18px; height: 18px; stroke-width: 1.8; }

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
  color: var(--white);
  box-shadow: var(--shadow-teal-lg);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.82);
  color: var(--teal-deep);
  border-color: rgba(0, 162, 184, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: var(--white);
  border-color: var(--teal);
  color: var(--teal-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--teal-tint);
  color: var(--teal-deep);
  border-color: var(--teal-soft);
}

.btn-white {
  background: var(--white);
  color: var(--teal-deep);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  color: var(--teal-deep);
  box-shadow: var(--shadow-lg);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--white);
  color: var(--white);
}

.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 32px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* -------------------- HEADER / NAV -------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(253, 253, 253, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}

.site-header.is-scrolled {
  background: rgba(253, 253, 253, 0.94);
  border-bottom-color: var(--border-soft);
  box-shadow: 0 1px 0 rgba(21, 48, 58, 0.02), 0 8px 24px rgba(21, 48, 58, 0.05);
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--ink);
  text-decoration: none;
}

.nav-logo img,
.nav-logo svg {
  height: 42px;
  width: auto;
  display: block;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.1;
  margin-left: 2px;
}

.nav-logo-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav-logo-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal-deep);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-pills {
  display: flex;
  gap: 2px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  margin: 0 auto;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  white-space:nowrap;
}

.pill {
  padding: 9px 15px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-mid);
  border-radius: var(--radius-pill);
  border: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease);
}

.pill:hover {
  color: var(--teal-deep);
  background: var(--teal-tint);
}

.pill.is-active,
.pill[aria-current="page"] {
  color: var(--white);
  background: var(--gradient-primary);
  box-shadow: 0 6px 14px rgba(0, 162, 184, 0.3);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-phone {
  display: none; /* ausgeschriebene Nummer im Header deaktiviert – nur rundes Icon (Platz) */
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--teal-deep);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color var(--t-fast), background var(--t-fast);
}

.nav-phone:hover {
  border-color: var(--teal-soft);
  background: var(--white);
  color: var(--teal-deep);
}

.nav-phone svg { width: 15px; height: 15px; stroke-width: 1.8; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-soft);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-toggle span {
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease-out),
              opacity var(--t-fast) var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease-out);
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile panel – nimmt die volle restliche Fensterhöhe ein und scrollt darin.
   top wird von nav.js über --nav-h (gemessene Headerhöhe) gesetzt. */
.nav-panel {
  display: none;
  position: fixed;
  /* Liegt im DOM außerhalb von <header>, daher eigener Stacking-Context nötig
     (knapp unter der Header-Leiste, damit der Schließen-Button klickbar bleibt). */
  z-index: calc(var(--z-nav) - 1);
  left: 0;
  right: 0;
  top: var(--nav-h, 64px);
  /* Volle Resthöhe unter dem Header (dvh fängt die mobile Adressleiste ab).
     Das Panel liegt im DOM außerhalb von <header>, damit dessen backdrop-filter
     keinen Containing-Block bildet, der die fixe Höhe kollabieren ließe. */
  height: calc(100dvh - var(--nav-h, 64px));
  bottom: auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  /* großzügiges padding-bottom, damit der letzte Button gut erscrollt werden kann */
  padding: 10px 0 max(96px, calc(env(safe-area-inset-bottom) + 56px));
  border-top: 1px solid var(--border-soft);
  background: rgba(253, 253, 253, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-panel.is-open {
  display: block;
}

.nav-panel-list a {
  min-height: 44px;
}

.nav-panel-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.nav-panel-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--border-soft);
}

.nav-panel-list a[aria-current="page"] {
  color: var(--teal-deep);
}

.nav-panel-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Wien chip (cross-brand link) */
.nav-wien-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-mid);
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}

.nav-wien-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warm);
}

.nav-wien-chip:hover {
  color: var(--teal-deep);
  border-color: var(--teal-soft);
  background: var(--teal-tint);
}

/* Standort-Chip (z. B. Hub) ab ~1340px ausblenden, um Platz zu schaffen.
   (Die ausgeschriebene Telefonnummer ist generell deaktiviert – nur rundes Icon.) */
@media (max-width: 1340px) {
  .nav-wien-chip { display: none; }
}

@media (max-width: 1240px) {
  .nav-pills { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav-cta .btn.btn-primary.nav-cta-mobile-keep { display: inline-flex; }
  /* Telefon-Button, Termin-Button und Menü-Toggle auf gleiche Höhe (42px) */
  .nav-phone-circle { width: 42px; height: 42px; flex: 0 0 42px; }
  .nav-cta .btn.nav-cta-mobile-keep { height: 42px; padding-top: 0; padding-bottom: 0; }
}

@media (max-width: 640px) {
  .nav-bar { padding: 8px 0; }
  .nav-logo img, .nav-logo svg { height: 48px; }
  .nav-logo-text { display: none; }
  .nav-cta .btn { display: none; }
}

/* -------------------- HERO -------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 100px) 0 clamp(72px, 8vw, 120px);
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 162, 184, 0.16), transparent 38%),
    radial-gradient(circle at 92% 20%, rgba(232, 198, 111, 0.14), transparent 32%),
    linear-gradient(180deg, #FDFDFD 0%, #F2F8FA 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  margin: 0 0 24px;
}

.hero-content .lead {
  margin: 0 0 32px;
  max-width: 58ch;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mid);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-primary);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
}

.hero-image {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 640px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--teal-tint);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-chip {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.96);
  padding: 14px 18px;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(6px);
}

.hero-image-chip-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-image-chip-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-mid);
  line-height: 1.3;
  max-width: 130px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(48px);
}

.hero-orb--teal {
  width: 320px;
  height: 320px;
  background: rgba(0, 162, 184, 0.22);
  top: -80px;
  right: -60px;
}

.hero-orb--warm {
  width: 260px;
  height: 260px;
  background: rgba(232, 198, 111, 0.26);
  bottom: -50px;
  left: -80px;
}

/* Hero mini (sub-pages) */
.hero--mini {
  padding: clamp(40px, 5vw, 64px) 0 clamp(40px, 5vw, 64px);
  text-align: left;
}

.hero--mini .hero-grid {
  grid-template-columns: 1fr;
  max-width: 720px;
}

.hero--mini h1 {
  font-size: clamp(32px, 4.2vw, 52px);
  margin-bottom: 16px;
}

.hero-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mid);
  margin-bottom: 18px;
}

.hero-breadcrumb a { color: var(--ink-mid); }
.hero-breadcrumb a:hover { color: var(--teal-deep); }
.hero-breadcrumb-sep { opacity: 0.5; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .hero-image { aspect-ratio: 4 / 4.2; }
}

/* -------------------- VALUE BAR -------------------- */

.value-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.value-item-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-tint), var(--warm-tint));
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-item-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

/* -------------------- PILLAR GRID -------------------- */

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 2.5vw, 28px);
}

.pillar {
  position: relative;
  padding: 36px 32px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-soft);
}

.pillar--teal {
  background: linear-gradient(140deg, rgba(205, 233, 238, 0.55) 0%, rgba(238, 247, 249, 0.75) 100%);
  border-color: rgba(0, 162, 184, 0.2);
}

.pillar--teal:hover {
  box-shadow: 0 20px 45px rgba(0, 162, 184, 0.18);
}

.pillar--warm {
  background: linear-gradient(140deg, rgba(247, 234, 196, 0.55) 0%, rgba(253, 246, 227, 0.85) 100%);
  border-color: rgba(232, 198, 111, 0.3);
}

.pillar--warm:hover {
  box-shadow: 0 20px 45px rgba(232, 198, 111, 0.2);
}

.pillar--green {
  background: linear-gradient(140deg, rgba(205, 230, 214, 0.55) 0%, rgba(238, 246, 240, 0.85) 100%);
  border-color: rgba(94, 150, 120, 0.28);
}

.pillar--green:hover {
  box-shadow: 0 20px 45px rgba(94, 150, 120, 0.2);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--teal-tint) 0%, var(--warm-tint) 100%);
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  flex-shrink: 0;
}

.pillar-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.8;
}

.pillar-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* Häkchen-Liste (z. B. Vorteile Samenspende) */
.m-checklist {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: inline-block;
  text-align: left;
}
.m-checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}
.m-checklist li:last-child { margin-bottom: 0; }
.m-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 800;
}

.pillar-tag {
  display: inline-block;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: var(--white);
  border: 1px solid var(--teal-soft);
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.pillar h3 {
  margin: 0 0 12px;
  font-size: clamp(19px, 1.8vw, 22px);
}

.pillar p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
}

.pillar-list {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
}

.pillar-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--ink-mid);
}

.pillar-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient-primary);
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-deep);
}

.pillar-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--t-fast) var(--ease);
}

.pillar-link:hover svg {
  transform: translateX(4px);
}

.pillar-footnote {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  font-size: 12.5px;
  color: var(--ink-soft);
  font-style: normal;
  line-height: 1.5;
}

/* -------------------- TWOTEXT -------------------- */

.twotext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.twotext--image {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.twotext-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 4;
}

.twotext-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 820px) {
  .twotext, .twotext--image { grid-template-columns: 1fr; }
}

/* -------------------- TIMELINE STEPS -------------------- */

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  position: relative;
}

.timeline-step {
  padding: 24px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.timeline-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-soft);
}

.timeline-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  box-shadow: var(--shadow-teal);
  margin-bottom: 14px;
}

.timeline-step img,
.timeline-step-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  display: block;
  object-fit: contain;
  mix-blend-mode:multiply;
}

.timeline-step h4 {
  margin: 0 0 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0;
}

.timeline-step p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-mid);
}

/* Vertical variant */
.timeline-vertical {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  padding-left: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.timeline-vertical-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px 24px 24px 0;
}

.timeline-vertical-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 60px;
  bottom: -16px;
  width: 2px;
  background: linear-gradient(180deg, var(--teal-soft), transparent);
}

.timeline-vertical-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-teal);
  z-index: 2;
}

.timeline-vertical-content h3 {
  margin: 0 0 6px;
  font-size: 19px;
}

.timeline-vertical-content p {
  margin: 0;
  font-size: 15px;
}

/* -------------------- TEAM GRID -------------------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 2.5vw, 28px);
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-soft);
}

.team-card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-tint), var(--warm-tint));
  position: relative;
}

.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-card-body {
  padding: 20px 20px 22px;
}

.team-card-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.2;
}

.team-card-role {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-mid);
  margin: 0 0 12px;
  min-height: 40px;
}

.team-card-flags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.team-card-flags img {
  width: 22px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
  display: block;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Team highlight */
.team-highlight {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.team-highlight-img {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--teal-tint);
}

.team-highlight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-highlight h3 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.2vw, 28px);
}

.team-highlight-role {
  color: var(--teal-deep);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

@media (max-width: 820px) {
  .team-highlight { grid-template-columns: 1fr; }
  .team-highlight-img { max-width: 340px; margin: 0 auto; }
}

/* -------------------- TESTIMONIAL -------------------- */

.testimonial-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 2.5vw, 28px);
}

.testimonial-card {
  position: relative;
  padding: 36px 30px 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 1;
  color: var(--teal);
  opacity: 0.22;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
  color: var(--warm-deep);
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 8px;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-mid);
  margin: 0 0 16px;
}

.testimonial-source {
  font-size: 12.5px;
  color: var(--ink-soft);
  font-weight: 500;
}

/* -------------------- CTA BAND -------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 90px) 0;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(232, 198, 111, 0.3), transparent 50%),
    radial-gradient(circle at 15% 85%, rgba(205, 233, 238, 0.2), transparent 45%),
    linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-deep) 55%, var(--warm-deep) 140%);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.08), transparent 50%);
  pointer-events: none;
}

.cta-band-content {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}

.cta-band h2,
.cta-band .eyebrow {
  color: var(--white);
}

.cta-band h2 {
  margin: 0 0 18px;
}

.cta-band .eyebrow::before {
  background: rgba(255, 255, 255, 0.8);
}

.cta-band .lead {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 32px;
}

.cta-band .btn-group {
  justify-content: center;
}

/* -------------------- CONTACT / MAP -------------------- */

.contact-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: stretch;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
  box-shadow: var(--shadow-md);
  background: var(--teal-tint);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

.contact-data {
  padding: clamp(28px, 3vw, 40px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}

.contact-row-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--teal-tint);
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-row-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.contact-row-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 4px 0 2px;
}

.contact-row-value {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
}

.contact-row-value a {
  color: var(--ink);
}

.contact-row-value a:hover {
  color: var(--teal-deep);
}

@media (max-width: 820px) {
  .contact-block { grid-template-columns: 1fr; }
  .contact-map { min-height: 280px; }
}

/* -------------------- FORM CARD -------------------- */

.form-card {
  padding: clamp(28px, 4vw, 44px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.form-card h2 {
  margin: 0 0 10px;
}

.form-card-lead {
  color: var(--ink-mid);
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-mid);
  letter-spacing: 0.02em;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 15px;
  color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  font-family: inherit;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 162, 184, 0.12);
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-note {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 16px 0 20px;
}

.form-submit {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-submit { justify-content: stretch; }
  .form-submit .btn { width: 100%; }
}

/* -------------------- FAQ -------------------- */

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.faq-item[open] {
  border-color: var(--teal-soft);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--teal-tint);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300606E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  transition: transform var(--t-base) var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item-body {
  padding: 0 24px 22px;
  color: var(--ink-mid);
  line-height: 1.65;
  font-size: 15px;
}

.faq-item-body p:last-child { margin-bottom: 0; }

.faq-item-body ul { margin: 0 0 12px; }

.faq-item[open] .faq-item-body {
  animation: faq-body-in var(--t-base) var(--ease-out) both;
}

@keyframes faq-body-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* -------------------- STATS -------------------- */

.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 2vw, 28px);
  padding: clamp(28px, 4vw, 44px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

@media (max-width:767px) {

.stats-row .stat {
  flex: 1 1 40%;
  min-width: 0;
}

}

.stat {
  padding: 12px;
  flex: 1 1 0;
  min-width: 150px;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 600;
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mid);
  letter-spacing: 0.02em;
}

/* -------------------- GLASS CALLOUT -------------------- */

.callout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  background: var(--white);
  border: 2px solid var(--teal-soft);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 162, 184, 0.08);
}

.callout::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 162, 184, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.callout-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-teal);
}

.callout-icon svg { width: 24px; height: 24px; }

.callout-body h3 {
  margin: 0 0 4px;
  font-size: 19px;
}

.callout-body p {
  margin: 0;
  color: var(--ink-mid);
  font-size: 14.5px;
}

.callout .btn {
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .callout { grid-template-columns: auto 1fr; }
  .callout .btn { grid-column: 1 / -1; }
}

/* -------------------- FOOTER -------------------- */

.site-footer {
  position: relative;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 72px 0 0;
  margin-top: 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-grid--wide {
  grid-template-columns: 1.2fr 1fr 1fr 1fr 0.9fr;
  gap: 32px;
}

.footer-brand img,
.footer-brand svg {
  height: 80px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer-brand p { max-width: 52ch; }

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 18px;
}

.footer-brand .footer-award {
  height: 104px;
  margin: 4px 0 0;
  opacity: 0.92;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
  color: inherit;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14.5px;
  transition: color var(--t-fast);
}

.footer-col a:hover { color: var(--white); }

.footer-locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-location {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: background var(--t-fast), border-color var(--t-fast);
}

.footer-location:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-location-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}

.footer-location-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-location-addr {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.footer-location a {
  text-decoration: none;
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
  margin-left: 18px;
}

.footer-bottom a:hover { color: var(--white); }

@media (max-width: 900px) {
  .footer-grid,
  .footer-grid--wide {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* -------------------- INFOABEND TERMIN-CARDS -------------------- */

/* Termine einspaltig, volle Breite – je Termin eine Card mit 3-Spalten-Grid. */
.termin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2vw, 24px);
}

.termin-card {
  position: relative;
  display: block;
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--t-base), border-color var(--t-base);
}

.termin-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal-soft);
}

.termin-card.is-online {
  background: linear-gradient(140deg, rgba(247, 234, 196, 0.45) 0%, rgba(253, 246, 227, 0.7) 100%);
  border-color: rgba(232, 198, 111, 0.3);
}

/* 3 Spalten: Termin-Info | Slots | Buchungsformular (immer offen) */
.termin-card__grid {
  display: grid;
  grid-template-columns: minmax(190px, 230px) minmax(0, 1.35fr) minmax(0, 1.05fr);
  column-gap: clamp(22px, 2.8vw, 42px);
  align-items: start;
}

.termin-slots,
.termin-booking {
  border-left: 1px solid var(--border-soft);
  padding-left: clamp(22px, 2.8vw, 42px);
}

.termin-date {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}

.termin-date-day {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--teal-deep);
  line-height: 1;
}

.termin-date-month {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.termin-doc {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.termin-doc-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--teal-tint) 0%, var(--warm-tint) 100%);
  flex-shrink: 0;
}

.termin-doc-fallback {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-tint) 0%, var(--warm-tint) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.termin-doc-name {
  font-weight: 700;
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.3;
}

.termin-doc-role {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.4;
  margin-top: 2px;
}

.termin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.termin-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--teal-tint);
  color: var(--teal-deep);
  border: 1px solid var(--teal-soft);
}

.termin-pill--warm {
  background: var(--warm-tint);
  color: #7A5D1F;
  border-color: var(--warm-soft);
}

.termin-time {
  font-size: 15px;
  font-weight: 600;
  color: #000;
  margin-bottom: 14px;
}

.termin-actions {
  margin-top: auto;
}

.termin-toggle {
  width: 100%;
  justify-content: center;
}

.termin-toggle[aria-expanded="true"] .termin-toggle-icon {
  transform: rotate(180deg);
}

.termin-toggle-icon {
  width: 16px;
  height: 16px;
  transition: transform var(--t-fast);
}

.termin-full {
  margin-top: 14px;
  padding: 14px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 13.5px;
  text-align: center;
}

/* Drawer */

.termin-drawer {
  display: none;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
}

.termin-card.is-open .termin-drawer { display: block; }

.slot-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-mid);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.slot-btn {
  appearance: none;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 6px;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--t-fast);
}

.slot-btn:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
  background: var(--teal-tint);
}

.slot-btn.is-selected {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

.slot-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Bereits gebuchte Slots: sichtbar, aber ausgegraut + durchgestrichen.
   Zeigt Interessenten, dass der Termin schon gefragt ist und nur wenig frei. */
.slot-btn--booked,
.slot-btn--booked:hover {
  color: var(--ink-soft);
  background: var(--bg-soft);
  border-color: var(--border-soft);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  opacity: 0.75;
  cursor: not-allowed;
}

/* Mini-Formular */

.termin-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.termin-form .form-field--full { grid-column: 1 / -1; }

.termin-form .form-field input {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14.5px;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.termin-form .form-field input:focus {
  outline: 0;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 162, 184, 0.12);
}

.termin-form .form-field input.is-invalid {
  border-color: #d96868;
  box-shadow: 0 0 0 4px rgba(217, 104, 104, 0.12);
}

.termin-form .form-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-mid);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.termin-submit {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.termin-status {
  grid-column: 1 / -1;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  display: none;
  line-height: 1.5;
}

.termin-status.is-ok    { display: block; background: #E6F4E9; color: #15613F; border: 1px solid #BFE0C8; }
.termin-status.is-error { display: block; background: #FBE8E8; color: #7A2424; border: 1px solid #ECC0C0; }
.termin-status.is-info  { display: block; background: var(--teal-tint); color: var(--teal-deep); border: 1px solid var(--teal-soft); }

.termin-loading {
  text-align: center;
  color: var(--ink-soft);
  font-size: 14.5px;
  padding: 40px 20px;
}

/* Formular in der schmalen 3. Spalte einspaltig, Button volle Breite */
.termin-booking .termin-form { grid-template-columns: 1fr; gap: 10px; }
.termin-booking .termin-submit { justify-content: stretch; margin-top: 6px; }
.termin-booking .termin-submit .btn { width: 100%; justify-content: center; }

/* Ausgebucht-Hinweis in der Buchungsspalte */
.termin-booking .termin-full { margin: 0; }

/* Tablet/Smartphone: Spalten untereinander, weiterhin alles offen sichtbar */
@media (max-width: 880px) {
  .termin-card__grid { grid-template-columns: 1fr; row-gap: 22px; }
  .termin-slots,
  .termin-booking {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--border-soft);
    padding-top: 22px;
  }
}

@media (max-width: 520px) {
  .termin-form { grid-template-columns: 1fr; }
  .termin-submit { justify-content: stretch; }
  .termin-submit .btn { width: 100%; }
}

/* -------------------- INFOABEND OVERRIDES & FILTER -------------------- */

/* Arzt-Block bleibt im DOM, vorerst nicht angezeigt */
.termin-doc { display: none !important; }

.termin-filter {
  display: flex;
  justify-content: center;
  margin: -8px 0 32px;
}

.termin-filter-pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.termin-filter-pill {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 9px 17px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-mid);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

.termin-filter-pill:hover {
  color: var(--teal-deep);
  background: var(--teal-tint);
}

.termin-filter-pill.is-active {
  color: var(--white);
  background: var(--gradient-primary);
  box-shadow: 0 6px 14px rgba(0, 162, 184, 0.3);
}

.termin-card.is-hidden { display: none !important; }

.termin-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-soft);
  font-size: 14.5px;
  padding: 24px 16px;
}

/* -------------------- M-SECTION / TEXT-MODULES -------------------- */

.m-section {
  position: relative;
}

.m-pt-small  { padding-top: clamp(28px, 4vw, 48px); }
.m-pt-medium { padding-top: clamp(56px, 6vw, 90px); }
.m-pt-large  { padding-top: clamp(80px, 9vw, 130px); }

.m-pb-small  { padding-bottom: clamp(28px, 4vw, 48px); }
.m-pb-medium { padding-bottom: clamp(56px, 6vw, 90px); }
.m-pb-large  { padding-bottom: clamp(80px, 9vw, 130px); }

/* Section background-Variants (zusätzlich zu den bestehenden section--cream etc.) */
.section--soft { background: var(--bg-soft); }
.section--teal { background: var(--teal-tint); }
.section--warm { background: var(--warm-tint); }

/* Container-Erweiterungen für 'width' */
.container-wide  { max-width: var(--max-wide); }

/* -------------------- M-TEXT-COLS (2/3/4 Spalten) -------------------- */

.m-text-cols__grid {
  display: grid;
  gap: clamp(24px, 3vw, 40px);
}

.m-text-cols--2 .m-text-cols__grid {
  grid-template-columns: 1fr 1fr;
}

.m-text-cols--2.m-text-cols--split-33-66 .m-text-cols__grid {
  grid-template-columns: 1fr 2fr;
}

.m-text-cols--2.m-text-cols--split-66-33 .m-text-cols__grid {
  grid-template-columns: 2fr 1fr;
}

.m-text-cols--3 .m-text-cols__grid {
  grid-template-columns: repeat(3, 1fr);
}

.m-text-cols--4 .m-text-cols__grid {
  grid-template-columns: repeat(4, 1fr);
}

.m-text-cols--valign-center .m-text-cols__grid {
  align-items: center;
}

.m-text-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.m-text-col h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.25;
  color: var(--ink);
}

.m-text-col__body {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-mid);
}

.m-text-col__media {
  margin: 0 0 18px;
}

.m-text-col__media img,
.m-text-col__media video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}

/* Freisteller & Logos: ohne Rahmen/Schatten */
.m-text-col__media--plain img,
.m-text-col__media--plain video {
  border-radius: 0;
  box-shadow: none;
}

/* Dunkle Teal-Sektion (z. B. DocFinder-Highlight) */
.section--teal-dark { background: var(--teal-dark); }
.section--teal-dark h1, .section--teal-dark h2, .section--teal-dark h3,
.section--teal-dark h4, .section--teal-dark .m-quote-text { color: var(--white); }
.section--teal-dark p, .section--teal-dark li, .section--teal-dark .m-text-col__body { color: rgba(255, 255, 255, 0.88); }
.section--teal-dark .eyebrow { color: var(--teal-soft); }
.section--teal-dark a:not(.btn) { color: #fff; text-decoration-color: rgba(255,255,255,0.5); }
.section--teal-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.45); }
.section--teal-dark .btn-ghost:hover { background: rgba(255,255,255,0.1); }

.m-text-col .btn-group {
  margin-top: 4px;
}

@media (max-width: 880px) {
  .m-text-cols--3 .m-text-cols__grid,
  .m-text-cols--4 .m-text-cols__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .m-text-cols__grid {
    grid-template-columns: 1fr !important;
  }
}
/* Blog-Karten (Latest, List, Featured, Detail-Related) */

.m-blog-latest,
.m-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 2.5vw, 28px);
}

.m-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.m-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-soft);
}

.m-blog-card__media {
  aspect-ratio: 3 / 2; /* Beitragsfotos 708×472 */
  overflow: hidden;
  background: var(--teal-tint);
}

.m-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.m-blog-card__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.m-blog-card__date {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-mid);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.m-blog-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.3;
  color: var(--ink);
}

.m-blog-card__excerpt {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-mid);
  flex: 1;
}

.m-blog-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-deep);
  margin-top: 8px;
}

/* Featured (große erste Karte) */

.m-blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  margin-bottom: clamp(24px, 3vw, 40px);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.m-blog-featured:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-soft);
}

.m-blog-featured__media {
  background: var(--teal-tint);
}

.m-blog-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.m-blog-featured__body {
  padding: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.m-blog-featured__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.22;
  color: var(--ink);
}

.m-blog-featured__excerpt {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-mid);
}

.m-blog-featured .btn {
  align-self: flex-start;
  margin-top: 8px;
}

@media (max-width: 760px) {
  .m-blog-featured {
    grid-template-columns: 1fr;
  }
}

/* -------------------- HEADER-MEGA OVERRIDES -------------------- */
/* Die Mega-Nav bringt eigenen Teal-Hintergrund mit – die sticky/blur-Logik
   des Standard-.site-header würde damit kollidieren. Deshalb hier neutral. */

.site-header--mega {
  position: relative;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
  box-shadow: none;
}

.site-header--mega.is-scrolled {
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
}

.site-header--mega + main {
  /* die Mega-Nav ist normal im Flow, also kein Top-Padding nötig */
}

/* ================================================================
   SITE-HEADER MEGA – Topline + Mainbar + Mega-Nav
   ================================================================ */

.site-header--mega {
  position: relative;
  background: var(--white);
  border-bottom: 0;
}

.site-header--mega .container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--max);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* --- Topline (Claim · Telefon · Sprachweiche) --- */

.site-topline {
  background: var(--teal-deep);
  color: var(--white);
  font-size: 13px;
  line-height: 1.4;
}

.site-topline .container {
  min-height: 38px;
  justify-content: space-between;
  gap: 12px;
}

.site-topline__claim {
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-topline__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-topline__phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

.site-topline__phone:hover { opacity: 0.85; }

.site-langswitch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.site-langswitch__item {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color var(--t-fast), background var(--t-fast);
}

.site-langswitch__item:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.site-langswitch__item.is-active {
  color: var(--teal-deep);
  background: var(--white);
}

/* --- Main-Bar (Logo · Hotlinks · Burger) --- */

.site-mainbar {
  background: var(--white);
  border-bottom: 1px solid var(--border-soft);
}

.site-mainbar .container {
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--ink);
}

.site-brand__logo {
  height: 80px;
  width: auto;
  display: block;
}

.site-hotlinks {
  display: flex;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  gap: 6px;
}

.site-hotlinks__item a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 9px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
  min-width: 140px;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

.site-hotlinks__item a:hover {
  background: var(--teal-tint);
  border-color: var(--teal-soft);
  transform: translateY(-1px);
}

.site-hotlinks__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-deep);
  line-height: 1.2;
}

.site-hotlinks__sub {
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.3;
  margin-top: 2px;
}

/* --- Site-Burger (Mobile) --- */

.site-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-tint);
  border: 1px solid var(--teal-soft);
  cursor: pointer;
  margin-left: auto;
  position: relative;
}

.site-burger span {
  display: block;
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--teal-deep);
  border-radius: 1px;
  transition: transform var(--t-base), opacity var(--t-fast), top var(--t-base);
}

.site-burger span:nth-child(1) { top: 14px; }
.site-burger span:nth-child(2) { top: 21px; }
.site-burger span:nth-child(3) { top: 28px; }

.site-burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.site-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* --- Nav-Wrap (Container um Mega-Nav) --- */

/* Desktop: die Navi-Leiste klebt beim Scrollen an der Viewport-Oberkante.
   (#navigation liegt außerhalb von <header>, daher nicht auf die Header-Höhe
   begrenzt.) Mobil wird das im Breakpoint unten zum Off-Canvas-Panel. */
.site-nav-wrap {
  position: sticky;
  top: 0;
  z-index: var(--z-nav, 100);
  background: var(--meganav-primary, #00A2B8);
}

/* Schließen-Button im Mobile-Panel (Desktop ausgeblendet) */
.site-nav-close { display: none; }

/* ============================================================
   MOBILE BREAKPOINT für den Mega-Header
   ============================================================ */

@media (max-width: 1023px) {
  .site-topline .container {
    min-height: 34px;
    font-size: 12px;
  }
  .site-topline__claim {
    display: none; /* auf Mobile Platz sparen */
  }
  .site-topline__right {
    width: 100%;
    justify-content: space-between;
  }

  .site-mainbar .container {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .site-brand__logo {
    height: 38px;
  }

  .site-hotlinks {
    display: none; /* Hotlinks landen ins Mobile-Panel */
  }

  .site-burger { display: block; }

  /* Mega-Nav als Off-Canvas-Panel (ein Burger öffnet/schließt alles) */
  .site-nav-wrap {
    position: fixed;
    inset: 0;
    top: 0;
    z-index: var(--z-modal, 1000);
    background: var(--white);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  body.site-nav-open .site-nav-wrap {
    transform: translateX(0);
  }
  body.site-nav-open { overflow: hidden; }

  /* Schließen-Kreuz oben rechts im Panel */
  .site-nav-close {
    display: flex;
    position: fixed;
    top: 12px;
    right: 16px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border-soft);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    z-index: 10001;
  }
}

@media (max-width: 640px) {
  .site-langswitch__item { padding: 3px 7px; font-size: 12px; }
  .site-topline__phone { font-size: 12.5px; }
}

/* ============================================================
   Media-Band – Bild/Video über die volle Breite (modul + footer)
   ============================================================ */
.media-band {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  background: var(--teal-tint);
  aspect-ratio: var(--mb-ratio, 3);
  overflow: hidden;
}

/* DocFinder-Award-Badge über Video/Bild (rechts, vertikal zentriert) */
.media-band-badge {
  position: absolute;
  top: 50%;
  right: clamp(20px, 8vw, 110px);
  transform: translateY(-50%);
  width: clamp(84px, 11vw, 160px);
  height: auto;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 4px 16px rgba(21, 48, 58, 0.35));
}

/* Award-Badge in der Hero-Media-Spalte (rechts oben im Video) */
.hero-award-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  width: clamp(72px, 6.5vw, 100px);
  height: auto;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 4px 14px rgba(21, 48, 58, 0.35));
}

@media (max-width: 720px) {
  .media-band-badge { width: 72px; right: 14px; }
  .hero-award-badge { width: 64px; }
}
.media-band-el {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-band--flush { display: block; }

@media (max-width: 767px) {
  .media-band { aspect-ratio: var(--mb-ratio-m, var(--mb-ratio, 3)); }
}

/* ============================================================
   Floating-CTA – fixierte Buttons unten, erscheinen beim Scrollen
   ============================================================ */
.floating-cta {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: clamp(14px, 3vw, 24px);
  transform: translateX(-50%) translateY(140%);
  z-index: var(--z-float);
  display: none; /* nur < 980px sichtbar (siehe Media-Query unten) */
  gap: 10px;
  padding: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--t-base) var(--ease-out), opacity var(--t-base) var(--ease), visibility var(--t-base) var(--ease);
}
.floating-cta.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}
.floating-cta .btn { box-shadow: none; }

/* Floating-CTA nur auf Mobil/Tablet einblenden */
@media (max-width: 980px) {
  .floating-cta { display: flex; }
}

@media (max-width: 560px) {
  .floating-cta {
    left: 12px;
    right: 12px;
    transform: translateY(140%);
    justify-content: center;
  }
  .floating-cta.is-visible { transform: translateY(0); }
  .floating-cta .btn { flex: 1; justify-content: center; padding-left: 14px; padding-right: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .floating-cta { transition: opacity var(--t-base) var(--ease), visibility var(--t-base) var(--ease); }
}

/* ============================================================
   Header – runder Telefon-Button (nur Smartphone)
   ============================================================ */
.nav-phone-circle { display: inline-flex; } /* immer rundes Telefon-Icon im Header */
.nav-phone-circle {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-teal);
}
.nav-phone-circle svg { width: 19px; height: 19px; }

/* Telefon-Icon einblenden, sobald die ausgeschriebene Nummer ausgeblendet
   wird (steht nach der Basis-Regel .nav-phone-circle{display:none},
   damit diese Media-Query gewinnt). */
@media (max-width: 1340px) {
  .nav-phone-circle { display: inline-flex; }
}

/* ---- Blog-Pagination ---- */
.m-blog-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(36px, 5vw, 56px);
}
.m-blog-pager__num,
.m-blog-pager__arrow {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink-mid);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: border-color var(--t-base) var(--ease), color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.m-blog-pager__num:hover,
.m-blog-pager__arrow:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}
.m-blog-pager__num.is-current {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  cursor: default;
}
.m-blog-pager__gap { color: var(--ink-soft); padding: 0 2px; }

/* Media-Band auf Mobil ausblenden (breite Grafiken, die beschnitten würden) */
@media (max-width: 767px) {
  .media-band--hide-mobile { display: none; }
}

/* === WIF-Icons: Stroke-Draw-Animation (shared/lib/wif-icons.php) === */
.wif-icon { width: 48px; height: 48px; display: block; }
.wif-icon .wi-d { stroke-dasharray: 1.05 1.05; stroke-dashoffset: 1.05; }
.wif-icon.is-inview .wi-d { animation: wif-draw 0.9s var(--ease-out) forwards; }
.wif-icon.is-inview .wi-d:nth-child(2) { animation-delay: 0.18s; }
.wif-icon.is-inview .wi-d:nth-child(3) { animation-delay: 0.36s; }
.wif-icon.is-inview .wi-d:nth-child(4) { animation-delay: 0.54s; }
@keyframes wif-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .wif-icon .wi-d { stroke-dasharray: none; stroke-dashoffset: 0; animation: none !important; }
}

.pillar-grid--center .pillar { align-items: center; text-align: center; }
.pillar-grid--center .pillar-icon { margin-left: auto; margin-right: auto; }

/* Standort-Überschrift mit Pin-Icon (z. B. Kontakt-Spalten) */
.loc-pin { display: inline-flex; align-items: center; gap: 8px; }
.loc-pin .wif-icon { width: 24px; height: 24px; color: var(--teal); flex: 0 0 auto; }
