/* =========================================================
   Medicum Lünen - Static rebuild
   Design tokens + global styles
   ========================================================= */

:root {
  /* Colors */
  --navy:        #0d3a8f;   /* hero / CTA band */
  --navy-dark:   #0a1f3c;   /* footer */
  --blue:        #2f6bf0;   /* primary action */
  --blue-strong: #1f5fe0;
  --blue-bright: #2f6bf0;   /* section headings */
  --blue-soft:   #e8effb;   /* icon squares, pills */
  --blue-tint:   #eef3fd;   /* light section bg */
  --blue-tint-2: #eaf1fb;   /* contact section bg */

  --ink:    #1c2733;        /* headings */
  --ink-2:  #2c3a49;
  --text:   #51606f;        /* body (AA on white) */
  --muted:  #687585;        /* labels (AA on white) */
  --line:   #e4e9f1;        /* borders */
  --white:  #ffffff;

  --ok: #2bb673;            /* check marks */

  /* Type */
  --f-head: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --wrap: 1140px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 40px -22px rgba(13, 58, 143, .35);
  --shadow-soft: 0 10px 30px -18px rgba(13, 58, 143, .30);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--f-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
}

a { color: var(--blue-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.section { padding: 62px 0; }
.section--tint { background: var(--blue-tint); }

.center { text-align: center; }

.eyebrow {
  color: var(--blue-bright);
  font-family: var(--f-head);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 13px;
}

.section-head { max-width: 680px; margin: 0 auto 42px; text-align: center; }
.section-head h2 {
  color: var(--blue-bright);
  font-size: clamp(24px, 2.8vw, 31px);
  font-weight: 700;
  letter-spacing: -0.015em;
}
.section-head p { color: var(--text); font-size: 16px; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-head); font-weight: 600; font-size: 14.5px;
  padding: 11px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: none; }
.btn-primary:hover { background: var(--blue-strong); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border-color: #dce4f3; }
.btn-ghost:hover { background: #f4f7fe; color: var(--navy); }
.btn-white { background:#fff; color: var(--navy); }

/* Telefon-Link (kein Button) */
.tel-link { display:inline-flex; align-items:center; gap:8px; font-family:var(--f-head); font-weight:600; font-size:15px; color:var(--blue-strong); padding:11px 6px; text-decoration:none; }
.tel-link:hover { color:var(--blue); text-decoration:none; }
.tel-link i.ph { font-size:18px; }
.cta-band .tel-link { color:#fff; }
.cta-band .tel-link:hover { color:#fff; opacity:.85; }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy);
  color: #cdd9f3;
  font-size: 13px;
}
/* gewinnt gegen das nackte li{font-size:15px} im Desktop-Block */
.topbar li, .topbar a, .topbar .ml-status { font-size: 13px; }
.ml-status { display:flex; align-items:center; gap:7px; font-family: var(--f-head); font-weight:600; color:#eaf1ff; }
.ml-status .dot { width:8px; height:8px; border-radius:50%; flex:none; box-shadow:0 0 0 3px rgba(255,255,255,.08); }
.ml-status.is-open .dot { background:#22c55e; }
.ml-status.is-soon .dot { background:#f59e0b; }
.ml-status.is-closed .dot { background:#ef4444; animation: mlBlink 1.1s steps(2, start) infinite; }
@keyframes mlBlink { 50% { opacity:.2; } }

/* Breadcrumb */
.breadcrumb { font-size: 12px; }
.breadcrumb .wrap { padding-top: 26px; padding-bottom: 4px; display:flex; flex-wrap:wrap; align-items:center; gap:7px; color: var(--muted); font-family: var(--f-head); }
.breadcrumb + .wrap { padding-top: 10px !important; }
.breadcrumb + .section { padding-top: 10px; }
.breadcrumb a { color: var(--blue-strong); font-weight: 500; }
.breadcrumb a:hover { color: var(--blue); text-decoration: none; }
.breadcrumb .bc-sep { color: var(--muted); opacity:.6; }
.breadcrumb .bc-current { color: var(--muted); }
@media (max-width: 600px) {
  .breadcrumb .wrap { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; scrollbar-width: none; }
  .breadcrumb .wrap::-webkit-scrollbar { display: none; }
  .breadcrumb a, .breadcrumb .bc-current, .breadcrumb .bc-sep { flex: none; }
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: #e6edfb; }
.topbar a:hover { color:#fff; text-decoration: none; }
.topbar ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; flex-wrap: wrap; }
.topbar li { display: flex; align-items: center; gap: 7px; line-height: 1; }
.topbar a { display: inline-flex; align-items: center; line-height: 1; }
.topbar ul { align-items: center; }
.topbar svg { width: 15px; height: 15px; opacity: .85; }

/* ---------- Header ---------- */
#site-top { display: contents; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
.site-header .brand-img { height: 44px; }
@media (max-width: 600px) { .site-header .brand-img { height: 34px; } }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  font-family: var(--f-head); font-weight: 500; color: var(--ink-2);
  font-size: 14.5px; padding: 6px 0; position: relative;
}
.nav a:hover { color: var(--blue); text-decoration: none; }
.nav a.active { color: var(--blue); font-weight: 600; }
.header-cta { display: flex; align-items: center; gap: 14px; }

.burger { display:none; background:none; border:0; cursor:pointer; padding:8px; }
.burger svg { width: 28px; height: 28px; color: var(--navy); }

/* mobile menu */
.mobile-menu { display:none; }
.mobile-menu.open { display:block; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10,31,60,.5);
}
.mobile-menu__panel {
  position:absolute; inset:0; height:100%; width:100%;
  background:#fff; padding: 22px 22px calc(22px + env(safe-area-inset-bottom)); display:flex; flex-direction:column; gap: 6px;
  box-shadow: none; overflow-y: auto;
}
.mobile-menu__panel a { font-family: var(--f-head); font-weight:500; color: var(--ink); padding: 12px 4px; border-bottom: 1px solid var(--line); }
.mobile-menu__panel a.btn-primary { color: #fff; border-bottom: 0; padding: 13px 24px; }
.mobile-menu__close { align-self:flex-end; background:none;border:0;font-size:28px;line-height:1;cursor:pointer;color:var(--navy); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, #0e3d97 0%, #0b2f7d 100%);
  color: #eaf1ff; position: relative;
}
.hero .wrap { padding-top: 60px; padding-bottom: 92px; }
.hero h1 { color:#fff; font-size: clamp(42px, 6vw, 66px); font-weight: 700; max-width: 13ch; margin-bottom: 24px; letter-spacing: -0.02em; }
.hero p { font-size: 19px; color: #d3e0fb; max-width: 54ch; }
.hero .hero-actions { display:flex; gap:14px; flex-wrap:wrap; margin-top: 30px; }

/* hero overlap cards */
.overlap { margin-top: -24px; position: relative; z-index: 5; }
.overlap .grid-2 { gap: 24px; }

/* ---------- Cards ---------- */
.card {
  background:#fff; border: 0; border-radius: var(--radius);
  box-shadow: var(--shadow-soft); overflow: hidden;
}
.card-band {
  background: linear-gradient(135deg, #2f6bf0, #1f55d8);
  color:#fff; padding: 16px 22px; border-radius: 0;
  display:flex; align-items:center; gap: 12px;
}
.card-band h3 { color:#fff; margin:0; font-size: 17px; }
.card-band .ic { background: #fff; }
.card-body { padding: 22px; }

.icon-box {
  width: 40px; height:40px; border-radius: 10px; flex: none;
  display:flex; align-items:center; justify-content:center;
  background: var(--blue-soft); color: var(--blue);
  font-family: var(--f-head); font-weight: 600; font-size: 15px;
}
.icon-box svg { width: 20px; height: 20px; }
.icon-box.solid { background: var(--blue); color:#fff; }

/* generic grids */
.grid-2 { display:grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display:grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display:grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* service / feature card */
.feature {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: border-color .18s ease;
  display:flex; flex-direction:column; color:inherit;
}
a.feature:hover { border-color:#cfe0fb; text-decoration:none; color:inherit; }
.feature .icon-box { margin-bottom: 16px; }
.feature h3 { font-size: 17px; color: var(--ink); margin-bottom: 7px; letter-spacing: -0.01em; }
.feature p { margin: 0; font-size: 14.5px; color: var(--text); flex: 1 1 auto; }
.feature__more { margin-top: 16px; color: var(--blue); font-family: var(--f-head); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 7px; }
.feature__more i.ph { font-size: 16px; transition: transform .18s ease; }
a.feature:hover .feature__more i.ph { transform: translateX(4px); }
.auto-link { color: var(--blue); text-decoration: none; border-bottom: 1px solid var(--blue-soft); transition: border-color .15s ease; }
.auto-link:hover { border-bottom-color: var(--blue); text-decoration: none; }

/* check list */
.checks { list-style:none; margin: 0; padding: 0; display:flex; flex-direction:column; gap: 11px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 15.5px; }
.checks li::before {
  content: "\e184";               /* Phosphor ph-check-circle (regular/line) */
  font-family: "Phosphor"; font-weight: normal; font-style: normal;
  position: absolute; left: 0; top: 0;
  color: var(--ok); font-size: 18px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* info row list (key: value with icon) */
.inforow { display:flex; gap:16px; padding: 16px 0; border-bottom:1px solid var(--line); }
.inforow:last-child { border-bottom:0; }
.inforow .icon-box { width:42px;height:42px; }
.inforow b { display:block; color: var(--ink); font-family: var(--f-head); font-size: 16px; }
.inforow span { font-size: 15px; }

/* definition pair (label over value) */
.pair { padding: 14px 0; border-bottom: 1px solid var(--line); }
.pair:last-child { border-bottom: 0; }
.pair .lbl { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing:.03em; }
.pair .val { color: var(--ink-2); }

/* tags */
.tags { display:flex; flex-wrap:wrap; gap:10px; margin-top: 16px; }
.tag { background: var(--blue-soft); color: var(--blue-strong); font-size: 12px; font-weight:500; padding: 5px 12px; border-radius: 999px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(160deg, #0e3d97, #0b2f7d); color:#fff; }
.cta-band .wrap { display:flex; align-items:center; justify-content:space-between; gap: 30px; flex-wrap:wrap; padding-top:60px; padding-bottom:60px; }
.cta-band h2 { color:#fff; font-size: clamp(24px,2.8vw,32px); margin:0; max-width: 18ch; letter-spacing:-0.015em; }
.cta-band p { color:#cdd9f3; margin: 10px 0 0; }
.cta-actions { display:flex; gap:14px; flex-wrap:wrap; }

/* ---------- doctor card ---------- */
.doc {
  display:grid; grid-template-columns: 220px 1fr; gap: 0;
  background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden;
  box-shadow: var(--shadow-soft);
}
.doc__img { background: var(--blue-soft); }
.doc__img img { width:100%; height:100%; object-fit: cover; }
.doc__body { padding: 24px; }
.doc__body .role { color: var(--blue); font-family: var(--f-head); font-weight:600; font-size: 14.5px; margin: 2px 0 12px; }

/* page hero (inner pages) */
.page-hero { background: linear-gradient(160deg, #0e3d97, #0b2f7d); color:#fff; }
.page-hero .wrap { padding: 64px 24px; }
.page-hero h1 { color:#fff; font-size: clamp(28px,3.6vw,40px); max-width: 22ch; letter-spacing:-0.02em; }
.page-hero p { color:#d3e0fb; font-size: 16px; max-width: 62ch; }

/* prose */
.prose h2 { color: var(--blue-bright); font-size: clamp(22px,2.6vw,29px); margin-top: 0; margin-bottom: 14px; letter-spacing:-0.015em; }
.prose h3 { color: var(--ink); font-size: 18px; margin-top: 54px; margin-bottom: 16px; display: flex; align-items: center; gap: 11px; }
.prose h3 i.ph { color: var(--blue); font-size: 22px; flex: none; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; background: var(--blue-soft); border-radius: 9px; }
.prose p { margin: 0 0 22px; line-height: 1.62; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 28px; }
.prose ul + p { margin-top: 28px; }
.prose .checks { gap: 15px; }
.checks--inline li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Formular-Dropdown */
.field select { width:100%; padding:12px 14px; border:1px solid #d6deea; border-radius:10px; font-family:var(--f-body); font-size:16px; color:var(--ink); background:#fff; }
.field .field__sel-label { display:block; font-size:13px; font-weight:600; color:var(--ink-2); margin-bottom:6px; font-family:var(--f-head); }
.chat-form select { width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:9px; font-family:var(--f-body); font-size:14px; background:#fff; margin-top:4px; }
/* Eigenes Dropdown-Caret mit Abstand zum Rand */
.field select, .rg-controls select, .chat-form select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2351606f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px;
}

/* Mega-Menü: Berater-Avatare */
.mega-avatars { display:flex; margin-bottom:10px; }
.mega-avatars img { width:46px; height:46px; border-radius:50%; object-fit:cover; border:2px solid #fff; box-shadow:0 2px 8px rgba(13,58,143,.18); }
.mega-avatars img + img { margin-left:-14px; }

/* Silbentrennung in engen Cards (lang=de -> dt. Trennregeln) */
.blog-card h3, .feature h3, .glossary-term b, .mega-text b, .doc__body h3, .info-item b, .audience-box b { hyphens: auto; overflow-wrap: break-word; }

/* Ratgeber: Steuerleiste + Listenansicht */
.rg-controls { display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin: 0 0 18px; position: sticky; top: 86px; z-index: 40; background:#fff; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rg-search { flex:1; min-width:220px; position:relative; display:flex; align-items:center; }
.rg-search i.ph { position:absolute; left:14px; color:var(--muted); pointer-events:none; }
.rg-search input { width:100%; padding:11px 14px 11px 40px; border:1px solid var(--line); border-radius:10px; font-family:var(--f-body); font-size:15px; }
.rg-controls select { padding:11px 14px; border:1px solid var(--line); border-radius:10px; font-family:var(--f-body); font-size:15px; background:#fff; color:var(--ink); }
.rg-view { display:flex; gap:5px; margin-left:auto; }
.rg-view button { width:40px; height:40px; border:1px solid var(--line); background:#fff; border-radius:9px; color:var(--muted); cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:18px; }
.rg-view button.active { background:var(--blue); color:#fff; border-color:var(--blue); }
.rg-empty { color:var(--muted); padding:18px 2px; }
.blog-grid.is-list { grid-template-columns:1fr; gap:14px; }
.blog-grid.is-list .blog-card { flex-direction:row; }
.blog-grid.is-list .blog-thumb { width:170px; aspect-ratio:auto; flex:none; }
.blog-grid.is-list .blog-thumb i.ph { font-size:40px; }
@media (max-width:560px){ .blog-grid.is-list .blog-thumb { width:104px; } .rg-view { display:none; } }
@media (max-width:600px){ #rgCat { display:none; } }

/* Seitlicher Reiter "Wir bilden aus" */
.edu-tab { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 90; }
.edu-tab a { display:flex; flex-direction:column; align-items:center; gap:9px; background: var(--blue); color:#fff; padding: 16px 10px; border-radius: 12px 0 0 12px; font-family:var(--f-head); font-weight:600; font-size:13.5px; letter-spacing:.02em; box-shadow: -7px 0 22px -10px rgba(13,58,143,.6); text-decoration:none; }
.edu-tab a span { writing-mode: vertical-rl; text-orientation: mixed; }
.edu-tab a:hover { background: var(--blue-strong); color:#fff; text-decoration:none; padding-right: 13px; }
.edu-tab i.ph { font-size: 18px; }
@media (max-width:600px){ .edu-tab a { padding: 12px 7px; font-size: 12px; } }

/* Datei-Upload (Bewerbung) */
.field input[type="file"] { width:100%; padding: 10px 12px; font-size:14px; background:#fff; border:1px dashed #c3cfe2; border-radius:10px; cursor:pointer; color:var(--ink-2); }
.field input[type="file"]::file-selector-button { margin-right:12px; padding:7px 12px; border:0; border-radius:8px; background:var(--blue-soft); color:var(--blue-strong); font-family:var(--f-head); font-weight:600; cursor:pointer; }

/* faq */
.faq { border:1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; background:#fff; overflow:hidden; }
.faq summary { cursor:pointer; padding: 18px 22px; font-family: var(--f-head); font-weight:600; color: var(--ink); list-style:none; display:flex; justify-content:space-between; gap:16px; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; color: var(--blue); font-size:22px; line-height:1; }
.faq[open] summary::after { content:"-"; }
.faq .faq-body { padding: 0 22px 20px; color: var(--text); }
.faq .faq-body { overflow: hidden; transition: height .26s ease; }
.faq summary::after { transition: transform .2s ease; }

/* service sub-nav - sticks directly under the (sticky) main header */
.subnav { background:#fff; border-bottom:1px solid var(--line); box-shadow: 0 6px 16px -14px rgba(13,58,143,.4); position: sticky; top: 68px; z-index: 40; }
.subnav .wrap { display:flex; gap: 8px; overflow-x:auto; padding-top:10px; padding-bottom:10px; }
.subnav a { white-space:nowrap; font-size:14px; font-family:var(--f-head); font-weight:500; color: var(--ink-2); padding: 8px 14px; border-radius:999px; }
.subnav a:hover, .subnav a.active { background: var(--blue-soft); color: var(--blue-strong); text-decoration:none; }

/* map */
.map-embed { width:100%; aspect-ratio: 16/11; border:0; border-radius: var(--radius); background:#dde6f3; }

/* form */
.form-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-soft); }
.field { margin-bottom: 18px; }
.field label { display:block; font-family:var(--f-head); font-weight:500; color: var(--ink-2); margin-bottom: 7px; font-size:15px; }
.field input, .field textarea {
  width:100%; padding: 13px 15px; border:1px solid #d6deea; border-radius: 10px;
  font-family: var(--f-body); font-size: 16px; color: var(--ink); background:#fff;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.field textarea { min-height: 200px; resize: vertical; }
.consent { display:flex; gap:10px; align-items:flex-start; font-size:14px; color: var(--text); margin-bottom: 20px; }
.consent input { flex: none; margin-top: 3px; }
.consent span { flex: 1; }

/* hours table */
.hours { width:100%; border-collapse: collapse; }
.hours td { padding: 11px 0; border-bottom:1px solid var(--line); vertical-align: top; }
.hours td:first-child { font-family:var(--f-head); font-weight:500; color: var(--ink); width: 130px; }
.hours tr:last-child td { border-bottom:0; }

/* small chips for emergency */
.emergency-line { display:flex; gap: 26px; flex-wrap:wrap; margin-top: 18px; padding-top:16px; border-top:1px solid var(--line); font-size:15px; }
.emergency-line span { display:inline-flex; align-items:center; }
.emergency-line i.ph { color: var(--blue); font-size: 17px; margin-right: 7px; }
.emergency-line a { margin-left: 6px; }

/* region chips grid */
.regions { display:grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.region { background:#fff; border:1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; }
.region b { display:block; font-family:var(--f-head); color: var(--ink); }
.region span { font-size: 14px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #aab8d0; padding: 64px 0 30px; }
.site-footer .cols { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer .cols h4 + ul + h4 { margin-top: 22px; }
.site-footer img { height: 36px; margin-bottom: 18px; }
.site-footer h4 { color:#fff; font-size: 16px; margin: 0 0 16px; }
.site-footer a { color:#aab8d0; }
.site-footer a:hover { color:#fff; text-decoration:none; }
.site-footer ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; font-size:15px; }
.site-footer .fnav li { display:flex; align-items:center; gap:9px; }
.site-footer svg { width:15px;height:15px; opacity:.8; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; font-size: 13.5px; color:#7e8ca6; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.footer-bottom a { color:#7e8ca6; }

/* ---------- utilities ---------- */
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.lead { font-size: 19px; color: var(--text); }
.stack > * + * { margin-top: 22px; }

/* ---------- Phosphor line icons (regular weight) ----------
   .ph is icon-font sized by font-size, colored by currentColor. */
.icon-box i.ph { font-size: 22px; line-height: 1; color: var(--blue); }
.icon-box.solid i.ph { color: #fff; }
.card-band .icon-box.ic { background: #fff; color: var(--blue); }
.card-band .icon-box i.ph { font-size: 20px; }
.topbar i.ph { font-size: 15px; line-height: 1; display: inline-flex; align-items: center; }
.topbar svg { width: 15px; height: 15px; }
.site-footer i.ph { font-size: 16px; line-height: 1; }
.site-footer .fnav li i.ph { flex: none; }
.btn i.ph { font-size: 17px; line-height: 1; }
.mobile-menu__panel nav i.ph { display:none; }
.mobile-menu__panel .m-sub a i.ph { display: inline-flex; }
.mobile-menu__contact { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display:flex; flex-direction:column; gap: 6px; }
.mobile-menu__contact a { display:flex; align-items:center; gap: 10px; padding: 9px 4px; font-family: var(--f-head); font-weight: 500; color: var(--ink-2); border-bottom: 0; }
.mobile-menu__contact i.ph { font-size: 18px; color: var(--blue); }

/* ---------- Brand logo ---------- */
.brand { display:flex; align-items:center; gap:10px; text-decoration:none; }
.brand:hover { text-decoration:none; }
.brand-img { height:38px; width:auto; max-width:100%; object-fit:contain; display:block; }
.site-footer .brand-img { height:40px; max-width:200px; }
@media (max-width: 1040px) { .site-footer .cols { grid-template-columns: 1fr 1fr 1fr; gap: 28px; } }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 640px) { .site-footer .cols { grid-template-columns: 1fr; gap: 26px; } }
.brand-mark { width:34px; height:34px; color: var(--blue); flex:none; }
.brand-name { font-family: var(--f-head); font-weight:700; font-size:20px; letter-spacing:.01em; color: var(--navy); white-space:nowrap; }
.brand-name strong { color: var(--blue); font-weight:700; }
.site-footer .footer-brand .brand-mark,
.site-footer .footer-brand .brand-name,
.site-footer .footer-brand .brand-name strong { color:#fff; }

/* ---------- Mega menu (full width) ---------- */
.nav-item.has-mega { position: static; }
.nav-link { display:inline-flex; align-items:center; gap:5px; font-family:var(--f-head); font-weight:500; color:var(--ink-2); font-size:14.5px; padding:23px 0; }
.nav-link:hover { color: var(--blue); text-decoration:none; }
.nav-link.active { color: var(--blue); font-weight:600; }
.nav-caret { font-size:13px; transition: transform .15s ease; }
.nav-item.has-mega:hover .nav-caret, .nav-item.has-mega:focus-within .nav-caret { transform: rotate(180deg); }
.mega {
  position:absolute; left:0; right:0; top:100%; background:#fff;
  border-top:1px solid var(--line); box-shadow: 0 26px 44px -26px rgba(13,58,143,.45);
  padding:36px 0; z-index:60;
  opacity:0; visibility:hidden; transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav-item.has-mega:hover .mega, .nav-item.has-mega:focus-within .mega, .nav-item.has-mega.mega-open .mega { opacity:1; visibility:visible; transform:none; }
.mega-inner { display:grid; grid-template-columns: 1fr 300px; gap: 40px; align-items:start; }
.mega-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap: 28px 22px; }
.mega-item { display:flex; gap:14px; padding:14px 16px; border-radius:12px; align-items:flex-start; color:inherit; }
.mega-item:hover { background: transparent; text-decoration:none; }
.mega-item:hover .mega-text b { color: var(--blue); }
/* Icon-Hover: Box füllt sich, Icon wird weiß */
.icon-box { transition: background .16s ease, color .16s ease, transform .16s ease; }
.icon-box i.ph { transition: color .16s ease; }
.mega-item:hover .icon-box, a.feature:hover .icon-box { background: var(--blue); }
.mega-item:hover .icon-box i.ph, a.feature:hover .icon-box i.ph { color: #fff; }
.mega-item .icon-box { flex:none; width:40px; height:40px; }
.mega-item .icon-box i.ph { font-size:20px; }
.mega-text { min-width: 0; }
.mega-text b { display:block; font-family:var(--f-head); font-size:14.5px; color:var(--ink); margin-bottom:3px; }
.mega-text span { display:block; font-family: var(--f-body); font-weight: 400; font-size:12px; color:var(--text); line-height:1.25; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mega-contact { border-left:1px solid var(--line); padding-left:28px; display:flex; flex-direction:column; gap:9px; }
.mega-contact b { font-family:var(--f-head); font-size:14px; color:var(--ink); }
.mega-contact p { margin:0 0 4px; font-size:12px; color:var(--text); line-height:1.45; }
.mega-contact .btn { justify-content:center; font-size:13.5px; padding:9px 16px; }
.mega-contact .tel-link { font-size:14px; padding:2px 0; }
.mega-wa, .mega-mail { display:inline-flex; align-items:center; gap:8px; font-family:var(--f-head); font-weight:500; font-size:13.5px; color:var(--ink-2); }
.mega-wa:hover, .mega-mail:hover { color:var(--blue); text-decoration:none; }
.mega-wa i.ph { color: var(--blue); font-size:18px; }
.mega-mail i.ph { color:var(--blue); font-size:18px; }

/* mobile sub nav */
.m-nav { display:flex; flex-direction:column; }
.m-sub { display:flex; flex-direction:column; padding:2px 0 8px 10px; }
.m-sub a { display:flex; align-items:center; gap:9px; padding:8px 4px; font-size:14px; color:var(--text); border:0; font-family:var(--f-body); font-weight:400; }
.m-sub a i.ph { color:var(--blue); font-size:16px; }

/* ---------- Floating label fields ---------- */
.field.float { position: relative; }
.field.float input, .field.float textarea { padding: 22px 14px 8px; }
.field.float textarea { padding-top: 26px; }
.field.float label {
  position:absolute; left:15px; top:15px; margin:0; color:var(--muted);
  pointer-events:none; transition: all .14s ease; font-weight:500; font-size:16px;
}
.field.float input:focus + label, .field.float input:not(:placeholder-shown) + label,
.field.float textarea:focus + label, .field.float textarea:not(:placeholder-shown) + label {
  top:7px; font-size:11px; color:var(--blue); text-transform:uppercase; letter-spacing:.04em; font-family:var(--f-head);
}

/* ---------- Photos ---------- */
.hero-grid { display:grid; grid-template-columns: 1fr 1fr; gap:32px; align-items:end; }
.hero-text { align-self:center; position:relative; z-index:2; }
.hero-media { align-self:end; position:relative; z-index:0; }
.hero-media::before {
  content:""; position:absolute; z-index:0; pointer-events:none;
  width:96%; padding-bottom:96%; height:0;
  left:50%; bottom:-3%; transform:translateX(-50%);
  background:url(img/bg-hero-medicum-luenen.webp) center/contain no-repeat;
  opacity:1;
}
.hero-media img { position:relative; z-index:1; height:auto; width:auto; max-width:100%; max-height:560px; display:block; margin:0 0 -92px auto; filter: drop-shadow(0 26px 44px rgba(0,0,0,.34)); }
.hero-photo img { width:100%; max-height:460px; height:auto; object-fit:cover; border-radius:20px; box-shadow:0 34px 70px -34px rgba(0,0,0,.55); }
.rounded-photo { width:100%; border-radius:16px; box-shadow:var(--shadow-soft); display:block; }
.banner-photo { width:100%; height:340px; object-fit:cover; object-position:center 28%; border-radius:18px; box-shadow:var(--shadow); display:block; }
.img-placeholder { width:100%; height:340px; border-radius:18px; background:#e5e8ee; margin-bottom:44px; display:flex; align-items:center; justify-content:center; }
.img-placeholder::after { content:"Bild folgt"; font-family:var(--f-head); font-weight:600; font-size:14px; letter-spacing:.04em; text-transform:uppercase; color:#aab2bf; }
@media (max-width:720px){ .img-placeholder { height:200px; margin-bottom:30px; } }
.inforow { align-items: flex-start; }   /* Icons oben bündig */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .hero-text { text-align: center; }
  .hero-text h1 { max-width: none; margin-left: auto; margin-right: auto; }
  .hero-text p { max-width: none; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-media { align-self: end; }
  .hero-media img { max-height: 360px; margin: 0 auto -92px; }
  .hero-media::before { bottom: -16%; }
  .hero-photo img { max-height: 320px; }
  .banner-photo { height: 240px; }
}
@media (max-width: 720px) {
  .hero-media img { margin-bottom: -80px; }
}

/* Team-Foto-Platzhalter (bis echte Fotos zugeordnet sind) */
.doc__img--ph { display:flex; align-items:center; justify-content:center; background:var(--blue-soft); min-height:200px; }
.doc__img--ph i.ph { font-size:62px; color:#b7ccef; }

/* ---------- Cookie consent bar ---------- */
.cookie-bar { position: fixed; left:18px; right:auto; bottom:18px; z-index:120; max-width:340px; background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:0 18px 50px -20px rgba(13,58,143,.35); }
.cookie-bar__inner { padding:15px 17px; display:flex; flex-direction:column; align-items:stretch; gap:11px; }
.cookie-bar p { margin:0; font-size:12.5px; color:var(--text); line-height:1.5; }
.cookie-bar__btns { display:flex; gap:8px; }
.cookie-bar__btns .btn { padding:8px 14px; font-size:13px; }
@media (max-width:480px){ .cookie-bar { left:20px; right:20px; bottom:20px; max-width:none; } }
/* Team-Ärzte: kleineres Foto, mehr Abstand zum Text */
.team-doc { grid-template-columns: 299px 1fr; }
@media (max-width:720px){ .team-doc { grid-template-columns: 1fr; gap: 24px !important; } }

/* ---------- Google Maps consent placeholder ---------- */
.map-consent { width:100%; aspect-ratio:16/11; border-radius: var(--radius); background: var(--blue-tint); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; text-align:center; }
.map-consent__inner { max-width: 360px; padding: 24px; display:flex; flex-direction:column; align-items:center; gap:12px; }
.map-consent__inner i.ph { font-size:34px; color:var(--blue); }
.map-consent__inner p { margin:0; font-size:13.5px; color:var(--text); }
.map-consent__remember { font-size:12.5px; color:var(--muted); display:flex; gap:7px; align-items:center; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--blue); color:#fff; padding: 10px 18px; border-radius: 0 0 10px 10px;
  font-family: var(--f-head); font-weight: 600; transition: top .15s ease;
}
.skip-link:focus { top: 0; text-decoration: none; outline: 3px solid #fff; }

/* visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }
#content:focus { outline: none; }

/* larger tap targets on touch */
.nav a, .subnav a, .topbar a, .site-footer a { min-height: 24px; }
@media (pointer: coarse) {
  .btn { padding: 13px 24px; }
  .topbar li, .site-footer .fnav li { padding: 3px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  a.feature:hover, .btn:hover { transform: none; }
}

/* ---------- Chat assistant "Lena" ---------- */
.chat-ava-svg { width:100%; height:100%; display:block; border-radius:50%; }
.chat-ava { display:inline-block; width:40px; height:40px; flex:none; }
.chat-ava--sm { width:42px; height:42px; }
.chat-ava--xs { width:30px; height:30px; }

.chat-launcher {
  position: fixed; right: 22px; bottom: 22px; z-index: 95;
  width: 64px; height: 64px; padding: 4px; border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  background:#fff; border:1px solid var(--line); cursor:pointer;
  box-shadow: 0 16px 34px -16px rgba(13,58,143,.5); transition: transform .15s ease, box-shadow .15s ease;
}
.chat-launcher:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 22px 40px -18px rgba(13,58,143,.55); }
.chat-launcher .chat-ava { width:54px; height:54px; }
.chat-launcher__pip { position:absolute; right:-2px; bottom:-2px; width:24px; height:24px; border-radius:50%; background:var(--blue); color:#fff; display:flex; align-items:center; justify-content:center; border:2px solid #fff; }
.chat-launcher__pip i.ph { font-size:13px; }

/* Scroll-Lock, solange der Chat offen ist */
html.chat-open, html.chat-open body { overflow:hidden !important; }

.chat-overlay { position: fixed; inset:0; z-index:130; background: rgba(10,31,60,.45); display:flex; align-items:center; justify-content:center; padding:20px; }
.chat-overlay[hidden] { display: none; }
.chat-window {
  width: 100%; max-width: 420px; height: min(640px, 88vh);
  background:#fff; border-radius:20px; overflow:hidden; display:flex; flex-direction:column;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.5); animation: chatIn .42s cubic-bezier(.22,.61,.36,1);
}
@keyframes chatIn { from { opacity:0; transform: translateY(16px) scale(.98); } to { opacity:1; transform:none; } }

.chat-head { display:flex; align-items:center; gap:12px; padding:14px 16px; background: linear-gradient(135deg,#2f6bf0,#1f55d8); color:#fff; }
.chat-head__id { flex:1; line-height:1.2; }
.chat-head__id strong { font-family:var(--f-head); font-size:16px; display:block; }
.chat-head__id span { font-size:12px; opacity:.9; display:flex; align-items:center; gap:6px; }
.chat-dot { width:8px; height:8px; border-radius:50%; background:#4ade80; display:inline-block; box-shadow:0 0 0 0 rgba(74,222,128,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(74,222,128,.6);} 70%{box-shadow:0 0 0 7px rgba(74,222,128,0);} 100%{box-shadow:0 0 0 0 rgba(74,222,128,0);} }
.chat-close { margin-left:auto; background:none; border:0; color:#fff; font-size:26px; line-height:1; cursor:pointer; opacity:.9; }
.chat-close:hover { opacity:1; }

.chat-body { flex:1; overflow-y:auto; padding:18px 16px; background:var(--blue-tint); display:flex; flex-direction:column; gap:12px; }
.chat-row { display:flex; gap:8px; align-items:flex-end; max-width:88%; }
.chat-row--bot { align-self:flex-start; }
.chat-row--user { align-self:flex-end; }
.chat-bubble { background:#fff; padding:11px 14px; border-radius:16px 16px 16px 4px; font-size:14px; line-height:1.5; color:var(--ink-2); box-shadow: var(--shadow-soft); }
.chat-row--user .chat-bubble { background: var(--blue); color:#fff; border-radius:16px 16px 4px 16px; }
.chat-bubble a { color: var(--blue-strong); font-weight:500; }
.chat-row--user .chat-bubble a { color:#fff; text-decoration:underline; }
.chat-bubble--ok { background:#e9f9f0; color:#15623b; border-radius:14px; padding:12px 14px; font-size:14px; }

.chat-typing .chat-bubble { display:flex; gap:4px; }
.chat-typing .chat-bubble span { width:7px; height:7px; border-radius:50%; background:#b8c4d6; animation: blink 1.2s infinite; }
.chat-typing .chat-bubble span:nth-child(2){ animation-delay:.2s; } .chat-typing .chat-bubble span:nth-child(3){ animation-delay:.4s; }
@keyframes blink { 0%,60%,100%{opacity:.3;} 30%{opacity:1;} }

.chat-actions { display:flex; flex-direction:column; gap:8px; margin-top:10px; }
.chat-act { display:flex; align-items:center; gap:9px; padding:10px 13px; border-radius:11px; background:var(--blue-soft); color:var(--blue-strong); font-family:var(--f-head); font-weight:500; font-size:13.5px; border:0; cursor:pointer; text-decoration:none; text-align:left; }
.chat-act:hover { background:#dbe7fc; text-decoration:none; }
.chat-act i.ph { font-size:17px; }
.chat-act--alert { background:#fdecec; color:#c0392b; }
.chat-act--alert:hover { background:#fadbdb; }
.chat-act--primary { background:var(--blue); color:#fff; justify-content:center; }
.chat-act--primary:hover { background:var(--blue-strong); }

.chat-form { display:flex; flex-direction:column; gap:9px; }
.chat-form label { font-size:12.5px; font-weight:500; color:var(--ink-2); display:flex; flex-direction:column; gap:4px; }
.chat-form input[type=text], .chat-form textarea { border:1px solid #d6deea; border-radius:9px; padding:8px 10px; font:inherit; font-size:13.5px; }
.chat-form__consent { flex-direction:row !important; align-items:flex-start; gap:7px; font-weight:400; }

.chat-quick { display:flex; flex-wrap:wrap; gap:7px; padding:10px 14px 0; }
.chat-chip { background:#fff; border:1px solid #d6e0f2; color:var(--blue-strong); font-size:13px; font-family:var(--f-head); font-weight:500; padding:7px 13px; border-radius:999px; cursor:pointer; transition: background .14s; }
.chat-chip:hover { background:var(--blue-soft); }

.chat-input { display:flex; gap:8px; padding:12px 14px; border-top:1px solid var(--line); }
.chat-input input { flex:1; border:1px solid #d6deea; border-radius:999px; padding:11px 16px; font:inherit; font-size:14px; }
.chat-input input:focus { outline:2px solid var(--blue); border-color:var(--blue); }
.chat-send { flex:none; width:42px; height:42px; border-radius:50%; border:0; background:var(--blue); color:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.chat-send i.ph { font-size:19px; }
.chat-send:hover { background:var(--blue-strong); }
.chat-disclaimer { margin:0; padding:0 14px 12px; font-size:11px; color:var(--muted); text-align:center; }
.chat-disclaimer a { color:var(--muted); }

@media (max-width: 560px) {
  .chat-overlay { padding:0; }
  .chat-window { max-width:none; height:100vh; height:100dvh; border-radius:0; }
  .chat-launcher { width:58px; height:58px; right:16px; bottom:16px; }
  .chat-launcher .chat-ava { width:48px; height:48px; }
}

/* ---------- Desktop: einheitliche Textgröße 15px (außer Überschriften) ---------- */
@media (min-width: 981px) {
  body { font-size: 15px; }
  /* UI-Chrome bleibt 15px */
  .nav-link,
  .site-footer, .site-footer ul, .site-footer p,
  .field label, .field input, .field textarea, .consent,
  .role, .doc__body .role, .btn {
    font-size: 15px;
  }
  /* Fließtext: 15px, Schriftschnitt regular, enger Zeilenabstand (Mega-Menü hat eigene Regel) */
  p, .lead, li, .checks li, .feature p, .inforow span, .pair .val,
  td, .hours td, .faq .faq-body, .section-head p, .prose p, .prose li,
  .emergency-line, .region span, .cookie-bar p, .map-consent__inner p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
  }
}

/* ---------- Leistungs-Detailseiten: Content + Sidebar ---------- */
.leistung-layout { display:grid; grid-template-columns: minmax(0,1fr) 300px; gap: 80px; align-items:start; padding-top: 50px; padding-bottom: 50px; }
.leistung-main { min-width: 0; }
.leistung-main .section { padding: 0 0 30px; }
.leistung-main .wrap { max-width: none !important; padding: 0; }
.leistung-main .prose { max-width: none !important; }
.leistung-main .section--tint { background: transparent; }
.leistung-main .card { box-shadow: none; }
.leistung-main .section-head { text-align: left; margin: 0 0 18px; max-width: none; }

.leistung-intro { margin-bottom: 30px; }
.leistung-intro h1 { font-size: clamp(28px, 3.4vw, 40px); color: var(--ink); margin-bottom: 14px; letter-spacing: -0.02em; }
.leistung-intro p { font-size: 16px; color: var(--text); line-height: 1.55; }

.leistung-side { position: sticky; top: 88px; display:flex; flex-direction:column; gap: 18px; }
.side-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-card .side-title { display:block; font-family:var(--f-head); font-weight:700; font-size:15px; color:var(--ink); margin-bottom: 14px; }
.side-card .btn { width:100%; justify-content:center; margin-bottom: 10px; }
.side-card .tel-link, .side-card .mega-wa, .side-card .mega-mail { display:flex; padding: 6px 0; font-size: 14px; color: var(--blue); }
.side-card .tel-link i.ph, .side-card .mega-wa i.ph, .side-card .mega-mail i.ph { color: var(--blue); }
.side-links { display:flex; flex-direction:column; }
.side-links a { padding: 8px 0; font-size: 14px; color: var(--ink-2); border-bottom: 1px solid var(--line); font-family: var(--f-head); font-weight: 500; }
.side-links a:last-child { border-bottom: 0; padding-bottom: 0; }
.side-links a:hover { color: var(--blue); text-decoration: none; }
.side-hours .hours td { font-size: 12.5px; padding: 5px 0; }
.side-hours .hours td:first-child { width: 34px; }

@media (max-width: 900px) {
  .leistung-layout { grid-template-columns: 1fr; gap: 36px; padding-top: 32px; }
  .leistung-side { position: static; }
}

/* ---------- Ratgeber / Blog ---------- */
.blog-thumb { display:flex; align-items:center; justify-content:center; aspect-ratio: 16/9; background: linear-gradient(to top right, var(--navy) 0%, var(--blue) 100%); }
.blog-thumb i.ph { font-size: 52px; color:#fff; opacity:.95; }
.blog-thumb--wide { aspect-ratio: 24/7; border-radius: var(--radius); }
.blog-thumb--wide i.ph { font-size: 64px; }

/* Hero-Bild mit h1 (Unterseiten) */
.hero-card { background: linear-gradient(to top right, var(--navy) 0%, var(--blue) 100%); border-radius: var(--radius); padding: 48px 34px 52px; text-align: center; margin-bottom: 40px; display: flex; flex-direction: column; align-items: center; }
.hero-card + .article-meta { margin-top: 4px; }
.hero-card i.ph { font-size: 60px; color: #fff; opacity: .95; display: inline-block; margin-bottom: 16px; }
.hero-card h1 { color: #fff; margin: 0; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.16; letter-spacing: -0.01em; text-align: center; }
@media (max-width: 540px) { .hero-card { padding: 34px 20px 36px; } .hero-card i.ph { font-size: 48px; } }

/* Autorenprofil (Ratgeber-Artikel) */
.author-box { display: flex; gap: 16px; align-items: center; background: var(--blue-tint); border-radius: var(--radius); padding: 16px 20px; margin: 6px 0 4px; }
.author-avatar { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(150deg, #2f6bf0, #1f55d8); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; overflow: hidden; }
.author-avatar i.ph { font-size: 28px; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.author-meta b { display: block; font-family: var(--f-head); font-size: 15px; color: var(--ink); }
.author-meta .author-role { display: block; font-size: 12.5px; color: var(--blue-strong); font-weight: 600; margin-bottom: 5px; }
.author-meta p { margin: 0; font-size: 13px; color: var(--text); line-height: 1.5; }

/* Gruppiertes Info-Element (zusammengehörende Punkte) */
.prose .info-group { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 10px 0 14px; }
.info-item { display: flex; gap: 15px; padding: 18px 20px; background: #fff; }
.info-item + .info-item { border-top: 1px solid var(--line); }
.info-item__ic { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; flex: none; }
.info-item__ic i.ph { font-size: 20px; }
.info-item b { display: block; font-family: var(--f-head); font-size: 15.5px; color: var(--ink); margin-bottom: 3px; }
.info-item p { margin: 0; font-size: 14px; color: var(--text); line-height: 1.55; }
.info-item .checks { margin: 6px 0 0; gap: 9px; }
.info-item .checks li { font-size: 14px; padding-left: 27px; color: var(--text); }
@media (max-width: 540px) { .info-item { flex-direction: column; gap: 10px; padding: 16px; } }

.blog-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card { display:flex; flex-direction:column; background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; color:inherit; transition: border-color .18s ease; }
a.blog-card:hover { border-color:#cfe0fb; text-decoration:none; color:inherit; }
.blog-card__more i.ph { transition: transform .18s ease; }
a.blog-card:hover .blog-card__more i.ph { transform: translateX(4px); }
.blog-card__body { padding: 16px 20px 20px; display:flex; flex-direction:column; gap:7px; flex:1; }
.blog-cat { font-family:var(--f-head); font-weight:600; font-size:11.5px; letter-spacing:.05em; text-transform:uppercase; color:var(--blue); }
.blog-card h3 { font-size: 17px; color:var(--ink); margin:0; line-height:1.3; }
.blog-card p { font-size: 13.5px; color:var(--text); margin:0; line-height:1.5; }
.blog-card__more { margin-top:auto; font-family:var(--f-head); font-weight:600; font-size:13.5px; color:var(--blue); display:inline-flex; align-items:center; gap:6px; }

/* Artikel-Bausteine */
.audience-box { background: var(--blue-tint); border-radius: var(--radius); padding: 20px 24px; margin: 26px 0; }
.audience-box b { display:block; font-family:var(--f-head); font-weight:700; margin-bottom:6px; color:var(--ink); }
.audience-box p { margin:0; }
.article-meta { display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-bottom: 14px; font-size:13px; color:var(--muted); }
.article-meta .blog-cat { color:var(--blue); }

/* ---------- Glossar ---------- */
.glossary-az { display:flex; flex-wrap:wrap; gap:6px; margin: 0 0 6px; }
.glossary-az a { width:34px; height:34px; display:flex; align-items:center; justify-content:center; border:1px solid var(--line); border-radius:8px; font-family:var(--f-head); font-weight:600; font-size:14px; color:var(--blue-strong); }
.glossary-az a:hover { background:var(--blue); color:#fff; text-decoration:none; }
.glossary-letter { font-family:var(--f-head); font-weight:700; font-size:20px; color:var(--blue); margin: 30px 0 14px; padding-bottom:6px; border-bottom:2px solid var(--blue-soft); }
.glossary-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.glossary-term { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.glossary-term b { display:block; font-family:var(--f-head); font-size:15.5px; color:var(--ink); margin-bottom:5px; }
.glossary-term p { font-size: 13px; color:var(--text); margin:0; line-height:1.5; }
.glossary-term { scroll-margin-top: 96px; }
.glossary-term b i.ph { color: var(--blue); margin-right: 8px; font-size: 16px; }
.glossary-az span { width:34px; height:34px; display:flex; align-items:center; justify-content:center; border:1px solid var(--line); border-radius:8px; font-family:var(--f-head); font-weight:600; font-size:14px; color:var(--muted); opacity:.4; }
.side-title { display:block; font-family:var(--f-head); font-weight:700; font-size:15px; color:var(--ink); margin-bottom:12px; }
.blog-card__body .article-meta { margin-bottom: 2px; }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .glossary-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav, .header-cta .btn { display:none; }
  .burger { display:block; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .regions { grid-template-columns: repeat(2,1fr); }
  .cta-band .wrap { flex-direction:column; align-items:flex-start; }
}
@media (max-width: 720px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .doc { grid-template-columns: 1fr; }
  .doc__img { aspect-ratio: 16/10; }
  .overlap { margin-top: 40px; }
  .hero .wrap { padding-bottom: 80px; }
  .topbar { display:block; font-size: 12px; }
  .topbar li, .topbar a { font-size: 12px; }
  .topbar .wrap { justify-content: center; gap: 16px; min-height: 34px; padding-top: 5px; padding-bottom: 5px; flex-wrap: nowrap; }
  .topbar ul { gap: 16px; flex-wrap: nowrap; }
  .topbar .tb-emergency, .topbar .tb-addr, .topbar .tb-mail { display: none; }
  .topbar .st-extra { display: none; }
}
@media (max-width: 540px) {
  .hero-card h1 { font-size: 24px; }
  .article-meta { font-size: 12px; gap: 7px 12px; }
  .side-hours .hours td { font-size: 12px; }
}
/* Overflow-Schutz mobil */
img, svg, table { max-width: 100%; }
.hours { width: 100%; }
.prose, .info-item p, .glossary-term p { overflow-wrap: anywhere; }

/* Fließtext mobil 12px */
@media (max-width: 600px) {
  p, .lead, li, .checks li, .feature p, .inforow span, .pair .val,
  td, .hours td, .faq .faq-body, .section-head p, .prose p, .prose li,
  .info-item p, .glossary-term p, .blog-card p, .audience-box p, .author-meta p,
  .side-links a, .emergency-line, .cookie-bar p, .map-consent__inner p {
    font-size: 14px;
    line-height: 1.55;
  }
  .hero p, .hero .lead { font-size: 15px; }
}

/* Bild-Captcha */
.captcha-row{display:flex;align-items:center;gap:12px;margin:6px 0 2px}
.captcha-row img{border:1px solid #d7e3fb;border-radius:10px;background:#f3f7ff;max-width:100%;height:auto}
#capReload{display:inline-flex;align-items:center;justify-content:center;height:56px;width:48px;border:1px solid #d7e3fb;background:#fff;color:var(--blue);border-radius:10px;cursor:pointer;font-size:20px;line-height:1}
#capReload:hover{background:var(--blue-tint)}

/* Autor: Letzte Artikel */
.author-articles{list-style:none;margin:6px 0 0;padding:0}
.author-articles li{margin:0}
.author-articles li a{display:flex;gap:10px;align-items:baseline;padding:11px 2px;border-bottom:1px solid #eef2f7;text-decoration:none;color:var(--ink);font-weight:500}
.author-articles li a:hover{color:var(--blue)}
.author-articles li a::before{content:"\2192";color:var(--blue);font-weight:700}

/* Chat: ruhigeres, gestaffeltes Einblenden (psychologisch angenehmer) */
@keyframes chatRowIn { from { opacity:0; transform: translateY(8px); } to { opacity:1; transform:none; } }
.chat-row { animation: chatRowIn .45s ease both; }
.chat-actions { animation: chatRowIn .55s ease .16s both; }
.chat-quick .chat-chip { animation: chatRowIn .45s ease both; }
@media (prefers-reduced-motion: reduce){ .chat-row,.chat-actions,.chat-quick .chat-chip,.chat-window{ animation:none; } }
