/* Parkarena – Designsystem (WCAG 2.2 AA, Ausnahme: weisse Schrift auf Aquablau-CTAs) */

@font-face { font-family: "Urbanist"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/urbanist-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Urbanist"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/urbanist-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Urbanist"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/urbanist-latin-700-normal.woff2") format("woff2"); }

:root {
	--aqua: #07b7da;
	--aqua-text: #067a91; /* Aqua als Textfarbe: Kontrast 4.8:1 auf Weiss */
	--black: #3c3c3b;
	--white: #fcfcfc;
	--grey: #dbdbdb;
	--aqua-40: #d3e7f3;
	--aqua-20: #eaf3f9;
	--gutter: 5%;
	--rand: max(var(--gutter), calc((100% - 1280px) / 2)); /* Seitenrand bündig mit Inhalt (max. 1280px) */
	--section: clamp(64px, 9vw, 112px);
	--shadow: 0 8px 28px rgba(60, 60, 59, 0.16);
}

/* Basis */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Urbanist", system-ui, sans-serif; font-size: 18px; line-height: 1.6; color: var(--black); background: var(--white); }
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
p, ul, ol, dl, address, figure { margin: 0; }
address { font-style: normal; }
a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--aqua); }
:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; box-shadow: 0 0 0 3px var(--aqua); }
[id] { scroll-margin-top: 24px; }
[hidden] { display: none !important; }
.icon { flex: none; }

