/* Hausarztpraxis Dr. med. Astrid Lukowsky - Stylesheet */

@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/mulish-400.woff2") format("woff2");
}
@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/mulish-600.woff2") format("woff2");
}
@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/mulish-700.woff2") format("woff2");
}
@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/mulish-800.woff2") format("woff2");
}

:root {
  /* Farben (Herleitung siehe praxis-lukowsky-website-vorlage.md, Abschnitt 2) */
  --c-primary: #7a1c73;
  --c-primary-dark: #5e1559;
  --c-primary-tint: #f4ecf3;
  /* Zweitfarbe Graugrün aus den Praxisräumen (Vorlage Abschnitt 2): Überschriften, Flächen, Linien */
  --c-sage-deep: #3e5b5a;
  --c-sage: #748d89;
  --c-sage-tint: #eef2f1;
  --c-sage-tint-strong: #dfe8e6;
  --c-text: #323233;
  --c-text-soft: #5c5c5e;
  --c-blue: #3694c7;
  --c-blue-deep: #1f6a95;
  --c-green: #649b37;
  --c-green-deep: #4c7529;
  --c-white: #ffffff;
  --c-border: #dde5e3;
  --c-focus: #1a1a1a;
  --c-danger: #a4243b;
  /* Statusanzeige Geöffnet/Geschlossen: Punktfarben */
  --c-status-open: #4c8a2a;
  --c-status-cutoff: #d98419;
  --c-status-closed: #8a8f8e;

  /* Typografie */
  --font-main: "Mulish", "Segoe UI", Arial, Helvetica, sans-serif;
  --fs-base: 1.125rem;

  /* Layout */
  --content-w: 1140px;
  --gutter: 24px;
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 84px;
  --band-gap: 56px;
}

@media (min-width: 640px) {
  :root { --gutter: 40px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-offset, calc(var(--header-h) + 16px));
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-white);
}

h1, h2, h3, h4 {
  font-family: var(--font-main);
  font-weight: 800;
  line-height: 1.2;
  color: var(--c-sage-deep);
  margin: 0 0 0.6em;
  hyphens: auto;
}

h1 { font-size: clamp(2.1rem, 1.7rem + 1.6vw, 3.1rem); }
h2 { font-size: clamp(1.7rem, 1.45rem + 1vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 1.2rem + 0.4vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--c-primary);
  text-decoration: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.15em;
}
a:hover { color: var(--c-primary-dark); }
a[href^="tel:"] { white-space: nowrap; }

strong { font-weight: 700; }

ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.5em; }

img { max-width: 100%; display: block; }

:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--c-primary);
  color: var(--c-white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  text-decoration: none;
  font-weight: 700;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 16px; }

.container {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 64px 0;
}
.section--tint { background: var(--c-sage-tint); }

.section__lead {
  max-width: 62ch;
  color: var(--c-text-soft);
  font-size: 1.1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0; padding: 0; margin: -1px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
}
.site-header__bar {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: var(--header-h);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 24px;
}
.site-header__logo {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.site-header__logo img {
  height: 58px;
  width: auto;
}
.site-header__logo-text {
  display: none;
}

.site-nav__list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
}
.site-nav__list a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  color: var(--c-text);
  font-weight: 700;
  text-decoration: none;
}
.site-nav__list a:hover,
.site-nav__list a:focus-visible {
  color: var(--c-primary);
  background: var(--c-sage-tint);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--c-primary);
  background: var(--c-white);
  color: var(--c-primary);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--c-sage-tint); }
.nav-toggle__icon {
  width: 22px; height: 16px;
  position: relative;
  flex-shrink: 0;
}
.nav-toggle__icon span,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: currentColor;
}
.nav-toggle__icon::before { top: 0; }
.nav-toggle__icon span { top: 7px; }
.nav-toggle__icon::after { bottom: 0; }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: none;
}
.mobile-nav.is-open { display: block; }
.mobile-nav__overlay {
  position: absolute;
  inset: 0;
  background: rgba(50, 50, 51, 0.55);
  border: 0;
  padding: 0;
  cursor: pointer;
}
.mobile-nav__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 86vw);
  background: var(--c-white);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: -8px 0 24px rgba(50, 50, 51, 0.2);
}
.mobile-nav__close {
  align-self: flex-end;
  border: 0;
  background: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  padding: 12px;
  cursor: pointer;
}
.mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-nav__list a {
  display: block;
  padding: 16px 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-text);
  text-decoration: none;
  border-bottom: 1px solid var(--c-border);
}
.mobile-nav__list a:hover,
.mobile-nav__list a:focus-visible {
  color: var(--c-primary);
}

