/* ── Montserrat (lokal gehostet, kein Google-Aufruf) ── */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/montserrat-v31-latin_latin-ext-300.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/montserrat-v31-latin_latin-ext-regular.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/montserrat-v31-latin_latin-ext-500.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/montserrat-v31-latin_latin-ext-600.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/montserrat-v31-latin_latin-ext-700.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/montserrat-v31-latin_latin-ext-800.woff2') format('woff2'); }

:root {
  --primary: #1B5E7B;
  --primary-dark: #143d52;
  --primary-light: #2a7fa3;
  --bg: #fbfaf7;
  --bg-section: #eef4f7;
  --text: #2c3e4a;
  --text-light: #5a7585;
  --white: #ffffff;
  --border: #d0dde4;
  --accent: #c8dce5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  color: #2c3e4a;
  background: #fbfaf7;
  line-height: 1.75;
  text-align: justify;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  word-break: break-word;
}


/* ── ZFA SMALLER PHOTOS ── */
.zfa-photo {
  width: 90px;
  height: 110px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 5px;
  margin-bottom: 0.7rem;
  border: 2px solid #c8dce5;
  filter: grayscale(20%);
  position: relative;
  z-index: 1;
}
@media (hover: hover) {
  .zfa-photo {
    transition: transform 0.35s ease, filter 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: pointer;
  }
  .zfa-photo:hover {
    transform: scale(2);
    filter: grayscale(0%);
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(27, 94, 123, 0.25);
    z-index: 10;
  }
}

/* ── HEADER ── */
.header {
  background: #ffffff;
  border-bottom: 1px solid #d0dde4;
  padding: 0.8rem 0;
  position: sticky;
  top: 0;
  z-index: 900;
  transition: padding 0.25s ease, box-shadow 0.25s ease;
}
.header.header--compact {
  box-shadow: 0 2px 12px rgba(27,94,123,0.10);
}
.header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.header-inner > a:first-child {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  width: 280px;
  height: auto;
  transition: width 0.25s ease;
}
.header--compact .logo-img {
  width: 200px;
}

/* ── Fachgebiete neben Logo ── */
.header-fach {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border-left: 1.5px solid #c8dce5;
  padding-left: 1rem;
  margin-left: 0.8rem;
  transition: gap 0.25s ease, padding-left 0.25s ease, margin-left 0.25s ease;
}
.header-fach span {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #5a7585;
  letter-spacing: 0.06em;
  line-height: 1.35;
  transition: font-size 0.25s ease, letter-spacing 0.25s ease, line-height 0.25s ease;
}
.header--compact .header-fach {
  gap: 0.05rem;
  padding-left: 0.6rem;
  margin-left: 0.5rem;
}
.header--compact .header-fach span {
  font-size: 0.55rem;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

/* ── Header-Actions (Telefon + Termin) ── */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-left: auto;
  flex-shrink: 0;
}
.header-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 57px;
  height: 57px;
  border-radius: 6px;
  color: #1B5E7B;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.header-action:hover {
  background: #eef4f7;
  color: #143d52;
}
.header-action--filled {
  background: #1B5E7B;
  color: #ffffff;
}
.header-action--filled:hover {
  background: #143d52;
  color: #ffffff;
}
.header-action svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header--compact .header-action {
  width: 42px;
  height: 42px;
}
.header--compact .header-action svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 600px) {
  .header-fach { display: none; }
}

/* ── Telefon-Button (mobile, z. B. Terminanfrage) ── */
.phone-btn {
  display: none;
}
@media (max-width: 600px) {
  .phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #1B5E7B;
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
  }
  .phone-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
  }
  .phone-btn span {
    letter-spacing: 0.03em;
  }
}
@media print {
  .phone-btn { display: none !important; }
}

/* ── SECTIONS ── */
.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.section-alt {
  background: #eef4f7;
}

.section-title {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1B5E7B;
  margin-bottom: 1.5rem;
  text-align: left;
  position: relative;
  padding-bottom: 0.6rem;
  letter-spacing: 0.02em;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2.5px;
  background: #1B5E7B;
  border-radius: 2px;
}

/* ── PHILOSOPHY ── */
.philosophy {
  background: #1B5E7B;
  color: #ffffff;
  text-align: justify;
  padding: 2.2rem 2rem;
}
.philosophy-inner {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0.01em;
  padding: 0 2rem;
}

/* ── TEAM ── */
.team-doctors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.doctor-card {
  text-align: center;
}
.doctor-photo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  object-position: center center;
  border-radius: 6px;
  margin-bottom: 1rem;
  border: 3px solid #c8dce5;
}
.doctor-photo-ernst {
  object-position: center center;
}
.doctor-photo-sina {
  object-position: center 15%;
}
.doctor-photo-simon {
  object-position: center center;
}
.doctor-name {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1B5E7B;
  margin-bottom: 0.15rem;
  letter-spacing: 0.01em;
}
.doctor-role {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 0.88rem;
  color: #5a7585;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.team-doctors-3 {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.team-doctors-3 .doctor-photo {
  width: 150px;
  height: 150px;
}
.team-doctors-3 .doctor-name {
  font-size: 1rem;
}
.team-doctors-3 .doctor-role {
  font-size: 0.82rem;
}

/* Ein-Personen-Layout (nur Praxisinhaber) – linksbündig statt im 2-Spalten-Raster */
.team-doctors-1 {
  grid-template-columns: 1fr;
  justify-items: start;
  margin-bottom: 2rem;
}
.team-doctors-1 .doctor-card {
  text-align: left;
}

/* ── TEAM PHOTO (Panorama 3:1) ── */
.team-photo-wrap {
  width: 100%;
  aspect-ratio: 3 / 1;
  margin-bottom: 2.5rem;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #dce9ef 0%, #c8dce5 50%, #dce9ef 100%);
  position: relative;
}
.team-photo-wrap::after {
  /* Platzhalter-Hinweis – verschwindet sobald Bild geladen */
  content: 'Teamfoto – 1800 × 600 px empfohlen';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  opacity: 0.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}
.team-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  border-radius: 8px;
  position: relative;
  z-index: 1;
}
/* Bild da → Platzhalter-Text unsichtbar */
.team-photo-img[src]:not([src=""])  ~ .team-photo-wrap::after,
.team-photo-wrap:has(.team-photo-img:not([error]))::after {
  /* CSS :has fallback – Platzhalter bleibt nur wenn Bild fehlt */
}
@media (max-width: 600px) {
  .team-photo-wrap {
    aspect-ratio: 2.5 / 1;
    margin-bottom: 2rem;
    border-radius: 6px;
  }
}

/* ── EMPFANG LINE (schlank, ohne Telefon) ── */
.empfang-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 1.1rem;
}
.empfang-line-label {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}
.empfang-line-names {
  color: var(--text);
  font-weight: 500;
}

.zfa-section {
  border-top: none;
  padding-top: 2rem;
  position: relative;
}
.zfa-section::before {
  content: '';
  display: block;
  width: 50px;
  height: 2.5px;
  background: #1B5E7B;
  border-radius: 2px;
  margin: 0 0 1.8rem;
}
.zfa-title {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-weight: 700;
  color: #1B5E7B;
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  text-align: left;
}
.zfa-group {
  margin-bottom: 1.2rem;
}
.zfa-group-label {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-weight: 600;
  color: #143d52;
  font-size: 0.92rem;
  margin-bottom: 0.3rem;
  text-align: left;
}
.zfa-group-names {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  color: #2c3e4a;
  font-size: 0.95rem;
}

/* ── LEISTUNGEN ── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 2.5rem;
}
.service-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
}
.service-item::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  min-width: 7px;
  background: #1B5E7B;
  border-radius: 50%;
  margin-top: 0.5em;
}
.service-sub {
  font-size: 0.88rem;
  color: #5a7585;
  padding-left: 1.3rem;
  margin-top: 0.15rem;
}

/* ── PROPHYLAXE ── */
.prophylaxe-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.prophylaxe-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.prophylaxe-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.93rem;
}
.prophylaxe-item::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  min-width: 6px;
  background: #1B5E7B;
  border-radius: 50%;
  margin-top: 0.55em;
}
.prophylaxe-text p {
  margin-bottom: 1rem;
  font-size: 0.93rem;
}
.prophylaxe-note {
  background: #c8dce5;
  border-left: 3px solid #1B5E7B;
  padding: 0.8rem 1rem;
  font-size: 0.88rem;
  border-radius: 0 4px 4px 0;
  margin-bottom: 1rem;
  text-align: justify;
}

/* ── PRAXISZEITEN ── */
.hours-table {
  width: 100%;
  max-width: 520px;
  border-collapse: collapse;
  margin: 0;
}
.hours-table td {
  padding: 0.6rem 1rem;
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  border-bottom: 1px solid #d0dde4;
  vertical-align: top;
}
.hours-table tr:last-child td {
  border-bottom: none;
}
.hours-table td:first-child {
  font-weight: 600;
  color: #1B5E7B;
  width: 140px;
  text-align: left;
}
.hours-table td:nth-child(2),
.hours-table td:nth-child(3) {
  text-align: left;
}
.hours-note {
  font-size: 0.82rem;
  color: #5a7585;
  font-weight: 400;
  display: block;
}

