/* Was theme.json nicht ausdrücken kann: Abstände, Schichtsäule, Karten, Tabelle. */
:root { --ge-gutter: clamp(16px, 4vw, 56px); --ge-section: clamp(40px, 6vw, 80px); }

.ge-section { padding: var(--ge-section) var(--ge-gutter); }
.ge-section--eng { padding-block: 32px 20px; }
.ge-section--weiss { background: var(--wp--preset--color--weiss); border-block: 1px solid var(--wp--preset--color--linie); }
.ge-section--dunkel { background: var(--wp--preset--color--basalt); color: #FFFFFF; }
.ge-section--sandstein { background: var(--wp--preset--color--sandstein); padding-bottom: 32px; margin-bottom: 32px; }
.ge-mono { font-family: var(--wp--preset--font-family--plex-mono); font-size: 13px; color: var(--wp--preset--color--schiefer); }
.ge-lead { font-size: 20px; max-width: 34em; }
.ge-section h2:not(:first-child) { margin-top: 40px; }

:focus-visible { outline: 3px solid var(--wp--preset--color--radiolarit); outline-offset: 2px; }

/* Kopf */
.ge-header { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding: 18px var(--ge-gutter); border-bottom: 1px solid var(--wp--preset--color--linie); }
.ge-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 22px; font-stretch: 125%; letter-spacing: -0.01em; }
.ge-logo__mark { display: grid; gap: 2px; width: 26px; }
.ge-logo__mark span { height: 5px; }
.ge-header .wp-block-navigation { flex: 1 1 420px; font-weight: 500; }
.ge-header .wp-block-navigation a { padding-block: 10px; text-decoration: none; }
.ge-header .wp-block-navigation a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.ge-sprachen { display: flex; gap: 12px; font-family: var(--wp--preset--font-family--plex-mono); font-size: 14px; }
.ge-sprachen a { padding: 10px 2px; color: var(--wp--preset--color--schiefer); }
.ge-sprachen a[aria-current] { font-weight: 500; color: var(--wp--preset--color--tinte); }

