/* ==========================================================================
   Wissensmodule (module_12 – module_19), H1-/Brotkrumen-Ergänzung module_01
   und neuer Footer – lennertz-iw.de
   SION Design, 11/2026

   Regeln:
   - Nur eigene Klassen (.wm-…, .liw-footer…), nichts Bestehendes wird überschrieben.
   - Farben ausschließlich aus den Tokens in main.css (+ Linienfarbe #DEDFE1 aus dem Entwurf).
   - main.css färbt p/a/li global WEISS → auf hellen Flächen wird hier explizit mid-gray gesetzt.
   - Breakpoints: 1200px (Tablet quer), 1024px (Tablet), 811px (mobil, wie Bestand).
   - Blaue Schrift auf Hellgrau (#F7F7F7) erreicht nur 4,42:1 → nur ab 18,7px fett (WCAG „großer Text“).
     Links in Fließtext auf Hellgrau: Mittelgrau mit blauer Unterstreichung (2px).
   ========================================================================== */

/* ---------- Grundgerüst ---------- */
.wm-section,
.wm-section *,
.wm-section *::before,
.wm-section *::after,
.wm-breadcrumb,
.liw-footer,
.liw-footer *,
.liw-footer *::before,
.liw-footer *::after {
	box-sizing: border-box;
}

.wm-section {
	color: var(--liw-mid-gray);
}

.wm-section p,
.wm-section li,
.wm-section dt,
.wm-section dd {
	margin: 0;
	font-family: "Assistant", sans-serif;
	font-weight: 350;
	font-size: 20px;
	line-height: 24.15px;
	color: var(--liw-mid-gray);
}

.wm-section h2,
.wm-section h3,
.module-01 h1#m01-card-header {
	margin: 0;
	overflow-wrap: break-word;
	-webkit-hyphens: auto;
	hyphens: auto;
	hyphenate-limit-chars: 8 4 4;
}
/* Banner-H1 wie die Bestands-H2 ohne automatische Trennung; die Schriftgröße ist auf Tablet/mobil
   so gewählt, dass lange Wörter passen. Manuelle Trennung per &shy; bleibt möglich. */
.module-01 h1#m01-card-header {
	-webkit-hyphens: manual;
	hyphens: manual;
}

.wm-section ul,
.wm-section ol,
.wm-section dl {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wm-container {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 60px;
}

.wm-textcol {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
}

.wm-box {
	background: var(--liw-light-gray);
	border-radius: 20px;
	padding: 60px;
}

/* Bildausschnitt (Feld „Bildausschnitt“) */
.wm-section .wm-focus--center img { object-position: center center; }
.wm-section .wm-focus--top img    { object-position: center 15%; }
.wm-section .wm-focus--left img   { object-position: 25% center; }
.wm-section .wm-focus--right img  { object-position: 75% center; }

/* Links in Fließtext auf hellen Flächen (Hellgrau-Boxen, FAQ, Hinweis, Autor):
   Blau erreicht auf #F7F7F7 nur 4,42:1 → Text Mittelgrau, Unterstreichung Blau. */
.wm-section .wm-box p a,
.wm-section .wm-box dt a,
.wm-section .wm-faq__answer a,
.wm-section .wm-note a {
	font-size: inherit;
	line-height: inherit;
	font-weight: 600;
	color: var(--liw-mid-gray);
	text-decoration: underline;
	text-decoration-color: var(--liw-blue);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
.wm-section .wm-box p a:hover,
.wm-section .wm-box dt a:hover,
.wm-section .wm-faq__answer a:hover,
.wm-section .wm-note a:hover { color: var(--liw-blue); }

/* Abstand nach oben (Feld „Abstand nach oben“) */
.wm-space--standard { margin-top: 120px; }
.wm-space--mittel   { margin-top: 70px; }
.wm-space--eng      { margin-top: 30px; }

/* Sprunglink + Fokus: unsichtbar, bis er per Tab fokussiert wird */
.wm-skip-link {
	position: absolute;
	top: 16px;
	left: 16px;
	transform: translateY(calc(-100% - 40px));
	z-index: 1000;
	padding: 12px 20px;
	border-radius: 10px;
	background: var(--liw-white);
	color: var(--liw-blue) !important;
	font-family: "Assistant", sans-serif;
	font-weight: 700;
	font-size: 18px;
	text-decoration: none;
}
.wm-skip-link:focus { transform: none; }
.wm-skip-link:not(:focus) { clip-path: inset(50%); }

.liw-main:focus { outline: none; }

.wm-section a:focus-visible,
.wm-section button:focus-visible,
.wm-breadcrumb a:focus-visible,
.wm-skip-link:focus-visible {
	outline: 3px solid var(--liw-blue);
	outline-offset: 3px;
	border-radius: 4px;
}

/* ---------- Buttons ---------- */
.wm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 30px;
	border: 1px solid var(--liw-blue);
	border-radius: 10px;
	background: transparent;
	font-family: "Assistant", sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 24px;
	color: var(--liw-blue);
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}
.wm-btn:hover { background: var(--liw-blue); color: var(--liw-white); }

.wm-btn--inverted { border-color: var(--liw-white); color: var(--liw-white); }
.wm-btn--inverted:hover { background: var(--liw-white); color: var(--liw-blue); }
.wm-section .wm-btn--inverted:focus-visible,
.wm-section .wm-card a:focus-visible { outline-color: var(--liw-white); }

.wm-textlink {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 6px;
	font-family: "Assistant", sans-serif;
	font-weight: 700;
	font-size: 18.7px;
	line-height: 1.2;
	color: var(--liw-blue) !important;
	text-decoration: none;
}
.wm-textlink .wm-arrow { flex-shrink: 0; transition: transform .2s ease; }
.wm-textlink:hover .wm-arrow { transform: translateX(4px); }

/* ---------- module_01: H1-Variante + Brotkrumen ---------- */
/* Die H1 übernimmt Größe/Farbe der bisherigen H2 im Banner. */
.module-01 h1#m01-card-header {
	font-size: 50px;
	line-height: 57.45px;
	color: var(--liw-white);
	overflow-wrap: break-word;
}

