/* KI-Praxiswerk, Stylesheet. Schrift: IBM Plex Sans (SIL Open Font License). */
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/schrift/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/schrift/ibm-plex-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/schrift/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); }
:root {
  --ink: #0E0C19;
  --petrol: #264653;
  --petrol-tief: #1A3340;
  --stahl: #55717D;
  --grau: #8FA8B3;
  --grau-lesen: #9BB5BC;
  --text: #4A4F5E;
  --flaeche: #EEF2F3;
  --linie: #D9E1E4;
  --weiss: #FFFFFF;
  --aus: cubic-bezier(0, 0, .3, 1);
  --breite: 1200px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.62 'IBM Plex Sans', system-ui, sans-serif; color: var(--text); background: var(--weiss); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { color: var(--ink); font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
@media (min-width: 1600px) { :root { --breite: 1360px; } }
.huelle { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.zweiton { display: block; color: var(--stahl); }
.dunkel .zweiton { color: var(--grau); }
.marke { display: inline-flex; align-items: center; gap: .55rem; font-size: .875rem; font-weight: 500; color: var(--ink); letter-spacing: .01em; }
.marke::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--petrol); }
.dunkel .marke { color: var(--grau-lesen); }
.dunkel .marke::before { background: var(--grau); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; }
.dunkel :focus-visible, .held :focus-visible, .band :focus-visible, .fuss :focus-visible, .schluss__karte :focus-visible, .normen :focus-visible, .seitenkopf :focus-visible { outline-color: var(--weiss); }
.sprung { position: absolute; left: 1rem; top: -4rem; z-index: 20; background: var(--ink); color: var(--weiss); padding: .75rem 1rem; border-radius: 6px; text-decoration: none; font-weight: 500; }
.sprung:focus { top: 1rem; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.25rem; padding: .85rem 1.5rem; border-radius: 6px; font: 500 1rem/1.2 inherit; font-family: inherit; text-decoration: none; transition: background-color .25s var(--aus), color .25s var(--aus), box-shadow .3s var(--aus), transform .3s var(--aus); }
.knopf--petrol { background: var(--petrol); color: var(--weiss); }
.knopf--petrol:hover { background: var(--petrol-tief); box-shadow: 0 14px 28px -14px rgba(26, 51, 64, .7); transform: translateY(-1px); }
.knopf--weiss { background: var(--weiss); color: var(--ink); }
.knopf--weiss:hover { background: #E6EDEF; transform: translateY(-1px); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .55); }
.knopf:active { transform: scale(.985); transition-duration: .08s; }
.pfeil-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; text-decoration: none; }
.pfeil-link svg { transition: transform .35s var(--aus); }
.pfeil-link:hover svg { transform: translateX(4px); }
.pfeil-link:hover span { text-decoration: underline; text-underline-offset: .25em; }

/* Kopfzeile */
.kopf { position: relative; z-index: 5; background: var(--weiss); border-bottom: 1px solid var(--linie); }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 76px; }
.kopf__logo img { height: 22px; width: auto; }
.kopf nav .nav { display: flex; align-items: center; gap: 2rem; }
.kopf nav a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--ink); padding: .5rem 0; border-bottom: 2px solid transparent; transition: border-color .25s var(--aus); }
.kopf nav a:hover { border-bottom-color: var(--petrol); }
.kopf .knopf { min-height: 2.75rem; padding: .6rem 1.15rem; font-size: .95rem; }
.menueknopf { display: none; }

/* Held */
.held { position: relative; color: var(--weiss); background: var(--ink); overflow: hidden; }
.held__bild { position: absolute; inset: 0; }
.held__bild img { position: absolute; top: 0; left: 0; width: 124%; max-width: none; height: 100%; object-fit: cover; object-position: 0 44%; }
/* Große Bildschirme: Bild weniger stark vergrößern, damit beide Personen ganz im Bild bleiben */
@media (min-width: 1600px) { .held__bild img { width: 110%; } }
.held__bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 12, 25, .9) 0%, rgba(14, 12, 25, .78) 36%, rgba(14, 12, 25, .34) 55%, rgba(14, 12, 25, .08) 68%, rgba(14, 12, 25, 0) 80%), linear-gradient(0deg, rgba(14, 12, 25, .55) 0%, rgba(14, 12, 25, 0) 40%); }
.held .huelle { position: relative; min-height: clamp(620px, 86vh, 840px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 7rem; padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.held__kennung { font-size: .95rem; font-weight: 500; color: rgba(255, 255, 255, .92); margin-bottom: 1.5rem; }
.held h1 { color: var(--weiss); font-weight: 400; font-size: clamp(3rem, 6.2vw, 5.75rem); line-height: 1; letter-spacing: -.03em; max-width: 6.5em; }
.held h1 span { color: var(--grau); }
.held__text { max-width: 32rem; margin-top: 1.75rem; font-size: 1.15rem; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.held__aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.25rem; }
.held__aktion .pfeil-link { color: var(--weiss); min-height: 3.25rem; }
.held__belege { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.5rem; }
.held__belege li { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .85rem .45rem .7rem; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; font-size: .875rem; color: rgba(255, 255, 255, .9); background: rgba(14, 12, 25, .25); }
.held__belege svg { flex: none; color: var(--grau); }

/* Normleiste */
.normen { background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .08); }
.normen ul { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: .75rem 3rem; padding-top: 1.6rem; padding-bottom: 1.6rem; }
.normen li { font-size: 1rem; font-weight: 500; color: var(--grau); white-space: nowrap; letter-spacing: .01em; }

/* Abschnitte */
.abschnitt { padding: clamp(5rem, 10vw, 8.5rem) 0; }
.abschnitt--flaeche { background: var(--flaeche); }
.dunkel { background: var(--ink); color: rgba(255, 255, 255, .78); }
.dunkel h2, .dunkel h3 { color: var(--weiss); }
h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.06; letter-spacing: -.022em; overflow-wrap: break-word; hyphens: auto; }
.kopfzeile { display: grid; gap: 1.25rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); }

