/*
Theme Name: Puerto
Template: generatepress
Description: Reiseportal Puerto de la Cruz und Teneriffa
Author: Lightweb Media GmbH
Version: 2.0.0
Requires at least: 6.9
Requires PHP: 8.2
Text Domain: puerto
*/

@font-face {
	font-family: Besley;
	src: url(assets/fonts/besley-latin-800-normal.woff2) format("woff2");
	font-weight: 800;
	font-display: optional; /* CLS 0; die Datei wird vorgeladen */
}

:root {
	--atlantik: #0d4f73;
	--orotava: #1f5c3d;
	--basalt: #23292d;
	--strelitzie: #f2a51a;
	--gischt: #edf3f4;
	--linie: #c5d2d5;
	--grau: #4d585d;
	--titel: Besley, Rockwell, "Roboto Slab", Georgia, serif;
	--schrift: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--rand: clamp(16px, 4vw, 48px);
	--breit: 1200px;
}

*, ::before, ::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: #fff; color: var(--basalt); font: 400 1.0625rem/1.65 var(--schrift); touch-action: manipulation; }
h1, h2, h3, h4 { font-family: var(--titel); font-weight: 800; line-height: 1.15; margin: 0; text-wrap: balance; overflow-wrap: break-word; letter-spacing: -.01em; }
h4 { font-family: inherit; letter-spacing: 0; }
p { margin: 0 0 1.1em; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--atlantik); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--atlantik); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
main:focus { outline: 0; box-shadow: none; }
.breite { max-width: calc(var(--breit) + 2 * var(--rand)); margin: 0 auto; padding: 48px var(--rand) 72px; }
.nur-vorlesen, .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprung { position: absolute; left: 16px; top: -80px; z-index: 20; background: var(--strelitzie); color: var(--basalt); padding: 12px 20px; font-weight: 700; }
.sprung:focus { top: 12px; }

