/* Lunge 6020, Version 1 */

/* Schrift: Inter (SIL Open Font License 1.1, siehe fonts/LICENSE.txt), lokal eingebunden */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  --petrol: #0f4c5c;
  --petrol-dark: #0a3540;
  --petrol-soft: #e7f1f2;
  --accent: #d9825b;
  --accent-soft: #fbeee7;
  --accent-light: #f2b597;
  --sand: #f7f4ef;
  --text: #1c2b30;
  --muted: #546a70;
  --line: #dde6e8;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10, 53, 64, .06), 0 8px 24px rgba(10, 53, 64, .07);
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--petrol); text-underline-offset: 3px; }
a:hover { color: var(--petrol-dark); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.2; color: var(--petrol-dark); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--petrol); color: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; color: var(--white); }

/* Platzhalter: noch fehlende Infos. Vor Go-live entfernen. */
.tbd {
  background: #fff3b0;
  outline: 1px dashed #c9a400;
  border-radius: 4px;
  padding: 0 .25em;
  color: #5c4a00;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--petrol);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand:hover { color: var(--white); }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 1.35rem; letter-spacing: .08em; }
.brand-name span { color: var(--accent-light); }
.brand-sub { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: #c3d7db; margin-top: 3px; }

.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 8px 12px; border-radius: 8px;
  text-decoration: none; color: var(--white); font-weight: 500; font-size: .95rem; white-space: nowrap;
}
.main-nav a:hover { background: rgba(255, 255, 255, .12); color: var(--white); }

.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255, 255, 255, .35); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; color: var(--white);
}
.nav-toggle svg { margin: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--petrol); color: var(--white); }
.btn-primary:hover { background: var(--petrol-dark); color: var(--white); }
.btn-ghost { border-color: var(--petrol); color: var(--petrol); background: transparent; }
.btn-ghost:hover { background: var(--petrol-soft); }
.btn-sm { padding: 9px 16px; font-size: .92rem; }
.btn-light { background: var(--white); color: var(--petrol-dark); }
.btn-light:hover { background: var(--accent-soft); color: var(--petrol-dark); }
.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: var(--white); }

/* Hinweisbalken (nur sichtbar bei aktiver Meldung) */
.hinweis-bar { background: var(--accent-soft); border-bottom: 1px solid #f0d3c3; color: #5a2e19; }
.hinweis-bar[hidden] { display: none; }
.hinweis-bar .container { padding-top: 12px; padding-bottom: 12px; }
.hinweis { margin: 0; padding: 4px 0 4px 30px; position: relative; font-size: .97rem; }
.hinweis[hidden] { display: none; }
.hinweis::before {
  content: "!"; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); color: var(--white); font-weight: 800; font-size: .8rem;
  display: grid; place-items: center;
}
.hinweis + .hinweis { margin-top: 4px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(255, 255, 255, .07), transparent 60%),
    linear-gradient(165deg, var(--petrol) 0%, #0c4250 55%, var(--petrol-dark) 100%);
  color: var(--white);
  padding: 72px 0 96px;
}
.hero-art {
  position: absolute; right: -60px; top: -40px; width: 520px; opacity: .09; pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-light); margin-bottom: 14px;
}
.hero h1 { color: var(--white); }
.hero .lead { font-size: 1.15rem; color: #d3e3e6; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.badges li {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
  padding: 5px 12px; font-size: .88rem; color: var(--white);
}
.badges li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-light); }

.hours-card {
  background: var(--white); color: var(--text); border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25); padding: 26px 26px 20px;
}
.hours-card h2 { font-size: 1.2rem; margin-bottom: 4px; }
.hours-card .note { font-size: .9rem; color: var(--muted); margin: 0 0 14px; }
.today {
  display: flex; align-items: center; gap: 10px; background: var(--petrol-soft); border-radius: 10px;
  padding: 10px 14px; margin-bottom: 14px; font-size: .95rem;
}
.today .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.today.open .dot { background: #2f9e6e; box-shadow: 0 0 0 4px rgba(47, 158, 110, .18); }
.mini-hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.mini-hours th, .mini-hours td { text-align: left; padding: 6px 0; border-bottom: 1px solid var(--line); }
.mini-hours th { font-weight: 600; color: var(--petrol-dark); width: 40%; }
.mini-hours tr:last-child th, .mini-hours tr:last-child td { border-bottom: 0; }
.hours-card .phone { margin: 14px 0 0; font-size: .95rem; }

/* Sections */
section { padding: 80px 0; }
.section-alt { background: var(--sand); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Notice */
.notice-wrap { padding: 0; margin-top: -36px; position: relative; z-index: 2; }
.notice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.notice {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 26px;
  border-top: 4px solid var(--petrol);
}
.notice.warm { border-top-color: var(--accent); }
.notice h3 { margin-bottom: 6px; }
.notice p { margin: 0; color: var(--muted); }
.notice p + p { margin-top: .6em; }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.service-group {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.service-group header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.service-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--petrol-soft); color: var(--petrol);
  display: grid; place-items: center; flex: none;
}
.service-group h3 { margin: 0; font-size: 1.25rem; }
.service-list { list-style: none; padding: 0; margin: 0; }
.service-list li { padding: 10px 0; border-top: 1px solid var(--line); }
.service-list li:first-child { border-top: 0; padding-top: 0; }
.service-list strong { display: block; color: var(--petrol-dark); font-weight: 600; }
.service-list span { display: block; color: var(--muted); font-size: .93rem; }
.services-note { margin: 22px 0 0; color: var(--muted); font-size: .95rem; }
.tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--accent-soft); color: #9a4a26; border-radius: 6px; padding: 1px 7px; margin-left: 6px; vertical-align: 2px;
}

