:root {
  --p: #1E5B63;
  --pd: #173F45;
  --pdd: #0F2D32;
  --w: #D9A441;
  --wl: #EBC46E;
  --wd: #8A6417;
  --ink: #2B2723;
  --ink2: #4A433C;
  --mut: #6C635A;
  --cream: #FFFDF9;
  --sand: #F5F0E8;
  --linen: #EFE7DA;
  --line: #E2D8C9;
  --head: "Avenir Next Condensed", "Bahnschrift Condensed", "Roboto Condensed", "sans-serif-condensed", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--cream); font-size: 17px; line-height: 1.65; overflow-x: hidden; }
a { color: var(--p); } a:hover { color: var(--pd); }
:focus-visible { outline: 3px solid var(--w); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; }
p { margin: 0 0 1em; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 32px; }
.h { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .015em; line-height: 1.05; margin: 0; color: var(--pd); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--pd); color: #fff; padding: .6rem 1rem; z-index: 50; }
.skip:focus { top: 1rem; color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; min-height: 44px; transition: filter .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-p { background: var(--p); color: #fff; box-shadow: 0 10px 22px -12px var(--p); }
.btn-p:hover { color: #fff; filter: brightness(.92); }
.btn-o { border: 2px solid var(--p); color: var(--p); }
.btn-w { background: #fff; color: var(--pd); }
.btn-w:hover { color: var(--pd); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.eyebrow { color: var(--wd); font-weight: 700; font-size: 15px; margin: 0 0 8px; }

/* Hinweisleiste */
.banner { background: var(--wl); color: var(--ink); font-weight: 700; font-size: 15px; }
.banner .wrap { display: flex; gap: 10px; align-items: center; padding-top: 9px; padding-bottom: 9px; }
.banner svg { flex: none; }

/* Kopfzeile */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 8px 24px -20px rgba(23,63,69,.5); }
.header-inner { display: flex; align-items: stretch; column-gap: 26px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 10px 0; }
.brand img { height: 58px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.brand-name { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .015em; font-size: clamp(20px, 1.9vw, 25px); color: var(--pd); }
.brand-sub { font-size: 13px; font-weight: 700; color: var(--p); }

.nav { display: flex; align-items: flex-end; align-self: flex-end; flex-wrap: nowrap; white-space: nowrap; gap: 0 clamp(12px, 1.4vw, 18px); }
.nav a { position: relative; display: flex; align-items: flex-end; min-height: 0; line-height: 1; padding-bottom: var(--nav-pb, 22px); color: var(--pd); text-decoration: none; font-family: var(--head); font-size: clamp(15px, 1.4vw, 16.5px); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.nav a:hover, .nav a.on { color: #8A6417; }
.nav > a.on::after, .dd > a.on::after { content: ""; position: absolute; left: 50%; bottom: -13px; transform: translateX(-50%); border-left: 13px solid transparent; border-right: 13px solid transparent; border-top: 13px solid #fff; filter: drop-shadow(0 1px 0 var(--line)); z-index: 3; }
.dd { position: relative; display: flex; }
.dd > a svg { margin-left: 5px; }
.dd-menu { display: none; position: absolute; top: 100%; left: -18px; min-width: 210px; background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; box-shadow: 0 18px 30px -18px rgba(23,63,69,.5); padding: 6px 0; z-index: 5; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { display: block; }
.dd-menu a { padding: 0 18px; min-height: 44px; align-items: center; line-height: 1.2; }
.menu-btn { display: none; align-self: center; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--linen); cursor: pointer; place-items: center; }
.menu-btn svg { display: block; }

@media (max-width: 980px) {
  .menu-btn { display: grid; }
  .header-inner { min-height: 72px; }
  .brand img { height: 46px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; white-space: normal; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.3); padding: 6px 32px 18px; max-height: calc(100vh - 90px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a { font-size: 20px; border-bottom: 1px solid var(--line); min-height: 50px; align-items: center; padding-bottom: 0; line-height: 1.2; }
  .nav { align-self: auto; }
  .nav > a.on::after, .dd > a.on::after { display: none; }
  .dd { flex-direction: column; }
  .dd > a svg { display: none; }
  .dd-menu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 18px; min-width: 0; }
  .dd-menu a { font-size: 17px; padding: 0; }
}
/* Kompaktes Menü, wenn die Leiste nicht in eine Zeile passt */
.site-header.compact .menu-btn { display: grid; }
.site-header.compact .header-inner { min-height: 72px; }
.site-header.compact .brand img { height: 46px; }
.site-header.compact .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; white-space: normal; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.3); padding: 6px 32px 18px; max-height: calc(100vh - 90px); overflow-y: auto; }
.site-header.compact .nav.open { display: flex; }
.site-header.compact .nav a { font-size: 20px; border-bottom: 1px solid var(--line); min-height: 50px; }
.site-header.compact .nav > a.on::after, .site-header.compact .dd > a.on::after { display: none; }
.site-header.compact .dd { flex-direction: column; }
.site-header.compact .dd > a svg { display: none; }
.site-header.compact .dd-menu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 18px; min-width: 0; }
.site-header.compact .dd-menu a { font-size: 17px; padding: 0; }
.site-header.compact .nav { align-self: auto; }
.site-header.compact .nav a { align-items: center; padding-bottom: 0; line-height: 1.2; }

@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .nav { padding-left: 18px; padding-right: 18px; }
  .brand-name { font-size: 19px; }
  .brand-sub { font-size: 12px; }
}

/* Abschnitte mit Wellen */
.sec { position: relative; padding: 72px 0 96px; }
.wave { position: absolute; left: 0; top: -59px; width: 100%; height: 60px; display: block; }
.title { text-align: center; }
.title::after { content: ""; display: block; width: 64px; height: 5px; border-radius: 3px; background: var(--w); margin: 12px auto 0; }
.lead-c { margin: 0 auto 36px; max-width: 40em; text-align: center; color: var(--ink2); }
.box { background: #fff; border-radius: 20px; box-shadow: 0 20px 40px -28px rgba(23,63,69,.55); }
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cols4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.focus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) {
  .cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols3, .cols2, .focus { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .sec { padding: 56px 0 72px; }
  .wave { top: -29px; height: 30px; }
}
@media (max-width: 520px) { .cols4 { grid-template-columns: minmax(0, 1fr); } }

/* Willkommen */
.intro { padding: 64px 0 104px; }
.intro img { display: block; width: 100%; height: 400px; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 50px -30px rgba(23,63,69,.6); }
@media (max-width: 900px) { .intro { padding: 36px 0 72px; } .intro img { height: 230px; } }

/* Aktuelles */
.news { padding: 28px; border-top: 6px solid var(--w); }
.tag { display: inline-block; background: var(--pd); color: #fff; font-weight: 700; font-size: 13px; padding: 3px 12px; border-radius: 999px; margin-bottom: 14px; }
.news h3 { font-size: 27px; margin-bottom: 10px; }
.news p { margin: 0; font-size: 16px; color: var(--ink2); }

/* Schwerpunkte */
.fbox { padding: 30px; }
.fbox h3 { font-size: 29px; margin-bottom: 10px; }
.fbox p { margin: 0 0 12px; color: var(--ink2); }
.more { font-weight: 700; font-size: 15px; }

/* Dunkle Bänder */
.dark { background: var(--pd); color: #fff; }
.dark .h { color: #fff; }
.dark .eyebrow { color: var(--wl); }
.tile-d { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 20px; padding: 24px; }
.tile-d strong { font-size: 18px; }
.tile-d p { margin: 6px 0 0; font-size: 15px; color: #D6E2E0; }

/* Checkup-Liste */
.list-box { padding: 8px 28px; border: 1px solid var(--linen); }
.list-box > div { padding: 14px 0; border-bottom: 1px solid var(--linen); }
.list-box > div:last-child { border-bottom: 0; }
.list-box span { font-size: 15px; color: var(--mut); }

/* Kontakt */
.contact { background: var(--pd); color: #E8EFEE; padding-bottom: 56px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 44px; }
.contact h2 { font-size: 30px; color: var(--wl); margin-bottom: 14px; }
.contact a { color: #fff; }
.kv { display: grid; grid-template-columns: 70px 1fr; gap: 3px 10px; }
.kv .k { color: #A9C2C0; }
.hours { display: grid; grid-template-columns: 110px 1fr; font-size: 16px; }
.hours > * { padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.hours strong { color: #fff; }
.hours > :nth-last-child(-n+2) { border-bottom: 0; }
.dim { font-size: 15px; color: #A9C2C0; }
.bignum { font-family: var(--head); font-weight: 700; font-size: 34px; text-decoration: none; line-height: 1.1; }

.site-footer { background: var(--pdd); color: #A9C2C0; font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: #fff; }

/* Unterseiten */
.page-hero { position: relative; overflow: hidden; color: #fff; }
.page-hero .wrap { position: relative; padding-top: 64px; padding-bottom: 96px; }
.page-hero h1 { color: #fff; font-size: clamp(40px, 6vw, 72px); max-width: 12em; }
.page-hero p.lead { font-size: 20px; max-width: 32em; margin: 18px 0 28px; color: #D6E2E0; }
.crumbs { font-size: 14px; color: #CFE0DE; margin: 0 0 14px; }
.crumbs a { color: #fff; }
.circle { position: absolute; border-radius: 50%; }
.mods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 820px) { .mods, .steps { grid-template-columns: minmax(0, 1fr); } }
.mod { padding: 26px; }
.mod-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.mod h3 { font-size: 29px; }
.price { font-weight: 700; color: var(--p); white-space: nowrap; }
.mod p { margin: 10px 0 0; }
.note { background: #F3E6CC; border-radius: 18px; padding: 24px; }
.num { font-family: var(--head); font-weight: 700; font-size: 30px; color: var(--p); }
.prose { max-width: 46em; }
.prose h2 { font-size: 30px; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 23px; margin: 1.4em 0 .4em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-weight: 700; font-size: 15px; }
.placeholder { background: #FBEFC6; border-left: 4px solid var(--w); padding: 12px 16px; border-radius: 6px; }

/* Aktuelles: Titel einzeilig, Button unten */
.news { display: flex; flex-direction: column; }
.news h3 { font-size: clamp(20px, 2vw, 24px); white-space: nowrap; }
.news p { flex: 1; }
.news .btn { align-self: flex-start; margin-top: 18px; }

/* Schwerpunkte als klickbare Boxen */
a.fbox { display: flex; flex-direction: column; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.fbox:hover { color: inherit; transform: translateY(-3px); box-shadow: 0 26px 44px -26px rgba(23,63,69,.6); }
a.fbox p { flex: 1; }
a.fbox .more { color: var(--p); }
a.fbox:hover .more { text-decoration: underline; }

/* Digitale Praxis: klickbare Kacheln */
a.tile-d { display: block; color: #fff; text-decoration: none; transition: background .2s, border-color .2s; }
a.tile-d:hover { color: #fff; background: rgba(255,255,255,.13); border-color: var(--wl); }

/* Checkup-Liste ohne Erklärungen */
ul.list-box { list-style: none; margin: 0; padding: 8px 28px; }
ul.list-box li { padding: 13px 0 13px 26px; border-bottom: 1px solid var(--linen); font-weight: 700; position: relative; }
ul.list-box li:last-child { border-bottom: 0; }
ul.list-box li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--w); }

/* Karte unter Kontakt */
.map { position: relative; margin-top: 44px; height: 280px; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); background-color: #1E4B52; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 36px 36px; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-ph { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.map-addr { margin: 0 0 6px; color: #fff; font-size: 18px; }
.map-note { margin: 0 0 18px; font-size: 14px; color: #A9C2C0; max-width: 36em; }
.map-route { position: absolute; right: 16px; top: 16px; background: var(--wl); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.map-route:hover { color: var(--ink); }
@media (max-width: 600px) { .map { height: 300px; } .map-ph { padding-top: 76px; } }

/* Lungenkrebs-Fragebogen */
.form-sheet { padding: 32px; }
.form-sheet .field { border-bottom: 1.5px solid #9C9186; padding: 26px 0 4px; color: var(--mut); font-size: 14px; }
.form-sheet .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.check { display: flex; gap: 12px; align-items: center; margin: 18px 0 0; }
.check span { flex: none; width: 20px; height: 20px; border: 1.5px solid #9C9186; border-radius: 4px; }
@media print {
  .banner, .site-header, .contact, .site-footer, .wave, .noprint, .page-hero .btns { display: none !important; }
  body { background: #fff; font-size: 13px; }
  .page-hero { background: #fff !important; color: var(--ink); }
  .page-hero h1, .page-hero p.lead { color: var(--ink); }
  .page-hero .wrap { padding-top: 0; padding-bottom: 12px; }
  .page-hero .circle { display: none; }
  .sec { padding: 12px 0; }
  .box { box-shadow: none; border: 1px solid var(--line); }
}


/* Aktuelles und Rezepte: Überschriften und Buttons zentriert */
.news h3 { text-align: center; }
.news .btn { align-self: center; }
.box-c { display: flex; flex-direction: column; }
.box-c h2 { text-align: center; }
.box-c p { flex: 1; }
.box-c .btn { align-self: center; }

/* Formular */
.rx { padding: 34px; }
.rx-group { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.rx-group[hidden] { display: none; }
.rx-group legend { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .015em; font-size: 22px; color: var(--pd); padding: 0; margin-bottom: 12px; }
.rx-sub { font-weight: 700; font-size: 15px; margin: 14px 0 8px; }
.rx-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.rx-choice { position: relative; cursor: pointer; }
.rx-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rx-choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 2px solid var(--line); border-radius: 999px; font-weight: 700; font-size: 15px; background: #fff; transition: border-color .15s, background .15s; }
.rx-choice input:checked + span { border-color: var(--p); background: #E4EFEE; color: var(--pd); }
.rx-choice input:focus-visible + span { outline: 3px solid var(--w); outline-offset: 2px; }
.rx-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.rx-row3 { grid-template-columns: 1.2fr 1.2fr 1fr; }
.rx-field { display: flex; flex-direction: column; gap: 5px; font-weight: 700; font-size: 15px; }
.rx-field small { font-weight: 400; color: var(--mut); }
.rx-wide { margin-top: 14px; }
.rx-field input, .rx-field textarea { font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: #FFFDF9; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; width: 100%; box-sizing: border-box; }
.rx-field textarea { resize: vertical; }
.rx-field input:focus, .rx-field textarea:focus { outline: none; border-color: var(--p); box-shadow: 0 0 0 3px rgba(30,91,99,.15); }
.rx .invalid { border-color: #B3412E !important; background: #FDF3F0 !important; }
.rx-patient { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px dashed var(--line); }
.rx-patient:last-child { border-bottom: 0; margin-bottom: 4px; }
.rx-add, .rx-remove { background: none; border: 0; padding: 6px 0; font: inherit; font-weight: 700; font-size: 15px; color: var(--p); cursor: pointer; }
.rx-remove { color: var(--mut); font-size: 14px; margin-top: 6px; }
.rx-add:hover, .rx-remove:hover { text-decoration: underline; }
.rx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rx-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; margin: 4px 0 18px; cursor: pointer; }
.rx-consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--p); }
.rx-status:empty { display: none; }
.rx-status { border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-size: 15px; }
.rx-status.err { background: #FDF3F0; color: #8E2F20; border-left: 4px solid #B3412E; }
.rx-status.ok { background: #E4EFEE; color: var(--pd); }
.rx-submit { text-align: center; }
.rx-submit .btn { min-width: 220px; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.rx-submit .btn:disabled { opacity: .6; cursor: wait; }
.rx-done { text-align: center; }
.rx-done[hidden] { display: none; }
@media (max-width: 700px) {
  .rx { padding: 22px; }
  .rx-row, .rx-row3 { grid-template-columns: minmax(0, 1fr); }
}
/* Leistungen: Boxen auf voller Breite */
.l-intro { max-width: 46em; margin: 0 auto 36px; text-align: center; font-size: 18px; color: var(--ink2); }
.lgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.lbox { padding: 30px; scroll-margin-top: 110px; }
.lbox h2 { font-size: 28px; margin-bottom: 10px; }
.lbox p { color: var(--ink2); }
.lbox p:last-child { margin-bottom: 0; }
.l-checkup { margin-top: 32px; padding: 34px; background: var(--p); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.l-checkup h2 { color: #fff; font-size: 34px; margin-bottom: 8px; }
.l-checkup p { margin: 0; color: #D6E2E0; max-width: 40em; }
@media (max-width: 800px) { .lgrid { grid-template-columns: minmax(0, 1fr); } }
