/* lungenordi.at
   Aufbau, Farben und Schrift (Maven Pro, normale Stärke) wie im Bestand,
   Kontraste und Abstände für bessere Lesbarkeit angepasst. */

@font-face { font-family: "Maven Pro"; font-weight: 400; font-display: swap; src: url("fonts/maven-pro-regular.woff2") format("woff2"); }
@font-face { font-family: "Maven Pro"; font-weight: 500; font-display: swap; src: url("fonts/maven-pro-500.woff2") format("woff2"); }
@font-face { font-family: "Maven Pro"; font-weight: 600; font-display: swap; src: url("fonts/maven-pro-600.woff2") format("woff2"); }

:root {
  --blau: #3598db;        /* Markenblau Bestand: Kreise, Reiter, Linien */
  --link: #1f78b4;        /* Linkfarbe, etwas dunkler als Markenblau (4,8:1) */
  --link-hover: #155a8a;  /* Hover, 7,2:1 */
  --titel: #424242;       /* Überschriften wie im Bestand */
  --text: #6b6b6b;        /* Fließtext: Grau wie Bestand (#7b7b7b), aber 5,3:1 */
  --linie: #e6e6e6;
  --hinweis-bg: #fff4e8;
  --hinweis-rand: #f0892a;
  --hinweis-titel: #a64d00;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: "Maven Pro", "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;      /* 17 px (Bestand 16 px) */
  line-height: 1.65;
  color: var(--text);
  background: #fff url("img/hintergrund.webp") no-repeat center 70px;
  background-size: 2000px auto;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-weight: 400; color: var(--titel); margin: 0; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: .15em; }
a:hover { color: var(--link-hover); }
strong { font-weight: 500; color: var(--titel); }
abbr { text-decoration: none; }
:focus-visible { outline: 3px solid #0b4f85; outline-offset: 3px; border-radius: 2px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--titel); color: #fff; padding: .6rem 1rem; }
.skip:focus { top: 0; }

/* ---------- Kopfzeile mit Logo-Reiter (wie Bestand) ---------- */
.kopf { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.08); }
.kopf__innen { max-width: 65rem; margin: 0 auto; padding: 0 1.25rem; display: flex; align-items: center; justify-content: space-between; min-height: 70px; }

.logo { position: relative; align-self: flex-start; display: flex; align-items: center; justify-content: center; width: 210px; height: 80px; background: var(--blau); border-radius: 0 0 8px 8px; }
.logo::after { content: ""; position: absolute; bottom: -8px; left: 50%; width: 18px; height: 18px; margin-left: -9px; background: var(--blau); border-radius: 3px; transform: rotate(45deg); }
.logo img { width: 92px; position: relative; z-index: 1; filter: drop-shadow(0 0 1px rgba(255,255,255,.9)) drop-shadow(0 0 6px rgba(255,255,255,.55)); }

.navi ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0 2.1rem; }
.navi a { display: block; padding: 1.4rem 0; color: var(--titel); text-decoration: none; font-size: 1rem; }
.navi a:hover { color: var(--link-hover); }

