/* Real Smart Home und perfect fIT solutions
   Eine Designsprache für die ganze Seite: die von Loxone (Lookbook 2026).
   Warmes Fast-Schwarz, Weiß, helles Grau und das Loxone-Grün als einziger
   Akzent; eckige Formen, Etiketten mit grünem Quadrat, leichte große Überschriften.
   Das Grün steht nur als Fläche mit dunkler Schrift oder als Schrift auf
   dunklem Grund - auf Weiß ist es als Schrift nicht lesbar. Das Logo im Kopf
   behält seine eigenen Farben. Keine fremden Schriften: die Systemschrift lädt
   nichts nach und verrät niemandem den Besuch. */

:root {
	--text: #1c1610;          /* = Loxone-Dunkel, auch für dunkle Flächen */
	--leise: #5e5750;
	--linie: #dedbd6;
	--flaeche: #ffffff;
	--grund: #f1f1ef;
	--lox-dunkel: #1c1610;
	--lox-gruen: #8cff70;
	--lox-grau: #e1e4e6;
	--lox-schwarz: #231f20;
	--lox-leise: #cfc9c2;     /* Fließtext auf dunklem Grund */
	--lox-linie: rgb(255 255 255 / .16);
	--breite: 1160px;
	--schatten: 0 18px 44px rgb(28 22 16 / .14);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body {
	margin: 0; background: var(--flaeche); color: var(--text);
	font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { background: var(--lox-gruen); color: var(--lox-dunkel); text-decoration: none; }
/* Fokus zweifarbig: auf hellem wie auf dunklem Grund zu sehen */
:focus-visible { outline: 3px solid var(--lox-dunkel); outline-offset: 2px; box-shadow: 0 0 0 6px var(--lox-gruen); }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.3rem); font-weight: 500; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.3rem); font-weight: 500; letter-spacing: -.02em; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
h4 { font-size: 1.05rem; font-weight: 600; }
h1, h2 { overflow-wrap: break-word; }
p, ul, ol { margin: 0 0 1em; }
ul { padding-left: 1.3em; }
li + li { margin-top: .25em; }
strong { font-weight: 650; }

.nur-vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprung { position: absolute; left: -999px; top: .5rem; background: var(--lox-dunkel); color: #fff;
	padding: .5rem 1rem; z-index: 50; }
.sprung:focus { left: .5rem; }

/* ---- Kopf ---------------------------------------------------------------- */
.kopf { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / .95);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--linie); }
.kopf-innen { max-width: var(--breite); margin: 0 auto; padding: .7rem 1.25rem;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.marke:hover { background: transparent; }
.marke img { width: 250px; height: auto; }
.menue ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .15rem; }
.menue li + li { margin: 0; }
.menue a { display: block; padding: .5rem .75rem; color: var(--text); text-decoration: none;
	font-weight: 600; font-size: .98rem; }
.menue a:hover { background: var(--grund); }
.menue a[aria-current="page"] { background: var(--lox-gruen); color: var(--lox-dunkel); }
.menue-knopf { display: none; }

/* Schmal: ein Knopf klappt das Menü auf. Den Knopf zeigt erst seite.js - ohne
   Skript steht das Menü einfach unter dem Logo. */