/* Kopf */
.kopf { background: #fff; position: relative; z-index: 10; }
.kopf__innen { max-width: calc(var(--breit) + 2 * var(--rand)); margin: 0 auto; padding: 12px var(--rand); display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; }
.marke { display: flex; align-items: center; gap: 10px; color: var(--basalt); text-decoration: none; min-width: 0; flex: none; }
.marke__text { line-height: 1.15; }
.marke__ort { display: block; font: 800 1.1875rem/1.15 var(--titel); letter-spacing: -.01em; }
.marke__insel { font-size: .9375rem; color: var(--grau); }
.menue, .menue__unter { list-style: none; margin: 0; padding: 0; }
.menue a { color: var(--basalt); text-decoration: none; font-weight: 600; font-size: 1rem; }
.menue__auf { border: 0; background: none; color: inherit; cursor: pointer; padding: 0; }
.menue svg { fill: none; stroke: currentColor; stroke-width: 2; display: block; margin: auto; }
.menue__auf svg { transition: transform .15s ease-out; }
.menue__auf[aria-expanded=true] svg { transform: rotate(180deg); }
.menue-knopf { display: none; align-items: center; gap: 8px; border: 1px solid var(--basalt); border-radius: 4px; background: #fff; color: var(--basalt); font: 600 1rem/1 var(--schrift); padding: 8px 12px; min-height: 44px; cursor: pointer; }
.menue-knopf path { stroke: currentColor; stroke-width: 2; fill: none; transition: transform .18s ease-out, opacity .18s ease-out; transform-origin: 12px 12px; }
.menue-knopf[aria-expanded=true] .strich-a { transform: translateY(5px) rotate(45deg); }
.menue-knopf[aria-expanded=true] .strich-b { opacity: 0; }
.menue-knopf[aria-expanded=true] .strich-c { transform: translateY(-5px) rotate(-45deg); }
@media (min-width: 1120px) {
	.kopf__suche { display: none; }
	.menue { display: flex; align-items: center; gap: 4px 20px; }
	.menue__punkt { position: relative; display: flex; align-items: center; }
	.menue__punkt > a { padding: 10px 0; border-bottom: 3px solid transparent; white-space: nowrap; }
	.menue__punkt > a:hover { border-color: var(--linie); }
	.menue .ist-thema > a { border-color: var(--strelitzie); }
	.menue__auf { width: 28px; height: 44px; }
	.menue__auf:focus-visible { outline-offset: -3px; box-shadow: none; }
	.menue__suche a { display: grid; place-items: center; width: 44px; height: 44px; }
	.menue__unter { display: none; position: absolute; top: 100%; left: -18px; min-width: 248px; background: #fff; border: 1px solid var(--linie); border-top: 3px solid var(--strelitzie); padding: 8px 0; box-shadow: 0 12px 28px rgb(13 60 80 / .12); }
	.menue__punkt:nth-last-child(2) .menue__unter { left: auto; right: 0; }
	.menue__unter a { display: block; padding: 9px 18px; font-weight: 400; }
	.menue__unter a:hover, .menue__unter [aria-current] { background: var(--gischt); }
	.menue__auf[aria-expanded=true] + .menue__unter, html:not(.js) .menue__punkt:is(:hover, :focus-within) .menue__unter { display: block; }
}
@media (max-width: 1119px) {
	html { scroll-padding-top: 92px; }
	.kopf { position: sticky; top: 0; border-bottom: 1px solid var(--linie); }
	.kopf__innen { flex-wrap: wrap; gap: 12px; padding-block: 10px; }
	.marke img { width: 44px; height: 44px; }
	.js .menue-knopf { display: inline-flex; }
	.kopf__nav { width: 100%; }
	.js .kopf__nav { display: none; }
	.js .menue-knopf[aria-expanded=true] + .kopf__nav { display: block; max-height: calc(100dvh - 78px); overflow-y: auto; overscroll-behavior: contain; padding: 6px 4px 16px; }
	html:not(.js) .kopf { position: static; }
	.kopf__suche { padding: 4px 0 16px; }
	.menue__punkt { display: grid; grid-template-columns: minmax(0, 1fr) 48px; border-top: 1px solid var(--linie); }
	.menue__punkt > a { padding: 13px 0; font-size: 1.0625rem; }
	.menue .ist-thema > a { box-shadow: inset 0 -3px var(--strelitzie); justify-self: start; }
	.menue__auf { min-height: 48px; }
	.menue__unter { grid-column: 1 / -1; padding: 0 0 12px 16px; }
	.menue__unter a { display: block; padding: 10px 0; font-weight: 400; }
	.menue__unter [aria-current] { font-weight: 700; }
	.js .menue__unter { display: none; }
	.js .menue__auf[aria-expanded=true] + .menue__unter { display: block; }
	.menue__suche { display: none; }
}

/* Suche */
.suche label { display: block; font-weight: 600; font-size: 1rem; margin-bottom: 8px; }
.suche__zeile { display: flex; max-width: 480px; }
.suche input { flex: 1; min-width: 0; min-height: 48px; border: 1px solid var(--grau); border-right: 0; border-radius: 4px 0 0 4px; background: #fff; color: var(--basalt); font: inherit; padding: 0 14px; -webkit-appearance: none; appearance: none; }
.suche input::placeholder { color: var(--grau); opacity: 1; }
.suche button { min-height: 48px; border: 0; border-radius: 0 4px 4px 0; background: var(--orotava); color: #fff; font: 700 1rem/1 var(--schrift); padding: 0 20px; cursor: pointer; transition: background-color .15s; }
.suche button:hover { background: var(--basalt); }
.breite > .suche { margin-bottom: 40px; }

/* Startseite: Panorama läuft im Höhenprofil der Insel aus */
.buehne { max-width: 2400px; margin: 0 auto; }
.buehne__foto { position: relative; }
.buehne__bild { display: block; width: 100%; height: clamp(230px, 29vw, 400px); object-fit: cover; object-position: 35% 50%; }
.buehne__profil { position: relative; display: block; margin: calc(-1 * clamp(36px, 7vw, 104px) + 1px) 0 -1px; width: 100%; height: clamp(36px, 7vw, 104px); fill: #fff; }
.buehne__foto picture { display: block; }
.buehne__feld { max-width: calc(var(--breit) + 2 * var(--rand)); margin: 0 auto; padding: 12px var(--rand) 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: 24px 64px; align-items: end; }
.buehne h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.08; color: var(--orotava); max-width: 15em; }
.buehne__titel p { margin: 16px 0 0; font-size: 1.1875rem; line-height: 1.5; max-width: 34em; }
.planen { max-width: calc(var(--breit) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.planen ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--linie); }
.planen a { display: block; height: 100%; padding: 18px 16px 20px 0; color: inherit; text-decoration: none; line-height: 1.4; }
.planen li + li a { padding-left: 20px; border-left: 1px solid var(--linie); }
.planen b { display: block; font: 800 1.25rem/1.25 var(--titel); color: var(--atlantik); margin-bottom: 2px; }
.planen a:hover b { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--strelitzie); text-underline-offset: .2em; }
@media (max-width: 899px) {
	.buehne__feld { display: block; padding-bottom: 28px; }
	.buehne .suche { margin-top: 22px; }
	.planen ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.planen li:nth-child(even) a { padding-left: 16px; padding-right: 0; hyphens: auto; }
	.planen li:nth-child(odd) a { padding-left: 0; border-left: 0; }
	.planen li:nth-child(n+3) { border-top: 1px solid var(--linie); }
}
@media (max-width: 700px) { .buehne__bild { object-position: 60% 50%; } }

/* Gruppen: ein Aufmacher, zwei Zeilen, der Rest als Liste */
.gruppe { margin: 0 0 72px; }
.gruppe__kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 32px; margin-bottom: 24px; }
.gruppe__kopf h2, .weitere, .verwandt h2, .breite > h2 { font-size: clamp(1.5rem, 2.8vw, 2.125rem); }
.gruppe__alle { font-weight: 600; padding: 10px 0; }
.auswahl__karten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 28px 56px; align-items: start; }
.auswahl .karte--gross { grid-row: 1 / span 2; }
.gruppe--teneriffa .auswahl__karten { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); }
.gruppe--teneriffa .karte--gross { grid-column: 2; }
.linkliste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.auswahl .linkliste { margin-top: 32px; }
.linkliste li { border-top: 1px solid var(--linie); }
.linkliste a { display: block; height: 100%; padding: 12px 0; color: var(--basalt); text-decoration: none; line-height: 1.4; }
.linkliste a:hover, .regionen a:hover { color: var(--atlantik); text-decoration: underline; text-decoration-thickness: 2px; }
.orte { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 450px); gap: 32px 64px; align-items: center; }
.orte__karte { display: block; border-radius: 4px; }
.regionen { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.regionen h3 { font-size: 1.1875rem; color: var(--atlantik); padding-bottom: 6px; border-bottom: 1px solid var(--linie); }
.regionen ul { list-style: none; margin: 4px 0 0; padding: 0; }
.regionen a { display: block; padding: 6px 0; color: var(--basalt); text-decoration: none; line-height: 1.4; }
.start-text { padding-top: 28px; border-top: 1px solid var(--linie); max-width: none; }
@media (min-width: 1100px) {
	.start-text { display: grid; grid-template-columns: 340px minmax(0, 37rem); column-gap: 80px; }
	.start-text.start-text { max-width: none; }
	.start-text.start-text > * { grid-column: 2; min-width: 0; margin-top: 0; }
	.start-text.start-text > h2 { grid-column: 1; margin: 40px 0 0; }
	.start-text.start-text > h2 + * { margin-top: 44px; }
}
@media (max-width: 1023px) { .orte { grid-template-columns: 1fr; } .linkliste { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1199px) {
	.auswahl__karten, .gruppe--teneriffa .auswahl__karten { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; }
	.auswahl .karte--zeile .karte__innen { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; }
	.karte--zeile .karte__titel { hyphens: auto; }
}
@media (max-width: 899px) {
	.gruppe { margin-bottom: 52px; }
	.auswahl__karten, .gruppe--teneriffa .auswahl__karten { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 24px; }
	.auswahl .karte--gross, .gruppe--teneriffa .karte--gross { grid-row: auto; grid-column: auto; }
}
@media (max-width: 619px) { .linkliste { grid-template-columns: minmax(0, 1fr); } }

/* Karten */
.raster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.karte__innen { position: relative; }
.karte__bild { overflow: hidden; border-radius: 4px; background: var(--gischt); aspect-ratio: 4 / 3; }
.karte__bild .bild { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter .15s; }
.karte__innen:hover .bild { filter: brightness(.92); }
.karte__text { padding-top: 14px; }
.karte__titel { font-size: 1.1875rem; line-height: 1.25; }
.karte__titel a { color: var(--basalt); text-decoration: none; }
.karte__titel a::after { content: ""; position: absolute; inset: 0; }
.karte__innen:hover .karte__titel a { text-decoration: underline; text-decoration-color: var(--strelitzie); text-decoration-thickness: 3px; }
.karte__titel a:focus-visible { outline: 0; box-shadow: none; }
.karte__innen:has(:focus-visible) { outline: 3px solid var(--atlantik); outline-offset: 4px; }
.karte__text p { margin: 8px 0 0; font-size: 1rem; line-height: 1.5; color: var(--grau); }
.karte__text .karte__wort { font-size: .9375rem; font-weight: 600; color: var(--orotava); }
.karte--gross .karte__bild { aspect-ratio: 3 / 2; }
.karte--gross .karte__titel { font-size: clamp(1.375rem, 2.2vw, 1.75rem); }
.karte--gross .karte__text p { font-size: 1.0625rem; }
.karte--text .karte__innen { border-top: 4px solid var(--orotava); }
.karte--zeile .karte__innen { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 20px; align-items: start; }
.karte--zeile .karte__text { padding-top: 0; }
.karte--zeile.karte--text .karte__innen { display: block; border-top: 1px solid var(--linie); padding-top: 16px; }
.liste { list-style: none; margin: 0; padding: 0; max-width: 52rem; border-top: 1px solid var(--linie); }
.liste .karte__innen { border-bottom: 1px solid var(--linie); padding: 20px 0; grid-template-columns: minmax(0, 1fr) 120px; }
.liste .karte--text .karte__innen { border-top: 0; padding: 20px 0; }
.liste .karte__bild { grid-column: 2; grid-row: 1; }
.liste .karte__text { grid-column: 1; grid-row: 1; }
.weitere { margin-bottom: 20px; }
@media (max-width: 859px) { .raster { column-gap: 20px; } }
@media (max-width: 619px) {
	.raster { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.raster .karte__innen:has(.karte__bild) { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; }
	.raster .karte:not(.karte--text) .karte__text { padding-top: 0; }
	.karte--zeile .karte__innen { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; }
	.liste .karte__innen { grid-template-columns: minmax(0, 1fr) 96px; }
	.karte--zeile .karte__titel, .raster .karte__titel { font-size: 1.0625rem; }
}
@media (max-width: 379px) { .auswahl .karte--zeile .karte__innen, .raster .karte__innen:has(.karte__bild) { grid-template-columns: 88px minmax(0, 1fr); } }
.liste + nav { margin-top: 48px; }
.pagination .screen-reader-text { font-size: 1rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { min-width: 44px; min-height: 44px; padding: 8px 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--linie); border-radius: 4px; color: var(--basalt); text-decoration: none; font-weight: 600; }
.page-numbers.current { background: var(--basalt); border-color: var(--basalt); color: #fff; }
.page-numbers.dots { border-color: transparent; }
a.page-numbers:hover { border-color: var(--basalt); }

/* Kopf von Artikeln und Archiven */
.band { border-top: 6px solid var(--orotava); background: var(--gischt); }
.band__innen { max-width: calc(var(--breit) + 2 * var(--rand)); margin: 0 auto; padding: 22px var(--rand) 36px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px 56px; align-items: end; }
.band h1, .krumen { overflow-wrap: anywhere; }
.band h1 { font-size: clamp(1.875rem, 4vw, 3rem); line-height: 1.1; max-width: 17em; color: var(--orotava); }
.band p { margin: 16px 0 0; max-width: 37rem; }
.band .band__vorspann { font-size: 1.1875rem; line-height: 1.5; }
.krumen { font-size: .9375rem; margin-bottom: 18px; line-height: 1.75; color: var(--grau); }
.krumen a { display: inline-block; color: var(--atlantik); }
.band .geprueft { font-size: .9375rem; color: var(--grau); }
@media (min-width: 900px) { .band--bild:not(.band--breit) .band__innen { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); } }
.band__bild, .buehne__foto { margin: 0; }
.band__bild .bild { display: block; max-width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.band--breit .band__bild .bild { width: 100%; aspect-ratio: 16 / 9; }
.bildnachweis { font-size: .875rem; line-height: 1.4; color: var(--grau); margin-top: 8px; overflow-wrap: anywhere; }
.bildnachweis a { color: inherit; }
.buehne__foto .bildnachweis { max-width: calc(var(--breit) + 2 * var(--rand)); margin: 4px auto 8px; padding: 0 var(--rand); text-align: right; }
.fuss :focus-visible { outline-color: var(--strelitzie); box-shadow: none; }
@media (max-width: 899px) { .band__innen { padding-bottom: 28px; } }
@media (max-width: 699px) { .krumen { margin-bottom: 12px; } }

/* Text */
.artikel__innen { max-width: calc(var(--breit) + 2 * var(--rand)); margin: 0 auto; padding: 44px var(--rand) 72px; }
.text { max-width: 44rem; overflow-wrap: break-word; }
.text::after { content: ""; display: block; clear: both; }
.text > :is(p, ul, ol, h2, h3, h4, blockquote) { max-width: 37rem; }
.text h2 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); margin: 1.7em 0 .5em; clear: both; }
.text h3 { font-size: 1.1875rem; margin: 1.5em 0 .4em; }
.text h4 { font-size: 1.125rem; margin: 1.500em 0 .4em; }
.text > :first-child, .text > h2:first-child { margin-top: 0; }
.text ul, .text ol { padding-left: 1.300em; margin: 0 0 1.200em; }
.text li { margin-bottom: .35em; }
.text li::marker { color: var(--orotava); }
.text figure { margin: 0 0 1.500em; max-width: 100%; }
.text figcaption, .text .wp-caption-text { font-size: .9375rem !important; line-height: 1.4; color: var(--grau); margin: 8px 0 0; }
.text figcaption *, .wp-caption-text * { font-size: inherit !important; }
.text img { vertical-align: middle; border-radius: 4px; }
.text blockquote { margin: 0 0 1.200em; padding: 4px 0 4px 20px; border-left: 4px solid var(--strelitzie); }
.text iframe { max-width: 100%; }
.alignright { float: right; margin: 4px 0 20px 28px !important; }
.alignleft { float: left; margin: 4px 28px 20px 0 !important; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
@media (max-width: 719px) {
	.text img, .text figure, .text div { float: none !important; }
	.text img { padding: 0 !important; display: block; }
	.text figure { padding: 0 !important; }
	.alignright, .alignleft { margin: 0 0 20px !important; }
}
.tabelle { overflow-x: auto; margin: 0 0 1.500em; border-block: 2px solid var(--basalt); }
.tabelle table { border-collapse: collapse; width: 100%; font-size: 1rem; line-height: 1.45; }
.tabelle th, .tabelle td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--linie); }
.tabelle caption { text-align: left; font-size: 1rem; color: var(--grau); padding: 8px 0; }
.tabelle td { font-variant-numeric: tabular-nums; }
.tabelle thead th { border-bottom: 2px solid var(--basalt); }
.tabelle table:has(tr > :nth-child(3)) { min-width: 480px; }
.tabelle { background: linear-gradient(90deg, #fff 40%, transparent) 0 0 / 32px 100% no-repeat local, linear-gradient(270deg, #fff 40%, transparent) 100% 0 / 32px 100% no-repeat local, linear-gradient(90deg, rgb(0 0 0 / .16), transparent) 0 0 / 12px 100% no-repeat scroll, linear-gradient(270deg, rgb(0 0 0 / .16), transparent) 100% 0 / 12px 100% no-repeat scroll; }
.tabelle tbody tr:last-child > * { border-bottom: 0; }

/* Inhaltsverzeichnis */
.toc__liste, .toc__liste ol { list-style: none; margin: 0; padding: 0; }
.toc__liste ol { padding-left: 14px; }
.toc a { display: block; padding: 5px 0 5px 14px; color: var(--basalt); text-decoration: none; font-size: 1rem; line-height: 1.4; border-left: 4px solid transparent; }
.toc a:hover { text-decoration: underline; }
.toc [aria-current] { border-color: var(--strelitzie); font-weight: 700; }
.toc--klappe { border: 1px solid var(--linie); border-radius: 4px; margin: 0 0 28px; }
.toc--klappe summary { padding: 14px 18px; font-weight: 700; cursor: pointer; }
.toc--klappe nav { padding: 0 8px 14px; }
.toc--spalte { display: none; }
@media (min-width: 1100px) {
	.hat-toc { display: grid; grid-template-columns: minmax(0, 44rem) 300px; grid-template-rows: auto; justify-content: space-between; }
	.toc--klappe { display: none; }
	.toc--spalte { display: block; grid-column: 2; grid-row: 2; align-self: start; position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; padding: 4px 0 4px 8px; border-left: 1px solid var(--linie); }
	.hat-toc .text { grid-column: 1; grid-row: 2; }
	.hat-toc .eckdaten { grid-column: 1 / -1; grid-row: 1; }
	.toc__titel { font: 800 1.125rem/1.2 var(--titel); margin: 0 0 10px 18px; }
}
.verwandt { background: var(--gischt); }
.verwandt h2, .breite > h2 { margin-bottom: 24px; }
.verwandt .breite { padding-bottom: 40px; }

/* Eckdaten */
.eckdaten { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 24px; margin: 0 0 36px; border-block: 2px solid var(--basalt); padding: 6px 0; }
.eckdaten div { padding: 10px 0; }
.eckdaten dt { font-size: .9375rem; color: var(--grau); }
.eckdaten dd { margin: 2px 0 0; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }

/* Klappen: Quellen und Abschnitte der Startseite */
.klappe { max-width: 37rem; border-top: 1px solid var(--linie); clear: both; }
.klappe + .klappe { margin-top: 0; }
.klappe:last-child { border-bottom: 1px solid var(--linie); }
.klappe summary { display: flex; align-items: center; gap: 12px; padding: 14px 0; cursor: pointer; list-style: none; }
.klappe summary::-webkit-details-marker { display: none; }
.klappe summary::after { content: ""; width: 9px; height: 9px; margin: -4px 6px 0 auto; border: solid var(--atlantik); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .15s; }
.klappe[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.text .klappe summary h2 { margin: 0; font-size: 1.1875rem; }
.klappe summary:hover h2 { color: var(--atlantik); }
.klappe__zahl { color: var(--grau); font-size: 1rem; }
.quellen { margin-top: 40px; }
.quellen li { font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; }

/* Partnerkästen */
.knopf { display: inline-block; border: 0; border-radius: 4px; background: var(--basalt); color: #fff; font: 700 1.0625rem/1.3 var(--schrift); padding: 13px 22px; min-height: 48px; text-decoration: none; cursor: pointer; transition: background-color .15s; }
.knopf[hidden] { display: none; }
.knopf:hover { background: var(--atlantik); }
.lwm-angebot { clear: both; margin: 2em 0; padding: 22px 24px; border: 1px solid var(--linie); border-radius: 4px; }
.lwm-angebot p { margin: 0 0 12px; }
.lwm-angebot .lwm-titel { font: 800 1.25rem/1.3 var(--titel); }
.lwm-kennung { font-size: .9375rem; font-weight: 700; color: var(--grau); }
.lwm-angebot .lwm-provision { font-size: .9375rem; line-height: 1.45; color: var(--grau); margin: 0; }
.lwm-anzeige { font-size: .875em; color: var(--grau); white-space: nowrap; }

/* Fuß: Höhenprofil vom Meer zum Teide */
.fuss__profil { display: block; width: 100%; height: clamp(48px, 8vw, 120px); fill: var(--basalt); background: #fff; }
#page:has(.verwandt) + .site-footer .fuss__profil { background: var(--gischt); }
.fuss { background: var(--basalt); color: #fff; }
.fuss__innen { max-width: calc(var(--breit) + 2 * var(--rand)); margin: 0 auto; padding: 32px var(--rand) 40px; display: grid; grid-template-columns: minmax(240px, 1.7fr) 1.2fr 1fr 1.2fr 1fr; gap: 32px 40px; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss a { color: #fff; text-decoration-color: rgb(255 255 255 / .5); }
.fuss li a { display: inline-block; padding: 5px 0; font-size: 1rem; text-decoration: none; }
.fuss li a:hover { text-decoration: underline; }
.fuss .marke, .fuss .marke__insel { color: #fff; }
.fuss__marke p { margin: 16px 0 0; font-size: 1rem; line-height: 1.5; max-width: 24em; color: #d5dde0; }
.fuss__titel { font: 800 1.0625rem/1.2 var(--titel); margin: 0 0 8px; }
.fuss__ende { max-width: calc(var(--breit) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand) 32px; font-size: .9375rem; display: flex; flex-wrap: wrap; gap: 4px 32px; align-items: baseline; color: #d5dde0; }
.fuss__ende a { padding: 4px 0; color: inherit; }
@media (max-width: 1023px) { .fuss__innen { grid-template-columns: 1fr 1fr; } .fuss__marke { grid-column: 1 / -1; } }
@media (max-width: 699px) { .fuss li a { padding: 8px 0; } .artikel__innen { padding-top: 24px; } .breite { padding-top: 32px; } }
@media (max-width: 699px) { h1, h2, h3 { hyphens: auto; hyphenate-limit-chars: 14 5 5; } }

@media (prefers-reduced-motion: reduce) { *, ::before, ::after { transition: none !important; animation: none !important; } }
@media print { .kopf__nav, .menue-knopf, .toc, .verwandt, .fuss, .fuss__profil, .lwm-angebot { display: none !important; } .band { background: none; border: 0; } .kopf { position: static; } ::details-content { content-visibility: visible; display: block; } }
.text th > a, .text td > a:only-child { display: inline-block; padding-block: 3px; }