.wm-breadcrumb {
	margin-top: 40px;
}
.wm-breadcrumb .wm-breadcrumb__list {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px;
	font-family: "Assistant", sans-serif;
	font-weight: 350;
	font-size: 16px;
	line-height: 20px;
	color: var(--liw-mid-gray);
	text-align: center;
}
.wm-breadcrumb .wm-breadcrumb__list span { color: var(--liw-mid-gray); font-size: 16px; line-height: 20px; }
.wm-breadcrumb .wm-breadcrumb__list > span { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.wm-breadcrumb a {
	color: var(--liw-blue);
	font-size: 16px;
	line-height: 20px;
	text-decoration: none;
}
.wm-breadcrumb a:hover { text-decoration: underline; }
.wm-breadcrumb__sep {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-top: 1.5px solid var(--liw-mid-gray);
	border-right: 1.5px solid var(--liw-mid-gray);
	transform: rotate(45deg);
	margin-right: 3px;
}

/* ---------- module_12: Das Wichtigste in Kürze ---------- */
.wm-summary {
	display: flex;
	flex-direction: column;
	gap: 35px;
}
.wm-section .wm-summary__title {
	font-size: 32px;
	line-height: 36.77px;
}
.wm-summary__list {
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.wm-summary__item {
	display: flex;
	align-items: flex-start;
	gap: 18px;
}
.wm-summary__icon {
	flex-shrink: 0;
	margin-top: 1px;
}
.wm-summary__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.wm-summary__label {
	font-family: "Ubuntu", sans-serif;
	font-weight: 700;
	font-size: 18.7px;
	line-height: 22px;
	color: var(--liw-blue);
}

/* Platzhalter in Texten: <span class="wm-placeholder">[…]</span> */
.wm-section .wm-placeholder {
	font-weight: 600;
	color: var(--liw-blue);
}

/* ---------- module_13: Hinweis-Karte (blau) ---------- */
.wm-card {
	background: var(--liw-blue);
	border-radius: 20px;
	padding: 60px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 25px;
}
.wm-section .wm-card__title {
	font-size: 32px;
	line-height: 36.77px;
	color: var(--liw-white);
}
.wm-card__body {
	display: flex;
	flex-direction: column;
	gap: 25px;
}
.wm-section .wm-card__body p,
.wm-section .wm-card__body li,
.wm-section .wm-card__body strong {
	color: var(--liw-white);
}
.wm-section .wm-card__body a { font-size: inherit; line-height: inherit; color: var(--liw-white); text-decoration: underline; text-underline-offset: 3px; }
.wm-card__body ul { display: flex; flex-direction: column; gap: 10px; padding-left: 22px; list-style: disc; }
.wm-card__cta { margin-top: 10px; }

/* ---------- module_14: Langtext ---------- */
.wm-section .wm-prose > * + * { margin-top: 22px; }
.wm-section .wm-prose > * + h2 { margin-top: 70px; }
.wm-section .wm-prose > * + h3 { margin-top: 40px; }
.wm-section .wm-prose > h2 + * { margin-top: 30px; }
.wm-section .wm-prose > h3 + * { margin-top: 16px; }
.wm-section .wm-prose > h2 + h3 { margin-top: 30px; }

.wm-section .wm-prose h2 {
	font-size: 50px;
	line-height: 57.45px;
}
.wm-section .wm-prose h3 {
	font-size: 26px;
	line-height: 30px;
}
.wm-section .wm-prose h4 {
	margin: 0;
	font-size: 22px;
	line-height: 26px;
}
.wm-prose strong { font-weight: 700; }
.wm-section .wm-prose a {
	color: var(--liw-blue);
	text-decoration: underline;
	text-underline-offset: 3px;
	font-size: inherit;
	line-height: inherit;
}
.wm-section .wm-prose a:hover { text-decoration-thickness: 2px; }

/* Aufzählung: Standard blauer Punkt; Häkchen nur per Schalter (.wm-prose--check) oder <ul class="is-check"> */
.wm-prose ul {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.wm-section .wm-prose ul > li {
	position: relative;
	padding-left: 28px;
}
.wm-prose ul > li::before {
	content: "";
	position: absolute;
	left: 6px;
	top: 9px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--liw-blue);
}
.wm-section .wm-prose--check ul > li,
.wm-section .wm-prose ul.is-check > li { padding-left: 36px; }
.wm-prose--check ul > li::before,
.wm-prose ul.is-check > li::before {
	left: 0;
	top: 2px;
	width: 20px;
	height: 20px;
	border-radius: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M4 10.5L8 14.5L16 6' stroke='%233572CC' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 20px 20px;
}

/* Nummerierte Liste */
.wm-prose ol {
	display: flex;
	flex-direction: column;
	gap: 14px;
	counter-reset: wm-ol;
}
.wm-section .wm-prose ol > li {
	position: relative;
	padding-left: 36px;
	counter-increment: wm-ol;
}
.wm-prose ol > li::before {
	content: counter(wm-ol) ".";
	position: absolute;
	left: 0;
	top: 0;
	font-family: "Ubuntu", sans-serif;
	font-weight: 700;
	color: var(--liw-blue);
}

/* Rechtshinweis */
.wm-section .wm-prose > .wm-note { margin-top: 32px; }
.wm-note {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 20px 30px;
	border-radius: 20px;
	background: var(--liw-light-gray);
}
.wm-note__icon { flex-shrink: 0; margin-top: 1px; }
.wm-section .wm-note p {
	font-size: 16px;
	line-height: 21px;
}

/* ---------- module_15: Rechenbeispiel ---------- */
.wm-calc {
	display: flex;
	flex-direction: column;
	gap: 30px;
}
.wm-section .wm-calc__title {
	font-size: 32px;
	line-height: 36.77px;
}
.wm-calc__table {
	display: flex;
	flex-direction: column;
}
.wm-calc__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 30px;
	padding: 18px 0;
	border-bottom: 1px solid #DEDFE1;
}
.wm-calc__row:first-child { border-top: 1px solid #DEDFE1; }
.wm-calc__label { flex: 1; }
.wm-section .wm-calc__value {
	font-family: "Ubuntu", sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 24px;
	color: var(--liw-blue);
	white-space: nowrap;
	text-align: right;
}
.wm-calc__row--result {
	border-bottom: 0;
	padding-top: 22px;
}
.wm-section .wm-calc__row--result .wm-calc__label {
	font-weight: 700;
	color: var(--liw-blue);
}
.wm-section .wm-calc__row--result .wm-calc__value {
	font-size: 28px;
	line-height: 32px;
}
.wm-section .wm-calc__hint {
	font-size: 16px;
	line-height: 21px;
}

/* ---------- module_16: Ablauf mit Bild ---------- */
.wm-steps {
	display: flex;
	align-items: flex-start;
	gap: 80px;
}
.wm-steps--image-right { flex-direction: row-reverse; }

.wm-steps__media {
	flex: 1 1 50%;
	min-width: 0;
	position: sticky;
	top: 120px; /* unter der sticky Navigation (90px) */
	align-self: flex-start;
	height: min(640px, calc(100vh - 150px));
	min-height: 480px;
	border-radius: 20px;
	overflow: hidden;
}
.wm-steps__media picture { display: block; position: static; width: 100%; height: 100%; }
/* Absolut + feste Maße: unabhängig von width/height-Attributen und globalen img-Regeln. */
.wm-section .wm-steps__media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	border-radius: 20px;
}
.wm-steps__content {
	flex: 1 1 50%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 30px 0;
}
.wm-section .wm-steps__title {
	font-size: 50px;
	line-height: 57.45px;
}
.wm-steps__list {
	display: flex;
	flex-direction: column;
	gap: 30px;
}
.wm-steps__item {
	display: flex;
	align-items: flex-start;
	gap: 22px;
}
.wm-steps__num {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--liw-blue);
	color: var(--liw-white);
	font-family: "Ubuntu", sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 1;
}
.wm-steps__text {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 9px;
}
.wm-section .wm-steps__item-title {
	font-size: 22px;
	line-height: 26px;
}

