/* ============================================================
   A-Z Pflege — Subpage styles (simple, consistent)
   ============================================================ */

/* Page hero */
.page-hero {
  padding: 140px 0 60px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.breadcrumbs {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .sep { opacity: 0.4; }
.page-hero h1 { margin-bottom: 16px; max-width: 820px; }
.page-hero .lede { font-size: 19px; color: var(--text-muted); max-width: 680px; }

/* Prose section */
.prose {
  max-width: 780px;
  margin: 0 auto;
  font-size: 17.5px;
  line-height: 1.75;
}
.prose p { margin-bottom: 1.2em; color: var(--text); }
.prose h2 { margin: 1.8em 0 0.6em; font-size: 32px; }
.prose h3 { margin: 1.4em 0 0.5em; font-size: 24px; }
.prose ul, .prose ol { margin: 0 0 1.2em 1.4em; }
.prose li { margin-bottom: 0.4em; }
.prose strong { color: var(--primary); font-weight: 600; }
.prose a { color: var(--primary); border-bottom: 1px solid currentColor; }
.prose blockquote {
  margin: 1.6em 0;
  padding: 20px 24px;
  background: var(--card);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  color: var(--text);
}

/* Card grid generic */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-grid .card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s var(--ease);
}
.card-grid a.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 15px; }

/* Table (Kosten) */
.kosten-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  font-size: 15.5px;
}
.kosten-table thead th {
  background: var(--primary);
  color: var(--text-on-primary);
  text-align: left;
  padding: 16px 20px;
  font-weight: 600;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.kosten-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s var(--ease);
}
.kosten-table tbody tr:last-child td { border-bottom: none; }
.kosten-table tbody tr:hover td { background: var(--primary-soft); }
.kosten-table .pg-num {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--primary);
  font-weight: 600;
}
.kosten-table .euro { font-variant-numeric: tabular-nums; font-weight: 500; }

/* Form */
.form-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
}
.form-step { display: none; }
.form-step.active { display: block; animation: revealUp 0.4s var(--ease); }
.form-step h3 { margin-bottom: 20px; font-size: 26px; }
.form-progress {
  display: flex; gap: 6px; margin-bottom: 32px;
}
.form-progress span {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 999px;
  transition: background 0.3s var(--ease);
}
.form-progress span.done { background: var(--primary); }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.opt-grid .opt {
  padding: 20px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  cursor: pointer;
  font-weight: 500;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), opacity 0.2s var(--ease);
  text-align: left;
}
.opt-grid .opt:hover { border-color: var(--primary); background: var(--primary-soft); }
.opt-grid .opt.selected { background: var(--primary); color: var(--text-on-primary); border-color: var(--primary); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--text); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 16px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  border-radius: 10px;
  color: var(--text);
  transition: border 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--primary);
}
.form-nav { display: flex; justify-content: space-between; margin-top: 24px; gap: 12px; flex-wrap: wrap; }
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success .big-check {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-on-primary);
  display: grid; place-items: center;
  margin: 0 auto 24px;
}