/* Ausgangslage */
.lage { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem 4rem; align-items: start; }
.lage p { font-size: 1.125rem; max-width: 30rem; }
.lage__text p + p { margin-top: 1rem; }
.wege { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(3.5rem, 7vw, 5.5rem); align-items: stretch; }
.weg { background: var(--flaeche); border-radius: 12px; padding: 2rem 1.75rem 1.75rem; min-height: 15rem; display: flex; flex-direction: column; }
.weg h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 500; margin-bottom: .85rem; }
.weg p { font-size: 1rem; }
.weg .norm { margin-top: auto; padding-top: 1.5rem; font-size: .875rem; font-weight: 500; color: var(--stahl); }

/* Vorgehen (dunkel) */
.vorgehen { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3rem 5rem; align-items: center; }
.vorgehen h2 { font-size: clamp(2rem, 3.3vw, 3rem); }
.schritte { margin-top: 2.75rem; position: relative; }
.schritte li { position: relative; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 1.1rem; padding-bottom: 1.9rem; }
.schritte li:not(:last-child)::before { content: ""; position: absolute; left: calc(1.125rem - .5px); top: 2.4rem; bottom: .3rem; width: 1px; background: rgba(255, 255, 255, .18); }
.schritte .nr { width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid rgba(143, 168, 179, .6); color: var(--grau); display: grid; place-items: center; font-size: .9rem; font-weight: 500; }
.schritte li:first-child .nr { background: var(--grau); color: var(--ink); border-color: var(--grau); }
.schritte h3 { font-size: 1.25rem; font-weight: 500; margin: .35rem 0 .4rem; }
.schritte p { font-size: 1rem; max-width: 27rem; }
.bildkarte { position: relative; }
.bildkarte > img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 12px; }
.eintrag { margin-top: 1.75rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .22); font-size: .9375rem; color: rgba(255, 255, 255, .78); }
.eintrag__kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: .7rem; }
.eintrag__titel { font-weight: 500; font-size: 1rem; color: var(--weiss); }
.eintrag__marke { font-size: .875rem; color: var(--grau); }
.eintrag dl { display: grid; grid-template-columns: auto minmax(0, 1fr); }
.eintrag dt, .eintrag dd { padding: .6rem 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.eintrag dt { color: rgba(255, 255, 255, .66); padding-right: 1.5rem; }
.eintrag dd { text-align: right; color: var(--weiss); }

/* Leistungen: Kernangebot und Übersicht */
.kern { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem 4.5rem; padding: clamp(2rem, 4.5vw, 3.5rem); border-radius: 14px; background: var(--petrol); color: rgba(255, 255, 255, .84); background-image: radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0) 60%); }
.kern__kopf { min-width: 0; }
.kern__art { font-size: .9rem; font-weight: 500; color: #BACFD4; }
.kern h3 { margin: .6rem 0 0; font-size: clamp(1.55rem, 2.3vw, 1.85rem); line-height: 1.15; letter-spacing: -.015em; font-weight: 400; }
.kern h3 a { color: var(--weiss); text-decoration: none; }
.kern h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.kern__text { margin-top: 1rem; font-size: 1.05rem; max-width: 26rem; }
.kern__preis { margin-top: 1.75rem; color: var(--weiss); font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kern__preis small { display: block; margin-top: .55rem; font-size: .95rem; letter-spacing: 0; line-height: 1.45; color: rgba(255, 255, 255, .84); }
.kern__preis small + small { margin-top: .15rem; }
.kern .pfeil-link { margin-top: 1.75rem; color: var(--weiss); min-height: 2.75rem; }
.kern :focus-visible { outline-color: var(--weiss); }
.kern__norm { margin-top: 1.5rem; font-size: .85rem; font-weight: 500; color: #BACFD4; }
.kern__titel { font-size: .9rem; font-weight: 500; color: #BACFD4; }
.kern__inhalt ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.25rem; margin-top: .4rem; }
.kern__inhalt li { padding: 1.15rem 0 1.25rem; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .975rem; line-height: 1.55; }
.kern__inhalt strong { display: block; margin-bottom: .3rem; color: var(--weiss); font-weight: 500; font-size: 1.05rem; }
.weiter-titel { margin-top: clamp(3.25rem, 6vw, 4.5rem); font-size: 1.25rem; font-weight: 500; }
.angebote { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 2rem; margin-top: 1.25rem; }
.angebote li { position: relative; display: flex; flex-direction: column; padding-top: 1.25rem; border-top: 1px solid var(--ink); }
.angebote h4 { margin: 0; font-size: 1.2rem; font-weight: 500; line-height: 1.3; color: var(--ink); }
.angebote h4 a { text-decoration: none; }
.angebote h4 a::after { content: ""; position: absolute; inset: 0; }
.angebote li:hover h4 a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.angebote li > p { margin-top: .55rem; font-size: .975rem; }
.angebote li > .angebote__preis { margin-top: auto; padding-top: 1.1rem; color: var(--ink); font-size: 1.1rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.angebote__preis small { display: block; margin-top: .15rem; font-size: .875rem; font-weight: 400; color: #5B6170; }
.angebote__fuss { margin-top: 2rem; font-size: .9rem; color: #5B6170; }
.angebote__fuss a { color: var(--petrol); text-underline-offset: .2em; }
.weitere { margin-top: clamp(3.5rem, 6vw, 4.5rem); border-top: 1px solid var(--linie); }
.weitere a { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) 11rem; gap: 1rem 2rem; align-items: baseline; padding: 1.5rem 0; border-bottom: 1px solid var(--linie); text-decoration: none; }
.weitere em { text-align: right; transition: color .25s var(--aus); }
.weitere a:hover em { color: var(--petrol); }
.weitere a:hover strong { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.weitere strong { color: var(--ink); font-weight: 500; font-size: 1.25rem; }
.weitere span { font-size: 1rem; }
.weitere em { font-style: normal; font-size: .875rem; font-weight: 500; color: var(--stahl); white-space: nowrap; }

/* Fotoband */
.band { position: relative; color: var(--weiss); overflow: hidden; background: var(--ink); }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 12, 25, .9) 0%, rgba(14, 12, 25, .66) 40%, rgba(14, 12, 25, .1) 75%); }
.band .huelle { position: relative; z-index: 1; min-height: clamp(460px, 62vh, 620px); display: flex; flex-direction: column; justify-content: center; }
.band h2 { color: var(--weiss); max-width: 12em; }
.band p { max-width: 30rem; margin-top: 1.4rem; color: rgba(255, 255, 255, .86); font-size: 1.1rem; }
.band .pfeil-link { margin-top: 2rem; color: var(--weiss); }

/* Preise */
.stufen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.stufe { padding: 2.25rem 2rem 2.5rem; display: flex; flex-direction: column; }
.stufe + .stufe { border-left: 1px solid var(--linie); }
.stufe--mitte { background: var(--petrol); color: rgba(255, 255, 255, .84); background-image: radial-gradient(130% 90% at 50% 0%, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 65%); }
.stufe--mitte h3, .stufe--mitte .preis { color: var(--weiss); }
.stufe h3 { font-size: 1.25rem; font-weight: 500; }
.stufe .preis { margin: 1.25rem 0 1rem; color: var(--ink); font-size: 2.25rem; line-height: 1; font-weight: 400; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stufe--mitte .preis, .stufe--mitte .preis span { color: var(--weiss); }
.stufe .preis small { display: block; margin-top: .5rem; font-size: .95rem; letter-spacing: 0; color: inherit; opacity: .8; }
@media (min-width: 861px) { .stufe h3 { min-height: calc(2em * 1.62); } }
.stufe p { font-size: 1rem; }
.stufe ul { margin-top: 1.5rem; display: grid; gap: .55rem; font-size: .95rem; }
.stufe li { position: relative; padding-left: 1.6rem; }
.stufe li svg { position: absolute; left: 0; top: .32em; color: var(--petrol); }
.stufe--mitte li svg { color: var(--grau-lesen); }
.stufen__hinweis { margin-top: 1.5rem; font-size: 1rem; }
.stufen__hinweis a, .projekte__link { color: var(--petrol); }
.projekte__link { display: inline-flex; margin-top: 1.25rem; }
.rollen-satz { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--linie); font-size: 1.0625rem; max-width: 46rem; }
.rollen-satz a { color: var(--petrol); }
.platzhalter { color: var(--stahl); }

/* Person */
.person { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 2.5rem 4.5rem; align-items: start; }
.person figure { max-width: 13rem; padding-top: .5rem; }
.person figure img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: var(--weiss); }
.person figcaption { margin-top: .85rem; font-size: .875rem; color: #5B6170; white-space: nowrap; }
.person p { margin-top: 1.5rem; font-size: 1.1rem; max-width: 36rem; }
.quali { margin-top: 2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; border-top: 1px solid var(--linie); }
.quali li { padding: .9rem 0; border-bottom: 1px solid var(--linie); font-size: .95rem; color: var(--ink); }
.quali li span { display: block; color: #5B6170; font-size: .85rem; }
.person .pfeil-link { margin-top: 2rem; color: var(--petrol); }

/* Fachbeiträge */
.beitraege { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
.beitrag { text-decoration: none; display: block; }
.beitrag__bild { overflow: hidden; border-radius: 12px; }
.beitrag img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--aus); }
.beitrag:hover img { transform: scale(1.03); }
.beitrag .marke { margin-top: 1.4rem; }
.beitrag h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 500; margin-top: .7rem; }
.beitrag:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.kopfzeile--zeile { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }

/* Schwester */
.schwester { border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.schwester .huelle { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: center; padding-top: 2.25rem; padding-bottom: 2.25rem; }
.schwester__name { font-weight: 600; font-size: 1.15rem; color: var(--ink); letter-spacing: -.01em; }
.schwester__name span { color: #264253; }
.schwester p { font-size: 1rem; max-width: 40rem; }
.schwester .pfeil-link { color: var(--petrol); }

/* Schluss */
.schluss { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.schluss__karte { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); background: var(--petrol); border-radius: 12px; overflow: hidden; color: rgba(255, 255, 255, .86); background-image: radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 60%); }
.schluss__text { padding: clamp(2.5rem, 6vw, 4.5rem); display: flex; flex-direction: column; justify-content: center; }
.schluss h2 { color: var(--weiss); }
.schluss p { margin-top: 1.4rem; max-width: 30rem; font-size: 1.1rem; }
.schluss .knopf { margin-top: 2.25rem; align-self: flex-start; }
.schluss__bild img { width: 100%; height: 100%; min-height: 22rem; object-fit: cover; object-position: 40% 40%; }

/* Fuß */
.fuss { background: var(--ink); color: rgba(255, 255, 255, .72); padding: clamp(4rem, 7vw, 5.5rem) 0 2rem; }
.fuss__oben { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 2fr) minmax(0, 3fr); gap: 2.5rem; }
.fuss a[href^="mailto"] { white-space: nowrap; }
.fuss__marke img { width: min(100%, 22rem); height: auto; }
.fuss__marke p { margin-top: 1.5rem; max-width: 22rem; font-size: .98rem; }
.fuss h2 { font-size: .9rem; font-weight: 500; color: var(--grau-lesen); letter-spacing: .01em; margin-bottom: 1rem; }
.fuss li { padding: .3rem 0; }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--weiss); text-decoration: underline; text-underline-offset: .22em; }
.fuss__unten { margin-top: 4rem; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .875rem; }
.fuss__unten ul { display: flex; gap: 1.75rem; }

