/* Kieferorthopädie Oensingen – Website 2.0 (Salbei-Konzept)
   Farben: Greige #655F56 · Salbei dunkel #5F7058 · Salbei #A8B5A0 · Sand #E9E5DC · Warmweiss #F7F5F0
   Schriften: Instrument Sans (Text) und Albert Sans (Titel), selbst gehostet, keine Daten an Dritte.
   Die früheren Schriften Figtree und Crimson Pro sind seit 1.5.10 entfernt. */

:root {
  --greige: #655F56; --ink: #4A453E; --text: #5C564E; --muted: #6E685F;
  --sd: #5F7058; --sd-dark: #4E5D48; --sage: #A8B5A0; --sage-50: #EEF1EC; --sage-100: #E1E7DD;
  --sand: #E9E5DC; --sand-50: #F2EFE9; --ww: #F7F5F0; --white: #FFFFFF; --line: #E2DDD3;
  --font: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --r-s: 14px; --r: 22px; --r-l: 32px;
  --wrap: 1200px; --pad: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(74, 69, 62, .05), 0 12px 32px rgba(74, 69, 62, .08);
  --shadow-lift: 0 2px 4px rgba(74, 69, 62, .06), 0 24px 48px rgba(74, 69, 62, .14);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: var(--sd); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sd-dark); }
:focus-visible { outline: 3px solid var(--sd); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.1; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.2vw, 78px); letter-spacing: -.035em; line-height: 1.02; }
h2 { font-size: clamp(30px, 4vw, 50px); letter-spacing: -.028em; }
h3 { font-size: clamp(19px, 1.6vw, 22px); letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 200; background: var(--white); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 16px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sd); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--sage); }
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.6; color: var(--muted); max-width: 58ch; }
.muted { color: var(--muted); }
.small { font-size: 14.5px; }

/* Buttons */
.btn { --bg: var(--sd); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg); font: 650 16px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease); }
.btn:hover { --bg: var(--sd-dark); color: var(--fg); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(95, 112, 88, .28); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn.soft { --bg: var(--sage-100); --fg: var(--ink); }
.btn.soft:hover { --bg: var(--sage); box-shadow: none; }
.btn.ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { --bg: var(--white); box-shadow: inset 0 0 0 1.5px var(--sage), 0 10px 20px rgba(74, 69, 62, .08); }
.btn.light { --bg: #fff; --fg: var(--ink); }
.btn.light:hover { --bg: var(--sand); box-shadow: none; }
.btn.line-light { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.btn.line-light:hover { --bg: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1.5px #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none; color: var(--sd); }
.textlink svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.textlink:hover svg { transform: translateX(4px); }

/* Kopfzeile */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .92); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.brand { flex: none; display: block; }
.brand img { height: 48px; width: auto; transition: transform .35s var(--ease); }
.brand:hover img { transform: scale(1.03); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav > a, .nav .dd > button { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; border: 0; background: none;
  color: var(--ink); font: 600 15.5px var(--font); text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), color .2s; }
.nav > a:hover, .nav .dd > button:hover, .nav .dd.open > button { background: var(--sand-50); color: var(--ink); }
.nav > a[aria-current="page"], .nav .dd > button.current { color: var(--sd); }
.nav > a[aria-current="page"]::after, .nav .dd > button.current::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--sage); }
.nav .dd { position: relative; }
.nav .dd > button svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.nav .dd.open > button svg { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 10px); left: -12px; width: 340px; padding: 10px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-lift);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .25s var(--ease), visibility .2s; }
.dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; align-items: center; padding: 10px; border-radius: 14px; text-decoration: none; color: var(--ink); transition: background-color .2s; }
.dd-menu a:hover, .dd-menu a[aria-current="page"] { background: var(--ww); }
.dd-menu .i { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; background: var(--sage-50); color: var(--sd); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.dd-menu a:hover .i { background: var(--sd); color: #fff; }
.dd-menu .i svg { width: 22px; height: 22px; }
.dd-menu b { font-weight: 650; font-size: 15px; }
.dd-menu small { font-size: 13px; color: var(--muted); line-height: 1.3; }
.header-cta { flex: none; min-height: 46px; padding: 0 20px; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; place-items: center; }
.menu-toggle svg { width: 24px; height: 24px; }
@media (max-width: 1279px) {
  .menu-toggle { display: grid; }
  .header-cta { display: none; }
  .nav { position: fixed; inset: 80px 0 0 0; display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px var(--pad) 40px; background: #fff; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .25s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  /* backdrop-filter würde das fixierte Menü an den Header binden */
  body.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav > a, .nav .dd > button { width: 100%; justify-content: space-between; padding: 16px 14px; font-size: 19px; border-radius: 14px; }
  .nav > a[aria-current="page"]::after, .nav .dd > button.current::after { display: none; }
  .dd-menu { position: static; width: auto; box-shadow: none; padding: 0 0 8px 8px; opacity: 1; visibility: visible; transform: none; display: none; }
  .dd.open .dd-menu { display: block; }
  .nav .btn { margin-top: 14px; min-height: 56px; }
  .nav > a.nav-cta { justify-content: center; gap: 10px; background: var(--sd); color: #fff; font-size: 17px; border-radius: 999px; }
  .nav > a.nav-cta:hover { background: var(--sd-dark); color: #fff; }
}
@media (min-width: 1280px) { .nav .nav-cta { display: none; } }
body.menu-open { overflow: hidden; }

/* Abschnitte */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.bg-ww { background: var(--ww); }
.bg-sand { background: var(--sand-50); }
.head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }
.head.split { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: end; gap: 24px 48px; }
@media (max-width: 860px) { .head.split { grid-template-columns: 1fr; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 88px) clamp(56px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero-text { display: grid; gap: 26px; }
.hero h1 em { font-style: normal; color: var(--sd); }
.hero-visual { position: relative; aspect-ratio: 1 / 1.02; border-radius: 44% 44% var(--r-l) var(--r-l); background: linear-gradient(160deg, var(--sage-100), var(--sage) 120%); overflow: hidden; }
.hero-visual .arc { position: absolute; inset: auto -10% -2% -10%; width: 120%; color: rgba(255, 255, 255, .55); }
.hero-visual .sig { position: absolute; left: 50%; top: 44%; width: 46%; transform: translate(-50%, -50%); filter: drop-shadow(0 30px 40px rgba(74, 69, 62, .18)); animation: float 7s ease-in-out infinite; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow);
  font-size: 14.5px; font-weight: 650; color: var(--ink); backdrop-filter: blur(6px); animation: float 8s ease-in-out infinite; }
.chip .i { width: 34px; height: 34px; border-radius: 10px; background: var(--sd); color: #fff; display: grid; place-items: center; }
.chip .i svg { width: 19px; height: 19px; }
.chip small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.chip.c1 { left: 6%; top: 12%; animation-delay: -2s; }
.chip.c2 { right: 5%; top: 48%; animation-delay: -4s; }
.chip.c3 { left: 9%; bottom: 9%; animation-delay: -6s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-visual .sig { animation-name: floatc; }
@keyframes floatc { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 12px)); } }
.facts { display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--ww); font-size: 14.5px; font-weight: 600; color: var(--ink); }
.facts svg { width: 17px; height: 17px; color: var(--sd); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { max-width: 520px; width: 100%; margin-inline: auto; } }

/* Seitenkopf Unterseiten */
.page-hero { position: relative; overflow: hidden; background: var(--ww); padding-block: clamp(44px, 6vw, 84px) clamp(44px, 6vw, 76px); }
.page-hero .wrap { position: relative; display: grid; gap: 22px; }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 66px); max-width: 16ch; }
.page-hero .deco { position: absolute; right: -80px; top: 50%; width: min(460px, 42vw); transform: translateY(-50%); color: var(--sage-100); pointer-events: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--sd); }
.crumbs span[aria-hidden] { opacity: .5; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink); text-decoration: none; transition: background-color .2s, box-shadow .2s, color .2s; }
.toc a:hover { background: var(--sd); color: #fff; box-shadow: none; }

/* Karten */
.grid { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  color: inherit; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease); }
.bg-ww .card, .bg-sand .card { box-shadow: none; }
a.card:hover, .card.hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); color: inherit; }
.card p { color: var(--muted); font-size: 16px; }
.card .i { width: 52px; height: 52px; border-radius: 16px; background: var(--sage-50); color: var(--sd); display: grid; place-items: center; transition: background-color .35s var(--ease), color .35s, transform .45s var(--ease); }
.card .i svg { width: 27px; height: 27px; }
a.card:hover .i, .card.hover:hover .i { background: var(--sd); color: #fff; transform: rotate(-8deg) scale(1.06); }
.card .more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--sd); font-size: 15.5px; }
.card .more svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
a.card:hover .more svg { transform: translateX(5px); }
.card .tag { align-self: flex-start; padding: 5px 11px; border-radius: 999px; background: var(--sand-50); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.card ul.dots { display: grid; gap: 8px; }
.card ul.dots li, ul.dots li { list-style: none; position: relative; padding-left: 20px; font-size: 15.5px; color: var(--muted); }
ul.dots li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }

