/* Oralchirurgie am Hafenbecken – Variante B "Kopfgebäude" (Heimbach-Rot, kantig, Bildsprache der Praxis) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/space-grotesk-latin.woff2") format("woff2");
}

:root {
  --accent: #c2061c;
  --accent-dark: #8f0414;
  --ink: #1d1d1b;
  --muted: #4a4b4d;
  --soft: #5f6062;
  --tint: #f5f5f4;
  --line: #dedede;
  --dark: #1d1d1b;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --wrap: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.06; }
h2 { font-size: clamp(29px, 3.4vw, 44px); }
h3 { font-size: 22px; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 40px; }
.narrow { max-width: 860px; }
.muted { color: var(--muted); }
.eyebrow { font-size: 13.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 19.5px; line-height: 1.55; color: var(--muted); max-width: 36em; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.stack-s { display: flex; flex-direction: column; gap: 12px; }
section { padding-block: 96px; }
section.tint { background: var(--tint); }
section.tight { padding-block: 56px; }

/* Vorschau-Hinweis */
.preview { background: var(--dark); color: #e2e2e0; font-size: 14px; text-align: center; padding: 8px 16px; }

/* Kopf */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px); border-bottom: 1px solid #e6e6e6; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; }
.brand { text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 21px; letter-spacing: 0.02em; line-height: 1.2; }
.brand:hover { color: var(--ink); }
.brand span { color: var(--accent); }
.brand small { display: block; font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--soft); }
.nav { display: flex; align-items: center; gap: 30px; font-size: 15.5px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav-toggle { display: none; background: none; border: 1px solid var(--ink); width: 46px; height: 46px; padding: 0; cursor: pointer; color: var(--ink); }
.nav-toggle svg { margin: auto; }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; padding: 14px 26px; font-weight: 600; font-size: 16.5px; border: 1px solid var(--accent); cursor: pointer; font-family: inherit; line-height: 1.3; transition: background 0.15s, color 0.15s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.light { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.light:hover { background: #000; }
.btn.small { padding: 11px 20px; font-size: 15.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Start: Hero */
.hero { padding-block: 24px 0; }
.hero-img { width: 100%; height: 560px; object-fit: cover; object-position: 50% 60%; }
.hero-card { position: relative; margin-top: -150px; max-width: 700px; background: #fff; padding: 44px 48px 0 0; }

/* Abschnittskopf */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 60px; align-items: end; margin-bottom: 48px; }
.sec-head.single { grid-template-columns: minmax(0, 1fr); max-width: 680px; }

/* Behandlungsliste (Start) */
.rows-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px 80px; align-items: start; }
.rows { display: flex; flex-direction: column; border-bottom: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: 290px minmax(0, 1fr) 24px; gap: 6px 32px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: padding 0.15s, background 0.15s; }
.row:first-child { border-top-color: var(--ink); }
.row b { font-family: var(--display); font-size: 23px; font-weight: 500; letter-spacing: -0.01em; }
.row span { color: var(--muted); font-size: 16px; }
.row i { font-style: normal; color: var(--accent); font-size: 20px; transition: transform 0.15s; }
.row:hover { color: var(--ink); background: var(--tint); padding-inline: 14px; }
.row:hover i { transform: translateX(4px); }

/* Karten */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); background: #fff; transition: background 0.15s; }
a.card:hover { background: var(--tint); color: var(--ink); }
.card .num { font-family: var(--display); font-size: 14px; font-weight: 500; color: var(--accent); letter-spacing: 0.08em; }
.card p { font-size: 16px; color: var(--muted); }
.card .more { margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 600; color: var(--accent); }

/* Zweispalter */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.split.top { align-items: start; }
.photo { width: 100%; object-fit: cover; }
.split.portrait { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); }
.split.portrait .photo { height: 600px; }
.caption { font-size: 15px; color: var(--soft); margin-top: 14px; }

/* Merkmale */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; margin-top: 10px; }
.features div { border-top: 2px solid var(--accent); padding-top: 14px; }
.features b { display: block; font-family: var(--display); font-size: 20px; font-weight: 500; margin-bottom: 4px; }
.features span { font-size: 15.5px; color: var(--muted); }

/* Werdegang */
.cv { list-style: none; margin: 0; padding: 0; }
.cv li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.cv li:first-child { border-top-color: var(--ink); }
.cv li:last-child { border-bottom: 1px solid var(--ink); }
.cv b { color: var(--accent); font-weight: 600; }

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: step; }
.step { border-top: 2px solid var(--accent); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; counter-increment: step; }
.step h3::before { content: counter(step) " · "; color: var(--accent); }
.step p { color: var(--muted); }

