/* Netzhautklinik – Dr. Michael Stur */
:root {
  --bg: #fff; --ink: #1d2a33; --muted: #566670;
  --accent: #1d5568; --accent-ink: #fff; --tint: #eef4f6; --line: #d3dfe4;
  --notice-bg: #fff4dc; --notice-line: #c78a1b;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Charter, Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12191d; --ink: #e5ecef; --muted: #a2b2ba;
    --accent: #86c3d6; --accent-ink: #0c1418; --tint: #1b262c; --line: #2d3c44;
    --notice-bg: #2b2616; --notice-line: #d9a441;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); }
h1, h2, h3, p, dl, dd, ul, address { margin: 0; padding: 0; }
address { font-style: normal; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

.page { max-width: 760px; margin: 0 auto; padding: 2rem 1.25rem 3rem; }

/* Kopf */
.hero { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: center; }
.portrait img { width: 240px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 6px; }
h1 { font: 700 clamp(1.6rem, 4.5vw, 2.15rem)/1.2 var(--serif); letter-spacing: -.01em; }
.role { margin-top: .75rem; font-weight: 600; color: var(--accent); }
.role-sub { margin-top: .35rem; color: var(--muted); font-size: .98rem; }
.actions { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border: 2px solid var(--accent); border-radius: 6px; color: var(--accent); font-weight: 600; text-decoration: none; }
.btn:hover { background: var(--tint); }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.1); }

/* Hinweis */
.notice { margin: 2.25rem 0 0; padding: 1rem 1.25rem; background: var(--notice-bg); border-left: 5px solid var(--notice-line); border-radius: 0 6px 6px 0; font-size: 1.1rem; }

/* Abschnitte */
section { margin-top: 2.75rem; }
h2 { font: 700 1.5rem/1.25 var(--serif); padding-bottom: .5rem; margin-bottom: 1.1rem; border-bottom: 2px solid var(--line); }
h3 { font: 700 1.1rem/1.3 var(--sans); }

.cv { display: grid; grid-template-columns: 7.5rem 1fr; gap: .9rem 1rem; }
.cv dt { font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.cv dd { max-width: 34em; }
.links { margin-top: 1.1rem; }

.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.5rem; padding: 1.25rem 1.5rem; background: var(--tint); border-radius: 6px; }
.contact dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .25rem 1rem; }
.contact dt { font-weight: 600; color: var(--muted); }
.contact dd { overflow-wrap: break-word; }
.addr { margin-bottom: .9rem; }
.contact .access { grid-template-columns: 1fr; gap: 0; align-content: start; }
.access dt { font-size: .9rem; }
.access dd { margin-bottom: .6rem; }
.access dd:last-child { margin-bottom: 0; }
.nowrap { white-space: nowrap; }

.services { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.services h3 { padding-top: .6rem; border-top: 3px solid var(--accent); margin-bottom: .6rem; }
.services ul { list-style: none; }
.services li { padding: .3rem 0 .3rem 1rem; position: relative; }
.services li::before { content: ""; position: absolute; left: 0; top: .95em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.lead { margin-top: .6rem; font-weight: 600; }
.lead:first-of-type { margin-top: 0; }

/* Fuß */
footer { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 2px solid var(--line); color: var(--muted); font-size: .9rem; line-height: 1.55; }
footer h2 { font-size: 1.1rem; border: 0; padding: 0; margin-bottom: .5rem; }
details { margin-top: 1rem; }
summary { cursor: pointer; font-weight: 600; color: var(--ink); }
details h3 { margin-top: 1rem; font-size: .9rem; color: var(--ink); }
details p { margin-top: .25rem; }

@media (max-width: 720px) {
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page { padding-top: 1rem; }
  .hero { grid-template-columns: 1fr; gap: 1.25rem; }
  .portrait img { width: 160px; }
  .cv { grid-template-columns: 1fr; gap: .1rem; }
  .cv dd { margin-bottom: .8rem; }
  .services { grid-template-columns: 1fr; }
  .btn { flex: 1 1 auto; justify-content: center; }
}
@media print { .actions, .skip { display: none; } details { display: block; } }

@media (max-width: 400px) {
  .contact dl { grid-template-columns: 1fr; gap: 0; }
  .contact dt { font-size: .9rem; }
  .contact dd { margin-bottom: .5rem; }
}