/* Mittlere Breiten */
@media (max-width: 1080px) {
  .kern { grid-template-columns: minmax(0, 1fr); }
  .angebote { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kopf nav { display: none; }
  .menueknopf { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--linie); border-radius: 6px; background: var(--weiss); color: var(--ink); cursor: pointer; }
  .kopf .knopf { display: none; }
  .kopf.offen nav { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--weiss); border-bottom: 1px solid var(--linie); }
  .kopf.offen nav .nav { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem clamp(1.25rem, 4vw, 2.5rem) 1.25rem; }
  .kopf.offen nav a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--linie); }
  .vorgehen, .person { grid-template-columns: minmax(0, 1fr); }
  .person figure { max-width: 9.5rem; padding-top: 0; }
  .fuss__oben { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fuss__marke { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .lage,   .wege, .beitraege { grid-template-columns: minmax(0, 1fr); }
  .weg:nth-child(2), .weg:nth-child(3) { margin-top: 0; }
  .weg { min-height: 0; }
  .stufen { grid-template-columns: minmax(0, 1fr); }
  .stufe + .stufe { border-left: 0; border-top: 1px solid var(--linie); }
  .weitere a { grid-template-columns: minmax(0, 1fr); gap: .35rem; }
  .weitere em { text-align: left; }
  .schwester .huelle { grid-template-columns: minmax(0, 1fr); }
  .schluss__karte { grid-template-columns: minmax(0, 1fr); }
  .schluss__bild { order: -1; }
  .schluss__bild img { min-height: 15rem; max-height: 20rem; }
  .kopfzeile--zeile { grid-template-columns: minmax(0, 1fr); }
  .quali { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 641px) and (max-width: 1100px) {
  .held__bild { position: relative; inset: auto; width: 100%; aspect-ratio: 16 / 10; max-height: 72vh; }
  .held__bild img { position: static; width: 100%; object-position: 60% 45%; }
  .held__bild::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(14, 12, 25, .6) 20%, rgba(14, 12, 25, 0) 42%); }
  .held .huelle { min-height: 0; padding-top: 0; margin-top: -3rem; padding-bottom: 4rem; }
  .band::after { background: linear-gradient(90deg, rgba(14, 12, 25, .9) 0%, rgba(14, 12, 25, .74) 55%, rgba(14, 12, 25, .55) 80%, rgba(14, 12, 25, .1) 100%); }
}
@media (max-width: 640px) {
  .kern__inhalt ul { grid-template-columns: minmax(0, 1fr); }
  .angebote { grid-template-columns: minmax(0, 1fr); }
      .held__bild { position: relative; inset: auto; width: 100%; aspect-ratio: 4 / 5; max-height: 62vh; }
  .held__bild img { position: static; width: 100%; object-position: 60% 50%; }
  .held__bild::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(14, 12, 25, 0) 32%); }
  .held .huelle { min-height: 0; padding-top: 0; margin-top: -2.5rem; padding-bottom: 3rem; }
  .held h1 { font-size: clamp(2.75rem, 13vw, 3.75rem); }
  .held__aktion .knopf { width: 100%; }
  .normen ul { justify-content: flex-start; gap: .75rem 1.5rem; }
  .normen li { font-size: .9rem; }
  .eintrag dl { grid-template-columns: minmax(0, 1fr); }
  .eintrag dt { border-bottom: 0; padding-bottom: 0; font-size: .82rem; }
  .eintrag dd { text-align: left; padding-top: .15rem; border-top: 0; }
  .bildkarte { margin-bottom: 0; }
  .fuss__oben { grid-template-columns: minmax(0, 1fr); }
  .band .huelle { min-height: 540px; justify-content: flex-end; padding-bottom: 3rem; }
  .band::after { background: linear-gradient(0deg, rgba(14, 12, 25, .95) 0%, rgba(14, 12, 25, .7) 50%, rgba(14, 12, 25, .1) 100%); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ===== Navigation mit Untermenü ===== */
.kopf nav .nav { display: flex; align-items: center; gap: 2rem; }
.nav__gruppe { position: relative; }
.nav__auf { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 0; border: 0; border-bottom: 2px solid transparent; background: none; font-family: inherit; font-size: .95rem; font-weight: 500; line-height: 1.62; color: var(--ink); cursor: pointer; transition: border-color .25s var(--aus); }
.nav__auf:hover { border-bottom-color: var(--petrol); }
.nav__auf svg { transition: transform .3s var(--aus); }
.nav__gruppe.offen .nav__auf svg { transform: rotate(180deg); }
.nav__unter { position: absolute; top: calc(100% + .9rem); left: -1.25rem; z-index: 30; min-width: 17.5rem; padding: .6rem 0; background: var(--weiss); border: 1px solid var(--linie); border-radius: 10px; box-shadow: 0 24px 48px -28px rgba(14, 12, 25, .45); display: none; }
.nav__gruppe.offen .nav__unter { display: block; }
html:not(.js) .nav__gruppe:hover .nav__unter, html:not(.js) .nav__gruppe:focus-within .nav__unter { display: block; }
.kopf nav .nav__unter { flex-direction: column; gap: 0; }
.kopf nav .nav__unter a { display: block; padding: .6rem 1.25rem; border-bottom: 0; font-weight: 400; }
.kopf nav .nav__unter a:hover { background: var(--flaeche); }
.kopf nav a[aria-current="page"], .kopf nav a[aria-current="true"] { border-bottom-color: var(--petrol); }
.menueknopf__zu, .kopf.offen .menueknopf__auf { display: none; }
.kopf.offen .menueknopf__zu { display: block; }
@media (min-width: 1081px) { .nav__gruppe:has(a[aria-current="page"]) > .nav__auf { border-bottom-color: var(--petrol); } }
.kopf nav .nav__unter a[aria-current="page"] { color: var(--petrol); font-weight: 500; background: none; }

/* ===== Seitenkopf der Unterseiten ===== */
.seitenkopf { position: relative; overflow: hidden; background: var(--ink); color: rgba(255, 255, 255, .82); padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 4.75rem); }
.seitenkopf::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 88% 0%, rgba(143, 168, 179, .17), rgba(143, 168, 179, 0) 70%); pointer-events: none; }
.seitenkopf .huelle { position: relative; }
.brotkrumen ol { display: flex; flex-wrap: wrap; gap: .3rem .6rem; font-size: .875rem; color: var(--grau-lesen); }
.brotkrumen li + li::before { content: "/"; margin-right: .6rem; color: rgba(255, 255, 255, .32); }
.brotkrumen a { text-decoration: none; }
.brotkrumen a:hover { color: var(--weiss); text-decoration: underline; text-underline-offset: .22em; }
.seitenkopf h1 { margin-top: 1.75rem; max-width: 15em; color: var(--weiss); font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1.04; letter-spacing: -.026em; }
.seitenkopf h1 span { color: var(--grau); }
.seitenkopf__text { max-width: 38rem; margin-top: 1.5rem; font-size: 1.15rem; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.seitenkopf__aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.25rem; }
.seitenkopf .pfeil-link { color: var(--weiss); min-height: 3.25rem; }
.fakten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(2.75rem, 5vw, 3.75rem); border-top: 1px solid rgba(255, 255, 255, .14); }
.fakten > div { padding: 1.25rem 1.5rem 0 0; }
.fakten > div + div { padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, .14); }
.fakten dt { font-size: .875rem; font-weight: 500; color: var(--grau-lesen); }
.fakten dd { margin-top: .35rem; font-size: 1.125rem; line-height: 1.4; color: var(--weiss); }