/* ---------- module_17: FAQ ---------- */
.wm-faq .wm-container {
	display: flex;
	flex-direction: column;
	gap: 50px;
}
.wm-section .wm-faq__title {
	font-size: 50px;
	line-height: 57.45px;
}
.wm-faq__list {
	display: flex;
	flex-direction: column;
	gap: 30px;
}
.wm-faq__item {
	background: var(--liw-light-gray);
	border-radius: 20px;
	scroll-margin-top: 110px;
}
.wm-section .wm-faq__question {
	font-size: 32px;
	line-height: 36.77px;
}
.wm-faq__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	width: 100%;
	margin: 0;
	padding: 25px 30px;
	border: 0;
	border-radius: 20px;
	background: none;
	font: inherit;
	color: inherit;
	text-align: left;
	cursor: default;
}
.wm-faq__question-text { flex: 1; min-width: 0; }

/* Plus/Minus, nur mit JS sichtbar */
.wm-faq__icon {
	display: none;
	position: relative;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
}
.wm-faq__icon::before,
.wm-faq__icon::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 14.75px;
	width: 24px;
	height: 2.5px;
	border-radius: 1.25px;
	background: var(--liw-blue);
}
.wm-faq__icon::after { transform: rotate(90deg); }

.wm-faq__panel {
	display: grid;
	grid-template-rows: 1fr;
}
.wm-faq__answer {
	min-height: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 1060px;
	padding: 0 30px 25px;
}
.wm-faq__answer ul { display: flex; flex-direction: column; gap: 8px; padding-left: 22px; list-style: disc; }
.wm-faq__answer ol { display: flex; flex-direction: column; gap: 8px; padding-left: 22px; list-style: decimal; }
.wm-faq__answer strong { font-weight: 700; }