@media (min-width: 900px) {
  .site-nav__list { display: flex; }
  .nav-toggle { display: none; }
}

/* Statusanzeige Geöffnet/Geschlossen (Kopfzeile Startseite).
   Schmale Leiste direkt unter Logo und Menü, Teil der festen Kopfzeile und damit immer sichtbar.
   Neben dem Logo ist kein Platz: die Menüleiste belegt am PC fast die ganze Breite. */
.site-header__logo { order: 0; }
.site-nav, .nav-toggle { order: 1; }
.open-status {
  order: 2;
  flex-basis: calc(100% + 2 * var(--gutter));
  margin: 0 calc(-1 * var(--gutter));
  padding: 6px var(--gutter);
  background: var(--open-status-bg, var(--c-sage-tint));
  /* Fläche und obere Linie auf volle Fensterbreite verlängern */
  box-shadow: 0 0 0 100vmax var(--open-status-bg, var(--c-sage-tint)), 0 -1px 0 100vmax var(--c-border);
  clip-path: inset(-1px -100vmax 0);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--c-text);
  text-decoration: none;
  line-height: 1.3;
}
.open-status[hidden] { display: none; }
.open-status:hover, .open-status:focus-visible { --open-status-bg: var(--c-sage-tint-strong); color: var(--c-text); }
.open-status__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--c-status-closed);
}
.open-status--open .open-status__dot { background: var(--c-status-open); }
.open-status--cutoff .open-status__dot { background: var(--c-status-cutoff); }
.open-status__text { display: flex; flex-wrap: wrap; column-gap: 10px; justify-content: center; }
.open-status__main { font-weight: 700; font-size: 0.92rem; }
.open-status__sub { font-size: 0.86rem; color: var(--c-text-soft); }
.open-status__sub:empty { display: none; }
@media (max-width: 479px) {
  .open-status__rest { display: none; }
}
/* Hero */
/* Höhe des Titelbilds: Standard min(64vh, 560px). Ist ein Aktuelles-Hinweis da, setzt main.js
   --hero-h so, dass der Hinweis beim Öffnen vollständig sichtbar ist (mindestens 180 px). */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--c-sage-tint);
}
.hero__photo {
  width: 100%;
  height: var(--hero-h, min(64vh, 560px));
  object-fit: cover;
  object-position: 50% 35%;
}

/* Begrüßung mit Bild (zweiter Abschnitt der Startseite) */
.welcome { padding-bottom: 0; }
.welcome__grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) {
  .welcome__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
}
.welcome__figure { margin: 0; }
.welcome__figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.welcome__text {
  margin: 0;
  padding: 0 0 0 20px;
  border-left: 4px solid var(--c-sage);
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--c-text);
}
.welcome__signature {
  margin-top: 1em;
  font-weight: 700;
  color: var(--c-sage-deep);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  min-height: 56px;
  padding: 14px 28px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary { background: var(--c-primary); color: var(--c-white); }
.btn--primary:hover { background: var(--c-primary-dark); color: var(--c-white); }
.btn--outline {
  background: var(--c-white);
  color: var(--c-primary);
  border-color: var(--c-primary);
}
.btn--outline:hover { background: var(--c-primary-tint); color: var(--c-primary-dark); }
.btn--block { width: 100%; }
.btn--stacked { flex-direction: column; gap: 2px; text-align: center; }
.btn__sub { font-size: 0.85rem; font-weight: 400; overflow-wrap: anywhere; }

/* E-Mail-Adresse kopieren */
.btn-grid { align-items: start; }
.btn-grid--contact .btn { min-height: 86px; }
.mail-cell { display: flex; flex-direction: column; gap: 6px; }
.mail-cell .btn { width: 100%; }
.copy-btn {
  align-self: center;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-primary);
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  padding: 8px 10px;
  min-height: 44px;
  cursor: pointer;
}
.copy-btn:hover { color: var(--c-primary-dark); }
.copy-btn--inline { padding: 4px 6px; min-height: 0; }
.copy-btn__status { font-size: 0.9rem; font-weight: 700; color: var(--c-green-deep); text-align: center; }
.copy-btn__status:empty { display: none; }