@media (max-width: 920px) {
	.kopf-innen { flex-wrap: wrap; }
	.marke img { width: 200px; }
	.menue { flex-basis: 100%; }
	.js .menue-knopf { display: flex; align-items: center; gap: .5rem; font: inherit; font-weight: 600;
		cursor: pointer; padding: .5rem .95rem; border: 1px solid var(--text); background: #fff; color: var(--text); }
	.js .menue-knopf::before { content: ""; width: 18px; height: 12px;
		background: linear-gradient(var(--text) 0 0) top / 100% 2px no-repeat,
		            linear-gradient(var(--text) 0 0) center / 100% 2px no-repeat,
		            linear-gradient(var(--text) 0 0) bottom / 100% 2px no-repeat; }
	.js .menue:not(.offen) { display: none; }
	.menue ul { flex-direction: column; padding: .3rem 0 .6rem; }
	.menue a { padding: .75rem .9rem; font-size: 1.05rem; }
}

/* ---- Abschnitte ------------------------------------------------------------ */
.abschnitt { padding: clamp(2.8rem, 2rem + 3.5vw, 5rem) 1.25rem; }
.abschnitt.grau { background: var(--grund); }
.innen { max-width: var(--breite); margin: 0 auto; }
.schmal { max-width: 760px; margin: 0 auto; }
.einleitung { font-size: 1.18rem; color: var(--leise); max-width: 46rem; }

/* Etiketten: die Oberzeile jeder Überschrift und die kleinen Kennzeichen
   (Funktion, Projektart, Tageszeit) - Großbuchstaben, davor ein grünes Quadrat */
.oberzeile, .lox-etikett, .jahr, .tageslauf .zeit, .ref h4 { display: inline-flex; align-items: center; gap: .65em;
	font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.3;
	color: var(--text); }
.oberzeile::before, .lox-etikett::before, .jahr::before, .tageslauf .zeit::before, .ref h4::before {
	content: ""; flex: none; width: .7em; height: .7em; background: var(--lox-gruen);
	box-shadow: inset 0 0 0 1px rgb(28 22 16 / .18); }
.oberzeile { margin-bottom: .9rem; }
.lox-etikett { font-size: .72rem; margin-bottom: .6rem; }
.lox-etikett + h2, .oberzeile + h2 { margin-top: .1rem; }

/* ---- Dunkle Flächen ----------------------------------------------------------
   Seitenköpfe, die Bühne der Startseite und Loxone-Abschnitte: dunkler Grund,
   weiße Überschriften, Grün als Akzent. */
.lox, .seitenkopf, .buehne, .abschnitt.gruen {
	background: var(--lox-dunkel); color: #fff; position: relative; overflow: hidden; }
:is(.lox, .seitenkopf, .buehne, .abschnitt.gruen) :is(h1, h2, h3, h4) { color: #fff; }
:is(.lox, .seitenkopf, .buehne, .abschnitt.gruen) :is(p, li) { color: var(--lox-leise); }
:is(.lox, .seitenkopf, .buehne, .abschnitt.gruen) .einleitung { color: var(--lox-leise); }
:is(.lox, .seitenkopf, .buehne, .abschnitt.gruen) :is(.oberzeile, .lox-etikett) { color: var(--lox-gruen); }
:is(.lox, .seitenkopf, .buehne, .abschnitt.gruen) a:not(.knopf) { color: #fff; }
:is(.lox, .seitenkopf, .buehne, .abschnitt.gruen) a:not(.knopf):hover { color: var(--lox-dunkel); }
:is(.lox, .seitenkopf, .buehne, .abschnitt.gruen) .bildquelle { color: var(--lox-leise); }
:is(.lox, .seitenkopf, .buehne, .abschnitt.gruen) .vorteil { background: transparent; border-color: var(--lox-linie); }
:is(.lox, .seitenkopf, .buehne, .abschnitt.gruen) .knopf.rand { border-color: rgb(255 255 255 / .7); color: #fff; }
:is(.lox, .seitenkopf, .buehne, .abschnitt.gruen) .knopf.rand:hover { border-color: var(--lox-gruen); color: var(--lox-gruen); background: transparent; }

/* Seitenkopf der Unterseiten */
.seitenkopf { padding: clamp(3rem, 2rem + 4vw, 5rem) 1.25rem clamp(2.5rem, 2rem + 3vw, 4rem); }
.seitenkopf h1 { margin-bottom: .35em; }
.seitenkopf .einleitung { margin-bottom: 0; }

/* Startseite oben */
.buehne { padding: clamp(3rem, 2rem + 5vw, 6rem) 1.25rem clamp(2.5rem, 2rem + 3vw, 4rem); }
.buehne > .innen:first-child { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.buehne h1 span { color: var(--lox-gruen); }
.buehne-foto { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 22px 50px rgb(0 0 0 / .3); }
@media (max-width: 860px) {
	.buehne > .innen:first-child { grid-template-columns: 1fr; gap: 1.8rem; }
}
/* Quellenangabe: immer der Hersteller, klein unter dem Bild */
.foto-mit-quelle { margin: 0; }
.bildquelle { font-size: .78rem; color: var(--leise); margin: .55rem 0 0; }
.foto-mit-quelle .bildquelle { text-align: right; }
/* Zahlen unter der Bühne: was belegt ist, kurz und groß */
.fakten { list-style: none; padding: 0; margin-top: clamp(2.2rem, 1.5rem + 2vw, 3.2rem); display: grid;
	grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--lox-linie); }
.fakten li { margin: 0; padding: 1.1rem 1.2rem 0 0; font-size: .95rem; line-height: 1.35; }
.fakten strong { display: block; color: #fff; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 500;
	letter-spacing: -.02em; line-height: 1.15; margin-bottom: .2rem; }
@media (max-width: 860px) { .fakten { grid-template-columns: repeat(2, 1fr); row-gap: 1rem; } }

/* ---- Knöpfe ----------------------------------------------------------------- */
.knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
	padding: .8rem 1.35rem; font-weight: 700; text-decoration: none; line-height: 1.2;
	background: var(--lox-gruen); color: var(--lox-dunkel); border: 2px solid var(--lox-gruen); }
.knopf:hover { background: var(--lox-dunkel); border-color: var(--lox-dunkel); color: #fff; }
:is(.lox, .seitenkopf, .buehne, .abschnitt.gruen, .fuss) .knopf:not(.rand):hover { background: #fff; border-color: #fff; color: var(--lox-dunkel); }
.knopf.rand { background: transparent; color: var(--text); border-color: var(--text); }
.knopf.rand:hover { background: var(--text); color: #fff; }

/* ---- Raster und Karten ------------------------------------------------------ */
.raster { display: grid; gap: 1.5rem; }
.raster.zwei { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.raster.drei { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .raster.drei { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .raster.drei { grid-template-columns: 1fr; } }
.raster.vier { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.karte { background: var(--flaeche); border: 1px solid var(--linie); padding: 1.6rem;
	display: flex; flex-direction: column; }
.karte > :last-child { margin-bottom: 0; }
.karte .knoepfe { margin-top: auto; padding-top: 1rem; }
.karte-bild { margin: -1.6rem -1.6rem 1.4rem; overflow: hidden; aspect-ratio: 16 / 9; background: #fff;
	display: grid; place-items: center; }
.karte-bild img { width: 100%; height: 100%; object-fit: cover; }
.karte-bild.logo img { object-fit: contain; padding: 1.5rem 2.5rem; }
/* Loxone-Wortmarke auf grüner Fläche (Karte auf der Startseite) */
.karte-bild.lox-flaeche { background: var(--lox-gruen); }
.karte-bild.lox-flaeche .loxone-marke { width: 52%; color: var(--lox-schwarz); }
/* Karte als ganzer Verweis */
a.karte.verweis { text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; }
a.karte.verweis:hover { background: var(--flaeche); transform: translateY(-3px); box-shadow: var(--schatten); }
a.karte.verweis h3 { font-size: 1.15rem; margin-bottom: .4em; }
a.karte.verweis p { color: var(--leise); }
a.karte.verweis .weiter { margin-top: auto; font-weight: 700; align-self: flex-start;
	border-bottom: 3px solid var(--lox-gruen); }
a.karte.verweis .weiter::after { content: " →"; }

/* Vorteile: Kacheln mit grünem Strich */
.vorteil { padding: 1.4rem; background: var(--flaeche); border: 1px solid var(--linie); }
.vorteil h3 { font-size: 1.1rem; margin-bottom: .4em; }
.vorteil h3::before { content: ""; display: block; width: 2.4rem; height: 4px; background: var(--lox-gruen);
	margin-bottom: .9rem; }
.vorteil p { margin: 0; color: var(--leise); }

/* Kundenstimme */
.stimme { max-width: 46rem; margin: 0 auto; text-align: center; }
.stimme blockquote { margin: 0 0 1rem; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); line-height: 1.4;
	font-weight: 500; letter-spacing: -.01em; color: var(--text); }
.stimme blockquote::before { content: "„"; }
.stimme blockquote::after { content: "“"; }
.stimme figcaption { color: var(--leise); }
.raster + .stimme { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }

/* Textseiten */
.text h2 { margin-top: 1.6em; }
.text h2:first-child, .text h3:first-child { margin-top: 0; }
.text h3 { margin-top: 1.4em; }
.text .bild-rechts { float: right; width: min(42%, 320px); margin: .3rem 0 1rem 1.6rem; }
@media (max-width: 640px) { .text .bild-rechts { float: none; width: 100%; margin: 0 0 1.2rem; } }
.hinweis { background: var(--lox-gruen); color: var(--lox-dunkel); padding: 1rem 1.2rem; margin: 1.5rem 0; }
.hinweis > :last-child { margin-bottom: 0; }

/* Partner / Logos */
.partner { display: grid; grid-template-columns: 180px 1fr; gap: 1.5rem; align-items: start;
	padding: 1.5rem 0; border-top: 1px solid var(--linie); }
.partner:first-of-type { border-top: 0; }
.partner .logo { background: #fff; border: 1px solid var(--linie); padding: .6rem; }
.partner .logo:hover { background: #fff; border-color: var(--text); }
@media (max-width: 640px) { .partner { grid-template-columns: 1fr; } .partner .logo { max-width: 200px; } }

/* ---- Startseite: Lichtszenen, Tageslauf, Ablauf ---------------------------- */
.szene-raster { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2.5rem; align-items: center; }
@media (max-width: 860px) { .szene-raster { grid-template-columns: 1fr; gap: 1.5rem; } }
.szene { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #111; box-shadow: var(--schatten); }
.szene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
	transition: opacity .6s ease; }
.szene img.an { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .szene img { transition: none; } }
.szene-knoepfe[hidden] { display: none; }
.szene-knoepfe { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 1rem; }
.szene-knoepfe button { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .95rem;
	border: 1px solid var(--text); background: var(--flaeche); color: var(--text);
	font: inherit; font-weight: 600; cursor: pointer; }
.szene-knoepfe button:hover { background: var(--grund); }
.szene-knoepfe button[aria-pressed="true"] { background: var(--lox-gruen); border-color: var(--lox-gruen); }
.szene-knoepfe i { width: .95rem; height: .95rem; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .2); }
.klein-leise { font-size: .92rem; color: var(--leise); }

.tageslauf { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 1px;
	grid-template-columns: repeat(3, 1fr); background: var(--linie); border: 1px solid var(--linie); }
.tageslauf li { margin: 0; padding: 1.5rem 1.4rem; background: var(--flaeche); }
.tageslauf .zeit { margin-bottom: .6rem; }
.tageslauf h3 { font-size: 1.12rem; margin-bottom: .4em; }
.tageslauf p { margin: 0; color: var(--leise); }
@media (max-width: 980px) { .tageslauf { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tageslauf { grid-template-columns: 1fr; } }

.schritte { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 1.2rem;
	grid-template-columns: repeat(4, 1fr); counter-reset: schritt; }
.schritte li { margin: 0; padding: 1.4rem 1.3rem 1.3rem; background: var(--grund); counter-increment: schritt; }
.schritte li::before { content: counter(schritt); display: grid; place-items: center; width: 2.3rem; height: 2.3rem;
	background: var(--lox-gruen); color: var(--lox-dunkel); font-weight: 700; margin-bottom: .9rem; }
.schritte h3 { font-size: 1.1rem; margin-bottom: .4em; }
.schritte p { margin: 0; color: var(--leise); }
@media (max-width: 980px) { .schritte { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .schritte { grid-template-columns: 1fr; } }

/* ---- Smart Home: Funktionen mit Produktbild -------------------------------- */
.funktionen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 1.8rem;
	background: var(--linie); border: 1px solid var(--linie); }
.funktionen article { display: grid; grid-template-columns: 84px 1fr; gap: 1rem; align-items: start;
	padding: 1.3rem; background: var(--flaeche); }
.funktionen img { width: 84px; height: 84px; object-fit: contain; background: #fff; }
.funktionen h3 { font-size: 1.1rem; margin-bottom: .35em; }
.funktionen p { margin: 0; color: var(--leise); font-size: .97rem; }
@media (max-width: 980px) { .funktionen { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .funktionen { grid-template-columns: 1fr; } }

/* ---- Referenzen --------------------------------------------------------------- */
.projekt { padding: 2.2rem 0; border-top: 1px solid var(--linie); }
.projekt:first-child { border-top: 0; padding-top: 0; }
.projekt-kopf { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: start; }
@media (max-width: 820px) { .projekt-kopf { grid-template-columns: 1fr; } }
.galerie { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .5rem;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
.galerie li { margin: 0; }
.galerie a { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--grund); }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.galerie a:hover img { transform: scale(1.04); }
.sprungliste { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.sprungliste li { margin: 0; }
.sprungliste a { display: block; padding: .45rem .9rem; border: 1px solid rgb(255 255 255 / .6);
	text-decoration: none; color: #fff; font-weight: 600; font-size: .95rem; }
.sprungliste a:hover { background: var(--lox-gruen); border-color: var(--lox-gruen); color: var(--lox-dunkel); }
.ref { padding: 2.4rem 0; border-top: 1px solid var(--linie); }
.ref:first-of-type { border-top: 0; }
.ref h3 { font-size: 1.5rem; font-weight: 500; letter-spacing: -.015em; margin-top: .3em; }
.ref .kurz { color: var(--leise); max-width: 50rem; }
.ref-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2.5rem; }
@media (max-width: 760px) { .ref-spalten { grid-template-columns: 1fr; } }
.ref h4 { margin: .5em 0 .7em; }
.ref-spalten ul { margin-bottom: .5rem; }
.produkte { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .8rem;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 9rem), 1fr)); }
.produkte li { margin: 0; }
.produkte figure { margin: 0; height: 100%; background: #fff; border: 1px solid var(--linie); padding: .7rem; }
.produkte img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.produkte figcaption { font-size: .85rem; line-height: 1.35; color: var(--leise); margin-top: .5rem; }
.produkte figcaption strong { display: block; color: var(--text); }
.grundlage { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.2rem; margin-top: 1.5rem; }
/* Ein Bild, das in bilder/ noch fehlt (bauen.py setzt den Platzhalter, pruefen.py meldet ihn) */
.bild-fehlt { display: grid; place-content: center; gap: .4rem; aspect-ratio: 1; padding: .5rem;
	border: 2px dashed var(--linie); color: var(--leise); font-size: .8rem; text-align: center; }
.bild-fehlt small { font-size: .72rem; overflow-wrap: anywhere; }
.leuchtkasten { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1200px); }
.leuchtkasten::backdrop { background: rgb(28 22 16 / .9); }
.leuchtkasten figure { margin: 0; }
.leuchtkasten img { max-height: 82vh; width: auto; margin: 0 auto; }
.leuchtkasten figcaption { color: #fff; text-align: center; padding: .8rem 1rem 0; }
.leuchtkasten button { position: fixed; background: rgb(255 255 255 / .14); color: #fff; border: 0;
	width: 3rem; height: 3rem; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.leuchtkasten button:hover { background: var(--lox-gruen); color: var(--lox-dunkel); }
.leuchtkasten .zu { top: 1rem; right: 1rem; }
.leuchtkasten .zurueck { left: 1rem; top: 50%; translate: 0 -50%; }
.leuchtkasten .weiter { right: 1rem; top: 50%; translate: 0 -50%; }

/* Erlebnis-Orte */
.ort { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.2rem; align-items: center; padding: 2.2rem 0;
	border-top: 1px solid var(--linie); }
.ort:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 820px) { .ort { grid-template-columns: 1fr; gap: 1rem; } }

/* ---- Kontakt ------------------------------------------------------------------ */
.kontakt { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .kontakt { grid-template-columns: 1fr; } }
.kontakt-daten p { margin-bottom: .8em; }
.formular { background: var(--grund); padding: clamp(1.4rem, 1rem + 2vw, 2.2rem); }
.felder { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.feld { display: flex; flex-direction: column; gap: .3rem; }
.feld.ganz { grid-column: 1 / -1; }
@media (max-width: 560px) { .felder { grid-template-columns: 1fr; } }
.feld label { font-weight: 600; font-size: .95rem; }
.feld .muss { color: var(--text); }
input, textarea, select { font: inherit; color: inherit; width: 100%; padding: .7rem .85rem;
	border: 1px solid #8f8a84; border-radius: 0; background: #fff; }
textarea { min-height: 9rem; resize: vertical; }
input:focus, textarea:focus { outline: 3px solid var(--lox-gruen); outline-offset: 0; border-color: var(--text); }
.formular .klein { font-size: .9rem; color: var(--leise); margin: 1rem 0 0; }
.formular button { margin-top: 1.2rem; cursor: pointer; font: inherit; font-weight: 700; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Fuß ---------------------------------------------------------------------- */
.fuss { background: var(--lox-dunkel); color: var(--lox-leise); padding: 3.5rem 1.25rem 6rem; }
.fuss-innen { max-width: var(--breite); margin: 0 auto; display: grid; gap: 2rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.fuss h2 { color: #fff; font-size: 1.1rem; font-weight: 600; letter-spacing: 0; margin-bottom: .8rem; }
.fuss h2 span { color: var(--lox-leise); font-weight: 400; }
.fuss a:not(.knopf) { color: #fff; }
.fuss a:not(.knopf):hover { background: var(--lox-gruen); color: var(--lox-dunkel); }
.fuss-liste { list-style: none; padding: 0; }
.fuss-zeile { max-width: var(--breite); margin: 2.5rem auto 0; padding-top: 1.2rem;
	border-top: 1px solid var(--lox-linie); font-size: .9rem; color: var(--lox-leise); }
@media (min-width: 761px) { .fuss { padding-bottom: 3rem; } }

/* Schnellkontakt am Handy */
.schnell { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none;
	grid-template-columns: repeat(3, 1fr); background: var(--lox-dunkel);
	padding: .4rem .4rem calc(.4rem + env(safe-area-inset-bottom)); gap: .4rem; }
.schnell a { color: #fff; text-decoration: none; text-align: center; font-weight: 700; padding: .7rem .3rem;
	background: #3a332c; }
.schnell a:first-child { background: var(--lox-gruen); color: var(--lox-dunkel); }
@media (max-width: 760px) { .schnell { display: grid; } }

/* ---- Loxone-Bausteine ---------------------------------------------------------- */
.loxone-marke { display: block; width: 100%; height: auto; }
.marke-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.6rem; margin-top: 1.8rem; }
.marke-zeile .loxone-marke { width: 150px; color: currentColor; }
.partner-schild { background: #fff; padding: .45rem .6rem; display: inline-block; }
.partner-schild img { height: 40px; width: auto; }
/* Grüne Fläche mit dunkler Schrift */
.lox-feld { background: var(--lox-gruen); color: var(--lox-dunkel); padding: 1.3rem 1.5rem; }
.lox-feld p, :is(.lox, .seitenkopf, .buehne, .abschnitt.gruen) .lox-feld p { color: var(--lox-dunkel); margin: 0; }
.lox-feld strong { color: var(--lox-dunkel); }
/* Bilder: eckig, mit Schatten wie im Lookbook */
.lox-bild { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: var(--schatten); }
.lox-bild.quadrat { aspect-ratio: 1; object-fit: contain; background: #fff; }
.lox .lox-bild, .seitenkopf .lox-bild { box-shadow: 0 22px 50px rgb(0 0 0 / .3); }
/* Zahlen von Loxone */
.lox-zahlen { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid var(--lox-linie); }
.lox-zahlen li { margin: 0; padding: 1.2rem 1.2rem 0 0; font-size: .95rem; }
.lox-zahlen strong { display: block; color: #fff; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); font-weight: 500;
	letter-spacing: -.02em; line-height: 1.1; }
@media (max-width: 760px) { .lox-zahlen { grid-template-columns: repeat(2, 1fr); row-gap: 1rem; } }
.lox-zahlen.einzeln { grid-template-columns: 1fr; margin-top: 0; }
.lox-zahlen.einzeln li { padding-right: 0; }
/* Karten auf dunklem Grund */
.lox-karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 2.4rem;
	background: var(--lox-linie); border: 1px solid var(--lox-linie); }
.lox-karten > div { background: var(--lox-dunkel); padding: 1.5rem 1.4rem; }
.lox-karten h3 { font-size: 1.12rem; margin-bottom: .45em; }
.lox-karten p { margin: 0; }
@media (max-width: 980px) { .lox-karten { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lox-karten { grid-template-columns: 1fr; } }
/* Zwei Spalten: Text und Bild */
.lox-zweier { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 860px) { .lox-zweier { grid-template-columns: 1fr; } }
.lox-zweier figure { margin: 0; position: relative; }
.lox-zweier figure .lox-feld { position: relative; margin: -2.5rem 0 0 auto; width: min(88%, 26rem); z-index: 1; }
/* Liste mit grünem Strich: Tastenstandard, Hotels */
.tasten { list-style: none; padding: 0; margin: 1.4rem 0; }
.tasten li { margin: 0 0 .7rem; padding: .35rem 0 .35rem 1rem; border-left: 3px solid var(--lox-gruen); }

@media print {
	.kopf, .schnell, .fuss .knopf, .knoepfe { display: none; }
	.lox, .seitenkopf, .buehne, .abschnitt.gruen { background: #fff; color: #000; }
	:is(.lox, .seitenkopf, .buehne, .abschnitt.gruen) :is(h1, h2, h3, h4, p, li) { color: #000; }
	body { font-size: 11pt; }
}