/* Mit JS: zuklappbar */
.wm-faq.is-enhanced .wm-faq__button { cursor: pointer; }
.wm-faq.is-enhanced .wm-faq__icon { display: block; }
.wm-faq.is-enhanced .wm-faq__item.is-open .wm-faq__icon::after { transform: rotate(0deg); opacity: 0; }
.wm-faq.is-enhanced .wm-faq__item:not(.is-open) .wm-faq__panel {
	grid-template-rows: 0fr;
	visibility: hidden;
}
.wm-faq.is-enhanced .wm-faq__item:not(.is-open) .wm-faq__answer {
	padding-bottom: 0;
}
.wm-faq.is-ready .wm-faq__panel {
	transition: grid-template-rows .3s ease, visibility .3s;
}
.wm-faq.is-ready .wm-faq__answer { transition: padding-bottom .3s ease; }
.wm-faq.is-ready .wm-faq__icon::after { transition: transform .3s ease, opacity .3s ease; }

/* ---------- module_18: Autorbox ---------- */
.wm-author {
	display: flex;
	align-items: center;
	gap: 50px;
}
.wm-author__photo {
	position: relative;
	flex-shrink: 0;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--liw-white);
}
.wm-author__photo picture { display: block; position: static; width: 100%; height: 100%; }
/* Füllt den Kreis immer vollständig – auch bei Querformat und gesetzten width/height-Attributen.
   Ausschnitt über .wm-focus--* (Feld „Bildausschnitt“). */