.skip { position: absolute; left: -10000px; top: 8px; z-index: 200; background: var(--black); color: #fff; padding: 12px 16px; font-weight: 600; }
.skip:focus { left: 8px; }

/* Typografie */
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 { margin: 0; font-weight: 700; overflow-wrap: break-word; }
.h1 { font-size: clamp(30px, 7vw, 56px); line-height: 1.2; }
.h2 { font-size: clamp(32px, 6vw, 48px); line-height: 1.2; }
.h3 { font-size: clamp(26px, 4.5vw, 32px); line-height: 1.3; }
.h4 { font-size: 24px; line-height: 1.4; }
.h5 { font-size: 20px; line-height: 1.4; }
.lead { font-weight: 600; }
.intro { font-size: clamp(20px, 2.4vw, 22px); line-height: 1.55; }

/* Layout */
.container, .container--sm { width: 100%; max-width: 1280px; margin-inline: auto; }
.container--sm { max-width: 768px; margin-inline: 0; }
main > .container--sm { margin-inline: auto; }
.section { padding: var(--section) var(--gutter); }
.section--blue { background: var(--aqua-20); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack--lg { gap: 24px; }
.stack--xl { gap: 40px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 48px 80px; align-items: start; }

/* Listen und Fliesstext */
.prose ul, .prose ol { padding-left: 24px; display: flex; flex-direction: column; gap: 6px; }

/* Buttons */
.buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 14px 24px; border: 1px solid var(--aqua); background: var(--aqua); color: #fff; font: inherit; font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--black); border-color: var(--black); color: #fff; }
.btn--outline { background: transparent; border-color: var(--black); color: var(--black); }
.btn--outline:hover { background: var(--grey); color: var(--black); }
.linkbutton { min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Header */
.site-header { position: relative; z-index: 50; background: var(--black); color: #fff; }
.site-header a { color: #fff; }
.site-header :focus-visible { outline-color: #fff; }
.site-header__bar { min-height: 96px; padding: 0 var(--rand); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.site-header__logo { display: flex; align-items: center; min-height: 44px; }
.site-header__logo img { height: 56px; width: auto; }
.site-header__right { display: flex; align-items: center; gap: 8px 32px; }
.nav-inline { display: flex; flex-wrap: wrap; gap: 0 28px; font-size: 18px; font-weight: 600; }
.nav-inline a, .menu a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.nav-inline a[aria-current], .menu a[aria-current] { text-decoration: underline; text-decoration-color: var(--aqua); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.burger { width: 48px; height: 48px; padding: 12px; border: 0; background: none; cursor: pointer; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.burger span { display: block; height: 2px; width: 24px; background: #fff; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.menu { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 97px); overflow-y: auto; padding: 16px var(--rand) 40px; background: var(--black); box-shadow: 0 16px 32px rgba(60, 60, 59, .16); display: flex; flex-direction: column; font-size: 24px; font-weight: 600; }
.menu a { min-height: 48px; }
.menu__sub { display: flex; flex-direction: column; padding-left: 20px; font-size: 18px; font-weight: 400; }
.menu__sub a { min-height: 44px; }
.nav-oben { display: flex; justify-content: flex-end; gap: 0 28px; padding: 0 var(--rand); background: #2b2b2a; font-size: 15px; }
.nav-oben a { display: flex; align-items: center; min-height: 40px; text-decoration: none; }
.nav-oben a:hover, .nav-oben a[aria-current] { text-decoration: underline; text-decoration-color: var(--aqua); text-underline-offset: 6px; }
@media (max-width: 1099px) { .nav-inline, .nav-oben { display: none !important; } } /* schmal: alles im aufklappbaren Menü */

/* Bilder und Medien */
.slider__toggle { position: absolute; z-index: 3; right: 16px; bottom: 16px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(60, 60, 59, .7); cursor: pointer; }
.slider__toggle:hover { background: var(--black); }
.slider__toggle::before { content: ""; width: 12px; height: 14px; border-inline: 4px solid #fff; } /* Pause: zwei Balken */
.slider__toggle.ist-angehalten::before { width: 0; height: 0; margin-left: 3px; border-block: 8px solid transparent; border-left: 13px solid #fff; border-right: 0; } /* Start: Dreieck */

/* Kontakt-CTA */
.cta { background: var(--aqua-20); }
.section--blue + .cta { border-top: 1px solid var(--grey); }

/* Downloads */
.downloads { display: flex; flex-direction: column; gap: 16px; }
.downloads__list { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.downloads__list a { display: inline-flex; align-items: center; gap: 12px; padding: 10px 0; }

/* Footer */
.site-footer { padding: 80px var(--gutter); font-size: 16px; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--black); }
.site-footer__kontakt { display: flex; flex-wrap: wrap; gap: 48px; font-size: 18px; }
.site-footer__kontakt .stack { gap: 0; }
.site-footer__kontakt a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer .plain { text-decoration: none; }
.site-footer__bottom { padding-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.site-footer__bottom nav a { display: inline-flex; align-items: center; min-height: 44px; }


/* Cookie-Banner */
.consent { position: fixed; right: 16px; bottom: 16px; z-index: 100; width: min(300px, calc(100vw - 32px)); padding: 16px; background: var(--white); border: 1px solid var(--grey); border-top: 4px solid var(--aqua); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.45; transition: opacity .35s ease, transform .35s ease; }
.consent.is-leaving { opacity: 0; transform: translateY(12px); }
.consent__buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.consent .btn { justify-content: center; min-height: 40px; padding: 6px 10px; font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Text aus dem Backend (Rich-Text) ---------- */
.prose > * { margin-block: 0; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: clamp(24px, 3.5vw, 28px); line-height: 1.3; }
.prose h3 { font-size: 20px; line-height: 1.4; }
.prose > h2 { margin-top: 40px; }
.prose > h3 { margin-top: 24px; }
.prose > :first-child { margin-top: 0; } /* Spalten beginnen bündig (Text links, Bild rechts) */
.prose a { overflow-wrap: anywhere; }

/* ---------- Parkarena: Seitenaufbau ---------- */
/* Seitenkopf: Text links, Bild rechts bis zum Rand (geteilte Fläche); ohne Bild nur der Text */
.kopf { display: grid; grid-template-columns: var(--rand) minmax(0, 1fr) var(--rand); }
.kopf__text { grid-column: 2; padding-top: var(--section); }
.kopf__text > .intro, .inhalt > .prose { max-width: 860px; }
.untertitel { margin-top: -12px; font-size: clamp(20px, 2.4vw, 30px); font-weight: 500; line-height: 1.3; color: var(--aqua-text); }
.kopf--bild { grid-template-columns: var(--rand) minmax(0, 1fr) 50%; background: #fff; }
.kopf--bild .kopf__text { align-self: center; padding: 56px 56px 56px 0; }
.kopf__bild { grid-column: 3; position: relative; display: grid; grid-template-rows: minmax(0, 1fr); min-height: clamp(420px, 44vw, 640px); background: var(--black); }
.kopf__bild img { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; }
/* Bildwechsel: das neue Bild blendet über dem alten ein; das alte verschwindet erst danach (kein Aufhellen dazwischen) */
.kopf__bild[data-slider] img { opacity: 0; transition: opacity 0s 1.4s; }
.kopf__bild[data-slider] img.is-aktiv { z-index: 1; opacity: 1; transition: opacity 1.4s ease-in-out; }
.kopf__bild[data-slider]:not([data-aktiv]) img:first-of-type { opacity: 1; } /* ohne JavaScript: erstes Bild */
.kopf:not(.kopf--bild) + .section { padding-top: 40px; }
/* Startseite: Bildfolge über die ganze Breite, Titel darauf */
.kopf--voll { grid-template-columns: var(--rand) minmax(0, 1fr) var(--rand); }
.kopf--voll .kopf__bild { grid-column: 1 / -1; grid-row: 1; min-height: clamp(460px, 66vh, 740px); }
.kopf--voll .kopf__bild::after { content: ""; grid-area: 1 / 1; z-index: 2; background: rgba(30, 30, 30, .45); pointer-events: none; } /* gleichmässig abgedunkelt, damit der Titel auf jedem Bild lesbar ist */
.kopf--voll .kopf__text { grid-column: 2; grid-row: 1; z-index: 3; align-self: end; padding: 72px 0; color: #fff; }
.kopf--voll .untertitel { color: #fff; }
.inhalt > .intro { max-width: 860px; }
@media (max-width: 899px) { /* schmal: Bild oben, Text darunter */
	.kopf--bild { grid-template-columns: var(--rand) minmax(0, 1fr) var(--rand); }
	.kopf__bild { grid-column: 1 / -1; grid-row: 1; min-height: 0; height: clamp(220px, 56vw, 380px); }
	.kopf--bild .kopf__text { padding: 40px 0 32px; }
	.kopf--bild + .section { padding-top: 40px; }
	.kopf--voll .kopf__bild { height: clamp(460px, 74vh, 620px); }
	.kopf--voll .kopf__text { padding: 32px 0 80px; }
}
.inhalt > *, .grid-2 > *, .grid-2 > .stack > * { min-width: 0; max-width: 100%; }
.inhalt > :is(h2, h3) + * { margin-top: -16px; } /* Überschrift näher an ihrem Inhalt */
.bild, .referenz__bild { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--aqua-40); }
.kontaktblock, .kasten { padding: 32px; background: var(--aqua-20); border-left: 4px solid var(--aqua); }
.kontaktblock { display: flex; flex-direction: column; gap: 20px; }
.kontaktblock > p { font-size: 20px; }
.kontaktblock address, .kontaktblock .zeiten { padding-top: 20px; border-top: 1px solid var(--aqua-40); font-size: inherit; }
.kontaktblock a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.kontaktblock .icon { margin-right: 10px; vertical-align: -3px; }

/* Bildwechsel oben (Startseite) */

/* Tabellen */
.tabelle__scroll { overflow-x: auto; border-top: 2px solid var(--aqua); }
.tabelle table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.4; }
.tabelle th, .tabelle td { padding: 12px 16px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--grey); }
.tabelle thead th { font-weight: 700; vertical-align: bottom; }
.tabelle tbody th { font-weight: 600; min-width: 180px; }
.tabelle td { white-space: nowrap; }
.preis { color: var(--aqua-text); font-weight: 700; }
.eckdaten { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding: 20px 24px; background: var(--aqua-20); border-left: 4px solid var(--aqua); }
.werte { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 0; }
.werte dt { font-size: 16px; }
.werte dd { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.3; }
.werte--raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 0 40px; border-top: 2px solid var(--aqua); }
.werte--raster > div { padding: 14px 0; border-bottom: 1px solid var(--grey); }
.site-header__cta { min-height: 44px; padding: 10px 18px; }
.site-header__cta:is(:hover, :focus, :active) { background: var(--aqua); border-color: var(--aqua); } /* bleibt blau, auch beim Überfahren und Klicken */
.h1, .h2 { hyphens: manual; overflow-wrap: break-word; } /* Überschriften nicht automatisch trennen */
@media (max-width: 599px) { .cta .btn { flex: 1 1 100%; justify-content: center; } }
@media (max-width: 599px) { .site-header__logo img { height: 46px; } .site-header__right { gap: 4px; } .site-header__cta { padding: 10px 14px; } }
@media (max-width: 379px) { .site-header__cta { display: none; } }

/* Raumangebote: eine Karte je Raum */
.raeume { padding: 0; list-style: none; display: grid; gap: 24px; }
@media (min-width: 560px) { .raeume { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .raeume { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.raum { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--grey); text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.raum:hover, .raum:focus-visible { border-color: var(--aqua); box-shadow: var(--shadow); }
.raum img, .raum__leer { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--aqua-40); }
.raum__text { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 20px; }
.raum__titel { font-size: 20px; font-weight: 600; line-height: 1.3; }
.raum .preis { font-size: 20px; }
.raum__daten { display: flex; flex-wrap: wrap; gap: 0 14px; white-space: nowrap; }
.raum__mehr { margin-top: auto; padding-top: 10px; font-weight: 600; }
.raum__mehr::after { content: " ›"; color: var(--aqua); }
.vergleich { border-block: 1px solid var(--grey); }
.vergleich summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; font-size: 20px; font-weight: 600; cursor: pointer; list-style: none; }
.vergleich summary::-webkit-details-marker { display: none; }
.vergleich summary::after { content: "+"; color: var(--aqua-text); font-size: 28px; font-weight: 400; }
.vergleich[open] summary::after { content: "–"; }
.vergleich .tabelle { padding-bottom: 24px; }

/* Arealplan mit nummerierten Punkten */
.plan { position: relative; }
.plan__punkt, .plan__legende b { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--black); color: #fff; font-size: 16px; font-weight: 700; }
.plan__punkt { position: absolute; transform: translate(-50%, -50%); box-shadow: 0 0 0 3px #fff; }
.plan__punkt span { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); padding: 8px 12px; background: var(--black); font-size: 15px; font-weight: 400; line-height: 1.4; white-space: nowrap; visibility: hidden; }
.plan__punkt:is(:hover, :focus) span { visibility: visible; }
.plan__legende { margin-top: 12px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 32px; }
.plan__legende li { display: flex; align-items: center; gap: 10px; }
@media (max-width: 599px) { .plan__punkt { width: 22px; height: 22px; font-size: 13px; box-shadow: 0 0 0 2px #fff; } }
.tabelle__hinweis { margin-top: 12px; padding: 0; list-style: none; font-size: 16px; }
@media (max-width: 820px) { /* schmale Spalte: jede Zeile als Karte, Spaltenname vor dem Wert */
	.tabelle thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.tabelle tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--grey); }
	.tabelle th, .tabelle td { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; border: 0; white-space: normal; text-align: right; }
	.tabelle tbody th { font-size: 18px; text-align: left; }
	.tabelle td::before { content: attr(data-label); font-weight: 400; text-align: left; }
}

/* Galerie und Grossansicht */
.galerie { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 767px) { .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.galerie a { display: block; }
.galerie img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--aqua-40); transition: opacity .2s; }
.galerie a:hover img { opacity: .85; }
.grid-2 .galerie { grid-template-columns: repeat(2, 1fr); }
.galerie:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } /* genau drei Bilder: eine Reihe */
@media (min-width: 600px) { .galerie:has(> li:nth-child(3):last-child) img { aspect-ratio: 3 / 2; } }
/* Hervorgehobenes PDF: Titelbild neben Titel */
.broschuere { display: flex; align-items: center; gap: clamp(16px, 4vw, 28px); padding: clamp(18px, 4vw, 28px); background: #fff; border: 1px solid var(--grey); text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.broschuere:hover { border-color: var(--aqua); box-shadow: var(--shadow); }
.broschuere img { flex: 0 0 auto; width: clamp(110px, 30%, 170px); aspect-ratio: 210 / 297; object-fit: cover; box-shadow: 0 6px 18px rgba(60, 60, 59, .25); }
.broschuere__text { min-width: 0; display: flex; flex-direction: column; gap: 14px; hyphens: auto; overflow-wrap: anywhere; }
.broschuere__mehr { display: inline-flex; align-items: center; gap: 8px; color: var(--aqua-text); font-weight: 600; }
.galerie.galerie--plan { grid-template-columns: 1fr; }
.galerie--plan img { aspect-ratio: auto; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 56px 8px 16px; border: 0; background: rgba(30, 30, 30, .94); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; gap: 8px; }
.lightbox::backdrop { background: transparent; }
.lightbox img { flex: 1 1 auto; min-width: 0; max-height: 100%; object-fit: contain; }
.lightbox button { flex: none; width: 48px; height: 48px; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font: inherit; font-size: 32px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: var(--aqua); }
.lightbox :focus-visible { outline-color: #fff; }
.lightbox__zu { position: absolute; top: 8px; right: 8px; }


/* Referenzen */
.referenz { padding-bottom: 48px; border-bottom: 1px solid var(--grey); }
.referenz:last-child { padding-bottom: 0; border-bottom: 0; }
.zitat { margin: 0; padding-left: 20px; border-left: 4px solid var(--aqua); font-size: 20px; font-weight: 600; line-height: 1.5; }
.zitat footer { margin-top: 8px; font-size: 16px; font-weight: 400; font-style: italic; }
/* Startseite: Kundenstimmen zum Durchblättern (seitlich schiebbar, Pfeile) */
.zitate__kopf { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.zitate__nav { flex: none; display: flex; gap: 8px; }
.zitate__nav button { width: 48px; height: 48px; border: 1px solid var(--black); border-radius: 50%; background: none; color: inherit; font: inherit; font-size: 26px; line-height: 1; cursor: pointer; transition: background .2s, color .2s; }
.zitate__nav button:hover { background: var(--black); color: #fff; }
.zitate__leiste { padding: 0; list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.zitate__leiste li { scroll-snap-align: start; display: flex; flex-direction: column; gap: 24px; padding: 32px; background: #fff; border: 1px solid var(--grey); border-top: 4px solid var(--aqua); }
.zitate__leiste li::before { content: "“"; height: 28px; color: var(--aqua); font-size: 72px; font-weight: 700; line-height: 1; }
.zitate__leiste blockquote { margin: 0; font-size: 18px; line-height: 1.6; }
.zitate__leiste p { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--grey); font-size: 16px; line-height: 1.5; }
.zitate__leiste p strong, .zitate__leiste p span { display: block; }
@media (max-width: 1023px) { .zitate__leiste { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 639px) { .zitate__leiste { grid-auto-columns: 88%; } .zitate__leiste li { padding: 24px; } }

/* Partner */
.partner { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.partner li { display: flex; }
.partner__box { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--white); border-top: 4px solid var(--aqua); font-size: 16px; line-height: 1.5; text-decoration: none; }
.partner__box:hover { box-shadow: var(--shadow); }
.partner__logo { height: 64px; width: auto; max-width: 100%; align-self: flex-start; object-fit: contain; }
.partner__mehr { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Anfrageformular (Fenster) */
.anfrage { width: min(720px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; background: var(--white); color: var(--black); box-shadow: var(--shadow); overflow: auto; }
.anfrage::backdrop { background: rgba(30, 30, 30, .6); }
.anfrage > form, .anfrage__danke { padding: 40px; }
.anfrage__zu:not(.btn) { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: none; color: inherit; font: inherit; font-size: 32px; line-height: 1; cursor: pointer; }
.anfrage__felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.anfrage__feld { display: flex; flex-direction: column; gap: 6px; font-size: 16px; font-weight: 600; }
.anfrage__feld--breit { grid-column: 1 / -1; }
.anfrage__feld :is(input, select, textarea) { width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid #8a8a89; border-radius: 0; background: #fff; color: inherit; font: inherit; font-size: 18px; font-weight: 400; }
.anfrage__feld :is(input, select, textarea):focus-visible { outline: 3px solid var(--aqua); outline-offset: 0; border-color: var(--aqua-text); }
.anfrage__check { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; }
.anfrage__check input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--aqua-text); }
.anfrage__falle { position: absolute; left: -9999px; } /* Spamschutz: für Menschen unsichtbar */
.anfrage__meldung { padding: 12px 16px; background: #fdecec; border-left: 4px solid #b32d2e; }
@media (max-width: 599px) { .anfrage > form, .anfrage__danke { padding: 32px 20px 24px; } .anfrage__felder { grid-template-columns: 1fr; } }
