@font-face { font-family: "Fira Sans"; font-weight: 300; font-display: swap; src: url("/fonts/fira-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Fira Sans"; font-weight: 400; font-display: swap; src: url("/fonts/fira-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Fira Sans"; font-weight: 500; font-display: swap; src: url("/fonts/fira-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Fira Sans"; font-weight: 600; font-display: swap; src: url("/fonts/fira-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  --teal: #1f616c;
  --teal-dark: #164a53;
  --teal-light: #2c7682;
  --accent: #4fb8c1;
  --text: #24343a;
  --muted: #5d6f75;
  --white: #ffffff;
  --line: rgba(255, 255, 255, .35);
  --max: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: "Fira Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-weight: 600; text-transform: uppercase; letter-spacing: .04em; line-height: 1.15; overflow-wrap: break-word; hyphens: auto; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin-bottom: 20px; }
h3 { font-size: 1.05rem; }

/* Topbar */
.topbar { background: var(--teal); color: var(--white); text-align: center; font-size: .9rem; font-weight: 400; padding: 6px 16px; }
.topbar a { text-decoration: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(31, 97, 108, .1);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px 0; }
.brand img { width: 170px; }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; }
.nav li + li::before { content: "|"; color: #b9c6c9; padding: 0 10px; }
.nav a { text-decoration: none; font-size: .88rem; font-weight: 400; color: var(--text); }
.nav a:hover, .nav a:focus-visible { color: var(--teal); }
.menu { display: none; }

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid; place-items: center;
  text-align: center;
  background: url("/img/hero.jpg") center / cover no-repeat;
  padding: 80px 16px;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .35); }
.hero > * { position: relative; }
.hero h1 { color: var(--teal); font-size: clamp(2.4rem, 7vw, 4.6rem); letter-spacing: .05em; line-height: 1.12; }
.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.btn {
  display: inline-block; text-decoration: none; text-transform: uppercase;
  font-size: .8rem; font-weight: 500; letter-spacing: .08em;
  padding: 11px 20px; border-radius: 2px;
  background: var(--teal); color: var(--white); border: 1px solid var(--teal);
  transition: background .2s, color .2s;
}
.btn:hover, .btn:focus-visible { background: var(--teal-dark); }
.btn.ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn.ghost:hover, .btn.ghost:focus-visible { background: var(--white); color: var(--teal); }

/* Sections */
.section { padding: 80px 0; }
.teal { background: var(--teal); color: var(--white); }
.teal-light { background: var(--teal-light); color: var(--white); }
.center { text-align: center; }
.lead { max-width: 720px; margin-inline: auto; font-size: 1.05rem; }

/* Expandable */
details.more { max-width: 820px; margin: 24px auto 0; text-align: left; }
details.more > summary { list-style: none; cursor: pointer; text-align: center; font-weight: 500; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::before { content: ">>> "; }
details.more[open] > summary::before { content: "<<< "; }
details.more .more-body { margin-top: 24px; display: grid; gap: 14px; }
.more-body strong { font-weight: 500; display: block; }

/* Booking */
.booking-intro { max-width: 760px; margin-inline: auto; text-align: center; }
.steps { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { list-style: none; border: 1px solid var(--line); border-radius: 6px; padding: 18px; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--teal-dark); font-weight: 600; margin-bottom: 10px; }
.steps strong { font-weight: 500; display: block; }

/* Services */
.services { padding-bottom: 80px; }
/* Team */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 40px; }
.member { background: var(--teal-dark); overflow: hidden; aspect-ratio: 452 / 640; }
.member img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.member.text {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 16px; background: var(--teal-light);
  border: 1px solid var(--line);
}
.member.text strong { overflow-wrap: anywhere; hyphens: auto; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; line-height: 1.25; }
.member.text span { font-size: .82rem; margin-top: 8px; opacity: .9; hyphens: auto; }
.team-sub { margin-top: 64px; }
.footnote { margin-top: 14px; font-size: .82rem; opacity: .85; }

/* Locations */
.locations .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.loc { border: 1px solid #d6e2e4; border-radius: 6px; padding: 24px; }
.loc h3 { color: var(--teal); margin-bottom: 10px; text-transform: none; letter-spacing: 0; font-size: 1.1rem; }
.loc p { font-size: .95rem; }
.loc .meta { color: var(--muted); font-size: .85rem; margin-top: 10px; word-break: break-word; }

/* Career */
.career p { max-width: 820px; margin-inline: auto; }
.career p + p { margin-top: 14px; }

/* Contact */
.contact .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 500; }
.contact address { font-style: normal; }
.contact address p + p { margin-top: 12px; }
.contact a { text-decoration: none; }
.contact a:hover, .contact a:focus-visible { text-decoration: underline; }
.hours { width: 100%; border-collapse: collapse; margin-top: 8px; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 300; vertical-align: top; }
.hours th { font-weight: 500; padding-right: 16px; white-space: nowrap; }
.contact .btns { justify-content: flex-start; }

/* Footer */
.site-footer { background: var(--white); color: var(--muted); font-size: .82rem; padding: 18px 0; text-align: center; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.site-footer span + span::before { content: "|"; padding: 0 10px; color: #c3cfd2; }

/* Legal pages */
.legal { padding: 64px 0 80px; }
.legal h1 { color: var(--teal); font-size: clamp(1.6rem, 4vw, 2.4rem); overflow-wrap: break-word; hyphens: auto; margin-bottom: 24px; }
.legal p + p, .legal p + h2, .legal h2 + p { margin-top: 12px; }
.legal h2 { font-size: 1.1rem; margin-top: 28px; }
.notice { background: #fff5d6; border: 1px solid #e8cf7a; padding: 14px 18px; border-radius: 6px; margin-bottom: 28px; font-size: .92rem; }

/* Responsive */
@media (max-width: 1000px) {
  .team-grid { grid-template-columns: repeat(4, 1fr); }
  .locations .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu { position: static; }
  .menu > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 4px; color: var(--teal); font-weight: 500; font-size: .9rem; }
  .menu > summary::-webkit-details-marker { display: none; }
  .burger { position: relative; width: 26px; height: 18px; display: inline-block; }
  .burger span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--teal); transition: transform .2s, opacity .2s, top .2s; }
  .burger span:nth-child(1) { top: 0; }
  .burger span:nth-child(2) { top: 8px; }
  .burger span:nth-child(3) { top: 16px; }
  .menu[open] .burger span:nth-child(1) { top: 8px; transform: rotate(45deg); }
  .menu[open] .burger span:nth-child(2) { opacity: 0; }
  .menu[open] .burger span:nth-child(3) { top: 8px; transform: rotate(-45deg); }
  .menu ul { list-style: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid #d6e2e4; box-shadow: 0 14px 30px rgba(0, 0, 0, .12); padding: 6px 0; max-height: calc(100vh - 120px); overflow-y: auto; }
  .menu a { display: block; padding: 13px 24px; text-decoration: none; font-weight: 400; color: var(--text); border-bottom: 1px solid #eef3f4; }
  .menu li:last-child a { border-bottom: 0; }
  .menu a:hover, .menu a:focus-visible { background: #f1f7f8; color: var(--teal); }
  .site-header { position: sticky; }
  .header-inner { position: static; }
  .contact .grid { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .locations .grid { grid-template-columns: 1fr; }
  .brand img { width: 140px; }
}
.team-grid.compact .member { aspect-ratio: auto; min-height: 150px; }

/* Services list (Inhalte Langenweg) */
.service-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; text-align: left; }
.service-list li { border: 1px solid var(--line); border-radius: 6px; padding: 20px 22px; }
.service-list h3 { font-size: .95rem; margin-bottom: 8px; color: var(--accent); }
.service-list p { font-size: .93rem; }

/* Arzt Direkt */
.arzt-direkt { margin-top: 64px; text-align: center; }
.arzt-direkt > p { max-width: 760px; margin: 12px auto 0; }
.arzt-direkt .steps { grid-template-columns: repeat(4, 1fr); text-align: left; }
.qr-placeholder { margin: 28px auto 0; width: 200px; height: 200px; display: grid; place-items: center; padding: 16px; border: 2px dashed var(--line); border-radius: 12px; font-size: .85rem; opacity: .85; }
@media (max-width: 1000px) { .service-list { grid-template-columns: 1fr 1fr; } .arzt-direkt .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .service-list, .arzt-direkt .steps { grid-template-columns: 1fr; } }

/* Ergänzungen Team & Öffnungszeiten */
figure.member { margin: 0; position: relative; }
.member-note { position: absolute; left: 0; right: 0; top: 0; padding: 10px 12px; background: rgba(8, 44, 62, .88); color: var(--white); font-size: .78rem; line-height: 1.35; text-align: left; }
.pending { display: inline-block; margin-top: 12px; padding: 3px 10px; border: 1px dashed var(--line); border-radius: 12px; font-size: .74rem; font-style: normal; opacity: .9; }
.hours-loc { font-weight: 500; margin-top: 18px; }
.hours-loc + .hours { margin-top: 4px; }
.pending-block { margin-top: 8px; padding: 10px 14px; border: 1px dashed var(--line); border-radius: 6px; font-size: .92rem; opacity: .9; }
.legal ul { margin: 10px 0 0 20px; display: grid; gap: 6px; }
.legal ul + p, .legal ul + h2 { margin-top: 12px; }
.pending-note { display: inline-block; padding: 6px 12px; border: 1px dashed #b9c6c9; border-radius: 6px; color: var(--muted); }

/* Tippflächen mobil */
.topbar a, .site-footer a { display: inline-block; padding: 6px 4px; }
.loc a, .contact address a { display: inline-block; padding: 4px 0; }
details.more > summary { padding: 8px 0; }
@media (max-width: 560px) {
  .site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; }
  .site-footer span + span::before { content: none; }
  .member-note { font-size: .72rem; padding: 8px 10px; }
}
.service-list li, .steps li, .member { min-width: 0; }
