/* Real Smart Home und perfect fIT solutions
   Farben aus dem Logo: Orange #fe4c00, Grün #69c350. Für Text und Knöpfe
   reicht das Orange auf Weiss nicht (3,4:1) - dort steht das dunklere
   --orange-text (4,9:1); das helle bleibt Akzent. Keine fremden Schriften:
   die Systemschrift lädt nichts nach und verrät niemandem den Besuch. */

:root {
	--orange: #fe4c00;
	--orange-text: #c23a00;
	--orange-hell: #fff1ea;
	--gruen: #69c350;
	--gruen-text: #2f7a1e;
	--gruen-hell: #eef8ea;
	--text: #23242b;
	--leise: #5b5c63;
	--linie: #e3e2dc;
	--flaeche: #ffffff;
	--grund: #f7f6f2;
	--dunkel: #23242b;
	--rund: 14px;
	--breite: 1160px;
	--schatten: 0 1px 2px rgb(35 36 43 / .06), 0 6px 22px rgb(35 36 43 / .08);
}

* { 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(--orange-text); text-underline-offset: .18em; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); }
h1, h2 { overflow-wrap: break-word; }
h2 { font-size: clamp(1.55rem, 1.25rem + 1.2vw, 2.15rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.08rem; }
p, ul, ol { margin: 0 0 1em; }
ul { padding-left: 1.3em; }
li + li { margin-top: .25em; }

.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(--dunkel); color: #fff;
	padding: .5rem 1rem; z-index: 50; border-radius: 8px; }
.sprung:focus { left: .5rem; }

/* ---- Kopf ---------------------------------------------------------------- */
.kopf { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / .94);
	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 img { width: 250px; height: auto; }
.menue ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .2rem; }
.menue li + li { margin: 0; }
.menue a { display: block; padding: .5rem .75rem; border-radius: 999px; color: var(--text);
	text-decoration: none; font-weight: 600; font-size: .98rem; }
.menue a:hover { background: var(--grund); }
.menue a[aria-current="page"] { color: var(--orange-text); background: var(--orange-hell); }
.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(--linie); border-radius: 999px;
		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.5rem, 2rem + 3vw, 4.5rem) 1.25rem; }
.abschnitt.grau { background: var(--grund); }
.abschnitt.gruen { background: var(--gruen-hell); }
.innen { max-width: var(--breite); margin: 0 auto; }
.schmal { max-width: 760px; margin: 0 auto; }
.zentriert { text-align: center; }
.einleitung { font-size: 1.18rem; color: var(--leise); max-width: 46rem; }
.zentriert .einleitung { margin-left: auto; margin-right: auto; }
.oberzeile { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .08em;
	text-transform: uppercase; color: var(--gruen-text); margin-bottom: .7rem; }

/* Seitenkopf der Unterseiten */
.seitenkopf { background: linear-gradient(180deg, var(--grund), var(--flaeche)); padding: 3.2rem 1.25rem 1.6rem; }
.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);
	background:
		radial-gradient(60rem 30rem at 85% -10%, rgb(105 195 80 / .16), transparent 60%),
		radial-gradient(50rem 26rem at -10% 110%, rgb(254 76 0 / .10), transparent 60%),
		var(--flaeche); }
.buehne .innen { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-items: center; }
.buehne h1 span { color: var(--orange-text); }
.buehne-bild { justify-self: center; width: min(280px, 70vw); }
@media (max-width: 820px) {
	.buehne .innen { grid-template-columns: 1fr; gap: 1.5rem; }
	.buehne-bild { order: -1; width: 130px; justify-self: start; }
}

/* Knöpfe */
.knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
	padding: .8rem 1.35rem; border-radius: 999px; font-weight: 700; text-decoration: none;
	background: var(--orange-text); color: #fff; border: 2px solid var(--orange-text); line-height: 1.2; }
.knopf:hover { background: #a33100; border-color: #a33100; color: #fff; }
.knopf.rand { background: transparent; color: var(--orange-text); }
.knopf.rand:hover { background: var(--orange-hell); color: var(--orange-text); }
.knopf.hell { background: #fff; color: var(--dunkel); border-color: #fff; }
.knopf.hell:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* 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); border-radius: 20px;
	box-shadow: var(--schatten); 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; border-radius: 20px 20px 0 0; 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; }

/* Vorteile, Kacheln mit Zeichen */
.vorteil { padding: 1.4rem; border-radius: var(--rund); 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; border-radius: 4px;
	background: var(--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.3rem, 1.1rem + 1vw, 1.75rem); line-height: 1.4;
	font-weight: 600; color: var(--text); }
.stimme blockquote::before { content: "„"; color: var(--orange); font-size: 1.4em; line-height: 0; }
.stimme blockquote::after { content: "“"; color: var(--orange); font-size: 1.4em; line-height: 0; }
.stimme figcaption { color: var(--leise); }

/* 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; border-radius: var(--rund); }
@media (max-width: 640px) { .text .bild-rechts { float: none; width: 100%; margin: 0 0 1.2rem; } }
.hinweis { background: var(--orange-hell); border-left: 4px solid var(--orange); border-radius: 10px;
	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-radius: 12px; padding: .6rem; }
@media (max-width: 640px) { .partner { grid-template-columns: 1fr; } .partner .logo { max-width: 200px; } }
.abzeichen { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; margin: 1.5rem 0 0; }
.abzeichen img { height: 52px; width: auto; }

/* 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; } }
.projekt .jahr { color: var(--gruen-text); font-weight: 700; font-size: .9rem; letter-spacing: .05em; }
.galerie { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
.galerie li { margin: 0; }
.galerie a { display: block; border-radius: 10px; 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); }
.leuchtkasten { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1200px); }
.leuchtkasten::backdrop { background: rgb(0 0 0 / .85); }
.leuchtkasten figure { margin: 0; }
.leuchtkasten img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 8px; }
.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; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.leuchtkasten button:hover { background: rgb(255 255 255 / .28); }
.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: 2rem; align-items: center; padding: 2rem 0;
	border-top: 1px solid var(--linie); }
.ort:first-child { border-top: 0; padding-top: 0; }
.ort img { border-radius: var(--rund); }
@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(--flaeche); border: 1px solid var(--linie); border-radius: 20px;
	box-shadow: var(--schatten); padding: 1.6rem; }
.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(--orange-text); }
input, textarea, select { font: inherit; color: inherit; width: 100%; padding: .7rem .85rem;
	border: 1px solid #b9b8b1; border-radius: 10px; background: #fff; }
textarea { min-height: 9rem; resize: vertical; }
input:focus, textarea:focus { outline: 3px solid rgb(254 76 0 / .35); border-color: var(--orange); }
.formular .klein { font-size: .9rem; color: var(--leise); margin: 1rem 0 0; }
.formular button { margin-top: 1.2rem; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Fuss */
.fuss { background: var(--dunkel); color: #d9d9dd; padding: 3rem 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; margin-bottom: .8rem; }
.fuss h2 span { color: #a9a9b0; font-weight: 400; }
.fuss a { color: #fff; }
.fuss a:hover { color: var(--gruen); }
.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 #3a3b44; font-size: .9rem; color: #a9a9b0; }
@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(--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;
	border-radius: 10px; background: #34353e; }
.schnell a:first-child { background: var(--orange-text); }
@media (max-width: 760px) { .schnell { display: grid; } }

@media print {
	.kopf, .schnell, .fuss .knopf, .knoepfe { display: none; }
	body { font-size: 11pt; }
}