.wm-section .wm-author__photo img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
}

.wm-author__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}
.wm-section .wm-author__eyebrow {
	font-size: 16px;
	line-height: 20px;
	color: var(--liw-mid-gray);
}
.wm-section .wm-author__eyebrow + .wm-author__name { margin-top: -8px; }
.wm-section .wm-author__name {
	font-size: 32px;
	line-height: 36.77px;
}
.wm-section .wm-author__quals {
	font-size: 18px;
	line-height: 24px;
}
.wm-author__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 30px;
}
.wm-section .wm-author__meta-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	line-height: 20px;
}
.wm-author__meta-item svg { flex-shrink: 0; }

/* ---------- module_19: Verwandte Themen ---------- */
.wm-related {
	display: flex;
	flex-direction: column;
	gap: 50px;
}
.wm-section .wm-related__title {
	font-size: 50px;
	line-height: 57.45px;
}
.wm-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
}
.wm-related__item { display: flex; min-width: 0; }
.wm-related__card {
	flex: 1 1 auto;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 40px;
	min-height: 300px;
	padding: 40px;
	border-radius: 20px;
	background: var(--liw-blue);
	color: var(--liw-white);
	text-decoration: none;
}
.wm-related__card-text {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.wm-section .wm-related__card-title {
	font-size: 28px;
	line-height: 32px;
	color: var(--liw-white);
}
.wm-related__arrow { flex-shrink: 0; }
.wm-section .wm-related__card-desc {
	font-size: 18px;
	line-height: 23px;
	color: var(--liw-white);
}
.wm-related__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 1px solid var(--liw-white);
	border-radius: 10px;
	transition: background-color .2s ease;
}
.wm-related__arrow path { transition: stroke .2s ease; }
.wm-related__card:hover .wm-related__arrow { background: var(--liw-white); }
.wm-related__card:hover .wm-related__arrow path { stroke: var(--liw-blue); }
.wm-section .wm-related__card:focus-visible { outline-offset: 4px; }

/* ==========================================================================
   Footer (footer.php)
   ========================================================================== */
.liw-footer {
	margin-top: 120px;
	background: var(--liw-blue);
	color: var(--liw-white);
}
.liw-footer p,
.liw-footer li,
.liw-footer a,
.liw-footer span,
.liw-footer address {
	margin: 0;
	font-family: "Assistant", sans-serif;
	font-weight: 350;
	font-style: normal;
	color: var(--liw-white);
}
.liw-footer ul { margin: 0; padding: 0; list-style: none; }
.liw-footer a { text-decoration: none; }
.liw-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.liw-footer a:focus-visible {
	outline: 3px solid var(--liw-white);
	outline-offset: 3px;
	border-radius: 4px;
}

.liw-footer__inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 90px 60px 40px;
	display: flex;
	flex-direction: column;
	gap: 70px;
}
.liw-footer__top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 60px;
}
.liw-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 22px;
	max-width: 440px;
}
.liw-footer__logo { display: inline-flex; align-self: flex-start; }
.liw-footer__logo img { display: block; width: auto; height: 56px; }
.liw-footer .liw-footer__claim { font-size: 20px; line-height: 26px; }

.liw-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 330px;
}
.liw-footer .liw-footer__contact-name {
	font-family: "Ubuntu", sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 24px;
}
.liw-footer .liw-footer__contact-row {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	font-size: 18px;
	line-height: 23px;
}
.liw-footer .liw-footer__contact-row span,
.liw-footer .liw-footer__contact-row a { font-size: 18px; line-height: 23px; }
.liw-footer__contact-row svg { flex-shrink: 0; margin-top: 2px; }