/* Zeiten */
.hours-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.table-wrap { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow-x: auto; }
.hours-table { width: 100%; border-collapse: collapse; min-width: 480px; font-variant-numeric: tabular-nums; }
.hours-table caption { text-align: left; padding: 18px 22px 0; font-weight: 600; color: var(--petrol-dark); }
.hours-table th, .hours-table td { padding: 14px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.hours-table thead th { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.hours-table tbody th { font-weight: 600; }
.hours-table tbody tr:last-child th, .hours-table tbody tr:last-child td { border-bottom: 0; }
.hours-table tr.is-today { background: var(--petrol-soft); }
.hours-table .doc { display: block; font-size: .88rem; color: var(--muted); }
.hours-footnote { font-size: .92rem; color: var(--muted); padding: 14px 22px 18px; margin: 0; border-top: 1px solid var(--line); }

.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-card + .info-card { margin-top: 18px; }
.location-grid .info-card, .cost-grid .info-card { margin-top: 0; }
.info-card h3 { display: flex; align-items: center; gap: 10px; }
.info-card ul { padding-left: 1.2em; margin: 0; }
.info-card li { margin-bottom: 4px; }
.info-card p:last-child { margin-bottom: 0; }

/* Erster Besuch */
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.visit-grid .section-head { margin-bottom: 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 10px 0 10px 34px; border-top: 1px solid var(--line); }
.checklist li:first-child { border-top: 0; padding-top: 4px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--petrol-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f4c5c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checklist li:first-child::before { top: 6px; }
.checklist li.mask::before { content: "😷"; background: none; font-size: 1.1rem; line-height: 22px; text-align: center; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.team-grid ~ .staff-grid { margin-top: 22px; }
.doctor {
  display: grid; grid-template-columns: 112px 1fr; gap: 22px; align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.avatar {
  width: 112px; height: 112px; border-radius: 50%;
  background: linear-gradient(140deg, var(--petrol), #2c7a8a); color: var(--white);
  display: grid; place-items: center; font-size: 2rem; font-weight: 700; letter-spacing: .04em;
}
.avatar.sm { width: 64px; height: 64px; font-size: 1.15rem; background: var(--petrol-soft); color: var(--petrol); }
.doctor .role { color: var(--accent); font-weight: 600; font-size: .95rem; margin-bottom: 10px; }
.doctor p { color: var(--muted); font-size: .96rem; }
.staff-grid[hidden] { display: none; }
.staff-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.staff {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.staff h3 { margin: 0; font-size: 1.02rem; }
.staff p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Anfahrt */
.location-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; }
.address-card {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--petrol); color: var(--white); border-radius: var(--radius); padding: 28px 32px;
}
.address-card address { font-style: normal; font-size: 1.2rem; line-height: 1.45; }
.address-card strong { font-size: 1.35rem; }
.address-card .btn-ghost { border-color: var(--white); color: var(--white); }
.address-card .btn-ghost:hover { background: rgba(255, 255, 255, .12); }

/* Kosten */
.cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

/* Footer */
.site-footer { background: var(--petrol-dark); color: #d6e4e7; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a:not(.btn) { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.site-footer h2 { color: var(--white); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.site-footer .brand { color: var(--white); margin-bottom: 14px; }
.site-footer .brand-sub { color: #a9c3c8; }
.site-footer .btn-light { margin-top: 4px; }
.site-footer address { font-style: normal; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: #a9c3c8; font-size: .88rem;
}
.footer-bottom nav { display: flex; gap: 18px; }

/* Mobile Leiste */
.mobile-bar { display: none; }

/* Unterseiten */
.page-head { background: var(--petrol-soft); padding: 56px 0 40px; border-top: 1px solid rgba(255, 255, 255, .08); }
.prose { max-width: 760px; padding: 48px 20px 80px; margin: 0 auto; }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.draft-box {
  background: var(--accent-soft); border-left: 4px solid var(--accent); border-radius: 8px;
  padding: 14px 18px; margin-bottom: 28px; font-size: .95rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .hours-layout, .visit-grid { grid-template-columns: 1fr; }
  .visit-grid { gap: 24px; }
  .hero-art { width: 380px; }
  .staff-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: grid; }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--petrol-dark); box-shadow: 0 12px 24px rgba(0, 0, 0, .2);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 12px 16px; }
  .main-nav a { padding: 12px; font-size: 1.05rem; }
  .header-cta { display: none; }
}

@media (max-width: 680px) {
  body { font-size: 16px; padding-bottom: 72px; }
  section { padding: 56px 0; }
  .hero { padding: 44px 0 64px; }
  .notice-grid, .services, .cost-grid, .footer-grid { grid-template-columns: 1fr; }
  .doctor { grid-template-columns: 1fr; }
  .avatar { width: 88px; height: 88px; font-size: 1.6rem; }
  .service-group { padding: 22px; }
  .address-card { padding: 24px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { padding: 12px 10px; }
  .staff { padding: 18px 12px; }
  .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hours-table { min-width: 0; font-size: .92rem; }
  .hours-table th, .hours-table td { padding: 12px 12px; }
  .hours-table thead th { font-size: .72rem; }
  .hours-footnote { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  .site-header, .mobile-bar, .hero-actions, .hero-art { display: none !important; }
  section { padding: 24px 0; }
}