/* ── KONTAKT ── */
.contact-bar {
  background: #1B5E7B;
  color: #ffffff;
  padding: 2rem 0;
}
.contact-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}
.contact-lines {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.95rem;
  line-height: 1.8;
}
.contact-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contact-line strong {
  font-size: 1.05rem;
}
.contact-line a {
  color: #ffffff;
  text-decoration: none;
}

/* ── LEISTUNGEN – GRID + SCROLL REVEAL ── */
.leistungen-section {
  padding-bottom: 2.5rem;
}
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}
.leistung-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.7rem 0.6rem;
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--primary);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  min-height: 3rem;
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: normal;
  word-break: keep-all;
  transition: background 0.25s ease, border-color 0.25s ease,
              color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.leistung-tile:hover,
.leistung-tile:active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(27,94,123,0.18);
  transform: translateY(-2px);
}
@media (hover: none) {
  .leistung-tile:active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
  }
}
/* JS-gesteuerte Animation */
.leistungen-section.animate-ready .leistung-tile {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease,
              background 0.25s ease, border-color 0.25s ease,
              color 0.25s ease, box-shadow 0.25s ease;
}
.leistungen-section.animate-ready.revealed .leistung-tile {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 700px) {
  .leistungen-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .leistung-tile {
    font-size: 0.82rem;
    padding: 0.6rem 0.5rem;
    min-height: 2.6rem;
  }
}
@media (max-width: 380px) {
  .leistungen-grid {
    grid-template-columns: 1fr;
  }
}

/* JS-gesteuerte Animation – Kostenrechner-Kacheln */
#kostenrechnerSection.animate-ready .anamnese-hint,
#kostenrechnerSection.animate-ready .kostenrechner-tiles .leistung-tile {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease,
              background 0.25s ease, border-color 0.25s ease,
              color 0.25s ease, box-shadow 0.25s ease;
}
#kostenrechnerSection.animate-ready.revealed .anamnese-hint,
#kostenrechnerSection.animate-ready.revealed .kostenrechner-tiles .leistung-tile {
  opacity: 1;
  transform: translateY(0);
}

/* ── EMPFANG BAR (full-width horizontal) ── */
.empfang-bar {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.4rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.empfang-bar-label {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.empfang-bar-names {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}
.empfang-bar-name {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 0.93rem;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
}
.empfang-bar-sep {
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}
.empfang-bar .empfang-phone-card {
  margin-top: 0;
  margin-left: auto;
  border-width: 1.5px;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .empfang-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 1rem;
  }
  .empfang-bar-names {
    flex-wrap: wrap;
  }
  .empfang-bar .empfang-phone-card {
    margin-left: 0;
    width: 100%;
  }
}

/* ── SERVICE LINKS ── */
.service-link {
  color: #1B5E7B;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
  display: inline;
}
.service-link:hover {
  border-bottom-color: #1B5E7B;
  color: #143d52;
}
.service-link span {
  position: relative;
}
.service-link::after {
  content: ' →';
  font-size: 0.85em;
  opacity: 0;
  transition: opacity 0.3s;
}
.service-link:hover::after {
  opacity: 1;
}

/* ── KOSTENRECHNER-KACHELN (Homepage) ── */
.kostenrechner-intro {
  font-size: 0.93rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  text-align: left;
}
.kr-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}
.kr-tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.2s;
}
.kr-tile:hover {
  box-shadow: 0 6px 20px rgba(27,94,123,0.12);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.kr-tile-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--bg-section);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kr-tile-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.kr-tile-body {
  flex: 1;
  min-width: 0;
}
.kr-tile-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: keep-all;
}
.kr-tile-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.4;
  margin-top: 0.15rem;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: keep-all;
}
.kr-tile-arrow {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.kr-tile:hover .kr-tile-arrow {
  opacity: 1;
  transform: translateX(3px);
}
@media (max-width: 600px) {
  .kr-tiles { grid-template-columns: 1fr; }
}

/* ── PATIENTENBEREICH CARD ── */
.patient-area-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  background: #ffffff;
  border: 1px solid #d0dde4;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.2s;
}
.patient-area-card:hover {
  box-shadow: 0 4px 16px rgba(27,94,123,0.1);
  border-color: #1B5E7B;
  transform: translateY(-1px);
}
.patient-area-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: #eef4f7;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.patient-area-icon svg {
  width: 20px;
  height: 20px;
  stroke: #1B5E7B;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.patient-area-text {
  flex: 1;
}
.patient-area-text strong {
  display: block;
  font-size: 0.95rem;
  color: #1B5E7B;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.patient-area-text span {
  font-size: 0.82rem;
  color: #5a7585;
  line-height: 1.4;
}
.patient-area-arrow {
  font-size: 1.2rem;
  color: #1B5E7B;
  font-weight: 600;
  transition: transform 0.2s;
}
.patient-area-card:hover .patient-area-arrow {
  transform: translateX(4px);
}

/* ── SUBPAGE STYLES ── */
.breadcrumb {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 2rem 0;
  font-size: 0.85rem;
  text-align: left;
}
.breadcrumb a {
  color: #1B5E7B;
  text-decoration: none;
  font-weight: 500;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb span {
  color: #5a7585;
}

.subpage-hero {
  background: #1B5E7B;
  color: #ffffff;
  padding: 2.5rem 0 2.2rem;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  word-break: break-word;
}
.subpage-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}
.subpage-hero h1 {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  hyphens: none;
}
.subpage-hero .hero-subtitle {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.88;
  line-height: 1.6;
}

.content-block {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}
.content-block h2 {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1B5E7B;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
  hyphens: none;
  text-align: left;
}
.content-block h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2.5px;
  background: #1B5E7B;
  border-radius: 2px;
}
.content-block p {
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.8;
}
.content-block .emoji-hint {
  display: inline;
}

/* ── LINK-CARDS (Unterseiten) ── */
.link-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.link-card {
  display: block;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border: 1px solid #d0dde4;
  border-left: 4px solid #1B5E7B;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
  text-align: left;
}
.link-card:hover {
  box-shadow: 0 4px 12px rgba(27,94,123,0.12);
  border-left-color: #2a7fa3;
}
.link-card strong {
  display: block;
  color: #1B5E7B;
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}
.link-card span {
  font-size: 0.92rem;
  color: #5a7585;
  line-height: 1.5;
}
@media (min-width: 600px) {
  .link-cards {
    flex-direction: row;
  }
  .link-card {
    flex: 1;
  }
}

/* ── PROPHYLAXE-GRID (Unterseite) ── */
.prophylaxe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 2rem;
  margin: 1.5rem 0;
}
.prophylaxe-grid-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
.prophylaxe-grid-item::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  min-width: 7px;
  background: #1B5E7B;
  border-radius: 50%;
  margin-top: 0.5em;
}
@media (max-width: 600px) {
  .prophylaxe-grid {
    grid-template-columns: 1fr;
  }
}

.highlight-box {
  background: #c8dce5;
  color: #2c3e4a;
  border-left: 3px solid #1B5E7B;
  padding: 1rem 1.3rem;
  border-radius: 0 6px 6px 0;
  margin: 1.5rem 0;
  font-size: 0.93rem;
  line-height: 1.7;
}

.back-link-bar {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 2rem 2.5rem;
  text-align: left;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #1B5E7B;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.back-link:hover {
  color: #143d52;
}

@media (max-width: 700px) {
  .subpage-hero {
    padding: 2rem 0 1.8rem;
  }
  .subpage-hero-inner {
    padding: 0 1.2rem;
  }
  .subpage-hero h1 {
    font-size: 1.45rem;
  }
  .content-block {
    padding: 2rem 1.2rem;
  }
  .breadcrumb {
    padding: 0.8rem 1.2rem 0;
  }
  .back-link-bar {
    padding: 1.2rem 1.2rem 2rem;
  }
}

/* ── HIRING-KACHEL (Teamraster) ── */
.hiring-card {
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 8px;
  padding: 0.5rem 0.4rem 0.6rem;
}
.hiring-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(27, 94, 123, 0.15);
}
.hiring-card .doctor-name {
  color: var(--primary);
}
.hiring-card .doctor-role {
  font-size: 0.78rem;
  text-transform: none;
  letter-spacing: 0.02em;
}
.hiring-photo {
  border-color: var(--primary) !important;
  filter: none !important;
}
.hiring-photo:hover,
.hiring-photo:active {
  transform: none;
  box-shadow: none;
}