/* ===== Unterseiten: Abschnitte und Text ===== */
.unterseite .abschnitt { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.unterseite main h2 { font-size: clamp(1.9rem, 3.3vw, 2.75rem); line-height: 1.1; }
.text2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.75rem 5rem; align-items: start; }
.text2 > div > :first-child { margin-top: 0; }
.fliess { font-size: 1.0625rem; }
.fliess p, .fliess ul, .fliess ol { max-width: 42rem; }
.fliess p + p, .fliess p + ul, .fliess ul + p, .fliess p + ol, .fliess ol + p { margin-top: 1rem; }
.fliess h3 { margin: 2rem 0 .6rem; font-size: 1.25rem; font-weight: 500; line-height: 1.3; }
.fliess a, .hinweis a, .antwort a, .tabelle a, .tabelle-hinweis a, .karte > p a, .karte .liste a { color: var(--petrol); text-underline-offset: .2em; }
.fliess strong { color: var(--ink); font-weight: 500; }
.einleitung { font-size: 1.15rem; color: var(--ink); }
.liste { display: grid; gap: .6rem; }
.liste li { position: relative; padding-left: 1.5rem; }
.liste li::before { content: ""; position: absolute; left: .15rem; top: .62em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--petrol); }
.liste--nein li::before { background: none; border: 1.5px solid var(--stahl); width: .5rem; height: .5rem; top: .58em; left: .1rem; }
.dunkel .liste li::before { background: var(--grau); }

