Files
laraundfelix/resources/css/widgets.css
T
LarsandClaude Sonnet 5.5 2393000468
Deploy Test / test (push) Successful in 5m43s
Deploy Test / deploy (push) Successful in 43s
Biete in den redaktionellen Karten einen sichtbaren Link unter dem Text an
Einstellung link_style (Textlink oder Pille) und je Karte ein Linktext
(leer: "Mehr erfahren", nur mit Linkziel gespeichert). Der Link trägt den
gestreckten Link über die ganze Karte, der Titel ist dann kein eigener
Link; ohne Einstellung bleibt alles wie zuvor.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 09:11:01 +01:00

902 lines
24 KiB
CSS

/*
* Widget-Ansichten der Bestandswidgets. Jede Regel verwendet Bedeutungswerte und richtet sich nach der Slotbreite
* (Container „slot“), nicht nach dem Fenster. Markenakzente (Unterstreichung, Strahlen) stammen aus
* resources/views/components/brand und sind dekorativ.
*/
.widget {
min-width: 0;
color: var(--color-text);
overflow-wrap: break-word;
}
/*
* Gemeinsamer Layoutvertrag (ADR-38): Höhe „fill“ streckt das Widget auf die Höhe der Abschnittszeile, wenn Plätze
* nebeneinander stehen. Gestapelt (schmaler Abschnitt) entspricht das der Inhaltshöhe. Inhalte werden nie begrenzt.
*/
.section-slot:has(> .widget-height-fill) {
align-self: stretch;
display: flex;
flex-direction: column;
}
.section-slot > .widget-height-fill {
flex: 1 1 auto;
display: flex;
flex-direction: column;
}
.widget-height-fill > .cta {
flex: 1 1 auto;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
}
.widget > :last-child,
.widget .prose > :last-child {
margin-bottom: 0;
}
/*
* Überschrift und Fließtext nutzen die ganze Breite des Platzes (Einstellung „Breite des Texts“, Vorgabe „Volle Breite“).
* Die Lesebreite („reading“) begrenzt Zeilen wie bisher: Überschrift 22 Zeichen, Einleitung und Fließtext --measure.
*/
.widget-heading .lede {
max-width: none;
}
.widget-heading .lede.lf-reading {
max-width: var(--measure);
}
:is(.widget-prose, .widget-heading, .widget-cards) .prose {
max-width: none;
}
:is(.widget-prose, .widget-heading, .widget-cards) .prose.prose--reading {
max-width: var(--measure);
}
/* Überschrift */
.widget-heading :is(h1, h2).lf-reading {
max-width: 22ch;
}
/* Fließtext */
:is(.widget-prose, .widget-heading, .widget-cards) .prose p {
margin: 0 0 var(--space-4);
}
/*
* Fließtext aus dem Editor (ADR-50): Zwischenüberschriften H3 bis H6, Zitat und Tabellen. Nur Bedeutungswerte, damit der
* Text auch auf dunklen und Akzentflächen lesbar bleibt.
*/
:is(.widget-prose, .widget-heading, .widget-cards) .prose h3,
:is(.widget-prose, .widget-heading, .widget-cards) .prose h4,
:is(.widget-prose, .widget-heading, .widget-cards) .prose h5,
:is(.widget-prose, .widget-heading, .widget-cards) .prose h6 {
margin: var(--space-5) 0 var(--space-2);
font-family: var(--font-display);
color: var(--color-heading);
line-height: var(--leading-heading);
letter-spacing: -0.01em;
font-weight: 700;
overflow-wrap: break-word;
}
:is(.widget-prose, .widget-heading, .widget-cards) .prose h3 { font-size: var(--text-h3); }
:is(.widget-prose, .widget-heading, .widget-cards) .prose h4 { font-size: calc(var(--text-body) * 1.25); }
:is(.widget-prose, .widget-heading, .widget-cards) .prose h5 { font-size: calc(var(--text-body) * 1.1); }
:is(.widget-prose, .widget-heading, .widget-cards) .prose h6 { font-size: var(--text-body); }
:is(.widget-prose, .widget-heading, .widget-cards) .prose > :first-child { margin-top: 0; }
:is(.widget-prose, .widget-heading, .widget-cards) .prose blockquote {
margin: 0 0 var(--space-4);
padding: 0 0 0 var(--space-4);
border-inline-start: 4px solid var(--color-border-strong);
color: var(--color-text-muted);
}
:is(.widget-prose, .widget-heading, .widget-cards) .prose blockquote > :last-child { margin-bottom: 0; }
/* Der Grundstil setzt Listen und Links zurück; im Fließtext sollen sie als solche erkennbar sein. */
:is(.widget-prose, .widget-heading, .widget-cards) .prose ul { list-style: disc; }
:is(.widget-prose, .widget-heading, .widget-cards) .prose ol { list-style: decimal; }
:is(.widget-prose, .widget-heading, .widget-cards) .prose li { margin-block-end: var(--space-1); }
:is(.widget-prose, .widget-heading, .widget-cards) .prose li > p { margin: 0; }
:is(.widget-prose, .widget-heading, .widget-cards) .prose li::marker { color: var(--color-text-muted); }
:is(.widget-prose, .widget-heading, .widget-cards) .prose a {
color: var(--color-link);
text-decoration: underline;
text-underline-offset: 0.2em;
overflow-wrap: anywhere;
}
:is(.widget-prose, .widget-heading, .widget-cards) .prose a:hover { color: var(--color-link-hover, var(--color-link)); }
/*
* Auszeichnungen aus dem Editor (FormattedText::SITE_SIZES, SITE_COLORS): feste Stufen statt freier Werte. Die Größe ist
* relativ zur Umgebung, in einer Überschrift also zu deren Schrift. Die Farben sind auf hellen Flächen die Markenfarben;
* auf dunklen (`scope-dark`) und grünen (`scope-accent`) Flächen werden sie aufgehellt, damit die Schrift lesbar bleibt.
*/
:is(.widget-prose, .widget-heading, .widget-cards) .prose {
--tc-marine: var(--lf-navy);
--tc-gruen: var(--lf-green-deep);
--tc-rot: #a8212b;
--tc-grau: var(--lf-ink-muted);
}
.scope-dark :is(.widget-prose, .widget-heading, .widget-cards) .prose {
--tc-marine: var(--lf-white);
--tc-gruen: #b7dc84;
--tc-rot: #ffb4b0;
--tc-grau: #d3dde8;
}
.scope-accent :is(.widget-prose, .widget-heading, .widget-cards) .prose {
--tc-marine: var(--lf-white);
--tc-gruen: var(--lf-white);
--tc-rot: #ffe1df;
--tc-grau: #eef4e8;
}
:is(.widget-prose, .widget-heading, .widget-cards) .prose span[data-size='small'] { font-size: 0.875em; }
:is(.widget-prose, .widget-heading, .widget-cards) .prose span[data-size='large'] { font-size: 1.25em; }
:is(.widget-prose, .widget-heading, .widget-cards) .prose span[data-size='xlarge'] { font-size: 1.6em; line-height: 1.2; }
:is(.widget-prose, .widget-heading, .widget-cards) .prose span.color[data-color='marine'] { color: var(--tc-marine); }
:is(.widget-prose, .widget-heading, .widget-cards) .prose span.color[data-color='gruen'] { color: var(--tc-gruen); }
:is(.widget-prose, .widget-heading, .widget-cards) .prose span.color[data-color='rot'] { color: var(--tc-rot); }
:is(.widget-prose, .widget-heading, .widget-cards) .prose span.color[data-color='grau'] { color: var(--tc-grau); }
:is(.widget-prose, .widget-heading, .widget-cards) .prose .ta-center { text-align: center; }
:is(.widget-prose, .widget-heading, .widget-cards) .prose .ta-end { text-align: end; }
/* Tabelle: Der Rahmen scrollt bei wenig Platz waagerecht und ist mit der Tastatur erreichbar. */
.prose-table {
max-inline-size: 100%;
margin: 0 0 var(--space-4);
overflow-x: auto;
}
.prose-table:focus-visible {
outline: 3px solid var(--color-focus);
outline-offset: 3px;
}
.prose-table table {
inline-size: 100%;
min-inline-size: 24rem;
border-collapse: collapse;
}
.prose-table th,
.prose-table td {
padding: 0.5rem 0.75rem;
border: 1px solid var(--color-border);
text-align: start;
vertical-align: top;
}
.prose-table th {
background: var(--color-surface-subtle);
color: var(--color-heading);
font-weight: 700;
}
:is(.widget-prose, .widget-heading, .widget-cards) .prose .prose-table p { margin: 0; }
:is(.widget-prose, .widget-heading, .widget-cards) .prose .prose-table p + p,
:is(.widget-prose, .widget-heading, .widget-cards) .prose .prose-table :is(ul, ol) { margin-top: 0.4em; }
:is(.widget-prose, .widget-heading, .widget-cards) .prose .prose-table :is(ul, ol) { margin-bottom: 0; }
/* ------------------------------------------------------------------------------------------------
* Redaktionelle Karten. Varianten: Raster (cards-grid), kompakte Liste (cards-compact),
* erste Karte hervorgehoben (cards-featured). Die ganze Karte ist über den Titellink klickbar.
* ---------------------------------------------------------------------------------------------- */
.cards {
--card-surface: var(--lf-cream);
display: grid;
/* auto-fit: Spalten ohne Karte fallen weg, die vorhandenen Karten füllen die Zeile (Verteilung „Karten vergrößern sich“). */
grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
gap: var(--grid-gap);
list-style: none;
padding: 0;
margin: 0;
}
.section-bg-light .cards,
.scope-dark .cards,
.scope-accent .cards,
.section-bg-image .cards {
--card-surface: var(--lf-white);
}
.card {
position: relative;
display: flex;
flex-direction: column;
background: var(--card-surface);
border-radius: var(--radius-card);
overflow: hidden;
color: var(--lf-ink);
--color-text: var(--lf-ink);
--color-text-muted: var(--lf-ink-muted);
--color-heading: var(--lf-navy);
--color-link: var(--lf-navy);
--color-focus: var(--lf-focus);
}
.card-media {
aspect-ratio: 3 / 2;
overflow: hidden;
background: var(--lf-green-tint);
}
.card-image {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.card-body {
display: grid;
gap: var(--space-2);
padding: var(--pad-card);
}
.card-title {
font-size: var(--text-h3);
line-height: 1.2;
margin: 0;
}
.card-title a {
color: inherit;
text-decoration: none;
}
/* Gestreckter Link: die ganze Karte ist klickbar, ein einziger Tabstopp. */
.card-title a::after {
content: '';
position: absolute;
inset: 0;
border-radius: inherit;
}
.card-linked:hover .card-title a {
text-decoration: underline;
text-decoration-thickness: 2px;
text-underline-offset: 0.2em;
}
.card-linked:has(a:focus-visible) {
outline: 3px solid var(--color-focus);
outline-offset: 3px;
}
.card-title a:focus-visible {
outline: none;
}
.card p {
margin: 0;
color: var(--color-text-muted);
}
/* Karte ohne Bild: gelbe Markenkante oben. */
.cards-grid .card:not(.card-with-image),
.cards-featured .card:not(.card-with-image) {
box-shadow: inset 0 5px 0 var(--lf-yellow);
}
/* Hervorgehoben: Die erste Karte nimmt die ganze Zeile ein, ab 44rem Bild neben dem Text. */
.cards-featured .card-lead {
grid-column: 1 / -1;
}
.cards-featured .card-lead .card-title {
font-size: clamp(1.375rem, 3cqi, var(--text-h2));
}
.cards-featured .card-lead .card-body {
padding: clamp(var(--pad-card), 3.4cqi, var(--pad-surface));
align-content: center;
}
@container slot (min-width: 44rem) {
.cards-featured .card-lead.card-with-image {
display: grid;
grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}
.cards-featured .card-lead .card-media {
aspect-ratio: auto;
min-height: var(--media-h);
}
}
/* Kompakte Liste: redaktionelle Zeilen mit Trennlinie, Bild klein rechts. */
.cards-compact {
grid-template-columns: minmax(0, 1fr);
gap: 0;
}
.cards-compact .card {
flex-direction: row-reverse;
align-items: center;
gap: var(--space-4);
border-radius: 0;
background: transparent;
border-top: 1px solid var(--color-border);
color: var(--color-text);
--color-text: inherit;
--color-heading: inherit;
--color-link: inherit;
--color-text-muted: inherit;
overflow: visible;
}
.cards-compact .card:last-child {
border-bottom: 1px solid var(--color-border);
}
.cards-compact .card-body {
flex: 1;
padding: var(--space-4) 0;
}
.cards-compact .card p {
opacity: 0.88;
}
.cards-compact .card-media {
flex: none;
width: clamp(4.5rem, 18cqi, 6.5rem);
aspect-ratio: 1;
margin-block: var(--space-3);
border-radius: var(--radius-small);
}
/*
* Redaktionelle Karten: Dachzeile, Beschreibung, Pinselstrich, Verteilung, Trennstrich, Hervorhebung. Jede Einstellung ist
* eine Klasse an der Liste und nur gesetzt, wenn sie von der Vorgabe abweicht.
*/
.card-eyebrow {
margin: 0;
color: var(--card-eyebrow, var(--lf-green-deep));
font-size: 0.73rem;
line-height: 1.45;
font-weight: 800;
letter-spacing: 0.065em;
text-transform: uppercase;
overflow-wrap: anywhere;
}
/*
* Link unter dem Text (Einstellung „Link unter dem Text“): kleiner Textlink oder Pille. Er trägt den gestreckten Link über die
* ganze Karte (ein einziger Tabstopp); der Titel ist dann kein eigener Link.
*/
.card-more {
margin-block-start: var(--space-1);
}
.card-link {
font-weight: 700;
overflow-wrap: anywhere;
}
.card-link::after {
content: '';
position: absolute;
inset: 0;
border-radius: inherit;
}
.card-link:focus-visible {
outline: none;
}
.card-link--text {
color: var(--color-link);
font-size: 0.9375rem;
text-decoration: underline;
text-underline-offset: 0.2em;
}
.card-linked:hover .card-link--text {
text-decoration-thickness: 2px;
}
.card-link--pill {
display: inline-block;
padding: 0.5em 1.1em;
border-radius: var(--radius-pill);
background: var(--color-action);
color: var(--color-action-text);
font-size: 0.9375rem;
line-height: 1.25;
text-decoration: none;
}
.card-linked:hover .card-link--pill {
background: var(--color-action-hover);
}
/* Die Fläche der Pille ist klein; der gestreckte Link behält die Rundung der Karte. */
.card-link--pill::after {
border-radius: var(--radius-card);
}
/* Die Beschreibung ist formatierter Text; die Karte selbst ist immer eine helle Fläche. */
.card-text {
min-inline-size: 0;
}
/*
* Der gestreckte Titellink legt sich über die ganze Karte. Links in der Beschreibung liegen darüber, damit sie anklickbar
* bleiben (ein eigener Tabstopp, der Titel bleibt der Link der Karte).
*/
.card .prose a {
position: relative;
z-index: 1;
}
/*
* Farben im Text: Die Karten sind auf hellen, dunklen und grünen Abschnitten gleichermaßen helle Flächen. Die aufgehellten
* Werte der dunklen und grünen Flächen wären dort unlesbar; deshalb gelten in der Karte die Werte der hellen Fläche. Die
* kompakte Liste und flache Karten (Trennstrich) haben keine eigene Fläche und folgen dem Abschnitt.
*/
.cards:not(.cards-compact, .cards--lines) .card .prose {
--tc-marine: var(--lf-navy);
--tc-gruen: var(--lf-green-deep);
--tc-rot: #a8212b;
--tc-grau: var(--lf-ink-muted);
}
/* Pinselstrich unter dem Titel: folgt der Ausrichtung der Karte. */
.card-body > .lf-card__brush {
margin-block: 0;
}
.cards--center .lf-card__brush { margin-inline: auto; }
.cards--right .lf-card__brush { margin-inline: auto 0; }
/*
* Verteilung „Abstände gleichen aus“: Die Spalten bleiben gleich breit (so liegen auch die Trennstriche in der Mitte der
* Lücke), die Karte behält ihre Breite und steht mittig in ihrer Spalte. Die hervorgehobene erste Karte füllt die Zeile.
*/
.cards--spaced:not(.cards--lines) .card {
inline-size: 100%;
max-inline-size: 20rem;
justify-self: center;
}
.cards--spaced:not(.cards--lines) .card-lead {
max-inline-size: none;
}
.cards--spaced.cards--lines .card > * {
inline-size: 100%;
max-inline-size: 20rem;
margin-inline: auto;
}
.cards--spaced.cards--lines .card-lead > * {
max-inline-size: none;
}
/*
* Hervorgehobene erste Karte: Die Zeile der ersten Karte würde im Raster alle Spalten belegen, und Spalten ohne Karte bliebe
* leer. Deshalb umbrechen die Karten hier wie Text: Die erste füllt die Zeile, die übrigen teilen sich jede Zeile gleich auf.
*/
.cards-featured {
display: flex;
flex-wrap: wrap;
}
.cards-featured .card {
flex: 1 1 15rem;
min-inline-size: 0;
}
.cards-featured.cards--symbol-left .card,
.cards-featured.cards--symbol-right .card {
flex-basis: 18rem;
}
.cards-featured .card-lead {
flex: 1 1 100%;
}
.cards-featured.cards--spaced {
justify-content: space-evenly;
}
.cards-featured.cards--spaced .card:not(.card-lead) {
flex: 0 1 20rem;
}
/* Listen folgen der Ausrichtung: Die Aufzählungszeichen stehen beim Text statt am Rand der Karte. */
.cards--center .card-text :is(ul, ol),
.cards--right .card-text :is(ul, ol) {
padding-inline: 0;
list-style-position: inside;
}
.cards--center .card-text li > p,
.cards--right .card-text li > p {
display: inline;
}
/*
* Trennstrich: flache Karten ohne Fläche; jede trägt links und oben einen Strich in der Mitte der Lücke. Die Liste schneidet
* alles außerhalb ihres Rahmens ab, so entfallen die Striche am Rand und in der ersten Zeile von selbst, egal wie viele
* Spalten die Breite zulässt (wie in der Merkmalszeile).
*/
.cards--lines {
overflow: hidden;
overflow: clip;
margin: -0.375rem;
padding: 0.375rem;
row-gap: var(--space-5);
column-gap: var(--space-4);
}
.cards--lines .card {
background: transparent;
border-radius: 0;
box-shadow: none;
overflow: visible;
color: var(--color-text);
--color-text: inherit;
--color-text-muted: inherit;
--color-heading: inherit;
--color-link: inherit;
}
/* Ohne Fläche entfällt auch die gelbe Kante der Karten ohne Bild. */
.cards--lines .card:not(.card-with-image) {
box-shadow: none;
}
.cards--lines .card-media {
border-radius: var(--radius-small);
}
.cards--lines .card::before,
.cards--lines .card::after {
content: "";
position: absolute;
pointer-events: none;
}
.cards--lines .card::before {
inset-block: 0;
inset-inline-start: calc(var(--space-4) / -2);
border-inline-start: 1px solid var(--color-border);
}
.cards--lines .card::after {
inset-inline: 0;
inset-block-start: calc(var(--space-5) / -2);
border-block-start: 1px solid var(--color-border);
}
.cards--lines .card-body {
padding-inline: 0;
}
.scope-dark .cards--lines { --card-eyebrow: #fff2b0; }
.scope-accent .cards--lines { --card-eyebrow: var(--lf-white); }
/*
* Hervorhebung unter der Maus: Die Karte hebt sich leicht ab. Auch per Tastatur (Fokus in der Karte). Die Bewegung entfällt,
* wenn reduzierte Bewegung gewünscht ist; Schatten und Fläche bleiben als Zeichen.
*/
.cards--hover .card {
transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.cards--hover .card:focus-within {
transform: translateY(-4px);
box-shadow: 0 10px 28px rgb(3 37 81 / 18%);
}
@media (hover: hover) {
.cards--hover .card:hover {
transform: translateY(-4px);
box-shadow: 0 10px 28px rgb(3 37 81 / 18%);
}
}
/* Die gelbe Kante der Karten ohne Bild bleibt beim Anheben erhalten. */
.cards--hover:is(.cards-grid, .cards-featured):not(.cards--lines) .card:not(.card-with-image):focus-within {
box-shadow: inset 0 5px 0 var(--lf-yellow), 0 10px 28px rgb(3 37 81 / 18%);
}
@media (hover: hover) {
.cards--hover:is(.cards-grid, .cards-featured):not(.cards--lines) .card:not(.card-with-image):hover {
box-shadow: inset 0 5px 0 var(--lf-yellow), 0 10px 28px rgb(3 37 81 / 18%);
}
}
/* Karten ohne Fläche (Trennstrich, kompakte Liste): keine Anhebung, sondern eine zarte Fläche hinter dem Inhalt. */
.cards--hover:is(.cards--lines, .cards-compact) .card {
transform: none;
box-shadow: none;
}
.cards--hover:is(.cards--lines, .cards-compact) .card:focus-within {
background: color-mix(in srgb, currentColor 7%, transparent);
}
@media (hover: hover) {
.cards--hover:is(.cards--lines, .cards-compact) .card:hover {
background: color-mix(in srgb, currentColor 7%, transparent);
}
}
@media (prefers-reduced-motion: reduce) {
.cards--hover .card {
transition: none;
}
.cards--hover .card:focus-within,
.cards--hover .card:hover {
transform: none;
}
}
/* ------------------------------------------------------------------------------------------------
* Programm- und Modulkarten. Inhalte aus den Fachdaten; die Markentafel trägt die Art (Programm, Modul).
* Stufen: schmal gestapelt; ab 40rem Slotbreite bei einer Karte Tafel neben dem Text; Liste in „compact“.
* ---------------------------------------------------------------------------------------------- */
.catalog-cards > h2 {
max-width: 22ch;
}
.catalog-list {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr));
gap: var(--grid-gap);
list-style: none;
padding: 0;
margin: var(--space-5) 0 0;
}
.catalog-cards > :first-child + .catalog-list,
.catalog-cards > .catalog-list:first-child {
margin-top: 0;
}
.catalog-card {
position: relative;
display: flex;
flex-direction: column;
background: var(--lf-white);
border: 1px solid var(--lf-line);
border-radius: var(--radius-card);
overflow: hidden;
color: var(--lf-ink);
--color-text: var(--lf-ink);
--color-text-muted: var(--lf-ink-muted);
--color-heading: var(--lf-navy);
--color-link: var(--lf-navy);
--color-focus: var(--lf-focus);
}
.catalog-card-visual {
position: relative;
display: flex;
align-items: flex-end;
min-height: calc(var(--ds-space) * 11 / 16 * 1rem);
padding: var(--space-3) var(--pad-card);
background: var(--lf-navy);
border-bottom: 5px solid var(--lf-yellow);
}
/* Auf dunklen Flächen trägt Grün dunkel die Tafel, damit sie sich vom Abschnitt abhebt. */
.scope-dark .catalog-card-visual {
background: var(--lf-green-deep);
}
.catalog-card-visual span {
font-family: var(--font-display);
font-weight: 800;
font-size: var(--text-h3);
color: var(--lf-white);
}
.catalog-card-rays {
position: absolute;
top: var(--space-3);
right: var(--pad-card);
width: 2.75rem;
}
.catalog-card-body {
display: grid;
gap: var(--space-2);
align-content: start;
padding: var(--pad-card);
}
.catalog-card-body h3 {
font-size: var(--text-h3);
line-height: 1.2;
margin: 0;
}
.catalog-card-body h3 a {
color: inherit;
text-decoration: none;
}
.catalog-card-linked h3 a::after {
content: '';
position: absolute;
inset: 0;
}
.catalog-card-linked:hover h3 a {
text-decoration: underline;
text-decoration-thickness: 2px;
text-underline-offset: 0.2em;
}
.catalog-card-linked:has(a:focus-visible) {
outline: 3px solid var(--color-focus);
outline-offset: 3px;
}
.catalog-card-linked h3 a:focus-visible {
outline: none;
}
.catalog-card-body p {
margin: 0;
color: var(--color-text-muted);
}
/* Die Art steht in der Tafel; für Hilfsmittel bleibt sie im Text erhalten. */
.catalog-cards-standard .catalog-card-kind {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0 0 0 0);
white-space: nowrap;
}
.catalog-card-kind {
font-size: var(--text-small);
font-weight: 700;
color: var(--lf-green-deep);
margin: 0;
}
.catalog-cards[data-count='1'] .catalog-list {
grid-template-columns: minmax(0, 1fr);
}
@container slot (min-width: 40rem) {
.catalog-cards-standard[data-count='1'] .catalog-card {
display: grid;
grid-template-columns: minmax(12rem, 1fr) minmax(0, 2fr);
}
.catalog-cards-standard[data-count='1'] .catalog-card-visual {
border-bottom: 0;
border-right: 5px solid var(--lf-yellow);
min-height: calc(var(--ds-space) * 16 / 16 * 1rem);
}
.catalog-cards-standard[data-count='1'] .catalog-card-body {
align-content: center;
padding: calc(var(--pad-card) * 1.5);
}
}
.catalog-cards-compact .catalog-list {
grid-template-columns: minmax(0, 1fr);
gap: 0;
}
.catalog-cards-compact .catalog-card {
border-width: 1px 0 0;
border-radius: 0;
background: transparent;
color: var(--color-text);
--color-text: inherit;
--color-text-muted: inherit;
--color-heading: inherit;
--color-link: inherit;
border-color: var(--color-border);
overflow: visible;
}
.catalog-cards-compact .catalog-card:last-child {
border-bottom-width: 1px;
}
.catalog-cards-compact .catalog-card-body {
padding: var(--space-4) 0;
gap: var(--space-1);
}
.catalog-cards-compact .catalog-card-kind {
color: inherit;
opacity: 0.85;
}
.catalog-card-internal {
border-style: dashed;
}
/* Handlungsaufruf */
.cta {
position: relative;
background: var(--color-surface-subtle);
border-radius: var(--radius-panel);
padding: clamp(var(--pad-card), 3.4cqi, var(--pad-surface));
color: var(--lf-ink);
--color-heading: var(--lf-navy);
--color-text: var(--lf-ink);
--color-link: var(--lf-navy);
--color-focus: var(--lf-focus);
--color-action: var(--lf-green-deep);
--color-action-hover: #2f6407;
--color-action-text: var(--lf-white);
}
.section-bg-light .cta {
background: var(--lf-white);
}
.cta h2 {
font-size: clamp(1.375rem, 3.6cqi, var(--text-h2));
}
.cta p {
max-width: var(--measure);
}
.cta a {
margin-top: var(--space-2);
}
@container slot (max-width: 20rem) {
.cta a {
width: 100%;
}
}
/* Häufige Fragen */
.faq {
margin: 0;
}
.faq dt {
font-family: var(--font-display);
font-weight: 700;
font-size: var(--text-h3);
color: var(--color-heading);
padding-top: var(--space-4);
border-top: 1px solid var(--color-border);
}
.faq dt:first-child {
border-top: 0;
padding-top: 0;
}
.faq dd {
margin: var(--space-2) 0 var(--space-4);
max-width: var(--measure);
}