/* ── STELLENANGEBOT-KARTE (Home) ── */
.job-card {
  position: relative;
  background: linear-gradient(135deg, #f0f7fa 0%, #ffffff 100%);
  border: 2px solid var(--accent);
  border-left: 5px solid var(--primary);
  border-radius: 10px;
  padding: 2.2rem 2rem 2rem;
  margin-top: 0.5rem;
  box-shadow: 0 4px 16px rgba(27, 94, 123, 0.08);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.job-card:hover {
  box-shadow: 0 6px 24px rgba(27, 94, 123, 0.14);
  border-color: var(--primary-light);
}
.job-card-badge {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.job-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.job-card-intro {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.job-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.job-card-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.55;
}
.job-card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.job-card-btn {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.7rem 1.8rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s, box-shadow 0.3s;
}
.job-card-btn:hover {
  background: var(--primary-dark);
  box-shadow: 0 3px 10px rgba(27, 94, 123, 0.25);
}

@media (max-width: 700px) {
  .job-card {
    padding: 1.6rem 1.2rem 1.5rem;
  }
  .job-card-title {
    font-size: 1.08rem;
  }
}

/* ── STELLENANGEBOT-KONTAKTBOX (Unterseite) ── */
.job-contact-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.3rem 1.5rem;
  margin: 1.5rem 0;
}
.job-contact-item {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.6;
}
.job-contact-item:last-child {
  margin-bottom: 0;
}
.job-contact-item strong {
  color: var(--primary);
  margin-right: 0.3rem;
}
.job-contact-item a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  transition: border-color 0.3s;
}
.job-contact-item a:hover {
  border-color: var(--primary);
}


/* ── FIXED TOP BUTTONS WRAPPER ── */
/* ── REVIEWS CAROUSEL ── */
.reviews-section {
  background: #eef4f7;
  overflow: hidden;
}
.reviews-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.reviews-sources {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.reviews-sources a {
  font-size: 0.8rem;
  color: #1B5E7B;
  text-decoration: none;
  padding: 0.3rem 0.7rem;
  border: 1px solid #1B5E7B;
  border-radius: 15px;
  transition: all 0.3s;
  font-weight: 500;
}
.reviews-sources a:hover {
  background: #1B5E7B;
  color: #ffffff;
}

/* Statische Bewertungskarten */
.reviews-static {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.review-card-static {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.review-stars {
  color: #f5a623;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}
.review-text {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #2c3e4a;
  font-style: italic;
  margin-bottom: 1rem;
}
.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.review-author {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #143d52;
}
.review-source {
  font-size: 0.78rem;
  color: #5a7585;
  background: #eef4f7;
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
}
/* Bewertungs-Links */
.reviews-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.reviews-links a {
  font-size: 0.8rem;
  color: #1B5E7B;
  text-decoration: none;
  padding: 0.3rem 0.7rem;
  border: 1px solid #1B5E7B;
  border-radius: 15px;
  transition: all 0.3s;
  font-weight: 500;
}
.reviews-links a:hover {
  background: #1B5E7B;
  color: #ffffff;
}

/* ── FACEBOOK LINK ── */
.google-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.google-link:hover {
  opacity: 1;
}
.google-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ── PRAXISZEITEN CENTERED ── */
.praxiszeiten-center {
  display: flex;
  justify-content: center;
}
.praxiszeiten-inner {
  display: inline-block;
}
.praxiszeiten-inner .section-title {
  text-align: left;
}

/* ── KONTAKT RIGHT COLUMN ── */
.contact-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.8rem;
}

/* ── ZFA GROUP SPACING ── */
.zfa-group-label--spaced {
  margin-bottom: 1rem;
}
.team-doctors--spaced {
  margin-bottom: 2rem;
}

/* ── ZFA NAME LIST GRID ── */
.zfa-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  margin: 0 auto 2rem;
  max-width: 700px;
}
.zfa-list-group--full {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.zfa-list-group--full .zfa-list-label {
  width: 100%;
}
.zfa-list-group--full .zfa-list-name {
  flex: none;
}
.zfa-list-group {
  background: #ffffff;
  border: 1px solid #d0dde4;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  transition: box-shadow 0.3s;
}
.zfa-list-group:hover {
  box-shadow: 0 4px 16px rgba(27, 94, 123, 0.08);
}
.zfa-list-label {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-weight: 700;
  color: #1B5E7B;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid #c8dce5;
}
.zfa-list-name {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 0.93rem;
  color: #2c3e4a;
  line-height: 1.4;
  padding: 0.28rem 0;
  padding-left: 0.8rem;
  position: relative;
}
.zfa-list-name::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c8dce5;
}

/* ── EMPFANG PHONE CARD ── */
.empfang-phone-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.7rem;
  padding: 0.65rem 0.8rem;
  background: #ffffff;
  border: 2px solid #1B5E7B;
  border-radius: 8px;
  text-decoration: none;
  color: #1B5E7B;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.empfang-phone-card:hover {
  background: #1B5E7B;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 94, 123, 0.3);
}
.empfang-phone-card:hover .empfang-phone-icon {
  background: rgba(255,255,255,0.15);
}
.empfang-phone-card:hover .empfang-phone-icon svg {
  stroke: #ffffff;
}
.empfang-phone-card:hover .empfang-phone-number {
  color: #ffffff;
}
.empfang-phone-card:hover .empfang-phone-hint {
  color: rgba(255,255,255,0.8);
}
.empfang-phone-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: #eef4f7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.empfang-phone-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #1B5E7B;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: phoneRing 2s ease-in-out infinite;
  transition: stroke 0.3s;
}
.empfang-phone-number {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1B5E7B;
  transition: color 0.3s;
}
.empfang-phone-hint {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  color: #5a7585;
  letter-spacing: 0.02em;
  margin-top: 0.1rem;
  transition: color 0.3s;
}

/* ── HIRING BUTTON (fixed, compact) ── */
.hiring-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #24708f 0%, #1B5E7B 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 0.45rem 1rem;
  border-radius: 30px;
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 3px 12px rgba(27,94,123,0.3);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.hiring-btn:hover {
  background: linear-gradient(135deg, #1B5E7B 0%, #143d52 100%);
  box-shadow: 0 5px 18px rgba(27,94,123,0.45);
  transform: translateY(-2px);
}
.hiring-btn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── KONZEPT-STREIFEN (Philosophy-Variante) ── */
.philosophy--concept {
  background: linear-gradient(135deg, #24708f 0%, #1B5E7B 40%, #174e66 100%);
}
.concept-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
  opacity: 0.7;
}

@media (max-width: 600px) {
  .zfa-list-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .zfa-list-group--full {
    display: block;
  }
  .empfang-phone-card {
    margin-top: 0.6rem;
  }
}

/* ── PRAXISZEITEN + FOTOS GRID ── */
.praxiszeiten-layout-wrap {
  padding: 0;
}
.praxiszeiten-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.praxiszeiten-col {
  min-width: 0;
}
.praxiszeiten-col .section-title {
  text-align: left;
}
.praxiszeiten-col .hours-table {
  margin: 0;
}
.praxisfotos-col {
  min-width: 0;
}
.praxisfotos-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 250px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
  background: var(--bg);
}
.praxisfoto {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 1;
}
.praxisfoto.active {
  opacity: 1;
  z-index: 2;
}
.praxisfoto.exit {
  opacity: 0;
  z-index: 1;
}
.praxisfotos-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
}
.praxisfoto-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0dde4;
  cursor: pointer;
  transition: all 0.3s;
}
.praxisfoto-dot.active {
  background: #1B5E7B;
  width: 24px;
  border-radius: 4px;
}

/* ── RESPONSIVE: TABLET (bis 1024px) ── */
@media (max-width: 1024px) {
  .team-doctors-3 {
    grid-template-columns: 1fr 1fr;
  }
  .team-doctors {
    gap: 2rem;
  }
  .zfa-title {
    font-size: 1.1rem;
  }
  .prophylaxe-layout {
    grid-template-columns: 1fr;
  }
  .praxiszeiten-grid {
    gap: 2rem;
  }
  .section {
    padding: 2.5rem 2rem;
  }
  .praxiszeiten-grid {
    padding: 2.5rem 2rem;
  }
  .reviews-inner {
    padding: 2.5rem 2rem;
  }
}