.liw-footer__cols {
	display: flex;
	gap: 40px;
	padding-top: 60px;
	border-top: 1px solid rgba(255, 255, 255, .35);
}
.liw-footer__col {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.liw-footer .liw-footer__col-title {
	overflow-wrap: break-word;
	-webkit-hyphens: auto;
	hyphens: auto;
	font-family: "Ubuntu", sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 24px;
}
.liw-footer__links {
	display: flex;
	flex-direction: column;
	gap: 11px;
}
.liw-footer .liw-footer__links li,
.liw-footer .liw-footer__links a { font-size: 18px; line-height: 22px; }

.liw-footer__bottom {
	display: flex;
	flex-direction: column;
	gap: 30px;
}
.liw-footer__quals {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
}
.liw-footer .liw-footer__quals-label {
	font-family: "Ubuntu", sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 20px;
}
/* Ohne Trennpunkte: Abstand trennt die Einträge, eine Zeile kann nie mit „·“ beginnen. */
.liw-footer__quals-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
}
.liw-footer .liw-footer__quals-list li { font-size: 16px; line-height: 20px; }
.liw-footer__line {
	width: 100%;
	height: 1px;
	margin: 0;
	border: 0;
	background: var(--liw-white);
}
.liw-footer__legal {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}
.liw-footer__legal-left {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}
.liw-footer .liw-footer__legal-left li,
.liw-footer .liw-footer__legal-left a,
.liw-footer .liw-footer__credit { font-size: 16px; line-height: 20px; }
/* Trennpunkt HINTER dem Eintrag: Bei Umbruch endet eine Zeile mit „·“, keine beginnt damit. */
.liw-footer .liw-footer__legal-left li:not(:last-child)::after {
	content: "·";
	margin-left: 12px;
}

/* ==========================================================================
   Tablet quer / kleine Laptops (bis 1200px)
   ========================================================================== */