/* Startseite */
.ge-hero { margin: 0; gap: 0 !important; }
.ge-hero__text { padding: clamp(40px, 7vw, 96px) var(--ge-gutter); align-self: center; }
.ge-hero__text h1 { font-size: clamp(44px, 6vw, 84px); line-height: 1.02; letter-spacing: -0.02em; }
.ge-hero__bild { margin: 0; align-self: stretch; min-height: 320px; }
.ge-hero__bild .wp-block-image, .ge-hero__bild img { margin: 0; width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.ge-hero .wp-block-search { max-width: 620px; }
.ge-hero .wp-block-search__input { min-height: 52px; padding: 0 16px; border: 2px solid var(--wp--preset--color--tinte); font: inherit; background: #FFFFFF; }
.ge-hero .wp-block-search__button { min-height: 52px; padding: 0 26px; border: 0; background: var(--wp--preset--color--radiolarit); color: #FFFFFF; }
.ge-baender { display: grid; grid-template-rows: 10px 4px 16px 6px 12px; }
.ge-baender span:nth-child(1) { background: #2E3A40; }
.ge-baender span:nth-child(2) { background: #B98A45; }
.ge-baender span:nth-child(3) { background: #A63D2F; }
.ge-baender span:nth-child(4) { background: #C9B48A; }
.ge-baender span:nth-child(5) { background: #8FC1D4; }
.ge-einstieg > .wp-block-column { border-top: 3px solid var(--wp--preset--color--tinte); padding-top: 16px; }
.ge-einstieg ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ge-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ge-chips a { padding: 10px 14px; border: 1px solid var(--wp--preset--color--tinte); text-decoration: none; }

.ge-schichten { display: grid; }
.ge-schichten a { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-inline: 20px; text-decoration: none; }
.ge-schichten a:hover { filter: brightness(1.08); }
.ge-schichten strong { font-size: 20px; font-weight: 600; }

.ge-pakete { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 32px; }
.ge-pakete img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.ge-pakete .ge-mono { margin: 14px 0 4px; }
.ge-pakete h3 { margin: 0 0 8px; }

.ge-orte { margin: 0; gap: 0 !important; }
.ge-orte__text { padding: var(--ge-section) var(--ge-gutter); align-self: center; }
.ge-orte .wp-block-image, .ge-orte img { margin: 0; width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }

/* Filter */
.ge-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 16px; }
.ge-filter { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; box-sizing: border-box; border: 1px solid var(--wp--preset--color--tinte); background: #FFFFFF; color: var(--wp--preset--color--tinte); text-decoration: none; }
.ge-filter[aria-current] { background: var(--wp--preset--color--tinte); color: #FFFFFF; }

/* Tabelle */
.ge-table-wrap { overflow-x: auto; background: #FFFFFF; border: 1px solid var(--wp--preset--color--linie); }
.ge-table { width: 100%; min-width: 980px; border-collapse: collapse; text-align: left; }
.ge-table th, .ge-table td { padding: 14px 16px; }
.ge-table thead { background: var(--wp--preset--color--tinte); color: #FFFFFF; }
.ge-table thead th { font-weight: 600; }
.ge-table tbody tr { border-top: 1px solid var(--wp--preset--color--linie); }
.ge-table tbody th { font-weight: 600; }

/* Karte */
.ge-karte { display: flex; flex-wrap: wrap; gap: 20px; }
.ge-karte__map { flex: 999 1 560px; min-width: 0; min-height: min(70vh, 640px); border: 1px solid var(--wp--preset--color--linie); }
.ge-karte__liste { flex: 1 1 320px; min-width: 0; background: #FFFFFF; border: 1px solid var(--wp--preset--color--linie); }
.ge-karte__liste h2 { margin: 0; padding: 14px 16px; font-size: 20px; font-stretch: 100%; border-bottom: 1px solid var(--wp--preset--color--linie); }
.ge-karte__liste ul { margin: 0; padding: 0; list-style: none; max-height: 640px; overflow-y: auto; }
.ge-karte__liste li { display: flex; gap: 12px; align-items: baseline; padding: 12px 16px; border-bottom: 1px solid #E6E8E4; }
.ge-karte__liste a { font-weight: 600; }
.ge-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--wp--preset--color--basalt); }
.ge-karte a:focus-visible { outline-offset: 0; }

/* Karten */
.ge-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 20px; margin-block: 20px; }
.ge-card { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; background: #FFFFFF; border: 1px solid var(--wp--preset--color--linie); border-top: 8px solid var(--wp--preset--color--linie); }
.ge-card > * { margin: 0; }
.ge-card h3 a { text-decoration: none; }
.ge-card dl { margin-top: auto; display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; padding-top: 10px; border-top: 1px solid #E6E8E4; font-size: 15px; }
.ge-card dt { color: var(--wp--preset--color--schiefer); }
.ge-card dd { margin: 0; }
.ge-card--dok { padding: 0 0 16px; border-top-width: 1px; }
.ge-card--dok > h3, .ge-card--dok > p { padding-inline: 16px; }
.ge-card--dok img { width: 100%; height: 170px; object-fit: contain; display: block; background: #FFFFFF; border-bottom: 1px solid #E6E8E4; }
.ge-vorschau { height: 130px; background: var(--wp--preset--color--basalt); }
.ge-button, .ge-button:hover { display: inline-block; padding: 12px 18px; background: var(--wp--preset--color--tinte); color: #FFFFFF; text-decoration: none; font-weight: 600; }
.ge-button:hover { background: var(--wp--preset--color--radiolarit); }
.ge-links { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 12px 32px; }
.ge-links li { padding: 12px 0; border-top: 1px solid var(--wp--preset--color--tinte); }
.ge-kopf { padding: clamp(40px, 6vw, 80px) var(--ge-gutter); }
.ge-kopf .ge-mono { color: inherit; margin: 0 0 14px; font-size: 14px; }
.ge-kopf h1 { margin: 0 0 18px; color: inherit; }
.ge-kopf .ge-lead { margin: 0; }

/* Einzelseite */
.ge-details { display: grid; grid-template-columns: minmax(0, 200px) 1fr; gap: 6px 20px; padding: 16px 0; border-block: 1px solid var(--wp--preset--color--linie); }
.ge-details dt { color: var(--wp--preset--color--schiefer); }
.ge-details dd { margin: 0; overflow-wrap: anywhere; }

/* Fuss */
.ge-footer { padding: 40px var(--ge-gutter); background: var(--wp--preset--color--tinte); color: var(--wp--preset--color--kalk); }
.ge-footer p { margin: 0 0 8px; max-width: 46em; }
.ge-footer p + p { color: var(--wp--preset--color--linie); }
.ge-footer a { color: inherit; }

/* Zahlen, Hinweise, Einzelseiten */
.ge-zahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: var(--wp--preset--color--basalt); }
.ge-zahlen a { display: flex; flex-direction: column; padding: 22px var(--ge-gutter); color: #FFFFFF; text-decoration: none; }
.ge-zahlen a:hover { background: var(--wp--preset--color--tinte); color: #FFFFFF; }
.ge-zahlen strong { font-size: 40px; line-height: 1.1; font-weight: 800; font-stretch: 125%; }
.ge-hinweis { max-width: 46em; margin-top: 16px; padding: 14px 18px; background: #FFFFFF; border-left: 6px solid var(--wp--preset--color--sandstein); }
.ge-hinweis h2 { margin: 0 0 4px; font-size: 20px; font-stretch: 100%; }
.ge-hinweis p { margin: 0; }
.ge-kopf a { color: inherit; }
.ge-kopf .ge-lead + .ge-lead { margin-top: 12px; max-width: 40em; font-size: 18px; }
.ge-grossvorschau { max-width: 520px; margin-block: 16px; border: 1px solid var(--wp--preset--color--linie); background: #FFFFFF; }
.ge-grossvorschau img { display: block; width: 100%; height: auto; }
.ge-card--dok > p:not(.ge-mono) { font-size: 15px; }
.ge-section .ge-filters + .ge-filters { margin-top: -8px; }
/* Raster und Einblick */
.ge-table { min-width: 1160px; }
.ge-raster { display: inline-flex; gap: 4px; align-items: flex-end; }
.ge-raster__wert { display: grid; gap: 2px; width: 12px; }
.ge-raster__wert i { display: block; height: 5px; background: #E6E8E4; }
.ge-raster__wert[data-wert="1"] i:nth-of-type(3), .ge-raster__wert[data-wert="2"] i:nth-of-type(n+2), .ge-raster__wert[data-wert="3"] i { background: var(--wp--preset--color--radiolarit); }
.ge-raster--gross { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-block: 8px 12px; }
.ge-raster--gross .ge-raster__wert { width: 96px; gap: 3px; }
.ge-raster--gross .ge-raster__wert b { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.ge-raster--gross .ge-raster__wert i { height: 8px; }
.ge-legende { margin-top: 14px; max-width: 46em; font-size: 15px; }
.ge-legende summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.ge-legende ol { padding-left: 20px; }
.ge-galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 12px; margin-block: 12px 6px; }
.ge-galerie a { display: block; border: 1px solid var(--wp--preset--color--linie); background: #FFFFFF; }
.ge-galerie img { display: block; width: 100%; height: 190px; object-fit: cover; object-position: top; }
/* Materialien, Listenbilder, Ebenen */
.ge-card__bild { margin: -18px -20px 6px; height: 170px; overflow: hidden; background: #FFFFFF; border-bottom: 1px solid #E6E8E4; }
.ge-card__bild img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ge-card--lit .ge-card__bild img { object-fit: contain; object-position: center; }
.ge-kachel { background-image: linear-gradient(transparent 62%, rgba(255,255,255,.28) 62% 68%, transparent 68% 80%, rgba(0,0,0,.18) 80% 86%, transparent 86%); }
.ge-card__aktion { margin-top: auto; }
.ge-liste__text { flex: 1; min-width: 0; }
.ge-liste__bild { flex: none; width: 72px; height: 54px; object-fit: cover; }
.ge-ebene { margin: 0 0 12px; font-size: 15px; }