.btn-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 28px 0;
}
@media (min-width: 640px) {
  .btn-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .btn-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Sprechzeiten */
.hours-table {
  width: 100%;
  max-width: 640px;
  border-collapse: collapse;
  margin: 24px 0 8px;
  font-size: 1.05rem;
}
.hours-table caption { text-align: left; margin-bottom: 12px; color: var(--c-text-soft); }
.hours-table th, .hours-table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--c-border);
}
.hours-table th {
  color: var(--c-sage-deep);
  font-weight: 700;
  width: 40%;
}
.hours-table tr:last-child th,
.hours-table tr:last-child td { border-bottom: none; }
.hours-note {
  font-weight: 700;
  color: var(--c-sage-deep);
  max-width: 640px;
  margin: 4px 0 20px;
}

.notice {
  background: var(--c-sage-tint);
  border-left: 4px solid var(--c-sage);
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  max-width: 760px;
}
.section--tint .notice { background: var(--c-white); max-width: none; }
.notice p:last-child { margin-bottom: 0; }

.two-col {
  display: grid;
  gap: 48px;
  align-items: start;
}
@media (min-width: 860px) {
  .two-col { grid-template-columns: 1.1fr 0.9fr; }
}

/* Formular */
.form {
  display: grid;
  gap: 20px;
}
.form__row {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) {
  .form__row--split { grid-template-columns: 1fr 1fr; }
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-weight: 700;
  color: var(--c-text);
}
.field .field__hint {
  font-size: 0.92rem;
  color: var(--c-text-soft);
  font-weight: 400;
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  font-family: var(--font-main);
  font-size: 1.05rem;
  color: var(--c-text);
  background: var(--c-white);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  min-height: 52px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--c-primary);
}
.field--hidden { display: none; }

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.checkbox-field input {
  width: 22px; height: 22px;
  margin-top: 4px;
  flex-shrink: 0;
  accent-color: var(--c-primary);
}
.checkbox-field label { font-weight: 400; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-weight: 700;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status--success { background: #eaf3e3; color: var(--c-green-deep); }
.form-status--error { background: #f6e6e9; color: var(--c-danger); }

.contact-info {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.contact-info dt { font-weight: 700; color: var(--c-sage-deep); }
.contact-info dd { margin: 2px 0 0; }

/* Footer */
.site-footer {
  background: var(--c-sage-deep);
  color: var(--c-white);
  text-align: center;
  padding: 32px var(--gutter) 40px;
}
.site-footer a {
  color: var(--c-white);
  font-weight: 700;
}
.site-footer a:hover { color: var(--c-sage-tint); }
.site-footer__meta {
  margin-top: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}

/* Aktuelles-Banner */
.notice-banner {
  background: var(--c-sage-deep);
  color: var(--c-white);
  text-align: center;
  padding: 32px 0;
}
.notice-banner h2 { color: var(--c-white); margin-bottom: 16px; }
@media (max-width: 699px) {
  .notice-banner { padding: 18px 0 20px; }
  .notice-banner h2 { font-size: 1.35rem; margin-bottom: 8px; }
}
.notice-banner__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 760px;
  display: grid;
  gap: 12px;
}
.notice-banner__list time {
  font-weight: 700;
  display: block;
}

/* Bildband */
/* Immer volle Breite. Höhe wächst mit der Bildschirmbreite: Handy 4:3, ab Tablet 16:9,
   höchstens 70 % der Fensterhöhe. Bewusst Höhe in vw statt aspect-ratio: aspect-ratio
   zusammen mit max-height würde den Streifen auf großen Bildschirmen schmaler machen. */
.band {
  width: 100%;
  height: min(75vw, 70vh);
  overflow: hidden;
  background: var(--c-sage-tint);
}
@media (min-width: 700px) {
  .band { height: min(56.25vw, 70vh); }
}
/* Große Bildschirme: nicht mehr randlos, sondern in Textbreite im Format 3:2.
   So bleibt von den 4:3-Fotos fast alles sichtbar und sie müssen nicht vergrößert werden. */
@media (min-width: 1200px) {
  .band {
    width: min(var(--content-w), calc(100% - 2 * var(--gutter)));
    height: auto;
    aspect-ratio: 3 / 2;
    max-height: 78vh;
    margin: var(--band-gap) auto;
    border-radius: var(--radius);
  }
}
.band img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--band-focus, 50% 50%); }
.band__label {
  font-weight: 700;
  color: var(--c-text-soft);
  background: rgba(255,255,255,0.8);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--c-sage);
}