.menue-knopf { display: none; align-items: center; gap: .55rem; font: inherit; font-size: 1rem; color: var(--titel); background: #fff; border: 1px solid #ccc; border-radius: 4px; padding: .5rem .8rem; cursor: pointer; }
.menue-knopf__striche, .menue-knopf__striche::before, .menue-knopf__striche::after { display: block; width: 20px; height: 2px; background: var(--titel); border-radius: 1px; position: relative; }
.menue-knopf__striche::before, .menue-knopf__striche::after { content: ""; position: absolute; left: 0; }
.menue-knopf__striche::before { top: -6px; }
.menue-knopf__striche::after { top: 6px; }

@media (max-width: 62em) {
  .navi ul { gap: 0 1.3rem; }
}
@media (max-width: 54em) {
  .kopf__innen { flex-wrap: wrap; }
  .js .menue-knopf { display: inline-flex; }
  .js .navi { display: none; width: 100%; }
  .js .menue-knopf[aria-expanded="true"] + .navi { display: block; }
  .navi ul { flex-direction: column; padding: 1rem 0 .5rem; }
  .navi a { padding: .7rem .25rem; border-top: 1px solid var(--linie); }
}
@media (max-width: 30em) {
  .logo { width: 150px; height: 66px; }
  .logo img { width: 74px; }
  .kopf__innen { min-height: 60px; }
}

/* ---------- Banner aus dem Bestand ---------- */
.banner { max-width: 65rem; margin: 0 auto; padding: 1.25rem 1.25rem 0; }
.banner img { width: 100%; }

/* ---------- Weiße Box mit blauer Oberkante (wie Bestand) ---------- */
.box { position: relative; max-width: 63.75rem; margin: 0 auto; background: #fff; border-top: 4px solid var(--blau); border-radius: 6px; box-shadow: 0 0 12px rgba(0,0,0,.08); padding: 3rem 2.5rem 2rem; }
.box::before { content: ""; position: absolute; top: -4px; left: 50%; margin-left: -8px; border: 8px solid transparent; border-top-color: var(--blau); }

.spalten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.75rem 2.5rem; }
@media (max-width: 62em) { .spalten { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 40em) {
  .spalten { grid-template-columns: 1fr; gap: 2.25rem; }
  .box { padding: 2rem 1.25rem 1.5rem; border-radius: 0; }
  .banner { padding: .75rem .5rem 0; }
}

/* Überschrift mit blauem Kreis-Symbol */
.kopfzeile { display: flex; align-items: center; gap: 15px; font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 1.4rem; }
.kreis { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: var(--blau); display: grid; place-items: center; }
.kreis svg { width: 19px; height: 19px; fill: #fff; }

/* Aktueller Hinweis */
.hinweis { background: var(--hinweis-bg); border-left: 4px solid var(--hinweis-rand); padding: .75rem 1rem .8rem; margin: 0 0 1.4rem; border-radius: 0 4px 4px 0; }
.hinweis__titel { color: var(--hinweis-titel); font-weight: 500; margin: 0 0 .2rem; }
.hinweis p:last-child { margin: 0; color: var(--titel); }
.hinweis a { color: var(--hinweis-titel); }

/* Öffnungszeiten */
.zeiten { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.zeiten th, .zeiten td { text-align: left; vertical-align: top; padding: .45rem 0; border-bottom: 1px solid var(--linie); font-weight: 400; }
.zeiten tr:last-child th, .zeiten tr:last-child td { border-bottom: 0; }
.zeiten th { width: 3.2rem; color: var(--titel); font-weight: 500; letter-spacing: .03em; }
.zeiten td { color: var(--titel); }

/* Listen */
.liste { margin: 0 0 1em; padding-left: 1.15rem; }
.liste li { margin-bottom: .45rem; padding-left: .15rem; }
.liste li::marker { color: var(--blau); }

.kontakt { list-style: none; margin: 0 0 1rem; padding: 0; }
.kontakt li { display: flex; align-items: center; gap: .6rem; padding: .2rem 0; overflow-wrap: anywhere; }
.kontakt svg, .schnellkontakt svg { flex: 0 0 18px; width: 18px; height: 18px; fill: var(--blau); }
.kontakt--betont { color: var(--titel); font-weight: 500; padding-top: .5rem !important; }
.schnellkontakt { display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; }

.randnotiz { font-size: .95rem; border-top: 1px solid var(--linie); padding-top: .8rem; }
.linkgruppe { color: var(--titel); font-weight: 500; margin-bottom: .1rem; }
.feld--rechts a { overflow-wrap: anywhere; }
.abstand { margin-top: 2.5rem; }


/* Mobil etwas kompakter, damit Öffnungszeiten früher sichtbar sind */
@media (max-width: 40em) {
  .spalten { gap: 1.9rem; }
  .kopfzeile { font-size: 1.35rem; gap: 12px; margin-bottom: 1rem; }
  .kreis { flex-basis: 38px; width: 38px; height: 38px; }
  .kreis svg { width: 17px; height: 17px; }
  .box { padding-top: 1.6rem; }
  .feld--willkommen p { margin-bottom: .6rem; }
}

/* ---------- Bildbänder zwischen den Abschnitten (Bestand, ohne Parallax) ---------- */
.band { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; min-height: 15rem; margin: 3rem 0 0; padding: 2.5rem 1.25rem 3.25rem; background: #3b6f93 center / cover no-repeat; color: #fff; }
.band::before { content: ""; position: absolute; inset: 0; background: rgba(16, 48, 74, .55); }
.band > * { position: relative; margin: 0; }
.band__titel { font-size: 2.4rem; line-height: 1.15; letter-spacing: -0.02em; }
.band__text { font-size: 1.25rem; margin-top: .5rem; }
.band--stethoskop { background-image: url("img/band-stethoskop.webp"); }
.band--arzttermin { background-image: url("img/band-arzttermin.webp"); }
.band--beratung   { background-image: url("img/band-beratung.webp"); }
.band--lunge      { background-image: url("img/band-lunge.webp"); background-position: center 30%; }
.band--logo       { background: #1f6fa8; }
.band--logo::before { display: none; }
.band + .box { margin-top: -1.75rem; }
@media (max-width: 40em) {
  .band { min-height: 10rem; margin-top: 2rem; padding-bottom: 2.75rem; }
  .band__titel { font-size: 1.75rem; }
  .band__text { font-size: 1.05rem; }
}

/* ---------- Aufklappbare Bereiche ---------- */
.aufklapp > summary { cursor: pointer; color: var(--link); list-style: none; }
.aufklapp > summary::-webkit-details-marker { display: none; }
.aufklapp > summary::after { content: ""; display: inline-block; margin-left: .5rem; border: 6px solid transparent; border-top-color: currentColor; border-bottom-width: 0; vertical-align: middle; transition: transform .15s; }
.aufklapp[open] > summary::after { transform: rotate(180deg); }
.aufklapp > summary:hover { color: var(--link-hover); }
.aufklapp--karte { background: #fff; border: 1px solid #f0f0f0; border-bottom: 3px solid var(--blau); border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.06); margin: 0 0 1rem; }
.aufklapp--karte > summary, .aufklapp--leer { display: block; padding: 1.1rem 1rem; text-align: center; }
.aufklapp--leer { color: var(--link); }
.aufklapp--karte > :not(summary) { margin-left: 1.25rem; margin-right: 1.25rem; }
.aufklapp--karte[open] { padding-bottom: .5rem; }
.aufklapp--karte p { margin-bottom: .75rem; }

/* ---------- Team ---------- */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 2rem 2rem; }
.team--aerzte { grid-template-columns: repeat(2, 1fr); margin-bottom: 2.5rem; }
.person { text-align: center; }
.person__bild { display: flex; justify-content: center; align-items: flex-end; height: 222px; padding: 5px; border: 1px solid #f0f0f0; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.06); margin-bottom: 1rem; }
.person__bild img { max-height: 212px; width: auto; }
.person__name { font-size: 1.45rem; color: var(--link); margin-bottom: .1rem; }
.person__rolle { font-size: .95rem; color: var(--titel); margin-bottom: .6rem; }
.person .aufklapp { text-align: left; }
.person .aufklapp > summary { text-align: center; }
.person .aufklapp .liste { margin-top: .9rem; }
@media (max-width: 40em) { .team--aerzte { grid-template-columns: 1fr; } }

/* ---------- Leistungsangebot ---------- */
.leistungen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 1.5rem; align-items: start; }
.grosskreis { display: grid; place-items: center; width: 7.5rem; height: 7.5rem; margin: .5rem auto 1.75rem; border-radius: 50%; background: var(--blau); }
.grosskreis svg { width: 3.2rem; height: 3.2rem; fill: #fff; }
@media (max-width: 54em) { .leistungen { grid-template-columns: 1fr; } .grosskreis { display: none; } }

/* ---------- Praxis ---------- */
.galerie { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.galerie img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 40em) { .galerie { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Inhalieren ---------- */
.inhalieren { display: grid; grid-template-columns: 1fr 2fr; gap: 1rem 2.5rem; }
.liste--spalten { columns: 2; column-gap: 2.5rem; margin: 0; }
.liste--spalten li { break-inside: avoid; }
@media (max-width: 54em) { .inhalieren { grid-template-columns: 1fr; } }
@media (max-width: 30em) { .liste--spalten { columns: 1; } }

/* ---------- Kontakt ---------- */
.kontaktbereich { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; align-items: start; }
.kontaktbereich__daten { background: #f5f5f5; border: 1px solid #ececec; border-radius: 6px; padding: 1.75rem 1.5rem 1rem; }
.kontaktbereich__daten .kontakt li { align-items: flex-start; }
.kontaktbereich__daten .kontakt svg { margin-top: .3rem; }
.kontaktbereich__bilder img { margin-bottom: 1.5rem; }
@media (max-width: 54em) { .kontaktbereich { grid-template-columns: 1fr; } }

/* ---------- Unterseiten ---------- */
.box--seite { margin-top: 2.5rem; margin-bottom: 3rem; }
.rechtstext { max-width: 63.75rem; }
.rechtstext h1 { font-size: 2rem; margin-bottom: 1.25rem; }
.rechtstext h2 { font-size: 1.5rem; margin: 2.25rem 0 .75rem; scroll-margin-top: 6rem; }
.rechtstext h3 { font-size: 1.2rem; margin: 1.75rem 0 .5rem; }
.rechtstext ul { padding-left: 1.25rem; }
.rechtstext li { margin-bottom: .35rem; }
.rechtstext a { overflow-wrap: anywhere; }

/* ---------- Öffnungszeiten-Zusatz ---------- */
.zeiten-zusatz { margin-top: .9rem; font-size: .95rem; }

/* ---------- Fußbereich (Bestand: blau; dunkleres Blau für lesbaren Kontrast) ---------- */
.fuss { background: #1f6fa8; color: #fff; margin-top: 3rem; }
.fuss a { color: #fff; }
.fuss a:hover { color: #e3f1fb; }
.fuss :focus-visible { outline-color: #fff; }
.fuss__innen { max-width: 63.75rem; margin: 0 auto; padding: 2.5rem 1.25rem 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3rem; }
.fuss__spalte + .fuss__spalte { border-left: 1px solid rgba(255,255,255,.25); padding-left: 3rem; }
.fuss h2 { color: #fff; font-size: 1.5rem; margin-bottom: 1rem; }
.fuss__unten { max-width: 63.75rem; margin: 0 auto; padding: 1rem 1.25rem 1.5rem; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.25); font-size: .95rem; }
.fuss__unten p { margin: 0; }
@media (max-width: 40em) {
  .fuss__innen { grid-template-columns: 1fr; }
  .fuss__spalte + .fuss__spalte { border-left: 0; padding-left: 0; }
}

@media print {
  body { background: none; }
  .kopf, .skip, .banner, .band, .menue-knopf { display: none; }
  .box { box-shadow: none; border: 0; }
  .fuss { background: none; color: #000; }
  .fuss a { color: #000; }
  details > :not(summary) { display: block; }
}

/* ---------- Vorschauleiste (nur im Admin-Bereich sichtbar) ---------- */
.vorschauleiste { background: #fff4e8; border-bottom: 3px solid #f0892a; color: #3a2a1a; font-size: 1rem; }
.vorschauleiste__innen { max-width: 65rem; margin: 0 auto; padding: .8rem 1.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; }
.vorschauleiste p { margin: 0; }
.vorschauleiste__knoepfe { display: flex; flex-wrap: wrap; gap: .6rem; }
.vorschauleiste form { margin: 0; }
.vknopf { display: inline-block; font: inherit; font-weight: 500; background: #1f6fa8; color: #fff; border: 2px solid #1f6fa8; border-radius: 6px; padding: .55rem 1.1rem; cursor: pointer; text-decoration: none; }
.vknopf--zweit { background: #fff; color: #1f6fa8; }
.kontaktbereich__daten a { color: #1f6fa8; }
.rechtstext h1, .rechtstext h2, .rechtstext h3 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 30em) { .rechtstext h2 { font-size: 1.3rem; } }
@media (max-width: 40em) {
  .team:not(.team--aerzte) { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
  .team:not(.team--aerzte) .person__bild { height: auto; aspect-ratio: 1; }
  .team:not(.team--aerzte) .person__name { font-size: 1.2rem; }
}
.person { min-width: 0; }
.person__rolle { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 22em) { .team:not(.team--aerzte) { grid-template-columns: 1fr; } }
.vorschauleiste__meldung { flex-basis: 100%; background: #fff; border-left: 5px solid #1f6fa8; padding: .5rem .8rem; }
.vorschauleiste__meldung--fehler { border-color: #b3261e; color: #8a1c15; font-weight: 500; }