/* Band (Überweiser) */
.band { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 56px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 64px; }
.band > div { flex: 1 1 520px; display: flex; flex-direction: column; gap: 12px; }
.band p { color: var(--muted); max-width: 38em; }
.band h2 { font-size: clamp(26px, 3vw, 36px); }

/* Info-Raster */
.info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.info b { display: block; margin-bottom: 4px; }
.info span, .info a { display: block; }
.info span { color: var(--muted); }
.todo { background: #fff1c9; color: #5c4300; padding: 1px 8px; font-size: 15px; display: inline-block; }

/* Unterseiten */
.page-head { padding-block: 64px 56px; }
.crumbs { font-size: 14.5px; color: var(--soft); margin-bottom: 22px; }
.crumbs a { color: var(--soft); }
.prose { display: flex; flex-direction: column; gap: 18px; }
.prose h2 { font-size: clamp(25px, 2.8vw, 32px); margin-top: 30px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose li::marker { color: var(--accent); }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 80px; align-items: start; }
.aside { position: sticky; top: 104px; background: var(--tint); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.aside > b { font-family: var(--display); font-size: 19px; font-weight: 500; }
.aside ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.aside li a { display: block; padding: 9px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 16px; }
.aside li a:hover, .aside li a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.note { background: var(--tint); border-left: 2px solid var(--accent); padding: 20px 24px; color: var(--muted); font-size: 16px; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:first-child { border-top-color: var(--ink); }
.faq details:last-child { border-bottom: 1px solid var(--ink); }
.faq summary { font-family: var(--display); font-size: 20px; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--muted); max-width: 44em; }

/* Checklisten */
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; color: var(--muted); }
.checks li::before { content: ""; width: 14px; height: 2px; margin-top: 13px; background: var(--accent); }

/* Team */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.person { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.person img { width: 236px; max-width: 100%; height: auto; }
.person p { color: var(--muted); font-size: 16px; }
.person .role { color: var(--accent); font-weight: 600; font-size: 13.5px; letter-spacing: 0.12em; text-transform: uppercase; }

/* Formular */
form.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15.5px; }
.form input, .form select, .form textarea { font: inherit; color: var(--ink); padding: 13px 14px; border: 1px solid #8a8b8d; border-radius: 0; background: #fff; width: 100%; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(194, 6, 28, 0.15); }

/* Dialog */
dialog { border: 0; padding: 40px; max-width: 480px; width: calc(100% - 40px); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3); border-top: 4px solid var(--accent); }
dialog::backdrop { background: rgba(29, 29, 27, 0.55); }
dialog h2 { font-size: 26px; margin-bottom: 12px; }
dialog p { color: var(--muted); margin-bottom: 22px; }

/* Fuß */
.site-footer { background: var(--dark); color: #fff; padding-block: 64px 32px; font-size: 15.5px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px 48px; }
.site-footer h4 { margin: 0 0 12px; font-family: var(--display); font-size: 16px; font-weight: 500; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.site-footer a { color: #d6d6d3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; text-decoration: none; }
.site-footer .brand span { color: #ff6b7c; }
.site-footer .brand small, .site-footer .muted { color: #b9b9b6; }
.site-footer .legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid #444442; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; color: #b9b9b6; font-size: 14.5px; }

/* Schmaler */
@media (max-width: 1020px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 18px; text-align: center; }
  .nav-toggle { display: grid; }
  .split, .sec-head, .with-aside, .rows-layout { grid-template-columns: minmax(0, 1fr); }
  .split { gap: 40px; }
  .split.portrait { grid-template-columns: minmax(0, 1fr); }
  .split.portrait .photo { height: 420px; }
  .cards, .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .aside { position: static; }
  .site-footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-img { height: 440px; }
  .hero-card { margin-top: -90px; padding-right: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { padding-inline: 22px; }
  section { padding-block: 64px; }
  .hero { padding-top: 0; }
  .hero .wrap { padding-inline: 0; }
  .hero-img { height: 300px; }
  .hero-card { margin-top: 0; padding: 32px 22px 0; }
  .cards, .cards.two, .people, .info, .features, form.form { grid-template-columns: minmax(0, 1fr); }
  .row { grid-template-columns: minmax(0, 1fr) 24px; }
  .row span { grid-column: 1; grid-row: 2; }
  .row i { grid-column: 2; grid-row: 1; }
  .cv li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .lead { font-size: 18.5px; }
  .site-footer .cols { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .row, .row i { transition: none; }
}