/* Erreichbarkeit außerhalb der Sprechzeiten */
.urgent { margin: 40px 0 8px; }
.urgent__grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .urgent__grid { grid-template-columns: 1fr 1.2fr 1.2fr; } }
.urgent__card {
  background: var(--c-white);
  border: 2px solid var(--c-border);
  border-top: 6px solid var(--c-sage);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.urgent__card--alarm { border-top-color: var(--c-danger); }
.urgent__card--alarm h4, .urgent__card--alarm .urgent__number a { color: var(--c-danger); }
.urgent__card h4 { margin-bottom: 0.5em; }
.urgent__card ul { margin: 0 0 1em; }
.urgent__number { font-size: 2rem; font-weight: 800; line-height: 1.1; margin-bottom: 0.4em; }
.urgent__number a { text-decoration: none; }
.urgent__number a:hover, .urgent__number a:focus-visible { text-decoration: underline; }
.urgent__hint { font-size: 0.98rem; color: var(--c-text-soft); }
.urgent__times { list-style: none; padding: 0; margin: 0 0 0.8em; }
.urgent__times li { padding: 8px 12px; background: var(--c-sage-tint); border-radius: var(--radius-sm); margin-bottom: 6px; }
.urgent__label { font-weight: 700; margin-bottom: 0.1em; }

/* Vorsorge-Übersicht */
.check-grid {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .check-grid { grid-template-columns: 1fr 1fr; } }
.check-card {
  margin: 0;
  background: var(--c-white);
  border: 2px solid var(--c-border);
  border-left: 5px solid var(--c-sage);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.check-card__title { margin: 0 0 0.4em; font-size: 1.08rem; }
.check-card__row { margin: 0 0 0.3em; }
.check-card__label { font-weight: 700; color: var(--c-text); margin-right: 4px; }
.check-card__row ul { margin: 0.2em 0 0; padding-left: 1.2em; }
.check-card__row li { margin-bottom: 0.2em; }
.teaching-note { max-width: 760px; }

/* Praxisablauf-Akkordeon */
.ablauf-heading { margin-top: 48px; }
.accordion {
  display: grid;
  gap: 12px;
}
.accordion__item {
  border: 2px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: var(--c-white);
  overflow: hidden;
}
.accordion__item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  font-weight: 700;
  color: var(--c-primary);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--c-primary);
  flex-shrink: 0;
  margin-left: 12px;
}
.accordion__item[open] summary::after { content: "\2212"; }
.accordion__item[open] summary { border-bottom: 1px solid var(--c-border); }
.accordion__content { padding: 18px 20px 22px; }
.accordion__content .hours-table { margin-top: 12px; }

/* Leistungs-Tabs */
.tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.tabs__tab {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-sage-deep);
  background: var(--c-sage-tint);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  min-height: 52px;
  cursor: pointer;
}
.tabs__tab:hover { background: var(--c-sage-tint-strong); }
.tabs__tab[aria-selected="true"] {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary-dark);
}
.tabs__panel { max-width: 72ch; }
.tabs__panel h4 { margin-top: 1.4em; }

@media (min-width: 860px) {
  .tabs { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
  .tabs__nav { flex-direction: column; margin-bottom: 0; }
}

/* Handy und schmales Tablet: Aufklapp-Liste statt Tabs (gleiche Optik wie Praxisablauf).
   Die Knöpfe erzeugt main.js. Ohne JavaScript bleiben die Tabs sichtbar. */
.tabs__acc-btn { display: none; }
@media (max-width: 859px) {
  .tabs__nav { display: none; }
  .tabs__panels { display: grid; gap: 12px; }
  .tabs__acc-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--c-primary);
    background: var(--c-white);
    border: 2px solid var(--c-border);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    min-height: 56px;
    cursor: pointer;
  }
  .tabs__acc-btn::after { content: "+"; font-size: 1.4rem; line-height: 1; margin-left: 12px; }
  .tabs__acc-btn[aria-expanded="true"] { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom-color: transparent; }
  .tabs__acc-btn[aria-expanded="true"]::after { content: "\2212"; }
  .tabs__panel {
    max-width: none;
    margin-top: -12px;
    padding: 16px 20px 20px;
    border: 2px solid var(--c-border);
    border-top: 1px solid var(--c-border);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    background: var(--c-white);
  }
}