@media (max-width: 1200px) {
	.wm-section .wm-prose h2,
	.wm-section .wm-steps__title,
	.wm-section .wm-faq__title,
	.wm-section .wm-related__title,
	.module-01 h1#m01-card-header {
		font-size: 40px;
		line-height: 1.15;
	}
	.wm-section .wm-faq__question { font-size: 28px; line-height: 1.2; }

	/* Ablauf: weniger Abstand zwischen Bild und Text */
	.wm-steps { gap: 50px; }

	/* Verwandte Themen: zwei Spalten, eine ungerade letzte Karte über die volle Breite */
	.wm-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
	.wm-related__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.wm-related__card { min-height: 240px; padding: 34px; }
	.wm-section .wm-related__card-title { font-size: 26px; line-height: 30px; }

	/* Footer: Linkspalten 2 × 2, Rechtliches und Credit untereinander */
	.liw-footer__cols { flex-wrap: wrap; gap: 45px 40px; }
	.liw-footer__col { flex: 1 1 calc(50% - 20px); min-width: calc(50% - 20px); }
	.liw-footer__legal { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ==========================================================================
   Tablet (bis 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
	/* Ablauf: Bild über dem Text, volle Breite, feste Höhe */
	.wm-steps,
	.wm-steps--image-right { flex-direction: column; gap: 45px; align-items: stretch; }
	.wm-steps__media {
		position: relative;
		top: auto;
		flex: none;
		width: 100%;
		height: 420px;
		min-height: 0;
	}
	.wm-steps__content { padding: 0; }

	/* Autorbox: Porträt über dem Text, damit die Textspalte breit genug bleibt */
	.wm-author { flex-direction: column; align-items: flex-start; gap: 30px; }
	.wm-author__photo { width: 160px; height: 160px; }

	/* Footer: Kontakt unter die Marke */
	.liw-footer__top { flex-wrap: wrap; gap: 40px; }
	.liw-footer__contact { min-width: 0; }
}

/* ==========================================================================
   Mobil (wie Bestand: max-width 811px)
   ========================================================================== */
@media (max-width: 811px) {
	.wm-container { padding: 0 30px; }
	.wm-box,
	.wm-card { padding: 30px; }

	.wm-space--standard { margin-top: 60px; }
	.wm-space--mittel   { margin-top: 40px; }
	.wm-space--eng      { margin-top: 20px; }

	.wm-section p,
	.wm-section li,
	.wm-section dt,
	.wm-section dd {
		font-size: 16px;
		line-height: 1.3;
	}

	.wm-section .wm-prose h2,
	.wm-section .wm-steps__title,
	.wm-section .wm-faq__title,
	.wm-section .wm-related__title,
	.module-01 h1#m01-card-header {
		font-size: 30px;
		line-height: 1.15;
	}

	.wm-btn { font-size: 16px; }
	.wm-textlink { font-size: 18.7px; }

	.wm-breadcrumb { margin-top: 30px; }
	.wm-breadcrumb .wm-breadcrumb__list,
	.wm-breadcrumb .wm-breadcrumb__list span,
	.wm-breadcrumb a { font-size: 14px; line-height: 18px; }
	.wm-breadcrumb .wm-breadcrumb__list,
	.wm-breadcrumb .wm-breadcrumb__list > span { gap: 6px; }

	/* Kurzantwort */
	.wm-summary { gap: 25px; }
	.wm-section .wm-summary__title { font-size: 22px; line-height: 1.2; }
	.wm-summary__list { gap: 18px; }
	.wm-summary__item { gap: 14px; }

	/* Karte */
	.wm-section .wm-card__title { font-size: 22px; line-height: 1.2; }
	.wm-card { gap: 18px; }
	.wm-card__body { gap: 16px; }
	.wm-card__cta { align-self: stretch; }

	/* Langtext */
	.wm-section .wm-prose > * + * { margin-top: 16px; }
	.wm-section .wm-prose > * + h2 { margin-top: 45px; }
	.wm-section .wm-prose > * + h3 { margin-top: 28px; }
	.wm-section .wm-prose > h2 + *,
	.wm-section .wm-prose > h2 + h3 { margin-top: 20px; }
	.wm-section .wm-prose > h3 + * { margin-top: 12px; }
	.wm-section .wm-prose h3 { font-size: 20px; line-height: 1.2; }
	.wm-section .wm-prose h4 { font-size: 18px; line-height: 1.2; }
	.wm-section .wm-prose ol > li { padding-left: 30px; }
	.wm-section .wm-prose ul > li { padding-left: 24px; }
	.wm-prose ul > li::before { top: 7px; left: 5px; }
	.wm-section .wm-prose--check ul > li,
	.wm-section .wm-prose ul.is-check > li { padding-left: 30px; }
	.wm-prose--check ul > li::before,
	.wm-prose ul.is-check > li::before { top: 0; left: 0; }
	.wm-note { padding: 18px 20px; }
	.wm-section .wm-prose > .wm-note { margin-top: 24px; }
	.wm-section .wm-note p { font-size: 14px; line-height: 19px; }

	/* Rechenbeispiel */
	.wm-section .wm-calc__title { font-size: 22px; line-height: 1.2; }
	.wm-calc { gap: 22px; }
	.wm-calc__row { flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 0; }
	.wm-section .wm-calc__value { text-align: left; font-size: 18.7px; line-height: 1.2; white-space: normal; }
	.wm-section .wm-calc__row--result .wm-calc__value { font-size: 24px; line-height: 1.2; }
	/* Blau auf Hellgrau nur als „großer Text“: 18,7px fett */
	.wm-section .wm-calc__row--result .wm-calc__label { font-size: 18.7px; line-height: 1.25; }
	.wm-section .wm-calc__hint { font-size: 14px; line-height: 19px; }

	/* Ablauf */
	.wm-steps,
	.wm-steps--image-right { gap: 35px; }
	.wm-steps__media { height: 300px; }
	.wm-steps__content { gap: 28px; }
	.wm-steps__list { gap: 22px; }
	.wm-steps__item { gap: 16px; }
	.wm-steps__num { width: 36px; height: 36px; font-size: 16px; }
	.wm-steps__text { padding-top: 7px; gap: 6px; }
	.wm-section .wm-steps__item-title { font-size: 18px; line-height: 22px; }

	/* FAQ */
	.wm-faq .wm-container { gap: 30px; }
	.wm-faq__list { gap: 15px; }
	.wm-section .wm-faq__question { font-size: 22px; line-height: 1.2; }
	.wm-faq__button { padding: 20px; gap: 16px; }
	.wm-faq__icon { width: 26px; height: 26px; }
	.wm-faq__icon::before,
	.wm-faq__icon::after { left: 3px; top: 11.75px; width: 20px; }
	.wm-faq__answer { padding: 0 20px 20px; gap: 12px; }

	/* Autor */
	.wm-author { flex-direction: column; align-items: flex-start; gap: 25px; }
	.wm-author__photo { width: 120px; height: 120px; }
	.wm-section .wm-author__name { font-size: 22px; line-height: 1.2; }
	.wm-section .wm-author__quals { font-size: 16px; line-height: 21px; }
	.wm-author__meta { flex-direction: column; }
	.wm-section .wm-author__meta-item { font-size: 14px; line-height: 18px; }

	/* Verwandte Themen */
	.wm-related { gap: 30px; }
	.wm-related__grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
	.wm-related__card { min-height: 0; padding: 30px; gap: 25px; }
	.wm-section .wm-related__card-title { font-size: 22px; line-height: 1.2; }
	.wm-section .wm-related__card-desc { font-size: 16px; line-height: 21px; }
	.wm-related__arrow { width: 44px; height: 44px; }

	/* Footer */
	.liw-footer { margin-top: 60px; }
	.liw-footer__inner { padding: 60px 30px 30px; gap: 45px; }
	.liw-footer__top { flex-direction: column; gap: 35px; }
	.liw-footer__logo img { height: 44px; }
	.liw-footer .liw-footer__claim { font-size: 16px; line-height: 21px; }
	.liw-footer__contact { min-width: 0; }
	.liw-footer .liw-footer__contact-row,
	.liw-footer .liw-footer__contact-row span,
	.liw-footer .liw-footer__contact-row a { font-size: 16px; line-height: 21px; }
	.liw-footer__cols { flex-wrap: wrap; gap: 40px 20px; padding-top: 45px; }
	.liw-footer__col { flex: 1 1 calc(50% - 10px); min-width: calc(50% - 10px); }
	.liw-footer .liw-footer__col-title { font-size: 16px; line-height: 20px; }
	.liw-footer .liw-footer__links li,
	.liw-footer .liw-footer__links a { font-size: 15px; line-height: 19px; overflow-wrap: break-word; hyphens: auto; }
	/* Qualifikationen: jede in einer eigenen Zeile, ohne Trennzeichen */
	.liw-footer__quals { flex-direction: column; align-items: flex-start; gap: 10px; }
	.liw-footer__quals-list { flex-direction: column; gap: 6px; }
	.liw-footer .liw-footer__quals-label,
	.liw-footer .liw-footer__quals-list li { font-size: 14px; line-height: 18px; }
	.liw-footer__legal { flex-direction: column; align-items: flex-start; gap: 14px; }
	.liw-footer__legal-left { gap: 8px 12px; }
	.liw-footer .liw-footer__legal-left li:first-child { width: 100%; }
	.liw-footer .liw-footer__legal-left li:first-child::after { content: none; }
	.liw-footer .liw-footer__legal-left li,
	.liw-footer .liw-footer__legal-left a,
	.liw-footer .liw-footer__credit { font-size: 14px; line-height: 18px; }
}