/* Blog list */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.blog-cover {
  aspect-ratio: 16 / 10;
  background: linear-gradient(155deg, #D4B798, #9C7E5F);
  position: relative;
}
.blog-cover::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 24px, rgba(43, 36, 32, 0.04) 24px 26px);
}
.blog-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card .cat {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}
.blog-card h3 { font-size: 20px; margin-bottom: 10px; }
.blog-card p { font-size: 14.5px; color: var(--text-muted); flex: 1; }
.blog-card .meta {
  display: flex; justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* Karriere hero variant */
.karriere-hero { background: var(--primary); color: var(--text-on-primary); padding: 180px 0 100px; border: none; }
.karriere-hero h1 { color: var(--text-on-primary); max-width: 880px; font-size: clamp(44px, 6vw, 72px); }
.karriere-hero .lede { color: rgba(251, 246, 236, 0.85); font-size: 20px; }
.karriere-hero .eyebrow { color: #9FD4D6; }
.karriere-hero .eyebrow::before { background: #9FD4D6; }
.karriere-hero .accent-serif { color: #9FD4D6; }
.karriere-hero .btn-outline { border-color: var(--text-on-primary); color: var(--text-on-primary); }
.karriere-hero .btn-outline:hover { background: var(--text-on-primary); color: var(--primary); }
.job-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.job {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s var(--ease);
}
.job:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.job .title { font-family: var(--serif); font-size: 21px; font-weight: 500; margin-bottom: 4px; }
.job .meta { font-size: 13px; color: var(--text-muted); }
.job .type-chip {
  padding: 4px 10px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  display: inline-block;
  margin-right: 8px;
}

/* Map placeholder */
.map-block {
  aspect-ratio: 2 / 1;
  background: linear-gradient(150deg, #D4C8AE, #B5A68A);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-block::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 40px, rgba(43, 36, 32, 0.04) 40px 42px),
    repeating-linear-gradient(90deg, transparent 0 40px, rgba(43, 36, 32, 0.04) 40px 42px);
}
.map-block .lbl {
  position: absolute; bottom: 16px; left: 18px;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: rgba(43, 36, 32, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.map-block .pin {
  position: absolute;
  width: 44px; height: 44px;
  border-radius: 50% 50% 50% 0;
  background: var(--primary);
  transform: rotate(-45deg);
  box-shadow: var(--shadow-md);
}
.map-block .pin::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--card);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

/* Contact block */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-card {
  padding: 36px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.contact-line {
  display: flex; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
  font-size: 15.5px;
}
.contact-line:last-child { border: none; }
.contact-line .ico {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-line b { display: block; font-size: 13px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }

/* Feature row (about) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.team-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.team-card .staff-photo {
  margin: 0 auto 16px;
  width: 88px; height: 88px;
  font-size: 24px;
}

/* ============ Root-page additions ============ */

/* Hero variants for root pages */
.hero-split {
  padding: 140px 0 60px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.hero-split .split-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-split h1 { font-size: clamp(42px, 5.4vw, 64px); margin: 14px 0 18px; }
.hero-split .lede { font-size: 19px; color: var(--text-muted); max-width: 540px; margin-bottom: 28px; }
.hero-split .hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-split .hero-stats b {
  display: block;
  font-family: var(--serif);
  font-size: 34px;
  color: var(--primary);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-split .hero-stats span { font-size: 13px; color: var(--text-muted); }

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.hero-stats-row .st {
  padding: 20px 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.hero-stats-row .st b {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 4px;
}
.hero-stats-row .st span { font-size: 13px; color: var(--text-muted); }

/* Kosten calc-like widget */
.calc-widget {
  padding: 40px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.calc-widget .pick-grade {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 14px 0 24px;
}
.calc-widget .pick-grade button {
  padding: 14px 0;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.calc-widget .pick-grade button.on {
  background: var(--primary);
  color: var(--text-on-primary);
  border-color: var(--primary);
}
.calc-widget .result {
  padding: 32px;
  background: var(--primary-soft);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc-widget .result .big {
  font-family: var(--serif);
  font-size: 54px;
  color: var(--primary);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 8px;
}
.calc-widget .result .ln {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(212, 165, 116, 0.3);
  font-size: 14.5px;
}
.calc-widget .result .ln:last-child { border: none; font-weight: 600; color: var(--primary); }

/* Perks grid (karriere) */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.perk {
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.perk .pico {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.perk b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.perk p { color: var(--text-muted); font-size: 15px; margin: 0; line-height: 1.6; }

/* Salary strip */
.salary-strip {
  background: var(--primary);
  color: var(--text-on-primary);
  padding: 56px 0;
}
.salary-strip .sr {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  align-items: center;
}
.salary-strip h2 { color: var(--text-on-primary); margin: 0; }
.salary-strip .sbars {
  display: flex; flex-direction: column; gap: 14px;
}
.salary-strip .sbar {
  display: grid; grid-template-columns: 200px 1fr 120px;
  gap: 16px; align-items: center;
  font-size: 15px;
}
.salary-strip .sbar .track {
  height: 10px;
  background: rgba(251, 246, 236, 0.2);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.salary-strip .sbar .fill {
  height: 100%;
  background: #F4E2BD;
  border-radius: 999px;
}
.salary-strip .sbar .amt { font-family: var(--serif); font-size: 20px; text-align: right; color: #F4E2BD; }

/* Ratgeber categories */
.cat-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 24px 0 40px;
  justify-content: center;
}
.cat-chip {
  padding: 10px 20px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.cat-chip:hover, .cat-chip.on {
  background: var(--primary);
  color: var(--text-on-primary);
  border-color: var(--primary);
}

.featured-post {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--card);
  margin-bottom: 48px;
}
.featured-post .fpvis {
  background: linear-gradient(155deg, #C8A887, #8B6F52);
  min-height: 400px;
  position: relative;
}
.featured-post .fpvis::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 24px, rgba(43, 36, 32, 0.06) 24px 26px);
}
.featured-post .fpbody {
  padding: 48px;
  display: flex; flex-direction: column; justify-content: center;
}
.featured-post .fpbody .cat {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary); font-weight: 600; margin-bottom: 12px;
}
.featured-post h3 { font-size: 34px; margin-bottom: 16px; line-height: 1.2; }
.featured-post p { color: var(--text-muted); font-size: 16px; line-height: 1.6; margin-bottom: 24px; }

/* Contact page cards */
.kontakt-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.kontakt-card {
  padding: 32px 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}
.kontakt-card .kico {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-on-primary);
  display: grid; place-items: center;
  margin: 0 auto 16px;
}
.kontakt-card h3 { font-size: 21px; margin-bottom: 6px; }
.kontakt-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 14px; }
.kontakt-card a.big {
  display: inline-block;
  font-family: var(--serif); font-size: 22px; color: var(--primary); font-weight: 500;
}

/* Legal / long prose */
.legal-page .prose h2 { color: var(--text); font-size: 26px; margin: 2em 0 0.6em; }
.legal-page .prose h2:first-child { margin-top: 0; }
.legal-page .prose p, .legal-page .prose li { font-size: 15.5px; }
.legal-page .prose { font-size: 15.5px; line-height: 1.7; }

@media (max-width: 1024px) {
  .hero-split .split-inner { grid-template-columns: 1fr; gap: 40px; }
  .calc-widget { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
  .perks-grid { grid-template-columns: 1fr 1fr; }
  .salary-strip .sr { grid-template-columns: 1fr; gap: 32px; }
  .salary-strip .sbar { grid-template-columns: 140px 1fr 90px; font-size: 13.5px; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post .fpvis { min-height: 240px; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .hero-stats-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .perks-grid { grid-template-columns: 1fr; }
  .calc-widget .pick-grade { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .calc-widget .pick-grade button { font-size: 18px; padding: 10px 0; }
  .featured-post .fpbody { padding: 28px; }
  .featured-post h3 { font-size: 26px; }
}

/* ============ Standort detail pages ============ */

.standort-hero {
  padding: 140px 0 50px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.standort-hero .sh-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: end;
}
.standort-hero h1 { font-size: clamp(42px, 5.4vw, 64px); margin: 14px 0 18px; }
.standort-hero .lede { font-size: 18px; color: var(--text-muted); max-width: 540px; }
.standort-hero .quick-meta {
  list-style: none;
  padding: 0; margin: 28px 0 0;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}
.standort-hero .quick-meta li {
  display: flex; gap: 12px; align-items: center;
  font-size: 15px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}
.standort-hero .quick-meta li:first-child,
.standort-hero .quick-meta li:nth-child(2) { border-top: none; padding-top: 0; }
.standort-hero .quick-meta .k {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 600;
}
.standort-hero .quick-meta b { font-family: var(--serif); font-weight: 500; font-size: 17px; }

.bigmap {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, #C8BA9E, #9E8F74);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.bigmap::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 48px, rgba(43, 36, 32, 0.05) 48px 50px),
    repeating-linear-gradient(90deg, transparent 0 48px, rgba(43, 36, 32, 0.05) 48px 50px);
}
.bigmap .roads {
  position: absolute; inset: 0;
}
.bigmap .road {
  position: absolute;
  background: rgba(251, 246, 236, 0.4);
}
.bigmap .pin-big {
  position: absolute;
  width: 56px; height: 56px;
  border-radius: 50% 50% 50% 0;
  background: var(--primary);
  transform: rotate(-45deg);
  box-shadow: var(--shadow-lg);
  z-index: 3;
}
.bigmap .pin-big::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--card);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.bigmap .pulse {
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  animation: pulse-ring 2.4s ease-out infinite;
  z-index: 2;
}
@keyframes pulse-ring {
  0% { transform: scale(0.3); opacity: 0.7; }
  100% { transform: scale(1.2); opacity: 0; }
}
.bigmap .lbl {
  position: absolute; bottom: 18px; left: 22px;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: rgba(43, 36, 32, 0.7);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Gebiet list */
.gebiet-strip {
  padding: 36px 0;
  background: var(--primary);
  color: var(--text-on-primary);
}
.gebiet-strip h3 {
  color: var(--text-on-primary);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 600;
  margin-bottom: 16px;
}
.gebiet-strip .tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.gebiet-strip .tag {
  padding: 8px 16px;
  background: rgba(251, 246, 236, 0.12);
  border: 1px solid rgba(251, 246, 236, 0.24);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}

/* Team detail */
.std-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.std-team-card {
  padding: 28px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}
.std-team-card .std-photo {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-on-primary);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  display: grid; place-items: center;
  margin: 0 auto 14px;
}
.std-team-card b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 500; margin-bottom: 2px; }
.std-team-card .role { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.std-team-card .chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.std-team-card .chip {
  font-size: 11.5px;
  padding: 4px 10px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  font-weight: 500;
}

/* Opening hours table */
.hours {
  list-style: none; padding: 0; margin: 0;
}
.hours li {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.hours li:last-child { border: none; }
.hours .day { font-weight: 500; }
.hours .now { color: var(--primary); }
.hours .dot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: #6BAE6B;
  box-shadow: 0 0 0 4px rgba(107, 174, 107, 0.2);
  margin-right: 8px;
}

/* Two-col layout */
.two-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 1024px) {
  .standort-hero .sh-inner { grid-template-columns: 1fr; gap: 40px; }
  .bigmap { aspect-ratio: 5 / 3; max-width: 600px; }
  .std-team-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .std-team-grid { grid-template-columns: 1fr; }
  .standort-hero .quick-meta { grid-template-columns: 1fr; }
  .standort-hero .quick-meta li { border-top: 1px solid var(--border); padding-top: 10px; }
  .standort-hero .quick-meta li:first-child { border-top: none; padding-top: 0; }
}

/* ============ Leistungen detail pages ============ */

/* Two-column hero with big visual */
.leist-hero {
  padding: 140px 0 60px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.leist-hero .lh-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.leist-hero h1 { font-size: clamp(42px, 5.4vw, 64px); margin: 16px 0 20px; }
.leist-hero .lede { font-size: 19px; color: var(--text-muted); max-width: 540px; margin-bottom: 28px; }
.leist-hero .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.leist-hero .hero-visual {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #D4B798, #8B6F52);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.leist-hero .hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 28px, rgba(43, 36, 32, 0.05) 28px 30px);
}
.hero-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--card);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex; gap: 12px; align-items: center;
  font-size: 14px;
  z-index: 2;
}
.hero-badge .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #6BAE6B;
  box-shadow: 0 0 0 4px rgba(107, 174, 107, 0.2);
}

/* Facts strip under hero */
.facts-strip {
  background: var(--primary);
  color: var(--text-on-primary);
  padding: 40px 0;
}
.facts-strip .facts-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.facts-strip .fact b {
  display: block;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  color: #F4E2BD;
  margin-bottom: 4px;
}
.facts-strip .fact span { font-size: 14px; opacity: 0.85; }

/* Leistungen content layout: sticky sidebar + main */
.leist-body {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}
.leist-sidebar {
  position: sticky;
  top: 110px;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.leist-sidebar h4 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 600;
}
.leist-sidebar .toc { list-style: none; margin: 0 0 28px 0; padding: 0; }
.leist-sidebar .toc li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  counter-increment: item;
}
.leist-sidebar .toc li:last-child { border: none; }
.leist-sidebar .toc li::before {
  content: counter(item, decimal-leading-zero) "  ";
  color: var(--primary);
  font-family: var(--serif);
  margin-right: 4px;
}
.leist-sidebar .toc { counter-reset: item; }
.leist-sidebar .toc a { color: var(--text); }
.leist-sidebar .toc a:hover { color: var(--primary); }
.leist-sidebar .help-box {
  padding: 20px;
  background: var(--primary-soft);
  border-radius: var(--radius-md);
}
.leist-sidebar .help-box b { display: block; font-family: var(--serif); font-size: 19px; margin-bottom: 4px; }
.leist-sidebar .help-box p { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; }

.leist-main h2 {
  font-size: 36px;
  margin: 0 0 20px;
  scroll-margin-top: 100px;
}
.leist-main h2:not(:first-child) { margin-top: 64px; }
.leist-main p { color: var(--text); font-size: 17px; line-height: 1.75; margin-bottom: 1.2em; }
.leist-main p.intro { font-size: 19px; color: var(--text-muted); }

/* Included list — two-column check items */
.incl-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  list-style: none;
  padding: 0;
  margin: 8px 0 32px;
}
.incl-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 15.5px;
  line-height: 1.5;
}
.incl-list li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--primary);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Process steps (horizontal) */
.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 24px 0 40px;
  counter-reset: pstep;
}
.process-step {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  position: relative;
  counter-increment: pstep;
}
.process-step::before {
  content: counter(pstep, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1;
}
.process-step b { display: block; font-family: var(--serif); font-size: 18px; margin-bottom: 6px; font-weight: 500; }
.process-step p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* Info callout */
.callout {
  margin: 32px 0;
  padding: 28px 32px;
  background: var(--primary-soft);
  border-radius: var(--radius-lg);
  display: flex; gap: 20px; align-items: flex-start;
}
.callout .cico {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: var(--text-on-primary);
  display: grid; place-items: center; flex-shrink: 0;
}
.callout b { display: block; font-family: var(--serif); font-size: 19px; margin-bottom: 4px; }
.callout p { margin: 0; font-size: 15px; color: var(--text); }

/* Cost block */
.cost-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 20px 0 32px;
}
.cost-card {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.cost-card .lbl {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 600;
  margin-bottom: 10px;
}
.cost-card .amt {
  font-family: var(--serif); font-size: 38px; color: var(--primary); font-weight: 500;
  line-height: 1;
}
.cost-card .amt small { font-size: 15px; color: var(--text-muted); font-family: var(--sans); margin-left: 8px; }
.cost-card p { margin: 10px 0 0; font-size: 14.5px; color: var(--text-muted); }

/* Inline testimonial */
.inline-quote {
  margin: 40px 0;
  padding: 36px 40px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}
.inline-quote::before {
  content: '"';
  position: absolute;
  top: -30px; left: 28px;
  font-family: var(--serif);
  font-size: 120px;
  color: var(--primary);
  line-height: 1;
  opacity: 0.25;
}
.inline-quote p {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.5;
  color: var(--text);
  margin: 0 0 16px;
  font-style: italic;
}
.inline-quote .who { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-muted); }
.inline-quote .ava {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: var(--text-on-primary);
  display: grid; place-items: center; font-family: var(--serif); font-size: 16px;
}

/* FAQ inline */
.faq-inline details {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-inline details[open] summary { color: var(--primary); }
.faq-inline summary {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; gap: 20px;
  align-items: center;
}
.faq-inline summary::-webkit-details-marker { display: none; }
.faq-inline summary::after {
  content: '+';
  font-family: var(--serif);
  font-size: 28px;
  color: var(--primary);
  transition: transform 0.2s;
  line-height: 1;
}
.faq-inline details[open] summary::after { transform: rotate(45deg); }
.faq-inline details p { margin: 14px 0 0; font-size: 15.5px; color: var(--text-muted); line-height: 1.7; }

/* Related services */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s var(--ease);
  display: block;
}
.related-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.related-card .r-eye {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); font-weight: 600; margin-bottom: 8px;
}
.related-card h3 { font-size: 21px; margin-bottom: 6px; }
.related-card p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* Responsive */
@media (max-width: 1024px) {
  .leist-hero .lh-inner { grid-template-columns: 1fr; gap: 40px; }
  .leist-hero .hero-visual { aspect-ratio: 5 / 3; }
  .leist-body { grid-template-columns: 1fr; gap: 40px; }
  .leist-sidebar { position: static; }
  .process-row { grid-template-columns: 1fr 1fr; }
  .facts-strip .facts-row { grid-template-columns: 1fr 1fr; gap: 28px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .incl-list, .cost-block { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .process-row, .related-grid { grid-template-columns: 1fr; }
  .facts-strip .facts-row { grid-template-columns: 1fr 1fr; gap: 20px; }
  .facts-strip .fact b { font-size: 28px; }
  .leist-main h2 { font-size: 28px; }
  .leist-main h2:not(:first-child) { margin-top: 48px; }
  .inline-quote { padding: 28px 24px; }
  .inline-quote p { font-size: 18px; }
}

/* Responsive */
@media (max-width: 1024px) {
  .card-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .job-grid, .team-grid, .contact-grid, .opt-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .form-wrap { padding: 36px 28px; }
}
@media (max-width: 640px) {
  .card-grid, .blog-grid, .job-grid, .team-grid, .contact-grid, .opt-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 120px 0 50px; }
  .kosten-table { font-size: 13.5px; }
  .kosten-table th, .kosten-table td { padding: 10px 8px; white-space: nowrap; }
}

/* ---------- Horizontal Scroll für breite Tabellen auf Mobile ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  margin: 0 -12px;
  padding: 0 12px 8px;
}
.table-scroll .kosten-table {
  min-width: 540px;
}
.table-scroll::after {
  content: none;
}

/* ---------- Mobile: infinite Map-Pulse und andere teure Animations stoppen ---------- */
@media (max-width: 1024px) {
  .bigmap .pulse,
  .bigmap .pin-big::after { animation: none !important; }
}

/* ---------- Pseudo-Overlays dürfen keine Klicks absorbieren ---------- */
.blog-cover::before,
.map-block::before,
.map-block .pin::after,
.bigmap::before,
.bigmap .pin-big::after,
.bigmap .pulse,
.bigmap .road,
.bigmap .lbl,
.featured-post .fpvis::after,
.leist-hero .hero-visual::after,
.leist-sidebar .toc li::before,
.incl-list li::before,
.process-step::before,
.inline-quote::before,
.faq-inline summary::after {
  pointer-events: none;
}

/* Map-Elemente in Kontakt/Standorte sind dekorativ und nicht klickbar */
.bigmap { pointer-events: none; }
.bigmap a, .bigmap button { pointer-events: auto; }

/* ---------- Mobile Feinschliff für Unterseiten ---------- */
@media (max-width: 640px) {
  /* Form-Wrapper Padding reduzieren */
  .form-wrap { padding: 28px 20px; }

  /* Multi-Step Form-Navigation nicht abschneiden */
  .form-nav { flex-wrap: wrap; gap: 12px; }
  .form-nav .btn { flex: 1 1 auto; min-width: 140px; }

  /* Bigmap weniger hoch */
  .bigmap { aspect-ratio: 5 / 4 !important; max-height: 360px !important; }

  /* Kontakt-Grid Karten nicht so hoch */
  .kontakt-grid { gap: 16px; }
  .kontakt-card { padding: 28px 22px; }
  .kontakt-card .big { font-size: 24px !important; }

  /* Salary-Strip: Balken untereinander */
  .salary-strip .sbar {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    text-align: left;
  }
  .salary-strip .sbar .amt { text-align: left; }

  /* Karriere Job-Karten kompakter */
  .job-grid .job { padding: 18px 20px; font-size: 15px; }
  .job-grid .job .title { font-size: 16px; }
  .job-grid .job .meta { font-size: 13px; flex-wrap: wrap; gap: 6px; }

  /* Perks-Grid auf 1 Spalte (ist schon da, aber Padding reduzieren) */
  .perks-grid .perk { padding: 24px 22px; }

  /* Leistungsseite Sidebar: Abstand */
  .leist-body { gap: 28px; }
  .leist-main { font-size: 16px; }
  .leist-main p.intro { font-size: 17px; }

  /* Standort-Hero Quick-Meta kompakter */
  .standort-hero .quick-meta li { padding: 8px 0; }
  .standort-hero .quick-meta b { font-size: 16px; }

  /* Hero-Stats-Row (Karriere) weniger Gap */
  .hero-stats-row { gap: 10px !important; grid-template-columns: 1fr 1fr !important; }
  .hero-stats-row .st { padding: 14px 12px; }
  .hero-stats-row .st b { font-size: 18px; }

  /* Related-Grid Padding */
  .related-card { padding: 20px 22px; }

  /* Help-Box Full-Width */
  .help-box { padding: 22px 20px; }

  /* FAQ-List Padding */
  .faq-list details { padding: 18px 0; }
  .faq-list summary { font-size: 16px; }
}

/* ---------- Sehr kleine Screens ---------- */
@media (max-width: 380px) {
  .facts-strip .facts-row { grid-template-columns: 1fr !important; }
  .page-hero { padding: 110px 0 40px; }
  .leist-hero .hero-cta { flex-wrap: wrap; }
  .leist-hero .hero-cta .btn { flex: 1 1 100%; }
  .hero-stats-row { grid-template-columns: 1fr !important; }
  .form-wrap { padding: 22px 16px; }
}