/* DMP-Dialoge */
.dmp-dialog {
  border: none;
  border-radius: var(--radius);
  padding: 32px;
  max-width: min(560px, 90vw);
  box-shadow: 0 20px 48px rgba(50,50,51,0.25);
}
.dmp-dialog::backdrop { background: rgba(50, 50, 51, 0.55); }
.dmp-dialog h3 { margin-top: 0; }
.dmp-dialog .btn { margin-top: 12px; }

/* Team */
.team-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  margin: 32px 0;
}
@media (min-width: 640px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
.team-grid--staff { margin-top: 20px; }
.team-heading { margin-top: 8px; }
.team-card {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(50,50,51,0.08);
}
.team-card__photo {
  width: 140px;
  height: 140px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--c-sage-tint);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--c-sage);
}
.avatar-icon {
  width: 68%;
  height: 68%;
  fill: var(--c-border);
}
.team-card h3, .team-card h4 { margin-bottom: 0.3em; }
.team-card__photo--img,
.team-card__photo--empty { border: 3px solid var(--c-white); box-shadow: 0 0 0 2px var(--c-border); }
.team-card__photo--img { background: var(--c-white); }
.team-card__photo--img img { width: 100%; height: 100%; object-fit: cover; }
.team-card__photo--img + h3, .team-card__photo--img + h4 { margin-top: 14px; }
.h3-size { font-size: clamp(1.3rem, 1.2rem + 0.4vw, 1.6rem); font-weight: 700; }

/* Selbstzahlerleistungen */
.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 4px;
  max-width: 72ch;
}
.check-list li {
  position: relative;
  padding: 10px 0 10px 36px;
  border-bottom: 1px solid var(--c-border);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c-green);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6px; top: 17px;
  width: 10px; height: 5px;
  border-left: 2px solid var(--c-white);
  border-bottom: 2px solid var(--c-white);
  transform: rotate(-45deg);
}