/* Zielgruppen-Karten (gross, mit Bild-Ersatz) */
.persona { min-height: 380px; padding: 0; overflow: hidden; gap: 0; }
.persona .vis { position: relative; height: 180px; background: var(--sage-100); overflow: hidden; }
.persona:nth-child(2) .vis { background: var(--sand); }
.persona:nth-child(3) .vis { background: var(--sage); }
.persona .vis svg { position: absolute; right: -24px; bottom: -36px; width: 200px; height: 200px; color: rgba(255, 255, 255, .7); transition: transform .8s var(--ease); }
.persona:hover .vis svg { transform: rotate(-10deg) scale(1.08); }
.persona .vis .age { position: absolute; left: 24px; bottom: 20px; font-size: 44px; font-weight: 750; letter-spacing: -.03em; color: var(--ink); }
.persona .txt { display: flex; flex-direction: column; gap: 12px; padding: 26px 28px 28px; flex: 1; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.bento > * { grid-column: span 2; }
.bento > .wide { grid-column: span 3; }
.bento > .feature { grid-column: span 3; background: var(--sd); box-shadow: none; }
.bento > .feature h3, .bento > .feature .more { color: #fff; }
.bento > .feature p { color: rgba(255, 255, 255, .82); }
.bento > .feature .i { background: rgba(255, 255, 255, .14); color: #fff; }
.bento > .feature:hover .i { background: #fff; color: var(--sd); }
@media (max-width: 1000px) { .bento > *, .bento > .wide, .bento > .feature { grid-column: span 3; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento > *, .bento > .wide, .bento > .feature { grid-column: auto; } }

/* Zeitstrahl Alter */
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; counter-reset: t; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: linear-gradient(90deg, var(--sage), var(--sd)); border-radius: 2px; }
.timeline { align-items: start; }
.timeline li { list-style: none; position: relative; display: grid; align-content: start; gap: 10px; padding: 0 22px 0 0; }
.tl-note { margin-top: clamp(28px, 3vw, 40px); max-width: 760px; }
.timeline .dot { width: 56px; height: 56px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--sage); display: grid; place-items: center; font-weight: 750; color: var(--sd); font-size: 15px;
  transition: background-color .3s var(--ease), color .3s, box-shadow .3s, transform .35s var(--ease); position: relative; z-index: 1; }
.timeline li:hover .dot { background: var(--sd); color: #fff; box-shadow: 0 0 0 8px var(--sage-50); transform: scale(1.06); }
.timeline h3 { font-size: 19px; margin-top: 6px; }
.timeline p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 22px; }
  .timeline::before { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline li { grid-template-columns: 56px 1fr; column-gap: 18px; padding: 0; }
  .timeline li .dot { grid-row: span 2; align-self: start; }
  .timeline h3 { margin-top: 2px; }
}

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); counter-reset: s; }
.steps li { list-style: none; counter-increment: s; position: relative; display: grid; align-content: start; gap: 10px; padding: 28px 26px 30px; border-radius: var(--r); background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.steps li::before { content: counter(s, decimal-leading-zero); font-size: 15px; font-weight: 750; color: var(--sd); letter-spacing: .04em; }
.steps li:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.steps h3 { font-size: 20px; }
.steps p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Text mit Seitenleiste */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.split.wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
@media (max-width: 900px) { .split, .split.wide-left { grid-template-columns: 1fr; } }
.prose { display: grid; gap: 16px; max-width: 68ch; }
.prose h2 { font-size: clamp(28px, 3vw, 40px); }
.prose h3 { margin-top: 10px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { display: grid; gap: 8px; }
.prose ul li { list-style: none; position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .66em; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
.prose strong { color: var(--ink); font-weight: 650; }
.block { scroll-margin-top: 110px; }
.block + .block { margin-top: clamp(48px, 6vw, 84px); }

/* Info-Box */
.note { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--r); background: var(--sage-50); }
.note .i { flex: none; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--sd); display: grid; place-items: center; }
.note .i svg { width: 22px; height: 22px; }
.note p { color: var(--text); font-size: 16px; }
.note strong { color: var(--ink); }
.note.sand { background: var(--sand-50); }

/* Fehlstellungen */
.mal { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: start; }
.mal .pic { width: 120px; height: 120px; border-radius: 24px; background: var(--ww); display: grid; place-items: center; color: var(--sd); transition: background-color .35s, transform .45s var(--ease); }
.mal .pic svg { width: 92px; height: 92px; }
.card.mal:hover .pic { background: var(--sage-50); transform: rotate(-4deg); }
@media (max-width: 520px) { .mal { grid-template-columns: 1fr; } .mal .pic { width: 96px; height: 96px; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { border-radius: var(--r-s); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s var(--ease), background-color .3s; }
.faq details[open] { box-shadow: inset 0 0 0 1.5px var(--sage), var(--shadow); }
.faq details:hover { box-shadow: inset 0 0 0 1.5px var(--sage); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; font-weight: 650; font-size: 17.5px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sage-50); color: var(--sd); display: grid; place-items: center; transition: transform .35s var(--ease), background-color .3s, color .3s; }
.faq summary .pm svg { width: 18px; height: 18px; }
.faq details:hover .pm { background: var(--sd); color: #fff; }
.faq details[open] .pm { transform: rotate(45deg); }
.faq .ans { padding: 0 22px 22px; color: var(--muted); display: grid; gap: 10px; }

/* Team */
.person { display: grid; grid-template-columns: 150px 1fr; gap: 26px; align-items: center; }
.avatar { position: relative; width: 150px; aspect-ratio: 1; border-radius: 40px; background: var(--sage-100); display: grid; place-items: center; overflow: hidden; font-size: 44px; font-weight: 750; color: var(--ink); letter-spacing: .02em;
  transition: transform .45s var(--ease), border-radius .45s var(--ease); }
.person:nth-child(2) .avatar { background: var(--sand); }
.avatar svg { position: absolute; right: -26px; bottom: -30px; width: 110px; color: rgba(255, 255, 255, .6); }
.card.person:hover .avatar { transform: rotate(-3deg); border-radius: 50%; }
.person .role { color: var(--sd); font-weight: 650; font-size: 15.5px; }
@media (max-width: 560px) { .person { grid-template-columns: 1fr; } .avatar { width: 120px; } }
.avatar .ini { position: relative; z-index: 1; }
.dr span { display: inline-block; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Ärzte immer nebeneinander */
.grid.duo { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.person:nth-child(3) .avatar { background: var(--sage-50); }
.duo .person { align-items: start; align-content: start; }
.duo .who { padding-top: 14px; }
.duo .who { padding-top: 0; }
.who { display: grid; gap: 8px; align-content: start; min-width: 0; }
@media all {
  .duo .person { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .duo .avatar { width: 100%; max-width: 220px; border-radius: 28px; }
}
@media (max-width: 560px) {
  .duo { gap: 10px; }
  .duo .person { padding: 14px; }
  .duo { gap: 8px; }
  .duo .person { padding: 10px; gap: 10px; }
  .duo .avatar { font-size: 22px; border-radius: 16px; }
  .duo .person h3 { font-size: 13px; line-height: 1.25; }
  .duo .person .dots { gap: 6px; }
  .duo .person .dots li { font-size: 11.5px; line-height: 1.35; padding-left: 0; }
  .duo .person .dots li::before { display: none; }
}
/* Praxisteam */
.grid.staff { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.mate { padding: 16px; }
.mate h3 { font-size: 16px; }
.mate { display: grid; gap: 14px; align-content: start; }
.mate .avatar { width: 100%; border-radius: 28px; font-size: 36px; }
.mate:nth-child(3n+2) .avatar { background: var(--sand); }
.mate:nth-child(3n+3) .avatar { background: var(--sage-50); }
.card.mate:hover .avatar { transform: rotate(-2deg); }
.mate h3 { font-size: 17px; }
.mate .role { color: var(--sd); font-weight: 650; font-size: 14px; }
@media (max-width: 1000px) { .grid.staff { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid.staff { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .mate { padding: 14px; } .mate .avatar { font-size: 28px; border-radius: 20px; } .mate h3 { font-size: 15px; } .mate .role { font-size: 12.5px; } }
.flegal .docs { white-space: nowrap; font-size: min(14px, 3.4vw); color: rgba(255, 255, 255, .78); }

/* Kontakt */
.contact-list { display: grid; gap: 18px; }
.contact-list li { list-style: none; display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; }
.contact-list .i { width: 48px; height: 48px; border-radius: 14px; background: var(--sage-50); color: var(--sd); display: grid; place-items: center; transition: background-color .3s, color .3s, transform .35s var(--ease); }
.contact-list li:hover .i { background: var(--sd); color: #fff; transform: scale(1.06); }
.contact-list .i svg { width: 23px; height: 23px; }
.contact-list small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list b { font-size: 18px; font-weight: 650; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--sd); }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; vertical-align: top; }
.hours th { font-weight: 650; color: var(--ink); width: 42%; }
.hours td { color: var(--muted); }
.hours tr.today th, .hours tr.today td { color: var(--sd); }
.hours tr.today th::after { content: "heute"; display: block; width: max-content; margin-top: 6px; padding: 2px 9px; border-radius: 99px; background: var(--sage-100); color: var(--sd-dark); font-weight: 650; font-size: 11.5px; letter-spacing: .04em; }

/* Formular */
.form { display: grid; gap: 18px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-l); background: #fff; box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 14.5px; font-weight: 650; color: var(--ink); }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--ww);
  font: 400 16.5px/1.4 var(--font); color: var(--ink); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--sage); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sd); background: #fff; box-shadow: 0 0 0 4px var(--sage-50); }
.choice { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.choice legend { margin-bottom: 8px; }
.choice label { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: inline-flex; padding: 11px 16px; border-radius: 999px; background: var(--ww); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 15px; color: var(--ink); cursor: pointer; transition: background-color .2s, box-shadow .2s, color .2s; }
.choice label:hover span { box-shadow: inset 0 0 0 1.5px var(--sage); }
.choice input:checked + span { background: var(--sd); color: #fff; box-shadow: none; }
.choice input:focus-visible + span { outline: 3px solid var(--sd); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14.5px; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--sd); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 16px 18px; border-radius: 14px; font-weight: 600; }
.form-status.ok { display: block; background: var(--sage-50); color: var(--sd-dark); }
.form-status.err { display: block; background: #F6E7E2; color: #8A3B26; }

/* Band */
.band { position: relative; overflow: hidden; border-radius: var(--r-l); background: var(--greige); color: #fff; padding: clamp(36px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, .8); margin-top: 12px; max-width: 52ch; }
.band .deco { position: absolute; right: -60px; bottom: -110px; width: 380px; color: rgba(255, 255, 255, .06); transition: transform 1.2s var(--ease); pointer-events: none; }
.band:hover .deco { transform: rotate(8deg) scale(1.05); }
.band > * { position: relative; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } }

/* Region */
.places { display: flex; flex-wrap: wrap; gap: 8px; }
.places li { list-style: none; padding: 7px 13px; border-radius: 999px; background: #fff; font-size: 14.5px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }

/* Fusszeile */
.site-footer { background: var(--greige); color: rgba(255, 255, 255, .78); font-size: 15.5px; padding-bottom: env(safe-area-inset-bottom, 0); margin-top: clamp(64px, 9vw, 120px); }
.site-footer.flush { margin-top: 0; }
.fbar { display: flex; height: 6px; }
.fbar i { flex: 1; background: var(--sd); }
.fbar i + i { background: var(--sage); }
.fgrid { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr .9fr; gap: 36px; padding-block: 60px 40px; }
.fgrid h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #C9D2C3; margin-bottom: 14px; font-weight: 700; }
.fgrid ul { display: grid; gap: 9px; }
.fgrid li { list-style: none; }
.fgrid a { color: #fff; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease), color .2s; }
.fgrid a:hover { color: #C9D2C3; background-size: 100% 1px; }
.fbrand img { width: 190px; height: auto; margin-bottom: 18px; }
.fhours { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-variant-numeric: tabular-nums; }
.flegal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 22px 100px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; }
.flegal a { color: rgba(255, 255, 255, .78); }
.flegal a:hover { color: #fff; }
@media (max-width: 960px) { .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } }

/* Schwebender Knopf (mobil) */
.fab { position: fixed; z-index: 90; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 10px;
  height: 58px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--sd); color: #fff; font-weight: 650; text-decoration: none; box-shadow: 0 14px 30px rgba(74, 69, 62, .3);
  transform: translateY(120px); transition: transform .45s var(--ease), background-color .2s; }
.fab.show { transform: none; }
.fab:hover { background: var(--sd-dark); color: #fff; }
.fab svg { width: 22px; height: 22px; }
@media (min-width: 1280px) { .fab { display: none; } }

/* Rechtstexte */
.legal { max-width: 780px; display: grid; gap: 14px; }
.legal h2 { font-size: 24px; margin-top: 26px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { display: grid; gap: 6px; padding-left: 20px; }

/* Bewegung beim Scrollen */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
@media (hover: none) { a.card:hover, .card.hover:hover, .steps li:hover { transform: none; box-shadow: inherit; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
@media print { .site-header, .fab, .site-footer, .band { display: none; } body { color: #000; } }
.nav > a, .nav .dd > button { white-space: nowrap; }

/* Ablauf: vertikaler Prozess mit Animation */
.process-wrap { align-items: start; }
.sticky { position: sticky; top: 110px; }
.process { position: relative; display: grid; gap: 16px; margin: 0; padding: 0; }
.process::before, .process::after { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; border-radius: 2px; }
.process::before { background: var(--line); }
.process::after { background: linear-gradient(var(--sage), var(--sd)); transform-origin: top; transition: transform 1.8s var(--ease) .2s; }
.process li { list-style: none; position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: start;
  transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * .28s + .1s); }
.pdot { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--sd); display: grid; place-items: center;
  box-shadow: inset 0 0 0 2px var(--sage); transition: background-color .3s var(--ease), color .3s, box-shadow .3s, transform .4s var(--ease); }
.pdot svg { width: 24px; height: 24px; }
.pbody { display: grid; gap: 6px; padding: 18px 22px 20px; border-radius: var(--r); background: var(--ww); transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s; }
.pbody small { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sd); }
.pbody h3 { font-size: 19px; }
.pbody p { color: var(--muted); font-size: 15.5px; }
.process li:hover .pdot { background: var(--sd); color: #fff; box-shadow: 0 0 0 8px var(--sage-50); transform: scale(1.06); }
.process li:hover .pbody { background: #fff; box-shadow: var(--shadow-lift); transform: translateX(4px); }
.js .process:not(.in)::after { transform: scaleY(0); }
.js .process:not(.in) li { opacity: 0; transform: translateY(18px); }
.js .process:not(.in) .pdot { transform: scale(.6); }
@media (max-width: 860px) { .sticky { position: static; } }
@media (max-width: 560px) { .process li { grid-template-columns: 46px minmax(0, 1fr); gap: 14px; } .pdot { width: 46px; height: 46px; } .pdot svg { width: 21px; height: 21px; } .process::before, .process::after { left: 22px; } .pbody { padding: 16px 18px; } }
@media (hover: none) { .process li:hover .pbody { transform: none; box-shadow: none; background: var(--ww); } }
@media (min-width: 1280px) and (max-width: 1659px) {
  .header-cta { display: none; }
  .header-inner { gap: 20px; }
  .nav > a, .nav .dd > button { padding: 10px 11px; font-size: 15px; }
  .nav > a[aria-current="page"]::after, .nav .dd > button.current::after { left: 11px; right: 11px; }
  .nav > a.nav-hl { background: var(--sd); color: #fff; margin-left: 6px; padding-inline: 18px; }
  .nav > a.nav-hl:hover { background: var(--sd-dark); color: #fff; }
  .nav > a.nav-hl[aria-current="page"]::after { display: none; }
}
.nav .dd > button svg { flex: none; }



/* Hinweisleiste ganz oben */
.notice-bar { background: var(--greige); color: #fff; }
.notice-bar button { width: 100%; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 12px; padding: 10px 0; border: 0; background: none; color: inherit; font: 500 14.5px var(--font); cursor: pointer; text-align: center; }
.notice-bar b { font-weight: 650; }
.notice-bar .nb-more { display: inline-flex; align-items: center; gap: 6px; color: #DDE4D8; text-decoration: underline; text-underline-offset: 3px; }
.notice-bar .nb-more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.notice-bar button:hover .nb-more svg { transform: translateX(3px); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 0 rgba(168, 181, 160, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(168, 181, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(168, 181, 160, 0); } }

/* Pop-up Praxisübergabe: Ebene oben im Dokument (ohne <dialog>, ohne Scroll-Sperre) */
body { position: relative; }
.pop-layer { position: absolute; inset: 0; z-index: 300; }
.pop-backdrop { position: absolute; inset: 0; background: rgba(60, 56, 50, .55); animation: fadeIn .4s ease; cursor: pointer; }
.popup { position: relative; margin: clamp(12px, 3vw, 40px) auto 0; width: min(1080px, calc(100% - 24px)); padding: clamp(20px, 3vw, 36px); border-radius: 24px; background: var(--ww); color: var(--text);
  box-shadow: 0 30px 80px -20px rgba(40, 36, 30, .45); display: grid; gap: clamp(14px, 2vw, 22px); animation: popIn .55s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.popup-head { display: grid; gap: 10px; padding-right: 48px; max-width: 760px; }
.popup-head h2 { font-size: clamp(24px, 3vw, 36px); }
.popup-head p { color: var(--muted); font-size: clamp(15px, 1.4vw, 17px); }
.popup-x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, transform .3s var(--ease); }
.popup-x:hover { background: var(--sand-50); transform: rotate(90deg); }
.popup-x svg { width: 20px; height: 20px; }
.popup-foot { display: flex; justify-content: flex-end; }
.flyer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 2vw, 22px); }
.flyer a { display: block; border-radius: clamp(8px, 1.2vw, 14px); overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(74, 69, 62, .08), 0 12px 32px -12px rgba(74, 69, 62, .22); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.flyer a:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(74, 69, 62, .08), 0 22px 44px -16px rgba(74, 69, 62, .3); }
.flyer a:focus-visible { outline: 3px solid var(--sd); outline-offset: 3px; }
.flyer img { display: block; width: 100%; height: auto; }
.flyer-hint { margin-top: -6px; font-size: 13px; color: var(--muted); text-align: center; }
@media (hover: hover) { .flyer-hint { display: none; } }
@media (max-width: 560px) { .popup-foot .btn { width: 100%; } .notice-bar button { font-size: 13.5px; } }
@media (prefers-reduced-motion: reduce) { .popup, .pop-backdrop, .cv { animation: none; } .dot-live { animation: none; } }
.popup-head h2:focus { outline: none; }

/* Lebensläufe */
.doc { align-content: start; }
.doc .who { gap: 12px; }
.cv-btn { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--sd);
  font: 650 14.5px var(--font); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .3s var(--ease); }
.cv-btn svg { width: 18px; height: 18px; }
.cv-btn:hover { background: var(--sage-50); border-color: var(--sage); }
.cv-btn[aria-expanded="true"] { background: var(--sd); border-color: var(--sd); color: #fff; }
.doc.active { box-shadow: inset 0 0 0 2px var(--sage); }
.cv-area { scroll-margin-top: 100px; }
.cv { margin-top: clamp(14px, 1.6vw, 22px); padding: clamp(20px, 3vw, 40px); border-radius: var(--r); background: var(--ww); display: grid; gap: clamp(18px, 2.4vw, 28px); animation: popIn .45s var(--ease); scroll-margin-top: 100px; }
.cv-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.cv-head > div { display: grid; gap: 8px; }
.cv-head h3 { font-size: clamp(22px, 2.4vw, 30px); }
.cv-intro { color: var(--muted); }
.cv-x { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, transform .3s var(--ease); }
.cv-x:hover { background: var(--sand-50); transform: rotate(90deg); }
.cv-x svg { width: 20px; height: 20px; }
.cv-sec { display: grid; gap: 10px; }
.cv-sec h4 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sd); }
.cv-rows { margin: 0; display: grid; }
.cv-rows > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 4px 20px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cv-rows > div:last-child { border-bottom: 0; }
.cv-rows dt { font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.cv-rows dd { margin: 0; color: var(--text); }
.cv-pubs { margin: 0; padding-left: 22px; display: grid; gap: 10px; color: var(--text); font-size: 15px; }
.cv-pubs b { font-weight: 650; color: var(--ink); }
.cv-pubs a { color: var(--sd); word-break: break-all; }
@media (max-width: 640px) { .cv-rows > div { grid-template-columns: 1fr; } .cv-btn { padding: 8px 12px; font-size: 13px; } .cv-btn svg { display: none; } }
[hidden] { display: none !important; }
.card.doc { display: flex; flex-direction: column; } .doc .who { flex: 1; display: flex; flex-direction: column; } .doc .cv-btn { margin-top: auto; } .doc .dots { margin-bottom: 14px; }
.card.doc .avatar { margin-bottom: 18px; flex: none; }
.doc .cv-btn { align-self: flex-start; }
.persona .age.ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(255, 255, 255, .75); color: var(--sd); }
.persona .vis .age.ic svg { position: static; width: 36px; height: 36px; color: var(--sd); transform: none; }
.persona:nth-child(4) .vis { background: var(--sage-50); }
.grid.g4 > .persona { min-height: 340px; }

/* Anfrageformular: Auswahl mit Symbolen und Gruppen */
.who-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border: 0; padding: 0; margin: 0; }
.who-tiles legend { grid-column: 1 / -1; margin-bottom: 8px; font-size: 14.5px; font-weight: 650; color: var(--ink); }
.who-tiles label { position: relative; display: block; }
.who-tiles input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.who-tiles .tile { display: grid; justify-items: center; gap: 6px; padding: 18px 12px 16px; border-radius: 18px; background: var(--ww); box-shadow: inset 0 0 0 1.5px var(--line); text-align: center; cursor: pointer;
  transition: background-color .2s, box-shadow .2s, color .2s, transform .3s var(--ease); }
.who-tiles .ti { width: 52px; height: 52px; border-radius: 16px; background: #fff; color: var(--sd); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.who-tiles .ti svg { width: 28px; height: 28px; }
.who-tiles b { font-size: 16px; font-weight: 650; color: var(--ink); }
.who-tiles small { font-size: 13px; color: var(--muted); }
.who-tiles label:hover .tile { box-shadow: inset 0 0 0 1.5px var(--sage); transform: translateY(-2px); }
.who-tiles input:checked + .tile { background: var(--sage-50); box-shadow: inset 0 0 0 2px var(--sd); }
.who-tiles input:checked + .tile .ti { background: var(--sd); color: #fff; }
.who-tiles input:focus-visible + .tile { outline: 3px solid var(--sd); outline-offset: 2px; }
.fgroup { display: grid; gap: 14px; margin: 0; padding: 18px; border: 1.5px solid var(--line); border-radius: 18px; }
.fgroup > legend { padding: 0 8px; margin-left: -8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sd); }
.fgroup > legend .opt { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); }
#vertretung { background: var(--sage-50); border-color: var(--sage-100); animation: popIn .35s var(--ease); }
.consent.check { color: var(--ink); font-weight: 500; }
@media (max-width: 400px) { .who-tiles b { font-size: 14.5px; } .fgroup { padding: 14px; } }
body:has(#anfrage) .fab { display: none; }

/* Seitenlasche «Zuweisung» (folgt beim Scrollen) */
.side-tab { position: fixed; right: 0; top: 50%; z-index: 90; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 10px 18px;
  border-radius: 16px 0 0 16px; background: var(--greige); color: #fff; text-decoration: none; box-shadow: -6px 10px 30px -12px rgba(40, 36, 30, .45);
  transform: translateY(-50%) translateX(6px); transition: transform .35s var(--ease), background-color .25s; animation: tabIn .7s var(--ease) .6s both; }
.side-tab svg { width: 22px; height: 22px; flex: none; }
.side-tab span { writing-mode: vertical-rl; transform: rotate(180deg); font: 650 14.5px var(--font); letter-spacing: .06em; }
.side-tab:hover, .side-tab:focus-visible { background: var(--sd); transform: translateY(-50%) translateX(0); }
.side-tab:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; }
@keyframes tabIn { from { opacity: 0; transform: translateY(-50%) translateX(100%); } to { opacity: 1; transform: translateY(-50%) translateX(6px); } }
@media (max-width: 640px) { .side-tab { padding: 12px 7px 14px; gap: 8px; border-radius: 12px 0 0 12px; } .side-tab svg { width: 18px; height: 18px; } .side-tab span { font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) { .side-tab { animation: none; } }
@media print { .side-tab { display: none; } }
body:has(#zuweisung) .fab { display: none; }

/* Online-Zuweisung */
.zw-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.zw-side { display: grid; gap: 16px; position: sticky; top: 104px; }
.zw-side h3 { font-size: 19px; margin-bottom: 4px; }
.zw-steps { margin: 0; padding: 0; display: grid; gap: 14px; }
.zw-steps li { list-style: none; display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.zw-steps .zn { width: 34px; height: 34px; border-radius: 50%; background: var(--sage-50); color: var(--sd); display: grid; place-items: center; font-weight: 750; }
.zw-steps b { color: var(--ink); }
.zw-steps p { font-size: 14.5px; color: var(--muted); }
.zw-contact a { color: var(--sd); font-weight: 650; }
.req { color: #9B4A3C; font-weight: 700; }
.zw .choice span { padding: 9px 14px; font-size: 14.5px; }
.zw .choice input[type="checkbox"]:checked + span::before { content: "✓ "; }
.drop { position: relative; border: 2px dashed var(--sage); border-radius: 18px; background: var(--ww); transition: background-color .2s, border-color .2s; }
.drop.over { background: var(--sage-50); border-color: var(--sd); }
.drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop-in { display: grid; justify-items: center; gap: 6px; padding: 26px 16px; text-align: center; cursor: pointer; }
.drop-in .ti { width: 52px; height: 52px; border-radius: 16px; background: #fff; color: var(--sd); display: grid; place-items: center; }
.drop-in .ti svg { width: 26px; height: 26px; }
.drop-in b { color: var(--ink); }
.drop-in small { color: var(--muted); font-size: 13px; }
.filelist { margin: 0; padding: 0; display: grid; gap: 6px; }
.filelist li { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto 32px; gap: 10px; align-items: center; padding: 8px 8px 8px 14px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; }
.filelist .fn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.filelist .fs { color: var(--muted); font-size: 13px; }
.filelist button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--sand-50); color: var(--ink); font-size: 18px; cursor: pointer; }
.filelist button:hover { background: var(--sand); }
.filelist li.sum { display: block; background: none; box-shadow: none; padding: 2px 4px; color: var(--muted); font-size: 13px; }
.zw-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 960px) { .zw-grid { grid-template-columns: 1fr; } .zw-side { position: static; order: 2; } }
.choice legend span.req, .choice legend span.opt { display: inline; padding: 0; background: none; box-shadow: none; border-radius: 0; font-size: inherit; cursor: default; }
.choice legend span.req { color: #9B4A3C; font-weight: 700; } .choice legend span.opt { font-weight: 500; color: var(--muted); }
/* Praxisnachfolge-Block */
.nachfolge { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px clamp(24px, 4vw, 64px); align-items: start; padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r-l); background: var(--sage-50); margin-top: 0; }
.nachfolge h2 { margin-top: 12px; font-size: clamp(26px, 3vw, 38px); }
@media (max-width: 860px) { .nachfolge { grid-template-columns: 1fr; } }
/* Praxisteam: Namen und Funktion je auf gleicher Höhe */
.grid.staff { grid-auto-rows: auto; }
.mate { grid-row: span 3; display: grid; grid-template-rows: subgrid; row-gap: 0; }
.mate .avatar { margin-bottom: 14px; }
.mate .who { display: contents; }
.mate h3 { align-self: start; margin-bottom: 6px; }
.mate .role { align-self: start; }
/* Apparaturen-Illustrationen */
.app-split { align-items: center; }
.app-split.rev > .prose { order: 2; }
.app-fig { margin: 0; padding: clamp(12px, 2vw, 24px); border-radius: var(--r-l); background: var(--ww); display: grid; place-items: center; }
.app-fig svg { width: 100%; max-width: 560px; height: auto; display: block; }
.card.app { align-content: start; }
.card.app .app-img { margin-bottom: 6px; border-radius: 18px; background: var(--ww); overflow: hidden; transition: background-color .3s; }
.card.app .app-img svg { width: 100%; height: auto; display: block; transition: transform .6s var(--ease); }
.card.app:hover .app-img { background: var(--sage-50); }
.card.app:hover .app-img svg { transform: scale(1.04); }
@media (max-width: 860px) { .app-split.rev > .prose { order: 0; } }
/* Behandlungen: zweispaltiges Menü */
.dd-menu.mega { width: 600px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; padding: 14px; }
.mcol { display: grid; align-content: start; gap: 4px; }
.mcol ul { margin: 0 0 4px; padding: 0 0 0 62px; display: grid; gap: 1px; }
.mcol li { list-style: none; }
.dd-menu .mcol ul a { display: block; padding: 6px 10px; border-radius: 10px; font-size: 14.5px; color: var(--text); }
.dd-menu .mcol ul a:hover { background: var(--ww); color: var(--sd); }
.dd-menu a.mall { grid-column: 1 / -1; display: flex; justify-content: center; gap: 8px; margin-top: 6px; padding: 12px; border-radius: 14px; background: var(--sage-50); color: var(--sd); font-weight: 650; font-size: 14.5px; }
.dd-menu a.mall svg { width: 18px; height: 18px; }
.dd-menu a.mall:hover { background: var(--sage-100); }
@media (max-width: 1279px) {
  .dd-menu.mega { width: auto; grid-template-columns: 1fr; padding: 0 0 8px 8px; }
  .dd:not(.open) .dd-menu.mega { display: none; }
  .mcol ul { padding-left: 58px; }
}
/* Über uns: Namen auf einer Zeile */
.duo .person h3.dr { white-space: nowrap; font-size: clamp(17px, 1.7vw, 20px); }
.duo .person h3.dr span { display: inline; }
@media (max-width: 860px) {
  .grid.duo { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 10px; margin-inline: calc(-1 * var(--pad, 20px)); padding-inline: var(--pad, 20px); scrollbar-width: thin; }
  .grid.duo > .person { flex: 0 0 min(290px, 80%); scroll-snap-align: start; padding: 22px; gap: 16px; }
  .duo .avatar { font-size: 34px; border-radius: 24px; max-width: 160px; }
  .duo .person h3.dr { font-size: 18px; }
  .duo .person .dots li { font-size: 14.5px; padding-left: 20px; }
  .duo .person .dots li::before { display: block; }
  .duo .cv-btn { font-size: 14px; padding: 9px 14px; }
  .duo .cv-btn svg { display: inline; }
}
/* Praxisteam: kompakte Karten, Namen einzeilig */
.grid.staff { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; }
.mate { grid-row: auto; display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: none; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; }
.mate .avatar { width: 64px; margin: 0; border-radius: 18px; font-size: 20px; }
.mate .who { display: grid; gap: 4px; }
.mate h3 { margin: 0; font-size: 16.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1000px) { .grid.staff { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid.staff { grid-template-columns: 1fr; } .mate { padding: 12px 16px 12px 12px; } .mate h3 { font-size: 16px; } .mate .role { font-size: 13.5px; } }
.app-split:not(:has(> .app-fig)) { grid-template-columns: 1fr; }
.app-split:not(:has(> .app-fig)) > .prose { max-width: 780px; order: 0; }
.app-fig.photo { padding: 0; overflow: hidden; }
.app-fig.photo img, .card.app .app-img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.app-fig figcaption, .card.app .credit { font-size: 12px; color: var(--muted); padding: 8px 12px; }
@media (min-width: 1280px) { .dd-menu.mega { left: 50%; margin-left: -300px; } }
/* Behandlungen-Menü: vier klare Einträge in zwei Gruppen */
.dd-menu.mega { width: 600px; grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 14px; }
.mgroup { display: grid; align-content: start; gap: 2px; }
.mlabel { padding: 4px 10px 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1279px) { .dd-menu.mega { width: auto; grid-template-columns: 1fr; } .mlabel { padding-top: 10px; } }
/* Startseite: Kopfbereich ohne Bild */
.hero-plain .hero-grid { grid-template-columns: 1fr; }
.hero-plain .hero-text { max-width: 860px; }
.hero-plain h1 { max-width: 14ch; }

/* Ohne Themen-Icons: Menü, Karten, Anfrage-Kacheln, Ablauf-Nummern */
.dd-menu a { grid-template-columns: 1fr; gap: 2px; padding: 10px 12px; }
.pdot { font-weight: 750; font-size: 18px; }
.who-tiles .tile { padding: 20px 14px; }
.who-tiles .tile b { font-size: 16.5px; }

/* Fusszeile kompakt: Logo über Kontakt, Übersicht zweispaltig, Zeiten ohne Umbruch */
.fgrid { grid-template-columns: minmax(250px, 1.1fr) minmax(210px, .9fr) minmax(0, 1.5fr); gap: 32px 48px; padding-block: 48px 32px; }
.flogo { width: 150px; height: auto; margin-bottom: 26px; }
.fhours { grid-template-columns: max-content max-content; gap: 6px 22px; }
.fhours span:nth-child(even) { white-space: nowrap; }
.fnav ul { grid-template-columns: repeat(2, max-content); gap: 9px 40px; }
.fcontact a[href^="mailto"] { white-space: nowrap; }
.flegal { padding-block: 20px 84px; }
@media (max-width: 960px) { .fgrid { grid-template-columns: 1fr 1fr; } .fnav { grid-column: 1 / -1; } }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } .fnav ul { grid-template-columns: 1fr 1fr; gap: 9px 20px; } }
.fnav ul { grid-template-rows: repeat(5, auto); grid-auto-flow: column; }
.fgrid a[href^="tel"] { white-space: nowrap; }
/* Popup: Hinweis zur Datenverwaltung neben dem Weiter-Knopf */
.popup-foot { align-items: center; gap: 16px 28px; flex-wrap: wrap; margin-top: 4px; }
.popup-foot .pop-data { flex: 1 1 520px; margin: 0; }
.pop-data p { font-size: 14.5px; }
.pop-data a { color: var(--sd); font-weight: 650; white-space: nowrap; }
.popup-foot .btn { flex: 0 0 auto; }
/* Startseite: H1 = Keyword-Zeile, Slogan im gleichen Look wie bisher */
.hero .hero-title { margin: 0; color: var(--ink); font-size: clamp(40px, 6.2vw, 78px); letter-spacing: -.035em; line-height: 1.02; font-weight: 700; text-wrap: balance; }
.hero .hero-title em { font-style: normal; color: var(--sd); }
.hero h1.eyebrow { max-width: none; line-height: 1.4; text-wrap: wrap; }
.hero-plain .hero-title { max-width: 14ch; }

/* ===== Schriftgrössen-System (einheitlich auf allen Seiten) =====
   H1 = Seitentitel · H2 = Abschnittstitel (überall gleich gross) · H3 = Titel in Karten, Schritten und Zeitstrahl */
:root { --fs-h2: clamp(28px, 3vw, 40px); --fs-h3: clamp(19px, 1.6vw, 22px); }
h2, .head h2, .prose h2, .nachfolge h2, .band h2 { font-size: var(--fs-h2); letter-spacing: -.028em; }
h3, .timeline h3, .pbody h3, .steps h3, .zw-side h3 { font-size: var(--fs-h3); }
.popup-head h2 { font-size: clamp(24px, 3vw, 36px); }
.legal h2 { font-size: 24px; }
.fgrid h3 { font-size: 13px; }
/* Praxisinhaber über dem Namen */
.duo .person .owner { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sd); margin-bottom: 6px; }
.duo .person .owner-empty { visibility: hidden; }
/* Kontakt: Einstieg für Zuweisende */
.zw-cta { display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: start; }
.zw-cta .btn { grid-column: 1 / -1; justify-self: start; }
.zw-cta p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }
/* Kontakt: Anfahrtsbilder (Luftbild mit Weg + Gebäude) */
.anf-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.anf-fig { margin: 0; display: grid; gap: 6px; }
.anf-fig img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; box-shadow: 0 0 0 4px var(--sage-100); display: block; }
.anf-fig figcaption { font-size: 12px; color: var(--muted); }
@media (max-width: 420px) { .anf-figs { grid-template-columns: 1fr; } }
/* Mega-Menü: «Weitere Therapien» direkt unter «Nach Alter» */
@media (min-width: 1280px) {
  .dd-menu.mega .mgroup:nth-child(1) { grid-column: 1; grid-row: 1; }
  .dd-menu.mega .mgroup:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; }
  .dd-menu.mega .mgroup:nth-child(3) { grid-column: 1; grid-row: 2; margin-top: 6px; }
}
.dd-menu a b { display: block; line-height: 1.3; }

/* =====================================================================
   Gestaltung 3.0 – ruhig, elegant, vertraut
   Titel: Crimson Pro (Serife, SIL Open Font License, selbst gehostet) · Fliesstext: Figtree
   Leichte Titel, kursive Kicker statt Versal-Labels, feine Linien statt Schatten, keine Hüpf-Effekte
   ===================================================================== */
:root {
  --serif: var(--font);
  --ink: #3E3933; --ww: #F9F7F3; --sand-50: #F4F1EC; --line: #E4DFD6;
  --r-s: 8px; --r: 12px; --r-l: 16px;
  --shadow: 0 1px 2px rgba(62, 57, 51, .04), 0 10px 28px rgba(62, 57, 51, .06);
  --fs-h2: clamp(30px, 3.1vw, 42px); --fs-h3: clamp(21px, 1.7vw, 24px);
}
body { font-size: 17px; line-height: 1.72; }

/* Titel */
h1, h2, h3, .hero .hero-title, .pbody h3, .timeline h3, .steps h3, .zw-side h3, .legal h2, .popup-head h2, .band h2, .cv-head h3 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.005em; }
h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.08; }
.page-hero h1 { font-size: clamp(38px, 4.6vw, 58px); max-width: 18ch; }
h2, .head h2, .prose h2, .nachfolge h2, .band h2 { font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -.005em; }
h3, .timeline h3, .pbody h3, .steps h3, .zw-side h3 { font-size: var(--fs-h3); line-height: 1.25; }
.legal h2 { font-size: 27px; }
.popup-head h2 { font-size: clamp(28px, 3vw, 38px); }
.hero .hero-title { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 6vw, 80px); line-height: 1.04; letter-spacing: -.01em; }
.hero .hero-title em, .hero h1 em { font-style: italic; color: var(--sd); }
.duo .person h3.dr { font-size: clamp(20px, 1.9vw, 23px); }
.mate h3 { font-family: var(--serif); font-size: 19px; }
.fgrid h3 { font-family: var(--font); font-weight: 600; font-size: 12px; letter-spacing: .16em; }

/* Kicker: kursiv statt Versalien mit Strich */
.eyebrow { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(19px, 1.6vw, 21px); letter-spacing: 0; text-transform: none; color: var(--sd); gap: 0; }
.eyebrow::before { display: none; }
.hero h1.eyebrow { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.4; }
.lead { color: var(--text); }

/* Startseite: ruhige, zentrierte Einleitung */
.hero-plain { padding-block: clamp(64px, 9vw, 128px) clamp(64px, 8vw, 112px); background: var(--ww); }
.hero-plain .hero-text { max-width: 820px; margin-inline: auto; text-align: center; justify-items: center; gap: 24px; }
.hero-plain .hero-title { max-width: none; }
.hero-plain .lead { margin-inline: auto; max-width: 52ch; }
.hero-plain .actions { justify-content: center; }
.facts { gap: 0; justify-content: center; }
.facts li { background: none; padding: 0 14px; border-radius: 0; font-weight: 500; color: var(--muted); font-size: 14.5px; }
.facts li + li { border-left: 1px solid var(--line); }
.facts svg { display: none; }

/* Buttons: schlicht, ohne Springen */
.btn { border-radius: 6px; font-weight: 500; letter-spacing: .01em; min-height: 50px; padding: 0 24px; }
.btn:hover { transform: none; box-shadow: none; }
.btn:active { transform: none; }
.btn.soft { --bg: var(--sand-50); }
.btn.soft:hover { --bg: var(--sand); }
.btn.ghost { box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { --bg: #fff; box-shadow: inset 0 0 0 1px var(--sage); }
.nav > a, .nav .dd > button { border-radius: 6px; font-weight: 500; }
.toc a { border-radius: 6px; font-weight: 500; }
.toc a:hover { background: var(--sand-50); color: var(--ink); box-shadow: inset 0 0 0 1px var(--sage); }
.cv-btn { border-radius: 6px; }
.textlink, .card .more { font-weight: 500; }

/* Karten: feine Linie statt Schatten, keine Bewegung */
.card { border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
a.card:hover, .card.hover:hover, .steps li:hover { transform: none; box-shadow: inset 0 0 0 1px var(--sage); }
a.card:hover .i, .card.hover:hover .i { transform: none; }
.card .tag { border-radius: 4px; }
.persona { min-height: 0; }
.persona .vis { height: 150px; }
.persona .vis .age { font-family: var(--serif); font-weight: 400; font-size: 54px; letter-spacing: 0; }
.persona:hover .vis svg, .band:hover .deco { transform: none; }
.avatar { border-radius: 50%; font-family: var(--serif); font-weight: 400; letter-spacing: 0; }
.card.person:hover .avatar, .card.mate:hover .avatar { transform: none; }
.mate .avatar { border-radius: 50%; font-size: 30px; }
.note { border-radius: var(--r); }
.note .i { border-radius: 50%; }
.form { border-radius: var(--r-l); box-shadow: inset 0 0 0 1px var(--line); }
.field input, .field select, .field textarea { border-radius: 6px; border-width: 1px; }
.who-tiles .tile { border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.band { border-radius: var(--r-l); }
.popup { border-radius: var(--r-l); }
.dd-menu { border-radius: var(--r); }
.dd-menu a { border-radius: 6px; }

/* Zahlen in Zeitstrahl, Ablauf und Schritten in der Titelschrift */
.timeline .dot, .pdot { font-family: var(--serif); font-weight: 400; font-size: 20px; box-shadow: inset 0 0 0 1px var(--sage); }
.timeline li:hover .dot, .process li:hover .pdot { transform: none; box-shadow: inset 0 0 0 1px var(--sd); background: var(--sd); }
.steps li::before { font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: 0; }

/* Ruhigere Bereiche */
.page-hero { background: var(--ww); }
.page-hero .deco { color: #EDF0EA; }
.site-header { background: rgba(255, 255, 255, .9); }
@media (max-width: 640px) {
  .facts { flex-direction: column; align-items: center; gap: 4px; }
  .facts li + li { border-left: 0; }
  .hero-plain .actions .btn { width: 100%; }
}
/* Feinschliff 3.0 */
.hero-plain { background: #fff; }
.persona .vis, .persona:nth-child(2) .vis, .persona:nth-child(3) .vis, .persona:nth-child(4) .vis { background: var(--sand-50); height: 130px; border-bottom: 1px solid var(--line); }
.persona .vis svg { color: rgba(95, 112, 88, .07); }
.persona .vis .age { color: var(--sd); }
.avatar svg { display: none; }
.duo .avatar, .person:nth-child(3) .avatar { width: 120px; max-width: 120px; border-radius: 50%; font-size: 40px; background: var(--sage-50); color: var(--sd); }
.person:nth-child(2) .avatar { background: var(--sand-50); }
.duo .person .owner { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 17px; letter-spacing: 0; text-transform: none; margin-bottom: 2px; }
.places { gap: 0; }
.places li { padding: 2px 0; border-radius: 0; background: none; box-shadow: none; font-size: 15.5px; }
.places li:not(:last-child)::after { content: "·"; margin: 0 10px; color: var(--sage); }
@media (max-width: 860px) { .duo .avatar, .person:nth-child(3) .avatar { width: 96px; max-width: 96px; font-size: 32px; } }

.persona .vis .age.w { font-style: italic; font-size: 32px; line-height: 1.1; }
@media (max-width: 860px) { .persona .vis .age.w { font-size: 26px; } }
@media (max-width: 1279px) { .nav > a, .nav .dd > button { border-radius: 8px; } .nav > a.nav-cta { border-radius: 6px; } .menu-toggle { border-radius: 8px; } }
@media (max-width: 860px) { .grid.duo { scroll-padding-inline: var(--pad, 20px); } }
.fab { border-radius: 8px; }

/* =====================================================================
   Gestaltung 4.0 – leichter und eleganter
   Titel und Text nur noch in Figtree (leichte Strichstärke statt Serife), ruhiger Kicker,
   schlichte Fusszeile mit vier Spalten (Praxis · Kontakt · Öffnungszeiten · Tarif)
   ===================================================================== */
:root { --serif: var(--font); --ink: #3F3A34; --text: #5E5850; }
body { font-weight: 400; color: var(--text); }

/* Titel: Figtree Light */
h1, h2, h3, .hero .hero-title, .pbody h3, .timeline h3, .steps h3, .zw-side h3, .legal h2, .popup-head h2, .band h2, .cv-head h3, .mate h3 {
  font-family: var(--font); font-weight: 300; letter-spacing: -.022em; }
h1 { font-size: clamp(40px, 5.2vw, 66px); line-height: 1.06; }
.page-hero h1 { font-size: clamp(38px, 4.8vw, 60px); }
h2, .head h2, .prose h2, .nachfolge h2, .band h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.1; letter-spacing: -.025em; }
.head h2, .prose h2, .nachfolge h2 { color: var(--sd); }
h3, .timeline h3, .pbody h3, .steps h3, .zw-side h3 { font-weight: 400; letter-spacing: -.012em; }
.legal h2 { font-size: 28px; }
.hero .hero-title { font-family: var(--font); font-weight: 300; font-size: clamp(48px, 6.6vw, 92px); line-height: 1.02; letter-spacing: -.035em; }
.hero .hero-title em, .hero h1 em { font-style: normal; color: var(--sd); }
.hero-plain .hero-title em { display: block; }
.duo .person h3.dr { font-weight: 400; }
b, strong { font-weight: 600; }

/* Kicker: schlicht, ohne Kursiv */
.eyebrow { font-family: var(--font); font-style: normal; font-weight: 500; font-size: 15px; letter-spacing: .04em; color: var(--sd); }
.hero h1.eyebrow { font-size: clamp(15px, 1.3vw, 17px); font-weight: 500; letter-spacing: .04em; }
.duo .person .owner { font-family: var(--font); font-style: normal; font-weight: 500; font-size: 14px; letter-spacing: .04em; }
.persona .vis .age.w { font-style: normal; }
.lead { font-weight: 300; font-size: clamp(19px, 1.55vw, 22px); line-height: 1.55; }

/* Zahlen und Initialen ebenfalls leicht */
.persona .vis .age, .avatar, .timeline .dot, .pdot, .steps li::before { font-family: var(--font); font-weight: 300; }

/* Knöpfe: schmal, abgerundet */
.btn { border-radius: 999px; font-weight: 500; letter-spacing: .01em; }
.nav > a.nav-hl, .nav > a.nav-cta, .fab { border-radius: 999px; }

/* Fusszeile: vier ruhige Spalten, darunter Logos und Links, dann Namen und © auf eigenen Zeilen */
.site-footer { font-size: 15px; line-height: 1.6; }
.fcols { display: grid; grid-template-columns: 1.1fr 1.25fr 1fr .8fr; gap: 36px 72px; padding-block: 60px 48px; }
.fcols h3 { font-family: var(--font); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #C9D2C3; margin: 0 0 12px; }
.fcols p + p { margin-top: 10px; }
.fcols a, .flinks a { color: #fff; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease), color .2s; }
.fcols a:hover, .flinks a:hover { color: #C9D2C3; background-size: 100% 1px; }
.fcols .fhours { display: grid; grid-template-columns: max-content max-content; gap: 3px 18px; font-variant-numeric: tabular-nums; }
.fcols .fnotfall { margin-top: 12px; font-size: 14px; }
.fbottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-block: 28px 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.fmarks { display: flex; align-items: center; gap: 32px; }
.fmarks .flogo { width: 200px; max-width: 100%; height: auto; margin: 0; opacity: .92; }
.fmarks .fsso { display: inline-flex; opacity: .9; transition: opacity .2s; background: none; }
.fmarks .fsso:hover { opacity: 1; }
.fmarks .fsso img { width: 80px; height: auto; }
.flinks { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 14.5px; }
.fsmall { display: grid; gap: 2px; padding-block: 0 100px; font-size: 13.5px; color: rgba(255, 255, 255, .66); }
.fsmall .fdocs { white-space: nowrap; font-size: min(13.5px, 3.4vw); }
@media (max-width: 1020px) { .fcols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 48px; } }
@media (max-width: 560px) {
  .fcols { grid-template-columns: 1fr; gap: 28px; padding-block: 44px 32px; }
  .fbottom { flex-direction: column; align-items: flex-start; }
}

/* Kopfzeile: «Kontakt» als normaler Menüpunkt, «Termin anfragen» als eigener Knopf */
@media (min-width: 1280px) {
  .header-cta { display: inline-flex; align-items: center; border-radius: 999px; }
  .nav > a[href="kontakt.html"], .nav > a.nav-hl { background: none; color: var(--ink); margin-left: 0; padding-inline: 11px; }
  .nav > a[href="kontakt.html"]:hover, .nav > a.nav-hl:hover { background: var(--sand-50); color: var(--ink); }
  .nav > a[href="kontakt.html"][aria-current="page"], .nav > a.nav-hl[aria-current="page"] { color: var(--sd); }
  .nav > a[href="kontakt.html"][aria-current="page"]::after, .nav > a.nav-hl[aria-current="page"]::after { display: block; }
}
@media (min-width: 1280px) and (max-width: 1260px) { .header-inner { gap: 14px; } .nav > a, .nav .dd > button { padding-inline: 9px; } .header-cta { padding: 0 16px; } }

/* Kontaktseite ohne Formular: zwei Spalten · Terminseite: Formular zentriert */
.wrap.kontakt2 > div { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.wrap.kontakt2 #anfahrt, .wrap.kontakt2 .note, .wrap.kontakt2 .zw-cta { grid-column: 1 / -1; }
.wrap.termin1 { max-width: calc(820px + 2 * var(--pad)); }
@media (max-width: 860px) { .wrap.kontakt2 > div { grid-template-columns: 1fr; } }

/* Sprachumschalter DE | EN (Kopfzeile) */
.lang-switch { display: flex; align-items: center; gap: 6px; flex: none; font-size: 14px; font-weight: 500; color: var(--muted); }
.lang-switch a { color: var(--muted); text-decoration: none; padding: 6px 2px; }
.lang-switch a:hover { color: var(--sd); }
.lang-switch [aria-current] { color: var(--ink); }
.lang-switch .sep { color: var(--line); }
@media (max-width: 1279px) { .lang-switch { margin-left: auto; } .lang-switch ~ .menu-toggle { margin-left: 14px; } }
html[lang="en"] .hours tr.today th::after { content: "today"; }

/* 1.2.0: Kinder & Jugendliche und Erwachsene als Hauptreiter, Sprachwahl DE | EN.
   Unter 1280 px gilt das Handy-Menü. Die Kopfzeile darf etwas breiter sein als der Inhalt (bis 1360 px). */
@media (min-width: 1280px) {
  .header-inner { max-width: calc(1360px + 2 * var(--pad)); gap: 12px; }
  .brand img { height: 44px; }
  .nav > a, .nav .dd > button { padding: 10px 8px; font-size: 14px; }
  .nav > a[aria-current="page"]::after, .nav .dd > button.current::after { left: 8px; right: 8px; }
  .header-cta { padding: 0 16px; }
  .lang-switch { gap: 4px; }
}
@media (min-width: 1280px) and (max-width: 1439px) { .header-inner { padding-inline: 24px; } }
@media (min-width: 1600px) {
  .header-inner { gap: 20px; }
  .brand img { height: 48px; }
  .nav > a, .nav .dd > button { padding: 10px 11px; font-size: 15px; }
  .nav > a[aria-current="page"]::after, .nav .dd > button.current::after { left: 11px; right: 11px; }
  .header-cta { padding: 0 20px; }
}

/* 1.2.2: Auf schmalen Handys ist in der Kopfzeile kein Platz für «DE | EN»; dort steht der Umschalter im aufgeklappten Menü. */
.menu-toggle { flex: none; }
.nav .nav-lang { display: none; }
@media (max-width: 520px) {
  .header-inner > .lang-switch { display: none; }
  .header-inner > .lang-switch ~ .menu-toggle { margin-left: auto; }
  .header-inner { gap: 12px; }
  .nav .nav-lang { display: flex; justify-content: center; gap: 12px; margin: 18px 0 0; font-size: 16px; }
  .nav .nav-lang a, .nav .nav-lang [aria-current] { padding: 8px 6px; }
}
@media (max-width: 374px) { .brand img { height: 40px; } }

/* 1.2.2: Startseite, vier Kästchen: Zahlen («6–18», «18+») und Wörter («Gut zu wissen», «Therapien») gleich gross und auf derselben Grundlinie. */
.persona .vis .age, .persona .vis .age.w { font-size: 38px; line-height: 1; bottom: 22px; font-style: normal; letter-spacing: -.01em; }
@media (min-width: 1001px) { .persona .vis .age, .persona .vis .age.w { font-size: clamp(28px, 2.8vw, 38px); } }

/* 1.2.3: Fusszeile unten: Praxislogo links, Links in der Mitte, SSO-Logo rechts (nicht direkt neben dem Praxislogo). */
.fbottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px 32px; }
.fbottom .fmarks { justify-self: start; }
.fbottom .flinks { justify-self: center; justify-content: center; }
.fbottom .fsso { justify-self: end; display: inline-flex; opacity: .9; transition: opacity .2s; background: none; }
.fbottom .fsso:hover { opacity: 1; }
.fbottom .fsso img { width: 80px; height: auto; }
@media (max-width: 760px) {
  .fbottom { grid-template-columns: 1fr; justify-items: start; gap: 22px; }
  .fbottom .fmarks, .fbottom .flinks, .fbottom .fsso { justify-self: start; }
  .fbottom .flinks { justify-content: flex-start; }
}

/* 1.2.4: Fusszeile unten: Praxislogo links, SSO-Logo in der Mitte, Links rechts (wie früher). Handy: untereinander. */
.fbottom { grid-template-columns: 1fr auto 1fr; gap: 18px 36px; }
.fbottom .fmarks { grid-column: 1; grid-row: 1; justify-self: start; }
.fbottom .fsso { grid-column: 2; grid-row: 1; justify-self: center; }
.fbottom .flinks { grid-column: 3; grid-row: 1; justify-self: end; justify-content: flex-end; }
@media (max-width: 760px) {
  .fbottom { grid-template-columns: 1fr; }
  .fbottom .fmarks, .fbottom .fsso, .fbottom .flinks { grid-column: auto; grid-row: auto; justify-self: start; }
  .fbottom .flinks { justify-content: flex-start; }
}

/* 1.2.4: Über uns, Abschnitt «Region»: Ortschaften kleiner und unter dem Text statt rechts daneben. */
#region.split { grid-template-columns: minmax(0, 1fr); gap: 22px; }
#region .prose, #region .places { max-width: 64ch; }
#region .places li { font-size: 13.5px; }
#region .places li:not(:last-child)::after { margin: 0 8px; }

/* 1.4.3: ruhigere Titel. Seitentitel höchstens 44 px (Handy 30 px), Abschnittstitel höchstens 36 px (Handy 26 px).
   Die Zeilenbreite des Seitentitels bleibt wie bisher (24ch bei kleinerer Schrift = gleiche Breite wie 18ch vorher). */
:root { --fs-h2: clamp(26px, 2.6vw, 36px); }
h1, .page-hero h1 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; }
.page-hero h1 { max-width: 24ch; }
h2, .head h2, .prose h2, .nachfolge h2, .band h2 { font-size: var(--fs-h2); }
/* 1.4.3: Schritte mit fester Spaltenzahl (Erwachsene: drei Schritte) auf schmalen Bildschirmen untereinander */
@media (max-width: 860px) { .steps[style] { grid-template-columns: 1fr !important; } }

/* 1.4.4: einheitliche Schriftskala (Computer / Handy)
   Slogan Startseite 60 / 40 · Seitentitel 44 / 30 · Abschnittstitel 36 / 26 (auch Pop-up) · Rechtstexte 28 / 22
   Kartentitel 24 / 21 · Lead 22 / 19 · Fliesstext 17 · Text in Karten, Schritten und Zeitstrahl 16 · Kicker 15 */
.hero .hero-title { font-size: clamp(40px, 4.2vw, 60px); line-height: 1.06; }
.popup-head h2 { font-size: var(--fs-h2); }
.legal h2 { font-size: clamp(22px, 2vw, 28px); }
.persona .vis .age, .persona .vis .age.w { font-size: clamp(26px, 2.1vw, 30px); }
.card .more, .card ul.dots li, ul.dots li, .timeline p, .steps p, .pbody p, .zw-cta p { font-size: 16px; }
.faq summary { font-size: 17px; }

/* 1.4.5: Fusszeile. Namen in der Anschrift und direkt unter dem Logo, SSO ausgeschrieben unter dem SSO-Logo.
   Handy: gleiche Reihenfolge wie am Computer (Logo mit Namen, SSO, Links, ©). */
.fbottom { align-items: center; }
.fbottom .fmarks { flex-direction: column; align-items: flex-start; gap: 12px; }
.fmarks .fdocs { margin: 0; font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .66); }
.fbottom .fsso { flex-direction: column; align-items: center; gap: 8px; color: rgba(255, 255, 255, .66); text-decoration: none; text-align: center; font-size: 12.5px; line-height: 1.35; }
.fbottom .fsso span { white-space: nowrap; }
.fbottom .fsso:hover { color: #fff; }
@media (max-width: 760px) {
  .fbottom { gap: 26px; }
  .fbottom .fsso { align-items: flex-start; text-align: left; }
  .fbottom .fsso span { white-space: normal; }
}

/* 1.4.5: Zahn im Seitenkopf auf allen Seiten gleich hoch (fester Abstand vom oberen Rand statt mittig) */
.page-hero .deco { top: -36px; transform: none; }
@media (max-width: 760px) { .page-hero .deco { top: 110px; } }

/* 1.4.6: Namen immer nebeneinander auf einer Zeile, nie untereinander (Anschrift und unter dem Logo).
   Praxis-Spalte breiter; vier Spalten erst ab 1240 px, zwei bis 801 px, darunter eine. Handy: Schrift leicht kleiner statt Umbruch. */
.fcols .fnames, .fmarks .fdocs { white-space: nowrap; }
.fmarks .fdocs { font-size: min(13.5px, 3.4vw); }
.fcols { grid-template-columns: 1.55fr 1.25fr 1fr .8fr; gap: 36px 48px; }
@media (max-width: 1239px) { .fcols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 48px; } }
@media (max-width: 800px) { .fcols { grid-template-columns: minmax(0, 1fr); gap: 28px; } .fcols .fnames { font-size: min(15px, calc((100vw - 44px) / 23.6)); } }
@media (max-width: 1023px) {
  .fbottom { grid-template-columns: 1fr; justify-items: start; gap: 26px; }
  .fbottom .fmarks, .fbottom .fsso, .fbottom .flinks { grid-column: auto; grid-row: auto; justify-self: start; }
  .fbottom .flinks { justify-content: flex-start; }
  .fbottom .fsso { align-items: flex-start; text-align: left; }
  .fbottom .fsso span { white-space: normal; }
}

/* 1.4.7: Anschrift mit «&» zwischen den Namen (Zeile etwas breiter): vier Spalten ab 1280 px, eine Spalte bis 820 px */
@media (max-width: 1279px) { .fcols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 48px; } }
@media (max-width: 820px) { .fcols { grid-template-columns: minmax(0, 1fr); gap: 28px; } .fcols .fnames { font-size: min(15px, calc((100vw - 44px) / 24.4)); } }

/* 1.4.8: Untere Fusszeile bündig. Praxislogo und SSO-Logo gleich hoch (39 px) und oben ausgerichtet,
   Beschriftungen darunter mit gleichem Abstand und gleicher Schrift, SSO-Text linksbündig zum SSO-Logo,
   Links auf die Mitte der Logozeile gesetzt. */
.fbottom { align-items: start; }
.fbottom .fsso { align-items: flex-start; text-align: left; gap: 12px; font-size: 13.5px; line-height: 1.5; }
.fbottom .fsso img { width: auto; height: 39px; }
.fbottom .flinks { margin-top: 8px; }
@media (max-width: 1023px) { .fbottom .flinks { margin-top: 0; } }
.fbottom .fsso { opacity: 1; }
.fbottom .fsso img { opacity: .92; transition: opacity .2s; }
.fbottom .fsso:hover img { opacity: 1; }
.fbottom .fmarks .flogo { width: auto; height: 39px; }
.fbottom .flinks { column-gap: 22px; }

/* 1.4.9: Einleitungssatz in Abschnittsköpfen mit «split» (Startseite, Kinder & Jugendliche) wie überall unter dem Titel statt rechts daneben */
.head.split { max-width: 760px; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 16px; }

/* 1.4.10: © direkt unter dem Praxislogo, auf der Höhe des SSO-Texts (statt eigene Zeile weit unten).
   Platz unten nur dort, wo der schwebende Termin-Knopf erscheint (unter 1280 px). Handy: © zuletzt. */
.fmarks .fcopy { margin: 0; font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .66); }
.site-footer .fbottom { padding-bottom: 36px; }
@media (max-width: 1279px) { .site-footer .fbottom { padding-bottom: 100px; } }
@media (max-width: 1023px) {
  .fbottom .fmarks { display: contents; }
  .fbottom .flogo { order: 1; }
  .fbottom .fsso { order: 2; }
  .fbottom .flinks { order: 3; }
  .fbottom .fcopy { order: 4; }
}

/* =====================================================================
   1.5.0 Gestaltung 5.0 – ruhiger und eleganter (Anregung: dntl.ch)
   Titel in Albert Sans (SIL OFL, selbst gehostet), Fliesstext bleibt Figtree (Hausschrift).
   Menü, Knöpfe und Beschriftungen in kleinen gesperrten Grossbuchstaben. Crème und Stein statt Weiss,
   Karten ohne Kästen und Symbole, feine Linien, fast eckige Formen. Grüntöne aus dem Logo bleiben.
   ===================================================================== */
@font-face { font-family: 'Albert Sans'; src: url('fonts/albertsans-latin-ext.woff2') format('woff2'); font-weight: 300 600; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Albert Sans'; src: url('fonts/albertsans-latin.woff2') format('woff2'); font-weight: 300 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root { --title: 'Albert Sans', var(--font); --cream: #F4F0E8; --stone: #E9E4D9; --ww: #E9E4D9; --ink: #3F3A34; --text: #625C54; --muted: #8A8278;
  --line: rgba(63, 58, 52, .16); --r-s: 2px; --r: 2px; --r-l: 2px; --caps: 500 11.5px/1.3 var(--font); }
body { background: var(--cream); color: var(--text); letter-spacing: .012em; }

/* Kopfzeile */
.site-header { background: rgba(244, 240, 232, .88); }
.site-header.scrolled { background: rgba(244, 240, 232, .95); }
.menu-toggle { border-radius: 2px; background: transparent; }
.dd-menu { background: var(--cream); box-shadow: 0 18px 40px -18px rgba(63, 58, 52, .35); border: 1px solid var(--line); }
.dd-menu a { border-radius: 2px; }
.dd-menu a:hover, .dd-menu a[aria-current="page"] { background: var(--stone); }
.dd-menu .i { display: none; }
.dd-menu a { grid-template-columns: 1fr; }
@media (min-width: 1280px) {
  .nav > a, .nav .dd > button { font: var(--caps); text-transform: uppercase; letter-spacing: .15em; }
  .nav > a:hover, .nav .dd > button:hover, .nav .dd.open > button { background: none; color: var(--sd); }
  .lang-switch { font-size: 11.5px; letter-spacing: .12em; }
}
@media (max-width: 1279px) {
  .nav { background: var(--cream); }
  body.menu-open .site-header { background: var(--cream); }
  .nav > a, .nav .dd > button { font-family: var(--title); font-weight: 400; letter-spacing: .005em; border-radius: 2px; }
}
.notice-bar b, .notice-bar .nb-more { font: var(--caps); font-size: 11px; text-transform: uppercase; letter-spacing: .16em; }

/* Titel */
h1, h2, h3, .hero .hero-title, .page-hero h1, .band h2, .popup-head h2, .legal h2, .cv-head h3, .mate h3,
.pbody h3, .timeline h3, .steps h3, .zw-side h3, .card h3, .persona h3 { font-family: var(--title); font-weight: 400; letter-spacing: 0; }
.hero .hero-title { line-height: 1.12; }
h1, .page-hero h1 { line-height: 1.18; }
h2, .head h2, .prose h2, .nachfolge h2 { line-height: 1.25; color: var(--ink); }
.band h2 { line-height: 1.25; color: #fff; }
h3 { letter-spacing: .005em; }
.hero .hero-title em, .hero h1 em { color: var(--sd); }
.lead { font-family: var(--title); font-weight: 300; letter-spacing: .005em; color: var(--text); }

/* Kicker und kleine Beschriftungen */
.eyebrow, .hero h1.eyebrow { font: var(--caps); text-transform: uppercase; letter-spacing: .2em; color: var(--sd); }
.crumbs { text-transform: uppercase; font-size: 11px; letter-spacing: .14em; }

/* Flächen */
.hero, .hero-plain, .page-hero { background: var(--cream); }
.section.bg-ww, .bg-ww { background: var(--stone); }
.page-hero .deco { color: rgba(63, 58, 52, .06); }

/* Knöpfe */
.btn { min-height: 0; padding: 15px 26px; font: var(--caps); text-transform: uppercase; letter-spacing: .2em; line-height: 1.2; box-shadow: none; }
.btn:hover { transform: none; box-shadow: none; }
.btn svg { display: none; }
.btn.ghost { --bg: transparent; box-shadow: inset 0 0 0 1px var(--ink); }
.btn.ghost:hover { --bg: transparent; box-shadow: inset 0 0 0 1px var(--sd); color: var(--sd); }
.btn.line-light { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
.btn.line-light:hover { box-shadow: inset 0 0 0 1px #fff; }
.header-cta { min-height: 0; padding: 12px 20px; }
@media (max-width: 1279px) { .nav .btn { min-height: 0; padding: 17px 26px; } }
.cv-btn { padding: 9px 16px; border-radius: 999px; background: transparent; font: var(--caps); text-transform: uppercase; letter-spacing: .16em; }
.cv-btn svg { display: none; }

/* Startseite: Fakten ohne Häkchen und Kapseln */
.facts { gap: 8px 0; justify-content: center; }
.facts li { background: none; padding: 0 18px; border-radius: 0; font: var(--caps); font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.facts li + li { border-left: 1px solid var(--line); }
.facts li svg { display: none; }
@media (max-width: 560px) { .facts { flex-direction: column; align-items: center; } .facts li + li { border-left: 0; } }

/* Karten: ohne Kästen und Symbole, feine Linie oben */
.card { background: transparent; box-shadow: none; border-radius: 0; border-top: 1px solid var(--line); }
.card:not(.persona) { padding: 24px 0 4px; }
.card .i { display: none; }
.card.hover:hover, a.card:hover { transform: none; box-shadow: none; background: transparent; }
.persona .vis { border-radius: 0; }
.persona .txt { padding: 24px 0 4px; }
.card .more, .textlink { font: var(--caps); text-transform: uppercase; letter-spacing: .18em; }
.card .more svg, .textlink svg { width: 14px; height: 14px; }

/* Hinweise, Schritte, Ablauf, FAQ */
.note { background: transparent; border-left: 1px solid var(--sd); border-radius: 0; padding: 4px 0 4px 22px; }
.note .i { display: none; }
.steps li { background: transparent; box-shadow: none; border-radius: 0; border-top: 1px solid var(--line); padding: 22px 0 6px; }
.steps li:hover { transform: none; box-shadow: none; }
.timeline .dot, .pdot { background: var(--cream); }
.process li:hover .pbody { background: transparent; box-shadow: none; transform: none; }
.faq details { background: transparent; border-radius: 0; box-shadow: none; border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq details[open] { box-shadow: none; }
.faq summary { padding-inline: 0; }
.faq .ans { padding-inline: 0; }

/* Sprungmarken als Textlinks statt Kapseln */
.toc { gap: 10px 26px; }
.toc a { background: none; box-shadow: none; padding: 0 0 3px; border-radius: 0; border-bottom: 1px solid var(--line); font: var(--caps); text-transform: uppercase; letter-spacing: .16em; }
.toc a:hover { background: none; color: var(--sd); border-color: var(--sd); }

/* Formulare: hell auf Crème, ohne Schatten */
.form { background: #FBF9F5; box-shadow: none; border: 1px solid var(--line); }

/* Fusszeile */
.site-footer { letter-spacing: .02em; }
.field input, .field select, .field textarea { background: #fff; border-radius: 2px; border-width: 1px; }
.who-tiles .tile { background: #fff; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--line); }
.who-tiles label:hover .tile { transform: none; box-shadow: inset 0 0 0 1px var(--sage); }
.who-tiles input:checked + .tile { background: var(--sage-50); box-shadow: inset 0 0 0 1.5px var(--sd); }
.who-tiles .ti { display: none; }
.fgroup { border-radius: 2px; border-width: 1px; }
.fgroup > legend { font: var(--caps); font-size: 11px; letter-spacing: .18em; }

/* 1.5.1: Einheitlicher Text unter Abschnittstiteln. Einleitungen in Abschnittsköpfen (.head .lead) wie normaler
   Fliesstext (gleiche Schrift, Grösse und Farbe wie in Textabschnitten). Grosse Einleitung nur unter Seitentitel und Slogan.
   Fliesstext dunkler (Kontrast ≥ 4.5:1 auf Crème), Nebentext --muted ebenfalls dunkler. */
:root { --muted: #6F685F; }
.head .lead, .head p.lead { font-family: var(--font); font-weight: 400; font-size: 17px; line-height: 1.65; letter-spacing: .012em; color: var(--text); max-width: 68ch; }
.prose p, .prose li { color: var(--text); }
/* Schritte auf «Erwachsene» haben im Inhalt style="background:var(--ww)": dort ohne Kasten wie alle anderen */
.steps li { --ww: transparent; }

/* 1.5.1: Textschrift Instrument Sans (SIL OFL, selbst gehostet) statt Figtree, von der Praxis gewählt.
   Gilt für Fliesstext, Menü, Knöpfe, Beschriftungen, Formulare und Fusszeile. Titel bleiben Albert Sans. */
@font-face { font-family: 'Instrument Sans'; src: url('fonts/instrumentsans-latin-ext.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; src: url('fonts/instrumentsans-latin.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root { --font: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; }
/* Kopfzeile zwischen 1280 und 1439 px: gesperrtes Menü etwas enger, damit alles in eine Zeile passt */
@media (min-width: 1280px) and (max-width: 1439px) {
  .nav > a, .nav .dd > button { letter-spacing: .1em; padding-inline: 6px; }
  .header-cta { padding-inline: 16px; letter-spacing: .14em; }
  .lang-switch { letter-spacing: .08em; }
}

/* 1.5.2: Handy-Menü (bis 1279 px) wie am Computer und bei dntl.ch: gesperrte Grossbuchstaben in der Textschrift,
   schmaler Termin-Knopf wie alle anderen Knöpfe, Untermenü ohne Rahmen und Schatten, DE/EN linksbündig. */
@media (max-width: 1279px) {
  .nav > a, .nav .dd > button { font: 500 13px/1.3 var(--font); text-transform: uppercase; letter-spacing: .16em; padding: 19px 14px; }
  .nav > a.btn { align-self: flex-start; width: auto; margin: 22px 0 0 14px; padding: 15px 26px; font: var(--caps); letter-spacing: .2em; justify-content: center; }
  .dd-menu { border: 0; box-shadow: none; background: transparent; padding: 0 0 8px 14px; }
  .dd-menu b { font: 500 12px/1.4 var(--font); text-transform: uppercase; letter-spacing: .14em; }
  .nav .nav-lang { justify-content: flex-start; margin-left: 14px; font: 500 12px/1.3 var(--font); letter-spacing: .14em; }
}
/* Online-Zuweisung bei sehr schmalen Handys (320 px): Spalte darf schmaler werden statt 3 px über den Rand */
@media (max-width: 560px) { .zw-grid { grid-template-columns: minmax(0, 1fr); } }
/* 1.5.3: Seitenkopf der Unterseiten in Stein, damit er sich vom Inhalt in Crème abhebt (Startseite bleibt Crème).
   Zahn angeschnitten wie bisher (oben 36 px, rechts 80 px) und unten auf allen Seiten gleich (60 px): Die Zahnhöhe
   folgt dem Seitenkopf, und alle Seitenköpfe mit Zahn sind gleich hoch. Zahn dezenter, damit er den Text nicht stört.
   Handy: Zahn wie bisher oben rechts angeschnitten, Kopf so hoch, dass er unten nie abgeschnitten wird.
   Kästchen und weiche Knöpfe einheitlich in warmem Salbei statt bläulich (#EEF1EC) oder fast weiss (#F4F1EC).
   Hinweise (note.sand) ohne Kasten wie alle anderen Hinweise.
   Praxislogo in der Fusszeile grösser (54 statt 39 px), SSO-Logo bleibt 39 px und steht mittig dazu. */
:root { --sage-50: #E5E8DA; --sage-wash: #E5E8DA; --sage-wash-2: #D9DFCB; }
.page-hero { background: var(--stone); }
.page-hero .deco { color: rgba(255, 255, 255, .2); }
@media (min-width: 761px) {
  .page-hero:has(> .deco) { min-height: clamp(400px, 302px + 12.5vw, 482px); }
  .page-hero .deco { top: -36px; right: -80px; width: auto; height: calc(100% + 96px); transform: none; }
  .page-hero:has(> .deco) .toc { max-width: 760px; }
}
@media (max-width: 760px) { .page-hero:has(> .deco) { min-height: calc(134px + 42vw * 1.147); } }
.btn.soft { --bg: var(--sage-wash); --fg: var(--ink); }
.btn.soft:hover { --bg: var(--sage-wash-2); }
.note.sand { background: transparent; }
.person:nth-child(2) .avatar, .persona .vis, .persona:nth-child(2) .vis, .persona:nth-child(3) .vis, .persona:nth-child(4) .vis { background: var(--sage-wash); }
.choice span, .drop { background: var(--sage-wash); }
.drop.over { background: var(--sage-wash-2); }
.fbottom .fmarks .flogo { height: 54px; }
@media (min-width: 1024px) { .fbottom .fsso img { margin-block: 7.5px; } }
/* 1.5.4: Kein Hellgrün mehr in Flächen (Nutzer: «Dieses grün geht gar nicht ... dezenter wie bei dntl.ch»).
   Kästchen, weiche Knöpfe, Symbole, Avatare und Flächen in warmem Sand #E3DED2 wie bei dntl.ch; auf Sandflächen
   (Abschnitte bg-ww, Seitenkopf) stehen Kästchen in Crème. Logo-Salbei bleibt nur für feine Linien und Punkte,
   Dunkelsalbei für Knöpfe und Akzente. */
:root { --stone: #E3DED2; --ww: #E3DED2; --sage-50: #E3DED2; --sage-wash: #E3DED2; --sage-wash-2: #D8D2C4; }
.bg-ww, .page-hero { --sage-50: var(--cream); --sage-wash: var(--cream); --sage-wash-2: #EAE5DB; }
.persona .vis, .persona:nth-child(2) .vis, .persona:nth-child(3) .vis, .persona:nth-child(4) .vis { background: var(--sage-wash); }
.persona .vis svg { color: rgba(63, 58, 52, .06); }
.persona .vis .age { color: var(--ink); }
.hours tr.today th::after { background: var(--sage-wash-2); color: var(--ink); }
.duo .avatar, .person .avatar, .mate .avatar, .person:nth-child(2) .avatar, .person:nth-child(3) .avatar, .mate:nth-child(3n+3) .avatar { background: var(--sage-wash); }
/* 1.5.4: Zahn im dunklen Band auf allen Seiten gleich. Ab 1024 px sind alle Bänder gleich hoch (300 px), der Zahn ist
   oben 60 px und unten 110 px angeschnitten (Höhe folgt dem Band). Darunter sitzt er unten rechts, immer gleich gross
   und gleich angeschnitten. Fusszeile: Praxislogo 44 px und SSO-Logo 32 px (beide kleiner), SSO mittig dazu. */
@media (min-width: 1024px) {
  .band { min-height: 300px; }
  .band .deco { top: -60px; bottom: auto; right: -60px; width: auto; height: calc(100% + 170px); }
}
@media (max-width: 1023px) {
  .band { min-height: 240px; }
  .band .deco { top: auto; bottom: -90px; right: -50px; width: 260px; height: auto; }
}
.fbottom .fmarks .flogo { height: 44px; }
.fbottom .fsso img { height: 32px; }
@media (min-width: 1024px) { .fbottom .fsso img { margin-block: 6px; } }
/* 1.5.5: In Formularen (heller Grund #FBF9F5) war der Sand zu dunkel (Feld «Gesetzliche Vertretung», gewählte Kachel,
   Auswahlfelder und Upload-Feld der Zuweisung). Dort stehen Kästchen jetzt in Crème, eine Stufe dunkler als das Formular,
   wie vorher. Rahmen der Vertretung wie bei allen Feldgruppen. Fokus-Ring hell. «heute»-Marke und alle Team-Kreise im
   gleichen Sand wie die übrigen Kästchen. */
.form { --sage-50: var(--cream); --sage-wash: var(--cream); --sage-wash-2: #EAE5DB; }
#vertretung { border-color: var(--line); }
.form .field input:focus, .form .field select:focus, .form .field textarea:focus { box-shadow: 0 0 0 4px #ECE7DD; }
.hours tr.today th::after { background: var(--sage-wash); }
.mate:nth-child(3n+2) .avatar { background: var(--sage-wash); }
/* 1.5.6: Knopf «Zur Online-Zuweisung» (Kontakt, Karte für Zuweisende) dunkelgrün wie «Termin anfragen». */
.zw-cta .btn.soft { --bg: var(--sd); --fg: #fff; }
.zw-cta .btn.soft:hover { --bg: var(--sd-dark); }
/* 1.5.7: Pfeil bei «Mehr erfahren» und allen Text-Links schräg nach oben rechts (↗) wie bei dntl.ch.
   Der bestehende Pfeil wird um 45° gedreht, beim Darüberfahren rückt er leicht nach oben rechts. */
.card .more svg, .textlink svg, .notice-bar .nb-more svg { transform: rotate(-45deg); }
a.card:hover .more svg, .textlink:hover svg, .notice-bar button:hover .nb-more svg { transform: translate(2px, -2px) rotate(-45deg); }
/* 1.5.8: Hintergründe heller, Richtung Weiss (Kollege fand Crème zu cremig, Anregung silent studio / arano.ch).
   Variante A «Warmweiss»: Seite #FCFBF9, Seitenköpfe, Abschnitte und Kästchen in hellem warmem Grau #F2F0EB,
   auf diesen Flächen Kästchen in Weiss. Formulare weiss, Kästchen darin #F5F3EF.
   Zahn im Seitenkopf dezent dunkler als der Grund, damit er auf dem hellen Grund sichtbar bleibt. */
:root { --cream: #FCFBF9; --stone: #F2F0EB; --ww: #F2F0EB; --sage-50: #F2F0EB; --sage-wash: #F2F0EB; --sage-wash-2: #E9E6DF; }
.bg-ww, .page-hero { --sage-50: #FFFFFF; --sage-wash: #FFFFFF; --sage-wash-2: #F7F5F1; }
.site-header { background: rgba(252, 251, 249, .9); }
.site-header.scrolled { background: rgba(252, 251, 249, .96); }
.form { background: #FFFFFF; --sage-50: #F5F3EF; --sage-wash: #F5F3EF; --sage-wash-2: #ECE9E3; }
.form .field input:focus, .form .field select:focus, .form .field textarea:focus { box-shadow: 0 0 0 4px #ECE9E3; }
.page-hero .deco { color: rgba(63, 58, 52, .045); }
/* 1.5.9: Anregungen von silent studio / arano.ch, vom Nutzer bestätigt (13.11.2026).
   1. Weniger Kästchen, mehr Weissraum: feine Linien statt Flächen. Kontakt-Symbole (Telefon, E-Mail, Adresse) bleiben.
   2. Zweispaltige Abschnittsköpfe ab 1024 px: links die kleine Überschrift, rechts Titel und Text.
   3. Feine graue Nummern 01, 02, 03 nur bei echten Abläufen (Kosten, Erwachsene), seit 1.5.10 nicht mehr bei Karten.
   4. Titel eine Stufe leichter (Albert Sans 300 statt 400). */

/* 1. Weniger Kästchen */
.nachfolge { background: transparent; border-radius: 0; padding: clamp(28px, 3.4vw, 44px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pbody, .process li:hover .pbody { background: transparent; border-radius: 0; box-shadow: none; transform: none; padding: 0 0 4px; }
@media (hover: none) { .process li:hover .pbody { background: transparent; } }
.mal .pic, .card.mal:hover .pic { background: transparent; border-radius: 0; transform: none; }
.persona .vis, .persona:nth-child(2) .vis, .persona:nth-child(3) .vis, .persona:nth-child(4) .vis { background: transparent; }
.duo .avatar, .person .avatar, .mate .avatar, .person:nth-child(2) .avatar, .person:nth-child(3) .avatar,
.mate:nth-child(3n+2) .avatar, .mate:nth-child(3n+3) .avatar { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.faq summary .pm { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.btn.soft { --bg: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.btn.soft:hover { --bg: transparent; box-shadow: inset 0 0 0 1px var(--sd); color: var(--sd); }
.zw-cta .btn.soft, .zw-cta .btn.soft:hover { box-shadow: none; color: #fff; }
.hours tr.today th::after { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.popup, .cv { background: #fff; }

/* 2. Zweispaltige Abschnittsköpfe */
@media (min-width: 1024px) {
  .head:has(> .eyebrow), .head.split:has(> div > .eyebrow) { max-width: none; grid-template-columns: minmax(150px, 1fr) minmax(0, 3fr); column-gap: clamp(32px, 4vw, 64px); row-gap: 16px; align-items: start; }
  .head.split:has(> div > .eyebrow) > div { display: contents !important; } /* Inhalt hat Inline-Stil display:grid */
  .head:has(> .eyebrow) > .eyebrow, .head.split > div > .eyebrow { grid-column: 1; grid-row: 1 / span 3; padding-top: calc(var(--fs-h2) * .625 - 7.5px); }
  .head:has(> .eyebrow) > :not(.eyebrow), .head.split:has(> div > .eyebrow) > div > :not(.eyebrow), .head.split:has(> div > .eyebrow) > p { grid-column: 2; max-width: 760px; }
}

/* 3. Nummern 01, 02, 03 */
.steps li::before { font: 300 15px/1 var(--title); color: var(--muted); letter-spacing: .04em; }
.process { counter-reset: p; }
.process::before, .process::after { display: none; }
.process li { counter-increment: p; border-top: 1px solid var(--line); padding-top: 22px; }
.pdot, .process li:hover .pdot, .js .process:not(.in) .pdot { width: auto; height: auto; display: block; background: none; box-shadow: none; border-radius: 0; transform: none; font-size: 0; padding-top: 3px; }
.pdot svg { display: none; }
.pdot::before { content: counter(p, decimal-leading-zero); font: 300 15px/1.4 var(--title); color: var(--muted); letter-spacing: .04em; }

/* 4. Leichtere Titel */
main :is(h1, h2, h3):not(.eyebrow):not(#_), .hero .hero-title:not(#_), :is(.popup-head h2, .cv-head h3, .cv h3):not(#_) { font-weight: 300; } /* :not(#_) hebt die Gewichtung über die älteren Regeln (.page-hero h1, .card h3 …) */
/* 1.5.10: Startseiten-Kacheln: Altersangabe (6–18, 18+ …) linksbündig mit dem Text darunter.
   Gesetzliche Vertretung im Terminformular ohne eigene Hintergrundfarbe, wie alle anderen Feldgruppen. */
.persona .vis .age, .persona .vis .age.w { left: 0; }
#vertretung { background: transparent; }
/* 1.5.11 (13.11.2026): Wünsche der Praxis.
   Zuweisungs-Lasche grösser und sichtbarer, Seiten luftiger, Hover grün bei Anfahrt-Knöpfen, keine fette Schrift im
   Fliesstext, sanfte Seitenwechsel (View Transitions, ohne zusätzliche Programme) und Einblenden des Seitenkopfs. */

/* Zuweisungs-Lasche: grösser, ganz sichtbar, dunkelgrün wie «Termin anfragen» */
.side-tab { gap: 12px; padding: 22px 13px 24px; border-radius: 14px 0 0 14px; background: var(--sd); transform: translateY(-50%); box-shadow: -8px 12px 32px -14px rgba(40, 36, 30, .5); }
.side-tab svg { width: 24px; height: 24px; }
.side-tab span { font: 500 13px/1 var(--font); letter-spacing: .18em; text-transform: uppercase; }
.side-tab:hover, .side-tab:focus-visible { background: var(--sd-dark); transform: translateY(-50%) translateX(-3px); }
@keyframes tabIn { from { opacity: 0; transform: translateY(-50%) translateX(100%); } to { opacity: 1; transform: translateY(-50%); } }
@media (max-width: 640px) { .side-tab { padding: 16px 9px 18px; gap: 9px; } .side-tab svg { width: 20px; height: 20px; } .side-tab span { font-size: 11.5px; letter-spacing: .16em; } }

/* Luftiger: mehr Abstand zwischen Abschnitten, Köpfen, Karten und Absätzen */
.section { padding-block: clamp(88px, 11vw, 160px); }
.section.tight { padding-block: clamp(64px, 8vw, 112px); }
.block + .block { margin-top: clamp(84px, 10vw, 144px); }
.head { margin-bottom: clamp(44px, 5.5vw, 80px); }
.grid { gap: clamp(44px, 4.4vw, 68px) clamp(28px, 3.2vw, 56px); }
.card:not(.persona) { padding: 32px 0 8px; gap: 16px; }
.prose { gap: 22px; }
.prose h2:not(:first-child) { margin-top: 26px; }
.prose h3 { margin-top: 18px; }
.prose ul { gap: 14px; }
.steps { gap: clamp(32px, 3.4vw, 52px); }
.process { gap: 34px; }
.process li { padding-top: 28px; }
.faq summary { padding-block: 24px; }
.nachfolge { padding-block: clamp(40px, 4.4vw, 60px); }

/* Anfahrt-Knöpfe (Google Maps, Apple Karten, SBB): beim Darüberfahren grün wie die Kontakt-Symbole */
.btn.soft:hover, .btn.soft:focus-visible { --bg: var(--sd); color: #fff; box-shadow: none; }

/* 1.5.12 (13.11.2026): Beratungs-Bänder (z. B. «Beratung für Erwachsene») im hellen Salbei des Brandsheets #A8B5A0
   mit dunkler Schrift; Fusszeile im dunklen Salbei des Brandsheets #5F7058 mit weisser Schrift und weissen Logos.
   Die helle Fusszeile und die Seitenwechsel-Animationen aus 1.5.11 sind wieder entfernt (Wunsch der Praxis).
   Fettschrift im Fliesstext wie vorher; nur an vier Stellen (Aligner, Keramik-/Metallbrackets, Retention,
   schriftlicher Kostenvoranschlag) ist sie im Seiteninhalt selbst entfernt. */
.band { background: var(--sage); color: var(--ink); }
.band h2 { color: var(--ink); }
.band p { color: rgba(63, 58, 52, .85); }
.band .btn.light { --bg: #fff; --fg: var(--ink); }
.band .btn.light:hover { --bg: var(--cream); }
.band .btn.line-light { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px rgba(63, 58, 52, .5); }
.band .btn.line-light:hover { --bg: rgba(255, 255, 255, .25); box-shadow: inset 0 0 0 1px var(--ink); }
.band .deco { color: rgba(255, 255, 255, .22); }
.site-footer { background: var(--sd); color: rgba(255, 255, 255, .9); }
.fbar { display: none; }
.fcols h3 { color: #E3E9DF; }
.fcols a, .flinks a { color: #fff; }
.fcols a:hover, .flinks a:hover { color: #E4EADF; }
.fbottom { border-top-color: rgba(255, 255, 255, .2); }
.fmarks .fcopy, .fbottom .fsso, .fmarks .fdocs { color: rgba(255, 255, 255, .88); }
.fbottom .fsso:hover { color: #fff; }
.fbottom .fsso img { opacity: .95; }
/* 1.5.13: Hinweisleiste oben (Praxisübergabe) im dunklen Salbei wie Fusszeile und Termin-Knopf (#5F7058). */
.notice-bar { background: var(--sd); }
.notice-bar .nb-more { color: #E4EADF; }
/* 1.5.14: Bewegung beim Laden und Seitenwechsel (assets/kfo-motion.js, GSAP), angelehnt an kieferortho-rotkreuz.ch.
   Ladebildschirm in Warmweiss mit pulsierendem Signet. Sicherheitsnetz: Startet das Skript nicht, verschwindet er
   nach 2,5 s von selbst (CSS); sobald das Skript läuft (kfo-motion-js), steuert es ihn. */
#kfo-loader { display: none; }
.kfo-motion #kfo-loader { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; background: var(--cream); animation: kfoLaderWeg .4s ease 2.5s forwards; }
.kfo-motion.kfo-motion-js #kfo-loader { animation: none; }
#kfo-loader svg { width: 56px; height: auto; color: var(--sage); animation: kfoPuls 1.4s ease-in-out infinite; }
@keyframes kfoPuls { 50% { opacity: .45; transform: scale(.94); } }
@keyframes kfoLaderWeg { to { opacity: 0; visibility: hidden; } }
/* Einblenden beim Scrollen etwas weiter und weicher, wie bei Rotkreuz */
.kfo-motion .rv { transform: translateY(40px); transition-duration: 1.1s; transition-timing-function: cubic-bezier(.16, 1, .3, 1); }
.kfo-motion .rv.in { transform: none; }
/* Abschnittsköpfe und Startseiten-Kopf übernimmt das Skript */
.kfo-motion-js .hero .rv { opacity: 1; transform: none; transition: none; }
/* 1.5.15: Kopfzeile oben im hellen Salbei (#A8B5A0) mit weissem Logo (logo-quer-negativ.svg). Ab 120 px Scrollen gleitet
   sie als warmweisse Leiste mit dem Originallogo von oben herein (Anregung golland.ch). Menütexte oben dunkel, damit sie
   auf dem Salbei gut lesbar bleiben. */
.brand { position: relative; display: inline-block; }
.brand img { transition: opacity .35s ease; }
.brand .logo-weiss { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.site-header { background: var(--sage); transition: background-color .35s ease, box-shadow .35s ease; }
.site-header:not(.scrolled) { border-bottom-color: transparent; }
.site-header:not(.scrolled) .brand .logo-farbe { opacity: 0; }
.site-header.scrolled .brand .logo-weiss, body.menu-open .site-header .brand .logo-weiss { opacity: 0; }
body.menu-open .site-header .brand .logo-farbe { opacity: 1; }
.site-header.scrolled { background: rgba(252, 251, 249, .96); box-shadow: 0 1px 0 var(--line); animation: kfoKopfNeu .55s cubic-bezier(.2, .75, .25, 1) both; }
@keyframes kfoKopfNeu { from { transform: translateY(-100%); } to { transform: none; } }
body.menu-open .site-header { background: var(--cream); animation: none; }
@media (min-width: 1280px) {
  .site-header:not(.scrolled) .nav > a:not(.btn), .site-header:not(.scrolled) .nav .dd > button { color: var(--ink); }
  .site-header:not(.scrolled) .nav > a:not(.btn):hover, .site-header:not(.scrolled) .nav .dd > button:hover,
  .site-header:not(.scrolled) .nav .dd.open > button { color: var(--ink); opacity: .7; }
  .site-header:not(.scrolled) .nav > a[aria-current="page"], .site-header:not(.scrolled) .nav .dd > button.current { color: var(--ink); }
  .site-header:not(.scrolled) .nav > a[aria-current="page"]::after, .site-header:not(.scrolled) .nav .dd > button.current::after { background: var(--ink); }
}
.site-header:not(.scrolled) .lang-switch, .site-header:not(.scrolled) .lang-switch a { color: var(--ink); }
.site-header:not(.scrolled) .lang-switch a:not([aria-current]) { opacity: .7; }
.site-header:not(.scrolled) .lang-switch .sep { color: rgba(63, 58, 52, .35); }
@media (prefers-reduced-motion: reduce) { .site-header.scrolled { animation: none; } }

/* Aufklappmenü «Behandlungen»: Zeilen beider Spalten aneinander ausrichten (Ratgeber auf Höhe von Interdisziplinär) */
@media (min-width: 1280px) {
  .dd-menu.mega { grid-auto-flow: row dense; align-items: start; }
  .dd-menu.mega .mgroup { display: contents; }
  .dd-menu.mega .mgroup:nth-child(1) > * { grid-column: 1; }
  .dd-menu.mega .mgroup:nth-child(2) > * { grid-column: 2; }
  .dd-menu.mega .mgroup:nth-child(n+3) > * { grid-column: 1 / -1; }
}
/* 1.5.16: Wechsel Salbei → Warmweiss weich wie bei kieferortho-rotkreuz.ch: Farbe, Schrift und Logo blenden in 0,45 s
   über, das Logo wird am Computer etwas kleiner; kein Hereingleiten mehr. Weisses Logo auf Salbei jetzt komplett weiss
   (logo-quer-weiss.svg; Variante mit dunkelsalbei Zahn: logo-quer-negativ-dunkel.svg). */
.site-header.scrolled { animation: none; }
.site-header { transition: background-color .45s ease-in-out, box-shadow .45s ease-in-out; }
.site-header .nav > a, .site-header .nav .dd > button, .site-header .lang-switch a { transition: color .45s ease-in-out, opacity .45s ease-in-out; }
.brand img { transition: opacity .45s ease-in-out, transform .45s ease-in-out; transform-origin: left center; }
@media (min-width: 1280px) { .site-header.scrolled .brand img { transform: scale(.88); } }
@media (prefers-reduced-motion: reduce) { .site-header, .brand img { transition: none; } }
/* 1.5.17: Zweispaltige Abschnitte: rechte Spalte (Hinweis, Karte, Ablauf) beginnt neben dem ersten Textabsatz statt
   auf Höhe von Label und Titel (Abstand misst assets/main.js und setzt --split-oben). */
.block.split > :nth-child(2) { margin-top: var(--split-oben, 0px); }
/* 1.5.17: Einblenden beim Scrollen viel dezenter (Wunsch der Praxis: «zu viel, verzögert, wie eine PowerPoint»):
   nur 8 px und 0,45 s, ohne Staffelung, beginnt sobald ein Element ins Bild kommt. Titel werden nicht mehr zeilenweise
   aufgebaut. Kopfzeile und Seitenkopf beim Laden bleiben unverändert. */
.kfo-motion .rv { transform: translateY(8px); transition: opacity .45s ease-out, transform .45s ease-out; transition-delay: 0s; }
.kfo-motion .rv.in { transform: none; }
/* 1.5.18: Ruhiger Modus für Geräte mit «Bewegung reduzieren» / «Animationen aus» (oft Windows-Praxis-PCs und Handys):
   Bisher waren dort alle Animationen ausgeschaltet, auch der Ladebildschirm. Jetzt erlaubt: Ladebildschirm mit
   pulsierendem (nur blassem) Signet, Überblenden der Kopfzeile und leichtes Einblenden ohne Bewegung. Nichts gleitet,
   nichts zoomt. */
@keyframes kfoPulsRuhig { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) {
  #kfo-loader svg { animation: kfoPulsRuhig 1.6s ease-in-out infinite !important; }
  .kfo-motion:not(.kfo-motion-js) #kfo-loader { animation: kfoLaderWeg .4s ease 2.5s forwards !important; }
  .site-header { transition: background-color .45s ease-in-out, box-shadow .45s ease-in-out !important; }
  .brand img { transition: opacity .45s ease-in-out !important; }
  .site-header .nav > a, .site-header .nav .dd > button, .site-header .lang-switch a { transition: color .45s ease-in-out, opacity .45s ease-in-out !important; }
  .site-header.scrolled .brand img { transform: none; }
  .kfo-motion .rv { transform: none !important; transition: opacity .45s ease-out !important; }
  .kfo-ruhig .rv:not(.in) { opacity: 0; }
}

/* 1.5.18: Aufklappmenü «Behandlungen»: alle Kästchen gleich gross, unabhängig von der Textlänge */
@media (min-width: 1280px) {
  .dd-menu.mega { grid-template-rows: auto; grid-auto-rows: 1fr; align-items: stretch; }
  .dd-menu.mega .mlabel { align-self: end; }
}
/* 1.5.19: Häufige Fragen: Plus neutral; beim Darüberfahren wird nur das Plus grün, Kreis bleibt fein und neutral (kein
   grün gefüllter Kreis, kein grüner Rahmen um die Frage). */
.faq details:hover, .faq details[open]:hover { box-shadow: none; }
.faq summary .pm { color: var(--muted); background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.faq details:hover .pm, .faq summary:focus-visible .pm { background: transparent; color: var(--sd); box-shadow: inset 0 0 0 1px var(--line); }
/* 1.5.19: Kästchen «6–18», «18+», «Gut zu wissen», «Therapien»: Zahn im Hintergrund in zartem hellem Salbei statt grau
   (#A8B5A0 mit 60 % Deckkraft, damit die Titel darüber ruhig lesbar bleiben; Variante 3 der Vorschau) */
.persona .vis svg { color: rgba(168, 181, 160, .6); }

/* 1.5.20: Ablauf (Punkte 01–05): keine eigene Scroll-Bewegung mehr. Die linke Textspalte klebt nicht mehr fest, während die
   Punkte daneben vorbeiziehen, und die Punkte gleiten nicht mehr einzeln nacheinander herein. Wunsch der Praxis. */
.process-wrap .sticky { position: static; }
.process li, .js .process:not(.in) li { opacity: 1; transform: none; transition: none; }
/* 1.5.20: Sprunglinks im Seitenkopf (Ablauf, Kosten, Versicherung & IV …): beim Darüberfahren kein Rahmen um das Wort,
   nur Schrift und Unterstrich werden dunkelsalbei (ältere Hover-Regel mit Rahmen aufgehoben). */
.toc a:hover { box-shadow: none; }

/* 1.5.21: Grosses Foto (Baustein «Grosses Foto»).
   «voll»: randlos und bildschirmfüllend unter der Kopfzeile (Kopfzeile bleibt unverändert darüber), Titel unten links und
   kurze Zeile unten rechts in Weiss auf einem dezenten dunklen Verlauf. Bildausschnitt über --fokus (object-position). */
.foto-voll { position: relative; height: calc(100vh - 81px); height: calc(100svh - 81px); min-height: 480px; overflow: hidden; background: #2E2A25; color: #fff;
  scroll-margin-top: -15px; } /* html hat scroll-padding-top 96 px: Sprung landet so genau unter der Kopfzeile (81 px) */
/* Foto als Anfang eines Abschnitts (Sprungmarke liegt auf dem Foto): Text folgt etwas näher, damit beides zusammengehört */
.foto-voll + .section { padding-top: clamp(56px, 7vw, 104px); }
.foto-voll > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--fokus, 50% 50%); }
.foto-voll.mit-text::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(30, 27, 24, .58) 0%, rgba(30, 27, 24, .28) 26%, rgba(30, 27, 24, 0) 52%); }
.foto-voll .foto-text { position: absolute; left: 0; right: 0; bottom: clamp(28px, 7vh, 80px); z-index: 1; display: flex; align-items: flex-end;
  justify-content: space-between; flex-wrap: wrap; gap: 14px 48px; }
.foto-voll .foto-titel { margin: 0; font-family: var(--title); font-weight: 300; font-size: clamp(38px, 4.8vw, 76px); line-height: 1.04; letter-spacing: -.01em; color: #fff; }
.foto-voll .foto-zeile { margin: 0; max-width: 20ch; font-size: clamp(17px, 1.5vw, 23px); line-height: 1.38; color: rgba(255, 255, 255, .92); }
@media (max-width: 700px) {
  /* Handy: unten Platz für den schwebenden Knopf «Termin anfragen», damit er nicht über dem Text im Bild liegt */
  .foto-voll { height: calc(100vh - 81px - 88px); height: calc(100svh - 81px - 88px); min-height: 420px; }
  .foto-voll .foto-text { flex-direction: column; align-items: flex-start; gap: 10px; bottom: 22px; }
  .foto-voll .foto-titel { font-size: 34px; }
  .foto-voll .foto-zeile { font-size: 16px; }
}
/* «breit»: Inhaltsbreite 16:9; folgt ein warmweisser Abschnitt, liegt das Foto halb auf hell, halb auf warmweiss. Handy quadratisch, randlos. */
.foto-band { padding-block: 0; background: var(--cream); }
.foto-band:has(+ .bg-ww) { background: linear-gradient(to bottom, var(--cream) 50%, var(--ww) 50%); }
.foto { margin: 0; }
.foto img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: var(--fokus, 50% 50%); background: var(--ww); }
@media (max-width: 700px) { .foto-band .wrap { padding-inline: 0; } .foto img { aspect-ratio: 1 / 1; } }
/* 1.5.21: Fehlstellungen: beim Darüberfahren kippt die Zeichnung wieder leicht (wie bis 1.5.8); die Kästchen dahinter bleiben weg */
.card.mal:hover .pic { transform: rotate(-4deg); }

/* 1.5.22: Grosses Foto als Anfang eines Abschnitts (z. B. «Festsitzende Zahnspange»): kleine Überschrift und Titel (h2)
   untereinander unten links im Bild, weiss auf dem dunklen Verlauf; der Beschrieb folgt direkt darunter, ohne Wiederholung.
   Handy: Foto etwas niedriger, Überschrift und Titel unter dem Foto in der normalen Schrift, damit das Gesicht frei bleibt. */
.foto-voll .foto-text { display: grid; justify-items: start; align-content: end; gap: 14px; }
.foto-voll .foto-text .eyebrow { color: rgba(255, 255, 255, .9); }
.foto-voll .foto-text .eyebrow::before { background: rgba(255, 255, 255, .7); }
.foto-voll .foto-titel:not(#_) { margin: 0; max-width: 22ch; font-family: var(--title); font-weight: 300; font-size: clamp(30px, 3.4vw, 52px);
  line-height: 1.12; letter-spacing: -.005em; color: #fff; }
.foto-voll.mit-text + .section { padding-top: clamp(40px, 5vw, 72px); }
@media (max-width: 700px) {
  .foto-voll.mit-text { height: auto; min-height: 0; background: var(--cream); color: var(--ink); }
  .foto-voll.mit-text > img { position: relative; inset: auto; display: block; height: 58vh; height: 58svh; min-height: 320px; }
  .foto-voll.mit-text::after { display: none; }
  .foto-voll.mit-text .foto-text { position: static; padding-top: 28px; gap: 10px; }
  .foto-voll.mit-text .foto-text .eyebrow { color: var(--sd); }
  .foto-voll.mit-text .foto-text .eyebrow::before { background: var(--sage); }
  .foto-voll.mit-text .foto-titel:not(#_) { color: var(--ink); font-size: 28px; }
  .foto-voll.mit-text .foto-zeile { color: var(--muted); }
  .foto-voll.mit-text + .section { padding-top: 18px; }
}

/* 1.5.23: Abschnittstitel auf der ganzen Website gleich: kleine Überschrift über dem Titel, Titel und Einleitung linksbündig
   darunter, wie bei allen Textabschnitten. Die zweispaltige Anordnung aus 1.5.9 (kleine Überschrift links, Titel eingerückt
   daneben) ist aufgehoben; sie wirkte bei «Kieferorthopädie & Kieferchirurgie» und «Unsere Kieferorthopäden» wie zentriert. */
@media (min-width: 1024px) {
  .head:has(> .eyebrow), .head.split:has(> div > .eyebrow) { max-width: 760px; grid-template-columns: minmax(0, 1fr); column-gap: 0; row-gap: 16px; }
  .head.split:has(> div > .eyebrow) > div { display: grid !important; gap: 14px; }
  .head:has(> .eyebrow) > .eyebrow, .head.split > div > .eyebrow { grid-column: auto; grid-row: auto; padding-top: 0; }
  .head:has(> .eyebrow) > :not(.eyebrow), .head.split:has(> div > .eyebrow) > div > :not(.eyebrow), .head.split:has(> div > .eyebrow) > p { grid-column: auto; }
}

/* 1.5.23: Fusszeile: untere Zeile auf dasselbe Spaltenraster wie die obere. Logo unter «Praxis», SSO unter «Kontakt»,
   Links unter «Öffnungszeiten» (Desktop ab 1280 px); bei zwei Spalten Logo links, SSO rechts, Links darunter. */
@media (min-width: 1280px) {
  /* beide Zeilen exakt dasselbe Raster: minmax(0, …) verteilt unabhängig vom Inhalt; Spalte 1 bleibt breit genug für die
     Inhabernamen auf einer Zeile (rund 368 px bei 1185–1200 px Inhaltsbreite) */
  .fcols, .fbottom { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1.2fr) minmax(0, .95fr) minmax(0, .75fr); column-gap: 48px; }
  .fbottom .fmarks { grid-column: 1; grid-row: 1; justify-self: start; }
  .fbottom .fsso { grid-column: 2; grid-row: 1; justify-self: start; }
  .fbottom .flinks { grid-column: 3 / -1; grid-row: 1; justify-self: start; justify-content: flex-start; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .fbottom { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  .fbottom .fmarks { grid-column: 1; grid-row: 1; justify-self: start; }
  .fbottom .fsso { grid-column: 2; grid-row: 1; justify-self: start; }
  .fbottom .flinks { grid-column: 1 / -1; grid-row: 2; justify-self: start; justify-content: flex-start; margin-top: 0; }
}

/* 1.5.24: Einheitliche Abstände bei allen Abschnittstiteln, egal ob Textabschnitt (.prose) oder Titelbaustein (.head):
   kleine Überschrift → Titel 16 px, Titel → erster Text 22 px (gleich wie der Abstand zwischen Absätzen).
   Vorher: Textabschnitte 48 px / 22 px, Titelbausteine 16 px / 16 px. Gilt auch für das Foto mit Titel. */
.prose > .eyebrow + h2 { margin-top: -6px; }                        /* Raster-Abstand 22 px − 6 px = 16 px */
.head > h2 + :is(.lead, p) { margin-top: 6px; }                      /* Raster-Abstand 16 px + 6 px = 22 px */
.head.split > div { gap: 16px !important; }                          /* Inline-Stil hatte 14 px */
.head.split > :is(.lead, p) { margin-top: 6px; }
@media (min-width: 1024px) { .head.split:has(> div > .eyebrow) > div { gap: 16px; } }
.foto-voll .foto-text { gap: 16px; }
.foto-voll .foto-titel + .foto-zeile { margin-top: 6px; }
@media (max-width: 700px) { .foto-voll.mit-text .foto-text { gap: 16px; } }
/* Praxisnachfolge (Über uns): dieselben Abstände */
.nachfolge > div:first-child { display: grid; gap: 16px; justify-items: start; }
.nachfolge > div:first-child > h2 { margin-top: 0; }
@media (max-width: 860px) { .nachfolge > .prose { margin-top: 6px; } }
/* Öffnungszeiten: «heute» wieder als grüner Knopf (dunkles Salbei, weisse Schrift); Tag und Zeiten der heutigen Zeile
   wieder in denselben Farben wie die übrigen Tage (Tag schwarz, Zeiten grau) */
.hours tr.today th { color: var(--ink); }
.hours tr.today td { color: var(--muted); }
.hours tr.today th::after { background: var(--sd); color: #fff; box-shadow: none; }
/* Geburtsdatum als Tag / Monat / Jahr (Zuweisung; Kopie der Plugin-Regel für den Theme-Ersatz) */
.form .datum { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.3fr); gap: 8px; }
.form .datum select { min-width: 0; font-size: 16px; padding-inline: 12px 8px; }
.form .datum-fehler { font-size: 14px; color: #a04a3a; }

/* 1.5.25: Schwebender Knopf «Termin anfragen» (Handy/Tablet) mit derselben Schrift wie alle anderen Knöpfe:
   Grossbuchstaben, gesperrt, 11.5 px, normal stark. Grösse, Farbe und Position bleiben. */
.fab { font: var(--caps); text-transform: uppercase; letter-spacing: .2em; line-height: 1.2; }

/* 1.5.26: Häufige Fragen: aufgeklappt ein Minus statt eines X (senkrechte Linie dreht sich in die waagrechte) */
.faq details[open] .pm { transform: none; }
.faq .pm .pm-v { transform-box: fill-box; transform-origin: center; transition: transform .3s var(--ease); }
.faq details[open] .pm .pm-v { transform: rotate(90deg); }
/* 1.5.26: «Wohlfühlen» (Über uns): einzelne Karte neben einem Text ist ein Hinweis, darum Linie links wie bei
   «Unterschied zu Kindern»; die Linie oben bleibt den Einträgen einer Reihe vorbehalten */
.block.split > .card { border-top: 0; border-left: 1px solid var(--sd); padding: 4px 0 4px 22px; }

/* 1.5.26: Geburtsdatum (Terminanfrage, Zuweisung): Textfeld TT.MM.JJJJ mit Kalender-Knopf statt drei Auswahlfeldern.
   Kalender (assets/datum.js des Plugins KFO Formulare) gross und einfach: Monat und Jahr oben direkt wählbar,
   Tage als grosse Felder; auf dem Handy als Fläche von unten. */
.form .datum { display: flex; gap: 8px; max-width: 340px; grid-template-columns: none; }
.form .datum input[type="text"] { flex: 1 1 auto; min-width: 0; font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.form .datum .datum-kal { flex: none; width: 52px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r-s, 2px); background: #fff; color: var(--sd); cursor: pointer; transition: background-color .2s, color .2s; }
.form .datum .datum-kal:hover, .form .datum.ist-offen .datum-kal { background: var(--sd); color: #fff; border-color: var(--sd); }
.form .datum .datum-kal svg { width: 22px; height: 22px; }
.kal { position: absolute; z-index: 300; width: min(360px, calc(100vw - 24px)); box-sizing: border-box; padding: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(63, 58, 52, .18); color: var(--ink); font-family: var(--font); }
.kal[hidden], .kal-hg[hidden] { display: none; }
.kal-kopf { display: grid; grid-template-columns: 42px minmax(0, 1.25fr) minmax(0, 1fr) 42px; gap: 6px; align-items: center; margin-bottom: 12px; }
.kal-kopf select { min-height: 44px; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--r-s, 2px); background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.kal-pfeil { height: 44px; border: 0; background: none; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.kal-pfeil:hover:not(:disabled) { color: var(--sd); }
.kal-pfeil:disabled { opacity: .25; cursor: default; }
.kal-tage, .kal-gitter { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.kal-tage span { padding: 4px 0; text-align: center; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kal-gitter button { height: 44px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 16px; font-variant-numeric: tabular-nums; cursor: pointer; }
.kal-gitter button:hover:not(:disabled) { background: var(--ww); }
.kal-gitter button.ist-gewaehlt { background: var(--sd); color: #fff; }
.kal-gitter button:disabled { color: rgba(63, 58, 52, .25); cursor: default; }
.kal-zu { display: block; width: 100%; margin-top: 12px; padding: 12px; border: 1px solid var(--line); background: none; color: var(--ink); font: var(--caps); text-transform: uppercase; letter-spacing: .2em; cursor: pointer; }
.kal-zu:hover { border-color: var(--sd); color: var(--sd); }
.kal-hg { display: none; }
@media (max-width: 640px) {
  .kal { position: fixed; left: 0 !important; right: 0; top: auto !important; bottom: 0; width: auto; padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px)); border-width: 1px 0 0; }
  .kal-gitter button { height: 48px; font-size: 17px; }
  .kal-hg { display: block; position: fixed; inset: 0; z-index: 299; background: rgba(30, 27, 24, .35); }
  .kal-hg[hidden] { display: none; }
}
@media (prefers-reduced-motion: no-preference) { .kal { animation: kalAuf .2s ease-out; } }
@keyframes kalAuf { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* 1.5.27 (Gesamt-Check): Knopf «Curriculum Vitae» auf Touch-Geräten mindestens 44 px hoch, damit er gut tippbar ist */
@media (hover: none), (max-width: 860px) { .cv-btn { min-height: 44px; } }

/* 1.5.31: Grosse Bildschirme (2K/4K). Bis 1679 px Breite bleibt alles wie gehabt. Darüber wird die ganze Seite proportional
   vergrössert (CSS zoom), statt dass der Inhalt klein in der Mitte steht: Aufbau, Zeilenlängen und Abstände bleiben gleich,
   nur grösser. Stufen: 1680 → 1.1, 1920 (Full HD) → 1.25, 2240 → 1.4, 2560 (2K/WQHD) → 1.6, 3200 (4K) → 2.
   Bildschirmhöhen (svh) werden durch den Faktor geteilt, damit das grosse Foto genau den Bildschirm füllt. */
:root { --z: 1; }
@media (min-width: 1680px) { :root { --z: 1.1; } }
@media (min-width: 1920px) { :root { --z: 1.25; } }
@media (min-width: 2240px) { :root { --z: 1.4; } }
@media (min-width: 2560px) { :root { --z: 1.6; } }
@media (min-width: 3200px) { :root { --z: 2; } }
@media (min-width: 1680px) {
  html { zoom: var(--z); }
  .foto-voll { height: calc(100svh / var(--z) - 81px); }
  .foto-voll .foto-text { bottom: clamp(28px, calc(7svh / var(--z)), 80px); }
}

/* 1.5.31: Kleine Schriften besser lesbar (Rückmeldung vom grossen Bildschirm): Grossbuchstaben-Zeilen (Knöpfe, kleine Überschriften,
   «Mehr erfahren», Menüreiter) von 11–11.5 px auf 12.5–13 px, Laufweite etwas enger; kleine Beschriebe und Fusszeile 14 px. */
:root { --caps: 500 12.5px/1.3 var(--font); }
.notice-bar b, .notice-bar .nb-more, .facts li, .fgroup > legend { font-size: 12px; }
.facts li { padding: 0 14px; letter-spacing: .14em; }   /* drei Angaben unter den Knöpfen bleiben auf einer Zeile */
.dd-menu small, .dd-menu.mega small { font-size: 14px; }
.fmarks .fcopy { font-size: 14px; }
@media (min-width: 1280px) {
  .nav > a, .nav .dd > button { font-size: 13px; letter-spacing: .12em; }
  .lang-switch { font-size: 13px; }
}
@media (min-width: 1280px) and (max-width: 1439px) {
  .nav > a, .nav .dd > button { font-size: 12.5px; letter-spacing: .08em; padding-inline: 5px; }
}
/* Grosse Bildschirme: Kopfzeile etwas breiter, damit die grösseren Menüreiter Luft haben (v. a. nach «Behandlungen ⌄») */
@media (min-width: 1680px) {
  .header-inner { max-width: calc(1460px + 2 * var(--pad)); }
  .nav { column-gap: 10px; }
}

/* Nach dem Klick auf «Senden»: fehlende oder falsch ausgefüllte Pflichtangaben rot umrahmt (Plugin 1.0.8 / Theme 1.5.31, assets/pruefen.js) */
.form.versucht .field :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):invalid,
.form.versucht .field :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):invalid:focus { border-color: #B3261E; box-shadow: 0 0 0 3px rgba(179, 38, 30, .14); }
.form.versucht .choice:has(input:invalid) label span, .form.versucht #grund-wahl.fehlt label span { box-shadow: inset 0 0 0 1.5px #B3261E; }
.form.versucht .consent:has(input:invalid) { color: #B3261E; }
.form.versucht .consent:has(input:invalid) input { outline: 2px solid #B3261E; outline-offset: 2px; }

/* 1.5.32: Feinschliff kleine Handys (Prüfung aller Seiten von 320 bis 3840 px Breite).
   - Fusszeile: Namen der Inhaber bleiben auf einer Zeile, Schrift so berechnet, dass die Zeile auch bei 320 px ganz hineinpasst
   - Formulare: Gruppen (fieldset) dürfen schmaler werden als ihr Inhalt, sonst ragten die Kacheln «Anfrage für» bei 320 px
     über den weissen Kasten; unter 380 px etwas weniger Innenabstand
   - Hinweisfenster: Inhalt darf schmaler werden, langer Knopftext («Continue to the website») bricht auf kleinen Handys um */
@media (max-width: 820px) { .fcols .fnames { font-size: min(15px, calc((100vw - 48px) / 25.2)); } }
.form fieldset { min-inline-size: 0; }
.who-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.who-tiles .tile b { overflow-wrap: break-word; }
@media (max-width: 380px) { .who-tiles .tile { padding: 14px 8px; } .who-tiles .tile b { font-size: 14px; } .who-tiles small { font-size: 12px; } }
@media (max-width: 380px) { .form { padding: 22px 16px; } }
.popup > * { min-width: 0; }
@media (max-width: 480px) { .popup .btn { white-space: normal; text-align: center; line-height: 1.35; } }

/* Fehlerliste über dem Knopf (seit Plugin 1.0.9 / Theme 1.5.32) */
.form-status.err p { margin: 0 0 6px; }
.form-status.err ul { margin: 0; padding-left: 20px; font-weight: 500; display: grid; gap: 3px; }
