/* Ärztehaus Bad Hall – Stylesheet */

/* Schriften (lokal gehostet, DSGVO-konform) */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #0E2A2B;
  --ink-2: #3E5455;
  --muted: #4A5F60;
  --teal: #00787B;
  --teal-dark: #005A5D;
  --teal-text: #004E51;
  --mint: #DCEEEC;
  --mint-2: #E7EFEE;
  --ground: #F3F6F5;
  --line: #E1E8E7;
  --dark: #0E2A2B;
  --darker: #0A2122;
  --on-dark: #C3D6D5;
  --on-dark-accent: #7FD3CF;
  --radius: 24px;
  --gutter: clamp(16px, 5vw, 48px);
  --section: clamp(64px, 8vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: "Manrope", "Inter", sans-serif; margin: 0; color: inherit; }
p { margin: 0; }

.skip-link { position: absolute; left: 16px; top: -100px; background: var(--teal); color: #fff; padding: 12px 18px; border-radius: 8px; z-index: 100; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 16px; color: #fff; }

.container { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-secondary { background: #fff; border: 1px solid #C9D7D6; color: var(--ink); }
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--mint); color: var(--ink); }
.btn-outline-light { border: 1px solid #3F6364; color: #fff; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 14px; }
.logo img { height: 56px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 28px; font-size: 15px; font-weight: 500; }
.main-nav a { display: inline-block; padding: 10px 0; color: var(--ink); text-decoration: none; }
.main-nav a:hover { color: var(--teal); }
@media (max-width: 720px) {
  .site-header .container { gap: 8px 16px; }
  .logo img { height: 48px; }
  .main-nav { order: 3; width: 100%; }
  .main-nav ul { gap: 0 20px; }
}

/* Eyebrow / Section heads */
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.section-head h2, .h2 { font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.02em; }
.lead { color: var(--ink-2); font-size: 17px; }

/* Hero */
.hero { background: var(--ground); }
.hero .container { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-block: clamp(48px, 8vw, 104px); }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.pill { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: var(--mint); color: var(--teal-dark); font-size: 14px; font-weight: 600; }
.hero h1 { font-weight: 800; font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: -.025em; }
.hero-text > p { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.hero-media { flex: 1 1 420px; min-width: 0; position: relative; margin: 0; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 55% center; border-radius: 28px; background: var(--mint); }
.address-card { position: absolute; left: 20px; bottom: 20px; right: 20px; max-width: 320px; background: #fff; border-radius: 18px; padding: 16px 20px; display: flex; align-items: center; gap: 14px; box-shadow: 0 8px 24px rgba(14, 42, 43, .10); font-style: normal; line-height: 1.35; }
.icon-box { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--mint); color: var(--teal); display: flex; align-items: center; justify-content: center; }
.address-card .icon-box { background: var(--ground); }
.address-card strong { display: block; font-weight: 600; font-size: 15px; }
.address-card span { font-size: 14px; color: var(--muted); }

/* Quick facts */
.facts { border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0 auto; padding-block: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.facts li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.4; }
.facts strong { display: block; font-weight: 600; }
.facts span, .facts a { font-size: 15px; color: var(--muted); }
.facts a { color: var(--teal); text-decoration: none; }

/* Ärzte */
.section { padding-block: var(--section); }
.section-ground { background: var(--ground); }
.stack-48 { display: flex; flex-direction: column; gap: 48px; }
.doctors { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.doctor { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.doctor-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--mint-2); }
.doctor-monogram { aspect-ratio: 3 / 2; background: var(--mint); display: flex; align-items: center; justify-content: center; }
.doctor-monogram span { width: 120px; height: 120px; border-radius: 999px; background: #fff; color: var(--teal); display: flex; align-items: center; justify-content: center; font-family: "Manrope", sans-serif; font-weight: 800; font-size: 40px; letter-spacing: -.02em; }
.doctor-body { padding: 28px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.doctor-head { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.tag { padding: 4px 12px; border-radius: 999px; background: var(--mint); color: var(--teal-dark); font-size: 13px; font-weight: 600; }
.doctor h3 { font-weight: 800; font-size: 24px; line-height: 1.2; }
.doctor-role { font-size: 15px; color: var(--muted); }
.hours { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 6px 12px; font-size: 15px; border-top: 1px solid var(--line); padding-top: 18px; margin: 0; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; }
.hours .closed { color: var(--muted); }
.note { font-size: 14px; color: var(--muted); }
.by-appointment { border-top: 1px solid var(--line); padding-top: 18px; }
.by-appointment p { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--ground); font-size: 15px; }
.by-appointment .icon { color: var(--teal); margin-top: 2px; width: 20px; height: 20px; }
.doctor-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 4px; }
.doctor-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-decoration: none; }
.doctor-links a.ext { color: var(--ink); }
.doctor-links a.ext:hover { color: var(--teal); }

/* Wochenübersicht */
.schedule-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; }
.schedule-head p { color: var(--ink-2); max-width: 380px; }
.schedule-head a { font-weight: 600; text-decoration: none; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.schedule { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 15px; text-align: left; }
.schedule th, .schedule td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.schedule thead th { font-weight: 600; padding-block: 18px; }
.schedule tbody th { padding: 20px 24px; font-weight: 600; width: 240px; line-height: 1.35; }
.schedule tbody th span { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }
.schedule tbody tr:last-child > * { border-bottom: 0; }
.slot { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--mint); color: var(--teal-text); font-weight: 500; margin: 0 0 6px; white-space: nowrap; }
.empty { color: #5E7273; }
.schedule .appointment { color: var(--ink-2); vertical-align: middle; }

/* Über uns */
.about .container { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; }
.about-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about-text img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--mint-2); margin-top: 8px; }
.features { flex: 1 1 380px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.features li { display: flex; gap: 18px; padding: 28px; border-radius: 20px; background: var(--ground); }
.features .icon-box { width: 48px; height: 48px; border-radius: 14px; background: var(--teal); color: #fff; }
.features h3 { font-weight: 700; font-size: 19px; margin-bottom: 6px; }
.features p { color: var(--ink-2); font-size: 15px; }

/* Kontakt */
.contact { background: var(--dark); color: #fff; }
.contact .container { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: stretch; }
.contact-info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.contact .eyebrow { color: var(--on-dark-accent); }
.contact-list { display: flex; flex-direction: column; gap: 20px; font-size: 17px; font-style: normal; }
.contact-list div { display: flex; gap: 14px; align-items: flex-start; line-height: 1.45; }
.contact-list .icon { color: var(--on-dark-accent); margin-top: 3px; }
.contact-list strong { display: block; font-weight: 600; }
.contact-list span, .contact-list a { color: var(--on-dark); text-decoration: none; }
.contact-list a:hover { color: #fff; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.contact-media { flex: 1 1 460px; min-width: 0; margin: 0; }
.contact-media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; border-radius: var(--radius); background: #16393A; }

/* Footer */
.site-footer { background: var(--darker); color: var(--on-dark); font-size: 14px; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding-block: 28px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 36px; width: auto; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 24px; }
.site-footer a { display: inline-block; padding: 10px 0; color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* Rechtstexte */
.legal { padding-block: clamp(48px, 7vw, 96px); }
.legal .container { max-width: 800px; }
.legal h1 { font-weight: 800; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.02em; line-height: 1.1; margin-bottom: 32px; }
.legal h2 { font-weight: 700; font-size: 21px; margin: 36px 0 10px; }
.legal p, .legal ul { color: var(--ink-2); margin: 0 0 12px; }
.legal address { font-style: normal; color: var(--ink-2); margin-bottom: 12px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; font-weight: 600; text-decoration: none; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.schedule-section { display: flex; flex-direction: column; gap: 40px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.doctor-photo[data-pos="michele"] { object-position: 62% 30%; }
.doctor-photo[data-pos="christian"] { object-position: center 30%; }
.table-wrap { position: relative; max-width: 100%; min-width: 0; }
.section-mark { height: 48px; width: auto; align-self: flex-start; }
.about-text img.section-mark { width: auto; height: 48px; aspect-ratio: auto; object-fit: contain; border-radius: 0; background: none; margin-top: 0; }

/* Wochenübersicht am Handy: Tabelle zum Wischen, randabfallend */
.swipe-hint { display: none; }
@media (max-width: 760px) {
  .swipe-hint { display: flex; align-items: center; gap: 8px; margin: -16px 0 0; font-size: 15px; font-weight: 600; color: var(--teal); }
  .table-wrap {
    margin-inline: calc(-1 * var(--gutter));
    max-width: none;
    padding-left: var(--gutter);
    border: 0; border-radius: 0; background: transparent;
    display: flex;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .table-wrap::-webkit-scrollbar { display: none; }
  .table-wrap::after { content: ""; flex: 0 0 var(--gutter); }
  .schedule { flex: none; width: auto; min-width: 760px; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
  .schedule thead tr > :first-child { border-top-left-radius: 18px; }
  .schedule tbody tr:last-child > :first-child { border-bottom-left-radius: 18px; }
  .schedule th, .schedule td { padding: 14px; }
  .schedule tbody th { width: 140px; padding: 16px 14px 16px 18px; font-size: 15px; }
}