/* Druckformulare (Neupatienten): am Bildschirm ausfüllbar, Ausdruck DIN A4 */
.doc-page { max-width: 820px; margin: 0 auto; padding: 32px var(--gutter) 80px; }
.doc-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 24px 0 12px; }
.doc-note { color: var(--c-text-soft); font-size: 1rem; max-width: 62ch; }
.sheet { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 28px; margin-top: 32px; }
.sheet h1 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); margin-bottom: 0.5em; }
.sheet h2 { font-size: 1.1rem; margin: 1.2em 0 0.4em; }
.sheet p { margin-bottom: 0.7em; }
.sheet__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; border-bottom: 2px solid var(--c-sage); padding-bottom: 10px; margin-bottom: 16px; font-size: 0.9rem; color: var(--c-text-soft); }
.sheet__head img { height: 56px; width: auto; }
.sheet__box { border: 1.5px solid var(--c-text); border-radius: var(--radius-sm); padding: 10px 14px; margin: 10px 0; }
.sheet__box--soft { border-style: dashed; border-color: var(--c-text-soft); font-size: 0.9rem; color: var(--c-text-soft); }
.sheet__strong { font-weight: 700; }
.ffield-grid { display: grid; gap: 10px 20px; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 640px) { .ffield-grid--2 { grid-template-columns: 1fr 1fr; } }
.ffield { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ffield input { width: 100%; min-width: 0; }
@media (max-width: 480px) { .sheet { padding: 18px 14px; } }
.ffield label { font-size: 0.85rem; font-weight: 700; color: var(--c-text-soft); }
.ffield input {
  font-family: var(--font-main);
  font-size: 1.05rem;
  color: var(--c-text);
  border: 0;
  border-bottom: 1.5px solid var(--c-text);
  border-radius: 0;
  padding: 8px 2px;
  min-height: 44px;
  background: transparent;
}
.ffield input:focus { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.fcheck-row { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.fcheck { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.fcheck input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fcheck__box {
  width: 22px; height: 22px;
  border: 1.5px solid var(--c-text);
  border-radius: 3px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--c-white);
}
.fcheck input:checked + .fcheck__box::after { content: "\2715"; font-size: 15px; line-height: 1; font-weight: 700; }
.fcheck input:focus-visible + .fcheck__box { outline: 3px solid var(--c-focus); outline-offset: 2px; }
@media (min-width: 760px) { .ffield-grid--3 { grid-template-columns: 2fr 1fr 2fr; } }
.fperson { border: 0; border-top: 1px solid var(--c-border); margin: 0; padding: 10px 0 6px; display: grid; gap: 6px; min-width: 0; }
.fperson__label { font-weight: 700; color: var(--c-sage-deep); padding: 0; float: left; margin-bottom: 2px; }
.fperson__label + * { clear: both; }
.fsignature { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: 28px; }
@media (min-width: 640px) { .fsignature { grid-template-columns: 1fr 1fr; align-items: end; } }
.fsignature__line { border-bottom: 1.5px solid var(--c-text); min-height: 44px; }
.fsignature__caption { font-size: 0.85rem; color: var(--c-text-soft); margin-top: 4px; }
.print-only, .print-only-block { display: none; }

/* Mehrseitige Bögen (Anamnese, Aufklärung) */
.sec-title {
  background: var(--c-sage-tint);
  border-left: 5px solid var(--c-sage);
  padding: 6px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.6em 0 0.7em;
}
.sheet__sub { color: var(--c-text-soft); font-size: 0.95rem; margin-top: -0.4em; }
.ffield textarea {
  font-family: var(--font-main);
  font-size: 1.05rem;
  color: var(--c-text);
  border: 1.5px solid var(--c-text);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  min-height: 96px;
  resize: vertical;
  background: transparent;
}
.ffield textarea:focus { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.ffield__hint { font-size: 0.85rem; color: var(--c-text-soft); }
.ffield-grid--4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 760px) { .ffield-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.fq { border: 0; margin: 0; padding: 4px 0; min-width: 0; border-bottom: 1px solid var(--c-border); }
.fq > legend { float: left; width: 100%; padding: 8px 0 0; font-weight: 600; }
.fq > legend + * { clear: both; }
.fq .fcheck-row { align-items: center; }
@media (min-width: 760px) {
  .fq > legend { width: 48%; }
  .fq > legend + * { clear: none; }
  .fq::after { content: ""; display: block; clear: both; }
}
.finline { display: inline-flex; align-items: center; gap: 8px; flex: 1; min-width: 180px; }
.finline label { font-size: 0.85rem; color: var(--c-text-soft); }
.finline input { flex: 1; min-width: 0; font-family: var(--font-main); font-size: 1rem; border: 0; border-bottom: 1.5px solid var(--c-text); padding: 6px 2px; min-height: 40px; background: transparent; }
.finline input:focus { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.ftable-grid { display: grid; gap: 0 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .ftable-grid { grid-template-columns: 1fr 1fr; } }
.ftable { width: 100%; border-collapse: collapse; }
.ftable th, .ftable td { padding: 2px 6px; border-bottom: 1px solid var(--c-border); text-align: left; font-weight: 400; }
.ftable thead th { font-weight: 700; color: var(--c-sage-deep); font-size: 0.9rem; text-align: center; }
.ftable thead th:first-child { text-align: left; }
.ftable td { text-align: center; width: 64px; }
.fcheck--solo { justify-content: center; }
.fcheck--static { cursor: default; }
.flist-q { counter-reset: q; list-style: none; padding: 0; margin: 0; }
.flist-q > li { margin: 0; }
.fline { border-bottom: 1.5px solid var(--c-text); min-height: 40px; }
.fline-label { font-size: 0.85rem; color: var(--c-text-soft); margin-top: 2px; }
.fbox-area { border: 1.5px solid var(--c-text); border-radius: var(--radius-sm); min-height: 90px; }
.sheet__footnote { font-size: 0.85rem; color: var(--c-text-soft); margin-top: 24px; }
@media (min-width: 760px) { .fq--wide > legend { width: 78%; } }
.h4-size { font-size: 1.05rem; font-weight: 700; color: var(--c-sage-deep); margin: 0.9em 0 0.3em; }
p.fcheck, .fcheck--static { align-items: flex-start; }
p.fcheck .fcheck__box { margin-top: 3px; }
.screen-note { background: #fff4d6; border: 1px solid #e0b400; color: #4d3900; border-radius: var(--radius-sm); padding: 10px 14px; }

@media print {
  .print-only-block { display: block; }
  .page-break { break-before: page; }
  .sec-title { margin: 0.6em 0 0.3em; padding: 2px 8px; border-left-width: 4px; }
  .sheet__sub { font-size: 8.5pt; }
  .ffield textarea { font-size: 9.5pt; min-height: 0; padding: 3px 6px; border-width: 1px; overflow: hidden; }
  .ffield__hint { font-size: 7.5pt; }
  .ffield-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 4px 12px; }
  .fq { padding: 1px 0; }
  .fq > legend { width: 48%; padding-top: 2px; }
  .fq > legend + * { clear: none; }
  .fq::after { content: ""; display: block; clear: both; }
  .finline { min-width: 120px; gap: 4px; }
  .finline label { font-size: 7.5pt; }
  .finline input { font-size: 9.5pt; min-height: 0; padding: 1px 2px; border-bottom-width: 1px; }
  .ftable-grid { grid-template-columns: 1fr 1fr; }
  .ftable th, .ftable td { padding: 1px 4px; }
  .ftable thead th { font-size: 8pt; }
  .ftable td { width: 44px; }
  .fline { min-height: 22px; border-bottom-width: 1px; }
  .fline-label { font-size: 7.5pt; }
  .fbox-area { min-height: 22mm; border-width: 1px; }
  .sheet__footnote { font-size: 7.5pt; margin-top: 10px; }
  .fq--wide > legend { width: 80%; }
  .h4-size { font-size: 9.5pt; margin: 0.4em 0 0.1em; }
  .sheet ul { margin: 0.2em 0 0.4em; }
  .sheet li { margin-bottom: 0.15em; }
  p.fcheck .fcheck__box { margin-top: 2px; }
  .is-blank-print .ffield textarea, .is-blank-print .finline input { color: transparent; }
}

@media print {
  .no-print, .site-header, .site-footer, .skip-link { display: none !important; }
  .print-only { display: inline; }
  body { font-size: 9pt; line-height: 1.32; color: #000; }
  .doc-page { max-width: none; padding: 0; margin: 0; }
  .sheet { border: 0; padding: 0; margin: 0; border-radius: 0; }
  .sheet h1 { font-size: 14pt; margin-bottom: 0.25em; }
  .sheet h2 { font-size: 10pt; margin: 0.2em 0 0.15em; }
  .sheet p { margin-bottom: 0.35em; }
  .sheet__head { font-size: 8pt; margin-bottom: 6px; padding-bottom: 4px; }
  .sheet__head img { height: 36px; }
  .sheet__box { padding: 3px 10px 4px; margin: 5px 0; }
  .sheet__box--soft { font-size: 8pt; }
  .sheet a { color: inherit; text-decoration: none; }
  .ffield-grid--2 { grid-template-columns: 1fr 1fr; gap: 4px 16px; }
  .ffield-grid--3 { grid-template-columns: 2fr 1fr 2fr; }
  .ffield label { font-size: 7.5pt; }
  .ffield input { font-size: 10pt; min-height: 0; padding: 3px 2px; border-bottom-width: 1px; }
  .ffield input::placeholder { color: transparent; }
  .fcheck { min-height: 0; gap: 6px; }
  .fcheck-row { gap: 2px 18px; }
  .fcheck__box { width: 12px; height: 12px; border-width: 1px; }
  .fcheck input:checked + .fcheck__box::after { font-size: 10px; }
  .fperson { padding: 2px 0 0; gap: 0; }
  .fsignature { grid-template-columns: 1fr 1fr; margin-top: 12px; gap: 32px; }
  .fsignature__line { min-height: 28px; border-bottom-width: 1px; }
  .fsignature__caption { font-size: 8pt; }
  .is-blank-print .ffield input { color: transparent; }
  .is-blank-print .fcheck input:checked + .fcheck__box::after { content: none; }
  @page { size: A4; margin: 12mm 14mm; }
}

/* Impressum, Datenschutz */
.legal { max-width: calc(72ch + 2 * var(--gutter)); }
.legal h2 { font-size: 1.25rem; margin-top: 1.8em; }

/* Platzhalter für offene Punkte */
.placeholder-flag {
  display: inline-block;
  background: #fff4d6;
  color: #6b4f00;
  border: 1px solid #e0b400;
  border-radius: var(--radius-sm);
  padding: 2px 10px;
  font-size: 0.85rem;
  font-weight: 700;
}