/* Sehr schmale Geräte (bis 420px): Footer-Linkspalten einspaltig */
@media (max-width: 420px) {
	.liw-footer__col { flex: 1 1 100%; min-width: 0; }
	.liw-footer__cols { gap: 35px; }
}

@media (prefers-reduced-motion: reduce) {
	.wm-faq.is-ready .wm-faq__panel,
	.wm-faq.is-ready .wm-faq__answer,
	.wm-faq.is-ready .wm-faq__icon::after,
	.wm-btn,
	.wm-textlink .wm-arrow,
	.wm-related__arrow,
	.wm-related__arrow path { transition: none; }
}

/* ------------------------------------------------------------------
 * Kontakt-Banner (Bestandsmodul 09) als Seitenabschluss
 * - Steht das Banner als letztes Modul direkt vor dem Footer, entfällt der
 *   weiße Abstand: Banner und blauer Footer schließen bündig an.
 * - Leichte Abdunklung des Fotos, damit die weiße Überschrift auch auf hellen
 *   Bildstellen lesbar ist (WCAG-Kontrast).
 * ------------------------------------------------------------------ */
main:has(> .module-09:last-child) + .liw-footer,
main:has(> .module-09:last-child) ~ .liw-footer { margin-top: 0; }

.module-09 { position: relative; isolation: isolate; }
.module-09::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(20, 28, 40, .38) 0%, rgba(20, 28, 40, .30) 100%);
	pointer-events: none;
}
.module-09 .m09-header { text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