/* ── RESPONSIVE: HANDY (bis 700px) ── */
@media (max-width: 700px) {
  html {
    font-size: 15px;
  }
  .header {
    padding: 0.6rem 0;
  }
  .header-inner {
    gap: 0.15rem;
    padding: 0 1rem;
  }
  .logo-img {
    width: 200px;
  }
  .header--compact .logo-img {
    width: 150px;
  }
  .header-fach {
    display: none;
  }

  .philosophy {
    padding: 1.8rem 1.2rem;
  }
  .philosophy-inner {
    font-size: 0.95rem;
  }

  .section {
    padding: 2rem 1.2rem;
  }
  .section-title {
    font-size: 1.3rem;
  }

  .team-doctors {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .team-doctors-3 {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
  .team-doctors--spaced {
    margin-bottom: 1.5rem;
  }
  .doctor-photo {
    width: 150px;
    height: 150px;
  }
  .zfa-photo {
    width: 80px;
    height: 98px;
  }
  .doctor-name {
    font-size: 1.05rem;
  }
  .doctor-role {
    font-size: 0.82rem;
  }
  .zfa-title {
    font-size: 1.05rem;
  }
  .zfa-group-label {
    font-size: 0.88rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .prophylaxe-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hours-table td:first-child {
    width: 90px;
    font-size: 0.88rem;
  }
  .hours-table td {
    padding: 0.5rem 0.5rem;
    font-size: 0.88rem;
  }

  .praxiszeiten-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.2rem;
  }
  .praxiszeiten-layout-wrap {
    padding: 0;
  }

  .reviews-inner {
    padding: 2rem 1.2rem;
  }
  .reviews-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .reviews-static {
    grid-template-columns: 1fr;
  }
  .review-card-static {
    padding: 1.4rem 1.2rem;
  }
  .review-text {
    font-size: 0.9rem;
  }
  .review-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .contact-bar {
    padding: 1.8rem 0;
  }
  .contact-inner {
    padding: 0 1.2rem;
  }
  .contact-line {
    flex-direction: column;
    text-align: center;
    gap: 0.2rem;
  }
  .google-link {
    justify-content: center;
  }
}

/* ── RESPONSIVE: KLEINE HANDYS (bis 400px) ── */
@media (max-width: 400px) {
  html {
    font-size: 14px;
  }
  .team-doctors-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .doctor-name {
    font-size: 0.95rem;
  }
  .doctor-role {
    font-size: 0.78rem;
  }
  .zfa-title {
    font-size: 1rem;
  }
  .zfa-group-label {
    font-size: 0.85rem;
  }
  .zfa-photo {
    width: 72px;
    height: 88px;
  }
  .section {
    padding: 1.5rem 1rem;
  }
  .hours-table td {
    padding: 0.4rem 0.3rem;
    font-size: 0.82rem;
  }
  .hours-table td:first-child {
    width: 75px;
  }
  .reviews-sources {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ── ANFAHRT ── */
.anfahrt-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.anfahrt-text p {
  margin-bottom: 0.8rem;
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
}
.anfahrt-text p:first-child {
  margin-bottom: 0.5rem;
}
.anfahrt-hint {
  color: #5a7585;
  font-size: 0.9rem;
  margin-top: 1rem;
}
.anfahrt-map {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

@media (max-width: 1024px) {
  .anfahrt-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 700px) {
  .anfahrt-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ── FOOTER ── */
.footer {
  background: #143d52;
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 1.2rem 0;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.footer-link {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.3s;
}
.footer-link:hover {
  color: #ffffff;
}
@media (max-width: 700px) {
  .footer-inner {
    justify-content: center;
    text-align: center;
  }
}

/* ── IMPRESSUM ── */
.impressum-page {
  text-align: justify;
}
.impressum-block {
  margin-bottom: 2rem;
}
.impressum-heading {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.6rem;
}
.impressum-page p {
  font-size: 0.93rem;
  line-height: 1.75;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.impressum-page a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.impressum-page a:hover {
  border-bottom-color: var(--primary);
}
.impressum-list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0.8rem 0;
}
.impressum-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--text);
}
.impressum-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}
.impressum-back {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.impressum-back-link {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
}
.impressum-back-link:hover {
  color: var(--primary-dark);
}

/* ═══════════════════════════════════════════════════════════
   FORMULARE – AUFKLÄRUNGSBÖGEN, ANAMNESEBOGEN
   Zentrale Styles für alle .form-page Formulare.
   ═══════════════════════════════════════════════════════════ */

/* ── BASIS ── */
.form-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 2rem 1rem;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  word-break: break-word;
}
.form-page h2 {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1B5E7B;
  margin: 2rem 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #c8dce5;
  hyphens: none;
  text-align: left;
}
.form-page h2:first-of-type { margin-top: 0; }
.form-page h3 {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #2c3e4a;
  margin: 1.4rem 0 0.5rem;
  hyphens: none;
  text-align: left;
}
.form-page p, .form-page li {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 0.6rem;
}
.form-page ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.form-page ul li { position: relative; padding-left: 1.1rem; margin-bottom: 0.35rem; }
.form-page ul li::before { content: '–'; position: absolute; left: 0; color: #1B5E7B; font-weight: 700; }

/* ── RISIKO-HINWEISE ── */
.risk-warn {
  background: #fef3e2;
  border-left: 3px solid #e8a838;
  padding: 0.7rem 1rem;
  border-radius: 0 5px 5px 0;
  margin: 0.8rem 0;
  font-size: 0.85rem;
  line-height: 1.6;
}
.risk-severe {
  background: #fde8e8;
  border-left: 3px solid #c0392b;
  padding: 0.7rem 1rem;
  border-radius: 0 5px 5px 0;
  margin: 0.8rem 0;
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ── ZAHNSCHEMA ── */
.zahnschema-wrapper {
  margin: 1.5rem 0;
  background: #fff;
  border: 1px solid #d0dde4;
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
}
.zahnschema { display: flex; flex-direction: column; gap: 0; font-family: 'Montserrat', monospace; font-size: 0.85rem; }
.zahnschema-row { display: flex; align-items: center; gap: 0; }
.zahnschema-label { width: 32px; font-weight: 700; color: #1B5E7B; font-size: 0.82rem; text-align: center; flex-shrink: 0; }
.zahnschema-teeth { display: flex; flex: 1; }
.zahnschema-half { display: flex; flex: 1; }
.zahnschema-half.right { justify-content: flex-end; }
.tooth {
  flex: 1; text-align: center; padding: 0.35rem 0.15rem;
  cursor: pointer; user-select: none; -webkit-user-select: none;
  transition: background 0.15s; font-size: 0.78rem; color: #2c3e4a; min-width: 0;
}
.tooth:hover { background: #eef4f7; }
.tooth.selected { background: #1B5E7B; color: #fff; border-radius: 3px; font-weight: 700; }
.zahnschema-divider-h { height: 1px; background: #1B5E7B; margin: 0 32px; }
.zahnschema-divider-v { width: 1px; background: #1B5E7B; align-self: stretch; }
.zahnschema-hint { font-size: 0.75rem; color: #5a7585; margin-top: 0.6rem; text-align: center; font-style: italic; }
.selected-teeth-display { margin-top: 0.6rem; padding: 0.5rem 0.8rem; background: #eef4f7; border-radius: 5px; font-size: 0.82rem; color: #2c3e4a; min-height: 1.8rem; }
.selected-teeth-display strong { color: #1B5E7B; }

/* ── ZAHNSCHEMA MOBIL ── */
@media (max-width: 600px) {
  .zahnschema-wrapper { padding: 0.8rem; overflow: visible; }
  .zahnschema { font-size: 0.75rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .zahnschema-row { min-width: 420px; }
  .tooth { font-size: 0.7rem; padding: 0.45rem 0.1rem; min-width: 24px; }
  .zahnschema-hint::after { content: ' · Wischen zum Scrollen'; }
}

/* ── CHECKBOXEN ── */
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.3rem 1.5rem; margin: 0.8rem 0; }
.checkbox-grid-1 { grid-template-columns: 1fr; gap: 0.3rem; }
.checkbox-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.3rem 1rem; margin: 0.8rem 0; }
@media (max-width: 600px) { .checkbox-grid, .checkbox-grid-3 { grid-template-columns: 1fr; } }
.checkbox-item { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.85rem; line-height: 1.5; padding: 0.3rem 0; cursor: pointer; }
.checkbox-item input[type="checkbox"] { width: 16px; height: 16px; min-width: 16px; margin-top: 0.15rem; accent-color: #1B5E7B; cursor: pointer; }

/* ── RADIO-GRUPPEN ── */
.radio-group { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0.6rem 0; }
.radio-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; cursor: pointer; }
.radio-item input[type="radio"] { accent-color: #1B5E7B; cursor: pointer; }

/* ── TEXT-FELDER ── */
.text-line {
  border: none; border-bottom: 1px solid #5a7585; background: transparent;
  font-family: inherit; font-size: 0.88rem; color: #2c3e4a;
  padding: 0.3rem 0.2rem; width: 100%; outline: none; transition: border-color 0.2s;
}
.text-line:focus { border-bottom-color: #1B5E7B; border-bottom-width: 2px; }
.text-line-inline {
  border: none; border-bottom: 1px solid #5a7585; background: transparent;
  font-family: inherit; font-size: 0.85rem; color: #2c3e4a;
  padding: 0.2rem 0.3rem; width: 220px; outline: none; display: inline-block;
}
.textarea-box {
  width: 100%; min-height: 60px; border: 1px solid #d0dde4; border-radius: 5px;
  padding: 0.5rem 0.7rem; font-family: inherit; font-size: 0.85rem; color: #2c3e4a;
  resize: vertical; outline: none; transition: border-color 0.2s;
}
.textarea-box:focus { border-color: #1B5E7B; }

/* ── UNTERSCHRIFT ── */
.sig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; margin-top: 1.5rem; }
@media (max-width: 600px) { .sig-grid { grid-template-columns: 1fr; } }
.sig-field label { display: block; font-size: 0.78rem; color: #5a7585; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.3rem; font-weight: 600; }
.sig-field .sig-line { border-bottom: 1px solid #2c3e4a; height: 2.2rem; margin-bottom: 0.6rem; }
.sig-field .sig-input { width: 100%; border: none; border-bottom: 1px solid #2c3e4a; height: 2.2rem; margin-bottom: 0.6rem; font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif; font-size: 0.92rem; color: #2c3e4a; background: transparent; outline: none; padding: 0.3rem 0; }
.sig-field .sig-input:focus { border-bottom-color: #1B5E7B; box-shadow: 0 1px 0 0 #1B5E7B; }

/* ── HERVORHEBUNG / HINWEIS ── */
.form-highlight { background: #eef4f7; border-left: 3px solid #1B5E7B; padding: 0.9rem 1.2rem; border-radius: 0 6px 6px 0; margin: 1rem 0; font-size: 0.85rem; line-height: 1.7; }
.form-divider { height: 1px; background: #d0dde4; margin: 1.5rem 0; }
/* ── ANAMNESEBOGEN HINT (Home – Aufklärung & Kostenrechner) ── */
.anamnese-hint {
  margin: 0.8rem 0 1.2rem;
}
.anamnese-hint-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #eef4f7 0%, #dfeaf0 100%);
  border: 1px solid #c8dce5;
  border-left: 3px solid #1B5E7B;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: #2c3e4a;
  font-size: 0.88rem;
  font-weight: 400;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.anamnese-hint-link:hover {
  background: linear-gradient(135deg, #dfeaf0 0%, #c8dce5 100%);
  border-color: #1B5E7B;
  box-shadow: 0 2px 8px rgba(27, 94, 123, 0.1);
}
.anamnese-hint-link strong {
  color: #1B5E7B;
}
.anamnese-hint-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  stroke: #1B5E7B;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.anamnese-hint-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-left: auto;
  stroke: #5a7585;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}
.anamnese-hint-link:hover .anamnese-hint-arrow {
  transform: translateX(3px);
  stroke: #1B5E7B;
}

.anamnese-notice { background: #c8dce5; border-radius: 6px; padding: 0.9rem 1.2rem; margin: 1rem 0; font-size: 0.85rem; line-height: 1.6; font-weight: 500; }

/* ── OPTION-KARTEN ── */
.option-card { background: #fff; border: 1px solid #d0dde4; border-radius: 8px; padding: 1rem 1.3rem; margin: 0.8rem 0; }
.option-card-label { font-family: 'Montserrat', sans-serif; font-size: 0.85rem; font-weight: 700; color: #1B5E7B; margin-bottom: 0.5rem; }
.option-card .risk-note { font-size: 0.82rem; color: #5a7585; line-height: 1.5; margin-top: 0.6rem; padding-top: 0.5rem; border-top: 1px dashed #d0dde4; }
.option-card .risk-note strong { color: #996d10; }

/* ── PHASEN-SCHRITTE (Prothetik) ── */
.phase-step { display: flex; gap: 1rem; margin: 0.8rem 0; align-items: flex-start; }
.phase-number { width: 28px; height: 28px; min-width: 28px; border-radius: 50%; background: #1B5E7B; color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Montserrat', sans-serif; font-size: 0.75rem; font-weight: 700; margin-top: 0.1rem; }
.phase-content { flex: 1; }
.phase-content strong { color: #1B5E7B; font-size: 0.88rem; }
.phase-content p { margin: 0.2rem 0 0; font-size: 0.84rem; line-height: 1.6; color: #2c3e4a; }

/* ── FELD-GRUPPEN (Anamnesebogen & Dokumentation) ── */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem 2rem; margin: 0.8rem 0; }
.field-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.8rem 2rem; margin: 0.8rem 0; }
@media (max-width: 600px) { .field-row, .field-row-3 { grid-template-columns: 1fr; } }
.field-group { display: flex; flex-direction: column; gap: 0.2rem; }
.field-group label { font-size: 0.78rem; color: #5a7585; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.cond-field { margin-left: 1.8rem; margin-top: 0.3rem; margin-bottom: 0.5rem; }

/* ── JA/NEIN-REIHEN (Anamnesebogen) ── */
.yn-row { display: flex; align-items: baseline; gap: 0.6rem; font-size: 0.85rem; margin: 0.5rem 0; }
.yn-row .yn-label { flex: 0 0 55%; color: #2c3e4a; line-height: 1.5; }
.yn-options { display: flex; gap: 0.8rem; flex-shrink: 0; }
@media (max-width: 500px) {
  .yn-row { flex-wrap: wrap; }
  .yn-row .yn-label { flex: 0 0 100%; }
}

/* ── ÄRZTLICHE DOKUMENTATION: 2-SPALTEN-GRID ── */
.doc-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 2rem;
  margin-top: 0.8rem;
}
.doc-fields > div {
  display: flex;
  align-items: baseline;
  gap: 0.4rem 0.6rem;
  font-size: 0.85rem;
  flex-wrap: wrap;
}
@media (max-width: 600px) { .doc-fields { grid-template-columns: 1fr; } }

/* ── UTILITY-KLASSEN FÜR FORMULARE ── */
.form-label { font-size: 0.85rem; margin-bottom: 0.4rem; font-weight: 600; color: #1B5E7B; }
.form-label--lg { font-size: 0.85rem; margin-bottom: 0.5rem; font-weight: 600; color: #1B5E7B; }
.form-row { display: flex; flex-direction: column; gap: 0.25rem; margin: 0.5rem 0; }
.form-row label { font-size: 0.85rem; font-weight: 600; color: #2c3e4a; }
.consent-check { margin: 1rem 0; font-weight: 600; font-size: 0.9rem; }
.consent-list { margin: 0.5rem 0 1rem; font-size: 0.85rem; line-height: 1.7; }
.hint-text { font-size: 0.84rem; color: #5a7585; margin-bottom: 0.5rem; }
.doc-label { font-size: 0.78rem; color: #5a7585; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.header-link { color: inherit; text-decoration: none; }

/* ── PRINT / PDF BUTTON ── */
.print-bar { max-width: 900px; margin: 0 auto; padding: 0.8rem 2rem 0; display: flex; justify-content: flex-end; gap: 0.8rem; }
.btn-print { display: inline-flex; align-items: center; gap: 0.5rem; background: #1B5E7B; color: #fff; border: none; padding: 0.6rem 1.3rem; border-radius: 6px; font-family: 'Montserrat', sans-serif; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: background 0.2s; text-decoration: none; }
.btn-print:hover { background: #143d52; }
.btn-print svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── PRAXIS-HEADER (nur Druck) ── */
.form-praxis-header { display: none; }

/* ── DSGVO-HINWEIS ── */
.dsgvo-notice { font-size: 0.78rem; color: #5a7585; line-height: 1.5; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid #d0dde4; }


/* ══════════════════════════════════════════════════════════════════ */
/* ══  ÜBERSICHTSSEITEN – CARD GRID  (Aufklärungsbögen / Rechner) ══ */
/* ══════════════════════════════════════════════════════════════════ */

.forms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1.5rem;
}
@media (max-width: 600px) { .forms-grid { grid-template-columns: 1fr; } }

.form-card {
  display: flex; flex-direction: column; padding: 1.5rem;
  background: #ffffff; border: 1px solid #d0dde4; border-radius: 10px;
  text-decoration: none; color: inherit; position: relative;
  transition: background 0.3s ease, border-color 0.3s ease,
              box-shadow 0.3s ease, transform 0.2s ease;
}
.form-card:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(27,94,123,0.22);
  transform: translateY(-2px);
}
@media (hover: none) {
  .form-card:active {
    background: var(--primary);
    border-color: var(--primary);
  }
}
.form-card.placeholder { border-style: dashed; opacity: 0.6; cursor: default; }
.form-card.placeholder:hover { box-shadow: none; border-color: #d0dde4; transform: none; background: #ffffff; }
.form-card.placeholder .form-card-icon { background: #f0f0f0; }
.form-card.placeholder .form-card-icon svg { stroke: #999; }
.form-card.placeholder .form-card-title { color: #666; }

.form-card-icon {
  width: 42px; height: 42px; background: #eef4f7; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
  transition: background 0.3s ease;
}
.form-card:hover .form-card-icon {
  background: rgba(255,255,255,0.2);
}
.form-card-icon svg {
  width: 22px; height: 22px; stroke: #1B5E7B; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.3s ease;
}
.form-card:hover .form-card-icon svg {
  stroke: #fff;
}
.form-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem; font-weight: 700; color: #1B5E7B;
  margin-bottom: 0.4rem; line-height: 1.4;
  transition: color 0.3s ease;
}
.form-card:hover .form-card-title { color: #fff; }
.form-card-desc {
  font-size: 0.85rem; color: #5a7585; line-height: 1.5; flex: 1;
  transition: color 0.3s ease;
}
.form-card:hover .form-card-desc { color: rgba(255,255,255,0.85); }
.form-card-action {
  margin-top: 1rem; font-size: 0.82rem; font-weight: 600; color: #1B5E7B;
  display: flex; align-items: center; gap: 0.3rem;
  transition: color 0.3s ease;
}
.form-card:hover .form-card-action { color: #fff; gap: 0.5rem; }
.form-card-action::after { content: '→'; transition: transform 0.2s; }
.form-card:hover .form-card-action::after { transform: translateX(3px); }

/* Badges */
.card-badge {
  position: absolute; top: 0.8rem; right: 0.8rem;
  font-size: 0.65rem; font-weight: 700; padding: 0.2rem 0.5rem;
  border-radius: 4px; text-transform: uppercase; letter-spacing: 0.04em;
}
.badge-mkv { background: #eef4f7; color: #1B5E7B; transition: background 0.3s, color 0.3s; }
.badge-abd { background: #fef9e7; color: #b7950b; transition: background 0.3s, color 0.3s; }
.form-card:hover .badge-mkv,
.form-card:hover .badge-abd { background: rgba(255,255,255,0.2); color: #fff; }

/* Kategorie-Header */
.cat-header {
  grid-column: 1 / -1;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem; font-weight: 700; color: #1B5E7B;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.6rem 0 0.2rem; border-bottom: 2px solid #1B5E7B;
  margin-top: 0.5rem;
}
.cat-header:first-child { margin-top: 0; }

/* Info-Banner (blau, für Übersichtsseiten) */
.info-banner-blue {
  background: #eef4f7; border-left: 3px solid #1B5E7B;
  padding: 1.2rem 1.5rem; border-radius: 0 8px 8px 0;
  margin: 1.5rem 0 0; font-size: 0.88rem; line-height: 1.7;
}
.info-banner-blue strong { color: #1B5E7B; }
.info-banner-inner { display: flex; align-items: flex-start; gap: 1rem; }
.info-banner-inner svg {
  width: 28px; height: 28px; min-width: 28px;
  stroke: #1B5E7B; fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; margin-top: 0.1rem;
}
.info-banner-inner > div p { margin: 0 0 0.6rem; font-size: 0.88rem; line-height: 1.7; }
.info-banner-inner > div p:last-child { margin-bottom: 0; }

/* Features-Notice */
.features-notice {
  background: #fff; border: 1px solid #d0dde4; border-radius: 8px;
  padding: 1.2rem 1.5rem; margin: 1rem 0 0;
  font-size: 0.82rem; line-height: 1.6; color: #5a7585;
}
.features-notice strong { color: #1B5E7B; font-size: 0.84rem; }
.features-items { display: flex; flex-wrap: wrap; gap: 0.3rem 1.5rem; margin-top: 0.6rem; }
.feature-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; }
.feature-item svg {
  width: 14px; height: 14px; stroke: #1B5E7B; fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; min-width: 14px;
}

/* Legal-Notice (Fußbereich Übersichtsseiten) */
.overview-legal {
  font-size: 0.78rem; color: #5a7585; line-height: 1.5;
  margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #d0dde4;
}
.overview-legal p { margin: 0 0 0.4rem; }
.overview-legal a { color: #1B5E7B; font-weight: 600; }


/* ══════════════════════════════════════════════════════════════ */
/* ══  PATIENTENBEREICH – Info-Banner / Datenschutz / Logout  ══ */
/* ══════════════════════════════════════════════════════════════ */

/* ── Patienten-Info-Banner ── */
.patient-info {
  background: #eef4f7;
  border-left: 3px solid #1B5E7B;
  padding: 1.2rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0 0;
  font-size: 0.88rem;
  line-height: 1.7;
}
.patient-info strong { color: #1B5E7B; }
.patient-info-icon {
  display: flex; align-items: flex-start; gap: 1rem;
}
.patient-info-icon svg {
  width: 28px; height: 28px; min-width: 28px;
  stroke: #1B5E7B; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  margin-top: 0.1rem;
}
.patient-info-icon > div p {
  margin: 0 0 0.6rem; font-size: 0.88rem; line-height: 1.7;
}
.patient-info-icon > div p:last-child { margin-bottom: 0; }

/* ── Datenschutz-Hinweis ── */
.data-notice {
  background: #fff; border: 1px solid #d0dde4; border-radius: 8px;
  padding: 1.2rem 1.5rem; margin: 1rem 0 0;
  font-size: 0.82rem; line-height: 1.6; color: #5a7585;
}
.data-notice strong { color: #1B5E7B; font-size: 0.84rem; }
.data-notice-items {
  display: flex; flex-wrap: wrap; gap: 0.3rem 1.5rem; margin-top: 0.6rem;
}
.data-notice-item {
  display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem;
}
.data-notice-item svg {
  width: 14px; height: 14px; stroke: #1B5E7B; fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; min-width: 14px;
}

/* ── Legal-Notice (Aufklärungsbögen-Fußbereich) ── */
.legal-notice {
  font-size: 0.78rem; color: #5a7585; line-height: 1.5;
  margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #d0dde4;
}
.legal-notice p { margin: 0 0 0.4rem; }

/* ── Logout-Link ── */
.logout-bar {
  max-width: 900px; margin: 0 auto; padding: 0.5rem 2rem 0;
  display: flex; justify-content: flex-end;
}
.logout-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.8rem; color: #5a7585; text-decoration: none;
  font-weight: 500; transition: color 0.2s;
}
.logout-link:hover { color: #1B5E7B; }
.logout-link svg {
  width: 14px; height: 14px; stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}


/* ═══════════════════════════════════════════════════════════ */
/* ══  KOSTENRECHNER – TOOL-OBERFLÄCHE  (alle Rechner)  ══ */
/* ═══════════════════════════════════════════════════════════ */

/* ── Tool Header ── */
.tool-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff; padding: 1.2rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.tool-header h1 { font-size: 1.15rem; font-weight: 700; }
.tool-badge {
  background: rgba(255,255,255,.15); padding: .3rem .8rem;
  border-radius: 20px; font-size: .75rem; font-weight: 600; text-transform: uppercase;
}
.tool-hint { font-size: .78rem; opacity: .8; width: 100%; }

/* ── Action Bar ── */
.action-bar {
  background: #ffffff; border-bottom: 1px solid #d0dde4;
  padding: .8rem 2rem; display: flex; gap: .6rem; flex-wrap: wrap;
  position: sticky; top: 0; z-index: 100;
}
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1.1rem; border: none; border-radius: 6px;
  font-family: inherit; font-size: .82rem; font-weight: 600;
  cursor: pointer; transition: all .2s; text-decoration: none;
}
.btn svg {
  width: 16px; height: 16px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.btn-primary { background: var(--primary); color: #ffffff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-green { background: #27ae60; color: #ffffff; }
.btn-green:hover { background: #219a52; }
.btn-orange { background: #e67e22; color: #ffffff; }
.btn-orange:hover { background: #cf6d17; }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 1.5px solid #d0dde4;
}
.btn-outline:hover { border-color: var(--primary); background: #eef4f7; }

/* ── Calculator Panel ── */
.calculator-panel {
  background: #ffffff; border: 2px solid var(--primary);
  border-radius: 10px; margin: 1.5rem 2rem; overflow: hidden;
}
.calc-title {
  background: var(--primary); color: #ffffff;
  padding: .7rem 1.2rem; font-size: .95rem; font-weight: 700;
  display: flex; align-items: center; gap: .5rem;
}
.calc-body { padding: 1.5rem; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 2rem; }
@media (max-width: 800px) { .calc-grid { grid-template-columns: 1fr; } }
.calc-section { margin-bottom: 1.2rem; }
.calc-section:last-child { margin-bottom: 0; }
.calc-label {
  display: block; font-size: .8rem; font-weight: 700;
  color: var(--primary); text-transform: uppercase;
  letter-spacing: .04em; margin-bottom: .4rem;
}
.calc-sublabel { font-size: .75rem; color: #5a7585; margin-bottom: .4rem; }
.calc-input, .calc-select {
  width: 100%; padding: .55rem .8rem; font-family: inherit; font-size: .9rem;
  border: 1.5px solid #d0dde4; border-radius: 6px;
  background: #f7fafb; color: #2c3e4a; transition: border-color .2s;
}
.calc-input:focus, .calc-select:focus { outline: none; border-color: var(--primary); }
.calc-input-sm { width: 120px; text-align: center; }

/* Radio-Gruppen */
.calc-radio-group { display: flex; gap: .3rem; flex-wrap: wrap; }
.calc-radio-group label {
  display: flex; align-items: center; gap: .3rem;
  padding: .4rem .8rem; border: 1.5px solid #d0dde4; border-radius: 6px;
  font-size: .82rem; font-weight: 500; cursor: pointer; transition: all .2s;
}
.calc-radio-group label:hover { border-color: var(--primary); }
.calc-radio-group input { display: none; }
.calc-radio-group label:has(input:checked) { border-color: var(--primary); background: #eef4f7; }
.calc-radio-group label:has(input:checked) span { color: var(--primary); font-weight: 700; }

/* Checkbox-Gruppen */
.calc-check-group { display: flex; flex-direction: column; gap: .3rem; }
.calc-check-group label {
  display: flex; align-items: center; gap: .4rem;
  font-size: .85rem; margin-bottom: .3rem; cursor: pointer;
}
.calc-check-group input[type="checkbox"] { accent-color: var(--primary); width: 16px; height: 16px; }

/* Versorgungsart-Karten (Krone/Brücke/Teilkrone) */
.versorgung-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; margin-top: .4rem; }
@media (max-width: 1000px) { .versorgung-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .versorgung-cards { grid-template-columns: 1fr; } }
.v-card {
  border: 2px solid #d0dde4; border-radius: 8px; padding: .7rem;
  cursor: pointer; transition: all .25s;
}
.v-card:hover { border-color: var(--primary-light); }
.v-card.active {
  border-color: var(--primary); background: #eef4f7;
  box-shadow: 0 2px 12px rgba(27,94,123,.15);
}
.v-card input { display: none; }
.v-tag {
  font-size: .6rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; padding: .12rem .45rem; border-radius: 3px;
  display: inline-block; margin-bottom: .25rem;
}
.v-tag.regel { background: #eaf6ee; color: #27ae60; }
.v-tag.gleich { background: #eef4f7; color: var(--primary); }
.v-tag.hochw  { background: #fef3e2; color: #e67e22; }
.v-title { font-size: .82rem; font-weight: 700; color: #2c3e4a; margin-bottom: .15rem; }
.v-desc  { font-size: .7rem; color: #5a7585; line-height: 1.35; }

/* Brücken-Schema (nur bruecke-rechner) */
.bridge-schema {
  background: #f5f9fb; border: 1.5px solid #d0dde4; border-radius: 8px;
  padding: 1rem; margin-top: .6rem; text-align: center;
}
.bridge-visual {
  display: flex; justify-content: center; align-items: flex-end;
  gap: 2px; margin: .8rem 0 .4rem;
}
.bridge-unit {
  width: 44px; height: 48px; border-radius: 4px 4px 0 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 700; color: #ffffff; position: relative;
}
.bridge-unit.anker  { background: var(--primary); }
.bridge-unit.pontic { background: #e67e22; border-bottom: 3px dashed #e67e22; }
.bridge-connector { height: 8px; background: var(--primary); margin-top: -8px; border-radius: 4px; }
.bridge-summary { font-size: .78rem; color: #5a7585; margin-top: .3rem; }
.bridge-summary strong { color: #2c3e4a; }

/* ── Ergebnis ── */
.result-box {
  background: linear-gradient(135deg, #eef4f7 0%, #dce9ef 100%);
  border: 2px solid var(--primary); border-radius: 10px;
  margin: 1.5rem 2rem; padding: 1.5rem;
}
.result-title { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
.result-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.result-table th, .result-table td {
  padding: .45rem .6rem; text-align: left;
  border-bottom: 1px solid rgba(27,94,123,.15);
}
.result-table th {
  font-weight: 700; color: var(--primary);
  font-size: .78rem; text-transform: uppercase; letter-spacing: .03em;
}
.result-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.result-table tr.total td {
  font-weight: 700; font-size: .95rem;
  border-top: 2px solid var(--primary); border-bottom: none; padding-top: .7rem;
}
.result-table tr.kasse td { color: #27ae60; }
.result-table tr.eigen td { color: var(--primary-dark); font-weight: 700; font-size: 1rem; }
.result-table tr.cat td {
  font-weight: 700; color: var(--primary);
  background: rgba(27,94,123,.05); font-size: .78rem;
  text-transform: uppercase; letter-spacing: .03em;
}
.result-table tr.sub td { font-weight: 600; border-top: 1px solid rgba(27,94,123,.2); }

/* ── Hinweis-Boxen (rechner-context) ── */
.tool-warn-box,
.calculator-panel ~ .warn-box {
  background: #fef9e7; border-left: 4px solid #f1c40f;
  padding: .8rem 1rem; margin: 1rem 2rem;
  border-radius: 0 6px 6px 0; font-size: .82rem; line-height: 1.5;
}
.tool-warn-box strong,
.calculator-panel ~ .warn-box strong { color: #b7950b; }
.tool-info-box,
.calculator-panel ~ .info-box {
  background: #eaf6ee; border-left: 4px solid #27ae60;
  padding: .8rem 1rem; margin: 1rem 2rem;
  border-radius: 0 6px 6px 0; font-size: .82rem; line-height: 1.5;
}
hr.section-divider {
  border: none; border-top: 2px solid #d0dde4; margin: 2rem 2rem;
}


/* ═══════════════════════════════════════════════════════════ */
/* ══  KOSTENRECHNER – MKV / ABDINGUNG DRUCKDOKUMENTE  ══ */
/* ═══════════════════════════════════════════════════════════ */

.mkv-document, .abdingung-document { display: none; }

.print-doc { max-width: 800px; margin: 0 auto; font-size: 9.5pt; line-height: 1.5; color: #1a1a1a; }
.print-doc h1 { font-size: 14pt; color: var(--primary); margin-bottom: .3rem; }
.print-doc h2 {
  font-size: 11pt; color: var(--primary);
  margin: 1.2rem 0 .4rem; padding-bottom: .2rem;
  border-bottom: 1.5px solid var(--primary);
}
.print-doc p { margin-bottom: .4rem; }

.print-doc .doc-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: .6rem; border-bottom: 2px solid var(--primary); margin-bottom: 1rem;
}
.print-doc .doc-header .praxis-name { font-size: 12pt; font-weight: 700; color: var(--primary); }
.print-doc .doc-header .praxis-info { font-size: 8pt; color: #5a7585; line-height: 1.4; }
.print-doc .doc-header .doc-date    { font-size: 8.5pt; text-align: right; color: #5a7585; }

.print-doc .patient-info {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .3rem 1.5rem; margin-bottom: 1rem;
  padding: .6rem; border: 1px solid #d0dde4; border-radius: 4px; font-size: 9pt;
}
.print-doc .patient-info .pi-label { font-weight: 600; color: #5a7585; font-size: 8pt; }
.print-doc .patient-info .pi-value { font-weight: 600; min-height: 1.2em; border-bottom: 1px dotted #d0dde4; }

.print-doc table.cost-table { width: 100%; border-collapse: collapse; margin: .6rem 0; font-size: 8.5pt; }
.print-doc table.cost-table th {
  background: #eef4f7; color: var(--primary); font-weight: 700;
  font-size: 7.5pt; text-transform: uppercase; padding: .4rem .5rem;
  text-align: left; border-bottom: 1.5px solid var(--primary);
}
.print-doc table.cost-table td { padding: .35rem .5rem; border-bottom: .5px solid #ddd; }
.print-doc table.cost-table td.r { text-align: right; font-variant-numeric: tabular-nums; }
.print-doc table.cost-table tr.sum td {
  font-weight: 700; border-top: 1.5px solid var(--primary);
  border-bottom: none; font-size: 9.5pt;
}
.print-doc table.cost-table tr.kasse td { color: #27ae60; }
.print-doc table.cost-table tr.eigen td { color: var(--primary); font-weight: 800; font-size: 10pt; }
.print-doc table.cost-table tr.cat td {
  font-weight: 700; color: var(--primary); background: #f5f9fb;
  font-size: 8pt; text-transform: uppercase;
}

.print-doc .legal-text { font-size: 8pt; color: #555; line-height: 1.45; margin-top: .8rem; }

.print-doc .kva-notice {
  background: #f5f9fb; border: 1px solid var(--primary); border-radius: 4px;
  padding: .5rem .7rem; margin: .6rem 0; font-size: 8pt; line-height: 1.45;
}
.print-doc .abdingung-warn {
  background: #fef9e7; border: 1.5px solid #f1c40f; border-radius: 4px;
  padding: .6rem .8rem; margin: .8rem 0; font-size: 8.5pt;
}

.print-doc .sig-area { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.print-doc .sig-block .sig-label { font-size: 8pt; color: #5a7585; margin-bottom: .2rem; }
.print-doc .sig-block .sig-line  { border-bottom: 1px solid #333; height: 2.5rem; }
.print-doc .sig-block .sig-hint  { font-size: 7pt; color: #5a7585; margin-top: .15rem; }

.print-doc .copy-receipt {
  margin-top: 1.5rem; padding-top: .8rem; border-top: 1px dashed #999;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; font-size: 8.5pt;
}
.print-doc .copy-receipt .cr-field { border-bottom: 1px solid #333; min-height: 1.8rem; margin-top: .2rem; }
.print-doc .copy-receipt .cr-label { font-size: 7.5pt; color: #5a7585; }


/* ═══════════════════════════════════════════════ */
/* ══  KOSTENRECHNER – DRUCK  ══ */
/* ═══════════════════════════════════════════════ */

@media print {
  /* Rechner-UI im Druck ausblenden (generisch, schadet nichts) */
  .tool-header, .action-bar, .calculator-panel, .result-box,
  .section-divider, .tool-warn-box, .tool-info-box,
  .calculator-panel ~ .warn-box, .calculator-panel ~ .info-box { display: none !important; }
  /* MKV/Abdingung-Drucksteuerung: ENTKOPPELT (15.03.2026)
     Alle MKV/Abdingung Print-Regeln (doc-header, padding, body-Klassen)
     sind jetzt in den jeweiligen Rechner-Dateien inline definiert.
     Damit verhindern wir Kollateralschäden bei Änderungen an style.css. */
}

/* ── Rechner: Responsive ── */
@media (max-width: 600px) {
  .tool-header, .action-bar, .calculator-panel, .result-box { margin-left: 1rem; margin-right: 1rem; }
  .tool-warn-box, .tool-info-box,
  .calculator-panel ~ .warn-box, .calculator-panel ~ .info-box { margin-left: 1rem; margin-right: 1rem; }
  .calc-body { padding: 1rem; }
}


/* ═══ FORMULARE: DRUCK ═══ */
@media print {
  body { background: #fff; font-size: 9.5pt; line-height: 1.35; -webkit-print-color-adjust: exact; print-color-adjust: exact; margin: 0; padding: 0; }
  .header, .breadcrumb, .subpage-hero, .contact-bar, .footer, .back-link-bar, .print-bar, .cta-termin { display: none !important; }
  .form-praxis-header { display: flex; align-items: center; gap: 0; padding-bottom: 0.5rem; border-bottom: 2px solid #1B5E7B; margin-bottom: 0.8rem; }
  .form-praxis-header img { height: 38px; width: auto; }
  .form-praxis-header .praxis-fach { display: flex; flex-direction: column; gap: 0.08rem; border-left: 1.5px solid #c8dce5; padding-left: 0.6rem; margin-left: 0.5rem; }
  .form-praxis-header .praxis-fach span { font-size: 7pt; font-weight: 700; color: #5a7585; letter-spacing: 0.06em; line-height: 1.3; white-space: nowrap; }
  .form-praxis-header .praxis-doc-title { font-size: 10pt; font-weight: 700; color: #2c3e4a; margin-left: auto; white-space: nowrap; }
  .form-page { padding: 1.5cm 1.8cm; max-width: 100%; box-sizing: border-box; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
  .form-page h2 { font-size: 10.5pt; margin-top: 0.5rem; margin-bottom: 0.3rem; padding-bottom: 0.15rem; page-break-after: avoid; break-after: avoid; }
  .form-page h2:first-of-type { margin-top: 0; }
  .form-page h3 { font-size: 9.5pt; margin-top: 0.4rem; margin-bottom: 0.2rem; page-break-after: avoid; break-after: avoid; }
  .form-page h2 + *, .form-page h3 + * { page-break-before: avoid; break-before: avoid; }
  .form-page p, .form-page li, .checkbox-item, .radio-item, .yn-row { font-size: 8.5pt; line-height: 1.3; }
  .form-page p { margin-bottom: 0.25rem; }
  .form-page ul { margin: 0 0 0.4rem; }
  .form-page ul li { margin-bottom: 0.15rem; }
  .yn-row .yn-label { flex: 0 0 50%; }
  .yn-row { margin: 0.25rem 0; }
  .form-divider { margin: 0.4rem 0; }
  .form-highlight { padding: 0.4rem 0.8rem; margin: 0.4rem 0; font-size: 8.5pt; line-height: 1.3; page-break-inside: avoid; }
  .risk-warn, .risk-severe { padding: 0.35rem 0.8rem; margin: 0.4rem 0; font-size: 8.5pt; line-height: 1.3; page-break-inside: avoid; }
  .anamnese-notice { padding: 0.4rem 0.8rem; margin: 0.4rem 0; font-size: 8.5pt; page-break-inside: avoid; }
  .option-card { padding: 0.5rem 0.8rem; margin: 0.35rem 0; page-break-inside: avoid; }
  .option-card-label { font-size: 8.5pt; margin-bottom: 0.25rem; }
  .option-card .risk-note { font-size: 8pt; margin-top: 0.25rem; padding-top: 0.25rem; }
  .phase-step { margin: 0.35rem 0; gap: 0.5rem; }
  .phase-number { width: 22px; height: 22px; min-width: 22px; font-size: 0.65rem; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .phase-content strong { font-size: 8.5pt; }
  .phase-content p { font-size: 8pt; line-height: 1.3; }
  .checkbox-grid { gap: 0.15rem 1.2rem; margin: 0.35rem 0; }
  .checkbox-grid-1 { gap: 0.15rem; }
  .checkbox-grid-3 { gap: 0.15rem 0.8rem; margin: 0.35rem 0; }
  .checkbox-item { font-size: 8.5pt; }
  .checkbox-item input[type="checkbox"] { width: 11px; height: 11px; min-width: 11px; }
  .zahnschema-wrapper { padding: 0.3rem 0.8rem; margin-bottom: 0.2rem; page-break-inside: avoid; }
  .zahnschema-hint { font-size: 6.5pt; margin-top: 0.2rem; }
  .selected-teeth-display { border: 1px solid #d0dde4; background: #fff; padding: 0.2rem 0.5rem; font-size: 8pt; margin-top: 0.2rem; }
  .tooth { font-size: 7.5pt; padding: 0.2rem 0.1rem; }
  .sig-grid { margin-top: 0.6rem; gap: 0.8rem 2rem; }
  .sig-field .sig-line { height: 1.3rem; margin-bottom: 0.3rem; }
  .sig-field .sig-input { height: 1.3rem; margin-bottom: 0.3rem; font-size: 8.5pt; }
  .sig-field label { font-size: 7pt; }
  .text-line, .text-line-inline { font-size: 8.5pt; }
  .textarea-box { min-height: 25px; font-size: 8pt; }
  .field-group { gap: 0.1rem; }
  .field-group label { font-size: 7pt; }
  .form-label, .form-label--lg { font-size: 8.5pt; margin-bottom: 0.2rem; }
  .hint-text { font-size: 8pt; margin-bottom: 0.25rem; }
  .cond-field { margin: 0.25rem 0; }
  .dsgvo-notice { font-size: 6.5pt; line-height: 1.25; margin-top: 0.5rem; padding-top: 0.4rem; }
  .sig-grid { page-break-inside: avoid; }
  .dsgvo-notice { page-break-inside: avoid; }
  .form-page p { orphans: 3; widows: 3; }
  .form-highlight, .risk-warn, .risk-severe, .anamnese-notice, .option-card { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  @page { margin: 0; size: A4; }
}

/* ── Scroll Reveal (generisch) ── */
.sr { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.sr.sr-v { opacity: 1; transform: translateY(0); }
@media print { .sr { opacity: 1 !important; transform: none !important; } }

/* ── Ärztliche Dokumentation: einklappbar (Bildschirm), sichtbar (Druck) ── */
details.doc-section > summary { cursor: pointer; list-style: none; }
details.doc-section > summary::-webkit-details-marker { display: none; }
details.doc-section > summary > h2 { display: inline; }
details.doc-section > summary::after { content: " ▸ aufklappen"; font-size: 0.8rem; color: #666; font-weight: normal; }
details.doc-section[open] > summary::after { content: " ▾ einklappen"; font-size: 0.8rem; color: #666; font-weight: normal; }
@media print {
  details.doc-section { display: block !important; }
  details.doc-section > summary::after { content: none !important; }
  details.doc-section > summary ~ * { display: block !important; }
}

/* ── Strang B: Toggle-Architektur (Überblick / Alle Details) ── */
.view-toggle { text-align: center; padding: 0.7rem 1rem; background: #f7f9fa; border-bottom: 1px solid #e0e6ea; }
.view-toggle-btn {
  display: inline-block; padding: 0.45rem 1.3rem; margin: 0 0.2rem;
  border: 2px solid #1B5E7B; border-radius: 5px; cursor: pointer;
  font-size: 0.88rem; font-weight: 600; color: #1B5E7B; background: #fff;
  transition: background 0.2s, color 0.2s;
}
.view-toggle-btn.active { background: #1B5E7B; color: #fff; }
.view-toggle-btn:hover:not(.active) { background: #e8eff3; }

/* Ansichtssteuerung */
body.view-overview .view-detail-only { display: none !important; }
body.view-detail .view-overview-only { display: none !important; }

/* Überblick: etwas mehr Weißraum */
body.view-overview .form-page p { line-height: 1.75; }

/* ── BARRIEREFREIHEIT: Skiplink (WCAG 2.4.1) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  background: #1B5E7B;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 0 0 6px 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 0;
}
@media print { .skip-link { display: none !important; } }

/* ── BARRIEREFREIHEIT: Tastatur-Fokus (WCAG 2.4.7) ── */
*:focus-visible {
  outline: 2.5px solid #1B5E7B;
  outline-offset: 2px;
  border-radius: 3px;
}
/* Maus-Klick: kein Fokusring */
*:focus:not(:focus-visible) {
  outline: none;
}

@media print {
  .view-toggle { display: none; }
  /* Druck: Toggle-Modus respektieren */
  body.view-overview .view-detail-only { display: none !important; }
  body.view-detail .view-overview-only { display: none !important; }
}

/* ── Rollout 2026-07: kein Blocksatz auf schmalen Screens (Lücken-Fix) ──
   Quellen des Blocksatzes: body, .philosophy, .prophylaxe-note, .impressum-page */
@media screen and (max-width: 700px) {
  body, .philosophy, .prophylaxe-note, .impressum-page {
    text-align: left;
  }
  p, li { hyphens: auto; }
}