/* Kartenraster für Varianten und Zielgruppen */
.raster { display: grid; grid-template-columns: repeat(var(--spalten, 2), minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.karte { background: var(--flaeche); border-radius: 12px; padding: 2rem 1.85rem 1.85rem; display: flex; flex-direction: column; }
.abschnitt--flaeche .karte { background: var(--weiss); }
.karte h3 { font-size: 1.3rem; line-height: 1.25; font-weight: 500; }
.karte > p { margin-top: .8rem; font-size: 1rem; }
.karte .liste { margin-top: 1.1rem; font-size: 1rem; }
.karte__fuss { margin-top: auto; padding-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; }
.karte__preis { font-size: 1.5rem; color: var(--ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.karte__preis small { font-size: .9rem; color: var(--text); }
.karte .pfeil-link { color: var(--petrol); }
.karte[id], .zwischen[id] { scroll-margin-top: 1.5rem; }
.karte:target { box-shadow: 0 0 0 2px var(--petrol); }

/* Tabelle mit Spalte Rechtsgrundlage */
.tabelle-rahmen { margin-top: clamp(2.25rem, 4vw, 3rem); }
.tabelle { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.5; }
.tabelle caption { text-align: left; }
.tabelle th { text-align: left; vertical-align: top; padding: 0 1.5rem .85rem 0; border-bottom: 1px solid var(--ink); font-size: .875rem; font-weight: 500; color: var(--stahl); }
.tabelle td { vertical-align: top; padding: 1.1rem 1.5rem 1.1rem 0; border-bottom: 1px solid var(--linie); }
.tabelle th:last-child, .tabelle td:last-child { padding-right: 0; }
.tabelle td:first-child { color: var(--ink); font-weight: 500; }
.tabelle .nr { width: 2.5rem; color: var(--stahl); font-variant-numeric: tabular-nums; }
.tabelle .norm { font-size: .9rem; font-weight: 500; color: var(--stahl); }
.tabelle--breit .norm { min-width: 13rem; }
.tabelle .ja { color: var(--ink); }
.tabelle .nein { color: #5B6170; }
.tabelle-hinweis { margin-top: 1rem; font-size: .9rem; color: #5B6170; max-width: 46rem; }

/* Ablauf auf hellem Grund */
.ablauf { counter-reset: schritt; margin-top: clamp(2.5rem, 5vw, 3.25rem); display: grid; grid-template-columns: repeat(var(--spalten, 4), minmax(0, 1fr)); gap: 2rem 1.75rem; }
.ablauf li { position: relative; padding-top: 3.25rem; }
.ablauf li::before { counter-increment: schritt; content: counter(schritt); position: absolute; top: 0; left: 0; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid var(--petrol); color: var(--petrol); display: grid; place-items: center; font-size: .9rem; font-weight: 500; }
.ablauf li::after { content: ""; position: absolute; top: 1.125rem; left: 3rem; right: -1rem; height: 1px; background: var(--linie); }
.ablauf li:last-child::after { display: none; }
.ablauf h3 { font-size: 1.2rem; font-weight: 500; line-height: 1.3; }
.ablauf p { margin-top: .55rem; font-size: 1rem; }
.ablauf__dauer { margin-top: .75rem; font-size: .875rem; font-weight: 500; color: var(--stahl); }

.zwischen { margin-top: clamp(2.5rem, 5vw, 3.25rem); font-size: 1.35rem; font-weight: 500; line-height: 1.3; }
.zwischen + .ablauf, .zwischen + .tabelle-rahmen { margin-top: 1.75rem; }
.ablauf--3 { --spalten: 3; }
@media (min-width: 1081px) { .ablauf--3 li:nth-child(3n)::after { display: none; } }

/* Preisbaustein */
.preisbaustein { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem 4rem; margin-top: clamp(2.25rem, 4vw, 3rem); padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: 12px; background: var(--petrol); color: rgba(255, 255, 255, .86); background-image: radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 60%); }
.preisbaustein h3 { color: var(--weiss); font-size: 1.25rem; font-weight: 500; }
.preisbaustein__betrag { margin-top: 1rem; color: var(--weiss); font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.preisbaustein__betrag small { display: block; margin-top: .6rem; font-size: 1rem; line-height: 1.4; letter-spacing: 0; opacity: .85; }
.preisbaustein__richtwert { margin-top: 1rem; font-size: .975rem; }
.preisbaustein .liste li::before { background: var(--grau-lesen); }
.preisbaustein .liste { font-size: 1rem; }
.preisbaustein .pfeil-link { margin-top: 1.5rem; color: var(--weiss); }
.preisbaustein :focus-visible { outline-color: var(--weiss); }
.preisbaustein + .preisbaustein { margin-top: 1.25rem; }

/* Hinweis */
.hinweis { margin-top: clamp(2rem, 4vw, 2.75rem); padding: 1.6rem 1.85rem; border-radius: 12px; background: var(--flaeche); font-size: 1rem; max-width: 52rem; }
.abschnitt--flaeche .hinweis { background: var(--weiss); }
.hinweis strong { color: var(--ink); font-weight: 500; }

/* Häufige Fragen */
.fragen { margin-top: clamp(2.25rem, 4vw, 3rem); border-top: 1px solid var(--linie); max-width: 54rem; }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: 1.35rem 0; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary h3 { font-size: 1.15rem; line-height: 1.4; font-weight: 500; }
.fragen summary::after { content: ""; flex: none; width: 1rem; height: 1rem; margin-top: .35rem; color: var(--petrol); background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform .3s var(--aus); }
.fragen details[open] summary::after { transform: rotate(45deg); }
.fragen summary:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.antwort { padding: 0 2.5rem 1.6rem 0; max-width: 46rem; }
.antwort p + p, .antwort p + ul, .antwort ul + p { margin-top: .85rem; }

/* Über mich */
.ich { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 2.5rem 4.5rem; align-items: center; }
.ich figure img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: var(--weiss); }
.quali--breit { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Kontakt */
.kontaktwege { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(2.25rem, 4vw, 3rem); }
.kontaktweg { background: var(--flaeche); border-radius: 12px; padding: 2rem 1.85rem; }
.kontaktweg h3 { font-size: 1.2rem; font-weight: 500; }
.kontaktweg p { margin-top: .6rem; font-size: 1rem; }
.kontaktweg .gross { display: inline-block; margin-top: 1rem; font-size: clamp(1.2rem, 2.2vw, 1.45rem); color: var(--petrol); font-weight: 500; text-underline-offset: .22em; overflow-wrap: anywhere; }

/* Schmale Bildschirme */
@media (max-width: 1080px) {
  .kopf.offen nav .nav { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem clamp(1.25rem, 4vw, 2.5rem) 1.25rem; }
  .kopf.offen nav .nav > li > a, .kopf.offen .nav__auf { display: flex; width: 100%; justify-content: space-between; padding: .9rem 0; border-bottom: 1px solid var(--linie); }
  .nav__unter { position: static; min-width: 0; padding: .25rem 0 .5rem; border: 0; border-radius: 0; box-shadow: none; }
  .kopf nav .nav__unter a { padding: .65rem 0 .65rem 1rem; border-bottom: 1px solid var(--flaeche); }
  .kopf.offen nav .kontakt-mobil { display: block; }
  .ablauf { --spalten: 2; }
  .ablauf li:nth-child(2n)::after { display: none; }
}
@media (min-width: 1081px) { .kontakt-mobil { display: none; } }
@media (max-width: 860px) {
  .text2, .preisbaustein, .ich { grid-template-columns: minmax(0, 1fr); }
  .ich figure { max-width: 11rem; }
  .raster, .kontaktwege { grid-template-columns: minmax(0, 1fr); }
  .fakten { grid-template-columns: minmax(0, 1fr); }
  .fakten > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 1rem; }
  .quali--breit { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .tabelle thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .tabelle, .tabelle tbody, .tabelle tr, .tabelle td { display: block; width: 100%; }
  .tabelle tr { padding: 1.1rem 0; border-bottom: 1px solid var(--linie); }
  .tabelle tr:first-child { border-top: 1px solid var(--ink); }
  .tabelle td { padding: .2rem 0; border: 0; }
  .tabelle td[data-label]::before { content: attr(data-label); display: block; font-size: .8rem; font-weight: 500; color: var(--stahl); margin-top: .5rem; }
  .tabelle td:first-child[data-label]::before { margin-top: 0; }
  .tabelle td.nr { display: none; }
  .tabelle--breit .norm { min-width: 0; }
}
@media (max-width: 640px) {
  .ablauf { --spalten: 1; }
  .ablauf li::after { display: none; }
  .seitenkopf__aktion .knopf { width: 100%; }
  .antwort { padding-right: 0; }
}
@media print {
  .kopf, .fuss, .sprung, .schluss__bild, .seitenkopf__aktion { display: none !important; }
  .seitenkopf, .dunkel, .preisbaustein, .stufe--mitte { background: none !important; color: #000 !important; }
  .seitenkopf h1, .preisbaustein h3, .preisbaustein__betrag { color: #000 !important; }
  .fragen details > .antwort { display: block; }
}

/* Sicherheitsnetz: lange Wörter umbrechen statt über den Rand ragen (weiche Trennstellen setzt bau.py) */
main { overflow-wrap: break-word; }
.nw { white-space: nowrap; }
/* Bilder tragen width und height gegen Layoutsprünge; die Höhe ergibt sich aus Breite und Seitenverhältnis */
img { height: auto; }
/* Überschriften nur an den gesetzten Trennstellen trennen (Wortfugen statt „beauf-tragter“) */
h1, h2, h3 { hyphens: manual; }

/* ===== Fachbeiträge: Artikelseite ===== */
.seitenkopf--artikel { padding-bottom: clamp(6.5rem, 12vw, 10rem); }
.seitenkopf--artikel h1 { max-width: 20em; font-size: clamp(2.15rem, 4.1vw, 3.5rem); line-height: 1.08; }
.seitenkopf--artikel .seitenkopf__text { max-width: 42rem; }
.artikel-meta { display: flex; flex-wrap: wrap; gap: .45rem 0; margin-top: 2rem; font-size: .9rem; color: var(--grau-lesen); }
.artikel-meta li { padding-right: 1.25rem; }
.artikel-meta li + li { padding-left: 1.25rem; border-left: 1px solid rgba(255, 255, 255, .2); }
.artikel-meta li:first-child { color: var(--weiss); font-weight: 500; }
.artikel-bild { position: relative; margin-top: clamp(-8rem, -9vw, -4.5rem); }
.artikel-bild img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 12px; background: var(--flaeche); }
.artikel { display: grid; grid-template-columns: minmax(0, 44rem) minmax(15rem, 18.5rem); justify-content: space-between; gap: 3rem 4rem; align-items: start; padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(4rem, 8vw, 6rem); }
.artikel__seite { order: 2; position: sticky; top: 1.5rem; display: grid; gap: 1.75rem; }
@media (max-height: 859px) { .artikel__seite { position: static; } }
.artikel__text { order: 1; min-width: 0; font-size: 1.0625rem; }

/* Inhaltsverzeichnis */
.inhalt { border-top: 1px solid var(--ink); }
.inhalt summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0 .5rem; font-size: .875rem; font-weight: 500; color: var(--stahl); }
.inhalt summary::-webkit-details-marker { display: none; }
.inhalt summary::after { content: ""; flex: none; width: .8rem; height: .8rem; color: var(--petrol); background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform .3s var(--aus); }
.inhalt[open] summary::after { transform: rotate(45deg); }
.inhalt ol { padding-bottom: .5rem; }
.inhalt a { display: block; padding: .38rem 0; font-size: .925rem; line-height: 1.4; color: var(--text); text-decoration: none; transition: color .2s var(--aus); }
.inhalt a:hover { color: var(--petrol); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.artikel__leistung { padding: 1.3rem 1.4rem 1.4rem; border: 1px solid var(--linie); border-radius: 12px; }
.artikel__leistung-art { font-size: .8rem; font-weight: 500; color: var(--stahl); }
.artikel__leistung-titel { display: block; margin-top: .35rem; font-size: 1.1rem; font-weight: 500; line-height: 1.3; color: var(--ink); text-decoration: none; }
.artikel__leistung-titel:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.artikel__leistung-text { margin-top: .4rem; font-size: .925rem; line-height: 1.5; }
.artikel__leistung-preis { margin-top: .6rem; font-size: .925rem; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Fließtext im Beitrag */
.artikel__text > * + * { margin-top: 1rem; }
main .artikel__text h2 { margin-top: 3.25rem; font-size: clamp(1.55rem, 2.6vw, 2.05rem); line-height: 1.15; letter-spacing: -.015em; scroll-margin-top: 1.5rem; }
.artikel__text h3 { margin-top: 2rem; font-size: 1.2rem; font-weight: 500; line-height: 1.3; }
.artikel__text > h2 + *, .artikel__text > h3 + * { margin-top: .85rem; }
.artikel__text a { color: var(--petrol); text-underline-offset: .2em; }
.artikel__text strong { color: var(--ink); font-weight: 500; }
.artikel__text > .liste { margin-top: 1rem; }
.kurz { padding: 1.6rem 1.75rem 1.75rem; border-radius: 12px; background: var(--flaeche); }
.kurz h2, .artikel__text .kurz h2 { margin: 0; font-size: 1.15rem; font-weight: 500; letter-spacing: 0; line-height: 1.3; }
.kurz .liste { margin-top: 1rem; font-size: 1rem; }
.artikel__text > .definition { margin-top: 2rem; padding: 1.35rem 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--linie); font-size: 1.15rem; line-height: 1.55; color: var(--ink); }
.definition dfn { font-style: normal; font-weight: 500; }
.schrittfolge { counter-reset: schritt; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.15rem; }
.artikel__text > .schrittfolge { margin-top: 1.4rem; }
.schrittfolge li { position: relative; padding-left: 3.1rem; min-height: 2.1rem; }
.schrittfolge li::before { counter-increment: schritt; content: counter(schritt); position: absolute; left: 0; top: -.1rem; width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 1px solid var(--petrol); color: var(--petrol); display: grid; place-items: center; font-size: .875rem; font-weight: 500; }
.artikel__text > .beispiel { margin-top: 1.75rem; padding: 1.4rem 1.6rem 1.5rem; border: 1px solid var(--linie); border-radius: 12px; }
.beispiel__titel { font-size: .85rem; font-weight: 500; color: var(--stahl); }
.beispiel p + p { margin-top: .5rem; }
.artikel__text > .tabelle-rahmen { margin-top: 1.75rem; }
.artikel__text .tabelle { font-size: .975rem; }
.artikel__text > .fragen { margin-top: 1.25rem; }
.artikel__text .fragen summary h3 { margin: 0; }
.quellen { counter-reset: quelle; display: grid; grid-template-columns: minmax(0, 1fr); gap: .65rem; font-size: .9rem; line-height: 1.5; color: #5B6170; }
.quellen li { position: relative; padding-left: 2rem; overflow-wrap: anywhere; }
.quellen li::before { counter-increment: quelle; content: counter(quelle) "."; position: absolute; left: 0; color: var(--stahl); font-variant-numeric: tabular-nums; }
.artikel__text > .autor { margin-top: 3rem; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1.25rem; align-items: start; padding-top: 1.75rem; border-top: 1px solid var(--linie); }
.autor img { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; }
.autor__name { color: var(--ink); font-weight: 500; }
.autor p { font-size: .95rem; }
.autor p + p { margin-top: .35rem; }

/* Beitragskarten */
.beitrag__anriss { display: block; margin-top: .55rem; font-size: 1rem; color: var(--text); }
.beitrag .marke { display: inline-flex; }

main .weiterlesen h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

@media (max-width: 1080px) {
  .artikel { grid-template-columns: minmax(0, 44rem); gap: 2rem; }
  .artikel__seite { order: 0; position: static; max-width: 44rem; }
}
@media (min-width: 1081px) {
  .inhalt summary { cursor: default; pointer-events: none; }
  .inhalt summary::after { display: none; }
}
@media (max-width: 860px) {
  .artikel-bild img { aspect-ratio: 3 / 2; }
}
@media (max-width: 640px) {
  .artikel-meta { flex-direction: column; gap: .2rem; }
  .artikel-meta li, .artikel-meta li + li { padding: 0; border-left: 0; }
  .kurz { padding: 1.35rem 1.25rem 1.5rem; }
  .schrittfolge li { padding-left: 2.75rem; }
  .artikel__text { hyphens: auto; hyphenate-limit-chars: 10 4 4; }
}

/* Fachbeiträge: Bildausschnitt als Klasse statt style-Attribut (CSP ohne 'unsafe-inline'). bau.py setzt fokus-NN aus
   "bild_fokus" in seiten.json (senkrechter Schwerpunkt in Prozent), erlaubt sind die Stufen hier (FOKUS_STUFEN). */
img.fokus-0 { object-position: 50% 0%; }
img.fokus-5 { object-position: 50% 5%; }
img.fokus-10 { object-position: 50% 10%; }
img.fokus-15 { object-position: 50% 15%; }
img.fokus-20 { object-position: 50% 20%; }
img.fokus-25 { object-position: 50% 25%; }
img.fokus-30 { object-position: 50% 30%; }
img.fokus-35 { object-position: 50% 35%; }
img.fokus-40 { object-position: 50% 40%; }
img.fokus-45 { object-position: 50% 45%; }
img.fokus-50 { object-position: 50% 50%; }
img.fokus-55 { object-position: 50% 55%; }
img.fokus-60 { object-position: 50% 60%; }
img.fokus-70 { object-position: 50% 70%; }
/* Der Beitragskopf zeigt bis 860 px das 3:2-Foto aus <picture> (siehe artikel_rahmen in bau.py) */
.artikel-bild picture { display: block; }
main .beitrag h2, main .beitrag h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 500; margin-top: .7rem; letter-spacing: 0; }
.beitrag__bild { display: block; }
.beitrag:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.kopfzeile .pfeil-link { color: var(--petrol); }
/* Richtwerttabellen: Beträge nicht über die ganze Breite verteilen */
.tabelle-rahmen--richtwerte { max-width: 50rem; }
.tabelle-rahmen--richtwerte td { font-variant-numeric: tabular-nums; }

/* Richtwerttabellen am Telefon als echte, kompakte Tabelle (unter 360 px bleibt der Kartenstapel) */
@media (min-width: 360px) and (max-width: 760px) {
  .tabelle-rahmen--richtwerte { overflow-x: auto; }
  .tabelle-rahmen--richtwerte .tabelle { display: table; font-size: .9rem; }
  .tabelle-rahmen--richtwerte .tabelle thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; clip-path: none; white-space: normal; display: table-header-group; }
  .tabelle-rahmen--richtwerte .tabelle tbody { display: table-row-group; }
  .tabelle-rahmen--richtwerte .tabelle tr { display: table-row; padding: 0; border: 0; }
  .tabelle-rahmen--richtwerte .tabelle th { padding: 0 .5rem .6rem 0; font-size: .75rem; }
  .tabelle-rahmen--richtwerte .tabelle td { display: table-cell; width: auto; padding: .65rem .5rem .65rem 0; border-bottom: 1px solid var(--linie); }
  .tabelle-rahmen--richtwerte .tabelle td[data-label]::before { content: none; }
  .tabelle-rahmen--richtwerte .tabelle td:first-child { white-space: nowrap; }
}
/* Kernangebot der Startseite auf dem Tablet quer zweispaltig, ohne leere Petrolfläche */
@media (min-width: 861px) and (max-width: 1080px) {
  .kern { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 3rem; }
  .kern__inhalt ul { grid-template-columns: minmax(0, 1fr); }
}

/* Bausteine der Beitragsformate ab Oktober 2026: Empfehlung (Entscheidungsvorlage), Steckbrief (Fall und Urteil),
   Stand-Zeile und Statusmarken (Fristen). Rahmen statt Randstreifen, Zustand über Form und Text, nie nur über Farbe. */
.artikel__text > .empfehlung { margin-top: 1.5rem; padding: 1.5rem 1.75rem 1.6rem; border: 1px solid var(--petrol); border-radius: 12px; }
.empfehlung__titel { font-size: .85rem; font-weight: 500; color: var(--petrol); }
.empfehlung p + p, .empfehlung p + .liste, .empfehlung .liste + p { margin-top: .6rem; }
.artikel__text > .steckbrief { margin-top: 2rem; border-top: 1px solid var(--ink); }
.steckbrief > div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: .35rem 1.5rem; padding: .85rem 0; border-bottom: 1px solid var(--linie); }
.steckbrief dt { font-size: .9rem; font-weight: 500; color: var(--stahl); }
.steckbrief dd { color: var(--ink); }
.artikel__text > .stand { margin-top: 1.5rem; font-size: .95rem; color: var(--stahl); }
.status { display: inline-block; padding: .1rem .6rem; border: 1px solid var(--linie); border-radius: 999px; font-size: .85rem; font-weight: 500; line-height: 1.5; color: var(--stahl); white-space: nowrap; }
.status--gilt { background: var(--petrol); border-color: var(--petrol); color: var(--weiss); }
.status--beschlossen { border-color: var(--petrol); color: var(--petrol); }
.status--vorschlag { border-style: dashed; }
.tabelle td:first-child time { white-space: nowrap; }
@media (max-width: 640px) {
  .steckbrief > div { grid-template-columns: minmax(0, 1fr); }
  .artikel__text > .empfehlung { padding: 1.35rem 1.25rem 1.5rem; }
}

/* ===== Band unter dem Hero: Begriffe führen zu ihren Erklärseiten (wie bei qm-praxiswerk.de) ===== */
.normen a { display: inline-block; padding: .15rem 0; color: inherit; text-decoration: none; border-bottom: 1px solid rgba(143, 168, 179, .4); transition: color .25s var(--aus), border-color .25s var(--aus); }
.normen a:hover { color: var(--weiss); border-bottom-color: currentColor; }
