/*
 * www.wunderoffice.de — Gestaltung
 *
 * Handgeschrieben, ohne Framework, ohne Fremdbibliothek — wie bei wunderweb.de.
 * Der Unterbau stammt aus dem Stylesheet der Agentur (D:\Webroot\wunderweb),
 * die Farben ebenfalls: wunderOffice tritt seit dem 17.09.2026 im Orange von
 * wunderweb auf (vorher Blau, auf Patricks Wunsch umgestellt). Wer dort einen
 * Baustein ändert, entscheidet bewusst, ob die Änderung auch hierher gehört —
 * die Dateien laufen sonst auseinander.
 *
 * Aufbau der Datei:
 *   1. Farben, Masse, Schrift (Custom Properties)
 *   2. Grundlagen und Reset
 *   3. Bausteine (Buttons, Karten, Formular)
 *   4. Seitenbereiche (Kopf, Hero, Kontakt, Fuss)
 *   5. Fliesstext der Rechtstexte
 *   6. Bewegung und Druck
 *   7. Zurueck nach oben
 *   8. Zahlen
 *   9. Produkt, Bildschirmfotos, Demo
 *  10. Nur hier: Wortmarke, Preisfrage, Vergleichstabelle
 *
 * Markenfarben wie wunderweb.de: Orange #e47911, Anthrazit #2e353e. Die
 * Eigenschaften heissen hier --marke statt --orange; die Werte sind dieselben.
 */
/* ------------------------------------------------------------------ */
/* 1. Farben, Masse, Schrift                                          */
/* ------------------------------------------------------------------ */

:root {
	/* Marke — dieselben Werte wie auf wunderweb.de */
	--marke: #e47911;
	--marke-dark: #cc6c0f;
	--marke-deep: #9d530c;
	--marke-soft: #fdf1e3;
	/* Fuer Text auf dunklen Flaechen (Hero, Fusszeile): #e47911 schafft auf
	   #23282f nur rund 4,3:1, der hellere Ton knapp 6:1. */
	--marke-hell: #f2882a;
	/* Das Orange aus dem Logo — wird im Dunkelmodus absichtlich nicht umgestellt. */
	--logo-orange: #e47911;

	/* Getrennt vom Marken-Orange, weil #e47911 als Text oder Schaltflaechen-
	   hintergrund die 4,5:1 aus WCAG 1.4.3 nicht schafft. Beides sind Toene
	   aus der Markenpalette. */
	--accent-text: #9d530c;
	--btn-bg: #b5600d;
	--btn-bg-hover: #9d530c;
	--violet: #874bc4;
	--gruen: #2f7d55;

	/* Flaechen und Text */
	--bg: #ffffff;
	--bg-alt: #f6f7f9;
	--bg-sunken: #eef0f3;
	--bg-invert: #23282f;
	--bg-invert-alt: #2e353e;
	--text: #2e353e;
	--text-strong: #171b21;
	--text-muted: #5f6874;
	--text-invert: #eef0f3;
	--text-invert-muted: #a8b1bd;
	--border: #e2e6ea;
	--border-strong: #cdd4dc;

	/* Schrift */
	--font: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
	--font-hand: 'Shadows Into Light', 'Segoe Script', cursive;

	--step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
	--step-0: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
	--step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
	--step-2: clamp(1.45rem, 1.3rem + 0.75vw, 1.95rem);
	--step-3: clamp(1.75rem, 1.5rem + 1.25vw, 2.6rem);
	--step-4: clamp(2.1rem, 1.65rem + 2.2vw, 3.6rem);

	/* Masse */
	--container: 1140px;
	--container-narrow: 760px;
	--gap: clamp(1.25rem, 0.9rem + 1.4vw, 2rem);
	--section-y: clamp(3.5rem, 2rem + 6vw, 7rem);
	--radius: 16px;
	--radius-sm: 8px;

	--shadow: 0 1px 2px rgba(35, 40, 47, 0.04), 0 8px 24px -12px rgba(35, 40, 47, 0.18);
	--shadow-lg: 0 2px 4px rgba(35, 40, 47, 0.05), 0 24px 48px -20px rgba(35, 40, 47, 0.28);

	--ring: 0 0 0 3px rgba(228, 121, 17, 0.35);
	color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
	:root {
		--marke: #f2882a;
		--marke-dark: #e47911;
		--marke-soft: #2a2119;
		--accent-text: #f2882a;
		--gruen: #5cba8a;
		--bg: #171b21;
		--bg-alt: #1d232b;
		--bg-sunken: #232a33;
		--bg-invert: #0f1318;
		--bg-invert-alt: #1d232b;
		--text: #dfe4ea;
		--text-strong: #f4f6f8;
		--text-muted: #9aa4b1;
		--border: #2c3540;
		--border-strong: #3c4757;

		--shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px -12px rgba(0, 0, 0, 0.6);
		--shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.4), 0 24px 48px -20px rgba(0, 0, 0, 0.7);
	}
}

/* ------------------------------------------------------------------ */
/* 2. Grundlagen                                                      */
/* ------------------------------------------------------------------ */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 5.5rem;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: var(--step-0);
	font-weight: 400;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	margin: 0 0 0.6em;
	color: var(--text-strong);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
h4 { font-size: var(--step-0); }

p {
	margin: 0 0 1.1em;
	text-wrap: pretty;
}

a {
	color: var(--accent-text);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	text-decoration-thickness: 2px;
}

:focus-visible {
	outline: 2px solid var(--marke);
	outline-offset: 3px;
	border-radius: 3px;
}

img {
	max-width: 100%;
	height: auto;
}

hr {
	height: 1px;
	margin: var(--gap) 0;
	border: 0;
	background: var(--border);
}

strong { font-weight: 700; }

::selection {
	background: var(--marke);
	color: #fff;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: clamp(1.1rem, 4vw, 2rem);
}

.container--narrow { max-width: var(--container-narrow); }

.section {
	padding-block: var(--section-y);
}

.section--alt { background: var(--bg-alt); }

.section--invert {
	background: var(--bg-invert);
	color: var(--text-invert);
}

.section--invert h2,
.section--invert h3 { color: #fff; }

.section-head {
	max-width: 44rem;
	margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem);
}

.section-head--center {
	margin-inline: auto;
	text-align: center;
}

.eyebrow {
	display: block;
	margin-bottom: 0.7rem;
	color: var(--accent-text);
	font-size: var(--step--1);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.section--invert .eyebrow,
.hero .eyebrow { color: var(--marke-hell); }

.lead {
	font-size: var(--step-1);
	font-weight: 300;
	line-height: 1.55;
	color: var(--text-muted);
}

.section--invert .lead { color: var(--text-invert-muted); }

.hand {
	font-family: var(--font-hand);
	font-size: 1.25em;
	font-weight: 400;
	line-height: 1;
	color: var(--marke-dark);
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: 0.75rem 1.25rem;
	background: var(--btn-bg);
	color: #fff;
	font-weight: 700;
}

.skip-link:focus {
	left: 0;
}

/* ------------------------------------------------------------------ */
/* 3. Bausteine                                                       */
/* ------------------------------------------------------------------ */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	padding: 0.85em 1.6em;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	font-family: inherit;
	font-size: var(--step-0);
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
	background: var(--btn-bg);
	color: #fff;
}

.btn--primary:hover {
	background: var(--btn-bg-hover);
	color: #fff;
}

.btn--outline {
	border-color: var(--border-strong);
	background: transparent;
	color: var(--text-strong);
}

.btn--outline:hover {
	border-color: var(--marke);
	color: var(--accent-text);
}

.section--invert .btn--outline,
.hero .btn--outline,
.cta .btn--outline {
	border-color: rgba(255, 255, 255, 0.3);
	color: #fff;
}

.section--invert .btn--outline:hover,
.hero .btn--outline:hover,
.cta .btn--outline:hover {
	border-color: var(--marke-hell);
	color: var(--marke-hell);
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 2rem;
}

.grid {
	display: grid;
	gap: var(--gap);
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }

.card {
	display: flex;
	flex-direction: column;
	padding: clamp(1.4rem, 1rem + 1.2vw, 2rem);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg);
	color: inherit;
	text-decoration: none;
	transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

a.card:hover {
	border-color: var(--marke);
	transform: translateY(-3px);
	box-shadow: var(--shadow);
	color: inherit;
}

.card h3 {
	margin-bottom: 0.4em;
}

.card p {
	margin-bottom: 0;
	color: var(--text-muted);
	font-size: var(--step--1);
	line-height: 1.6;
}

.card__icon {
	display: grid;
	place-items: center;
	width: 2.9rem;
	height: 2.9rem;
	margin-bottom: 1.1rem;
	border-radius: 10px;
	background: var(--marke-soft);
	color: var(--accent-text);
}

.card__icon svg {
	width: 1.5rem;
	height: 1.5rem;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.card__more {
	margin-top: 1.2rem;
	color: var(--accent-text);
	font-size: var(--step--1);
	font-weight: 700;
}

a.card:hover .card__more { color: var(--accent-text); }

.card__more::after {
	content: ' \2192';
}

/* Aufzaehlung mit Haken */
.ticks {
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
}

.ticks li {
	position: relative;
	margin-bottom: 0.7rem;
	padding-left: 1.9rem;
}

.ticks li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.42em;
	width: 1.05rem;
	height: 0.6rem;
	border-left: 2.5px solid var(--accent-text);
	border-bottom: 2.5px solid var(--accent-text);
	transform: rotate(-45deg);
}

/* Nummerierte Schritte */
.steps {
	counter-reset: step;
	display: grid;
	gap: var(--gap);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.steps li {
	counter-increment: step;
	padding-top: 1.2rem;
	border-top: 3px solid var(--border);
}

.steps li::before {
	content: counter(step, decimal-leading-zero);
	display: block;
	margin-bottom: 0.5rem;
	color: var(--marke-hell);
	font-size: var(--step-1);
	font-weight: 800;
	letter-spacing: -0.03em;
}

.steps h3 {
	font-size: var(--step-0);
	margin-bottom: 0.35em;
}

.steps p {
	margin-bottom: 0;
	color: var(--text-muted);
	font-size: var(--step--1);
}

.section--invert .steps li { border-top-color: rgba(255, 255, 255, 0.18); }
.section--invert .steps p { color: var(--text-invert-muted); }

/* ------------------------------------------------------------------ */
/* 4. Seitenbereiche                                                  */
/* ------------------------------------------------------------------ */

/* Kopfzeile */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--bg) 85%, transparent);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header[data-scrolled='true'] {
	border-bottom-color: var(--border);
	box-shadow: var(--shadow);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 4.5rem;
}

.site-logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

/* Das Logo ist eine SVG-Datei mit eigener Medienabfrage: sie stellt sich im
   dunklen Systemthema selbst auf helle Schrift um.
   Die Breite schrumpft auf sehr schmalen Geraeten mit, sonst passen Logo und
   Menue-Knopf unterhalb von etwa 300 Pixeln nicht mehr nebeneinander. */
.site-logo img {
	display: block;
	width: clamp(124px, 40vw, 158px);
	height: auto;
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 0.9rem;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	background: transparent;
	color: var(--text-strong);
	font: inherit;
	font-size: var(--step--1);
	font-weight: 700;
	cursor: pointer;
}

.nav-toggle svg {
	width: 1.1rem;
	height: 1.1rem;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
}

.site-nav ul {
	display: flex;
	align-items: center;
	gap: clamp(0.4rem, 1.4vw, 1.4rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav a {
	display: inline-block;
	padding: 0.5rem 0.35rem;
	color: var(--text);
	font-size: var(--step--1);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
	color: var(--accent-text);
	border-bottom-color: var(--marke);
}

.site-nav .btn {
	padding: 0.6em 1.2em;
	font-size: var(--step--1);
	color: #fff;
	border-bottom: 0;
}

.site-nav .btn:hover { color: #fff; }

@media (max-width: 60rem) {
	.nav-toggle { display: inline-flex; }

	.site-nav {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		display: none;
		padding: 0.75rem clamp(1.1rem, 4vw, 2rem) 1.5rem;
		background: var(--bg);
		border-bottom: 1px solid var(--border);
		box-shadow: var(--shadow);
	}

	.site-nav[data-open='true'] { display: block; }

	.site-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.site-nav li + li { border-top: 1px solid var(--border); }

	.site-nav a {
		padding: 0.85rem 0;
		font-size: var(--step-0);
		border-bottom: 0;
	}

	.site-nav .btn {
		margin-top: 0.9rem;
		justify-content: center;
		padding: 0.85em 1.6em;
		font-size: var(--step-0);
	}
}

/* Hero */
.hero {
	position: relative;
	overflow: hidden;
	background: var(--bg-invert);
	color: var(--text-invert);
	padding-block: clamp(4rem, 2rem + 9vw, 8.5rem);
}

.hero::before,
.hero::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.hero::before {
	width: 42rem;
	height: 42rem;
	right: -14rem;
	top: -18rem;
	background: radial-gradient(circle, rgba(228, 121, 17, 0.28), transparent 62%);
}

.hero::after {
	width: 34rem;
	height: 34rem;
	left: -16rem;
	bottom: -20rem;
	background: radial-gradient(circle, rgba(70, 108, 184, 0.22), transparent 62%);
}

.hero .container {
	position: relative;
	z-index: 1;
}

.hero__inner {
	max-width: 46rem;
}

.hero h1 {
	color: #fff;
	margin-bottom: 0.5em;
}

.hero h1 .accent { color: var(--marke-hell); }

.hero__lead {
	font-size: var(--step-1);
	font-weight: 300;
	line-height: 1.55;
	color: var(--text-invert-muted);
	max-width: 38rem;
}

.hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.75rem;
	margin-top: 2.75rem;
	padding-top: 1.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	color: var(--text-invert-muted);
	font-size: var(--step--1);
}

.hero__meta span {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.hero__meta span::before {
	content: '';
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 50%;
	background: var(--marke);
}

/* Kopf der Unterseiten */
.page-hero {
	padding-block: clamp(2.75rem, 1.5rem + 5vw, 5rem);
	background: var(--bg-alt);
	border-bottom: 1px solid var(--border);
}

.page-hero .lead { margin-bottom: 0; }

.breadcrumb {
	margin-bottom: 1.1rem;
	color: var(--text-muted);
	font-size: var(--step--1);
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-text); }

.breadcrumb span[aria-hidden] { padding-inline: 0.45rem; }

/* Zwei Spalten Text/Beiwerk */
.split {
	display: grid;
	gap: clamp(2rem, 1rem + 4vw, 4.5rem);
	align-items: start;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}

/* Team */
.team-grid {
	display: grid;
	gap: var(--gap);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}

.person {
	display: flex;
	gap: 1.35rem;
	align-items: flex-start;
	padding: clamp(1.4rem, 1rem + 1.2vw, 2rem);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.person img {
	flex-shrink: 0;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	object-fit: cover;
}

.person h3 {
	margin-bottom: 0.15em;
	font-size: var(--step-0);
}

.person__role {
	display: block;
	margin-bottom: 0.8rem;
	color: var(--accent-text);
	font-size: var(--step--1);
	font-weight: 700;
}

.person p {
	margin-bottom: 0;
	color: var(--text-muted);
	font-size: var(--step--1);
}

/* Kontakt */
.contact-grid {
	display: grid;
	gap: clamp(2rem, 1rem + 4vw, 4rem);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
	align-items: start;
}

.field {
	margin-bottom: 1.15rem;
}

.field label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: var(--step--1);
	font-weight: 700;
	color: var(--text-strong);
}

.field input,
.field textarea {
	width: 100%;
	padding: 0.8rem 0.95rem;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	background: var(--bg);
	color: var(--text);
	font-family: inherit;
	font-size: var(--step-0);
	line-height: 1.5;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.field input:focus,
.field textarea:focus {
	outline: 0;
	border-color: var(--marke);
	box-shadow: var(--ring);
}

.field textarea {
	min-height: 11rem;
	resize: vertical;
}

.field--pair {
	display: grid;
	gap: 0 1rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}

.field__error {
	display: block;
	margin-top: 0.35rem;
	color: #c0392b;
	font-size: var(--step--1);
	font-weight: 600;
}

@media (prefers-color-scheme: dark) {
	.field__error { color: #ff8a7a; }
}

.field input[aria-invalid='true'],
.field textarea[aria-invalid='true'] {
	border-color: #c0392b;
}

.form-note {
	margin-top: 1rem;
	color: var(--text-muted);
	font-size: var(--step--1);
}

/* Honigtopf: fuer Menschen unsichtbar, fuer Bots ein normales Feld.
   Kein display:none, das ueberspringen viele Bots. */
.hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.alert {
	margin-bottom: 1.5rem;
	padding: 1rem 1.15rem;
	border: 1px solid;
	border-radius: var(--radius-sm);
	font-size: var(--step--1);
}

.alert[hidden] { display: none; }

.alert--ok {
	border-color: #7cc08a;
	background: #eef8f0;
	color: #24603a;
}

.alert--error {
	border-color: #e2a49c;
	background: #fdf0ee;
	color: #8c2f22;
}

@media (prefers-color-scheme: dark) {
	.alert--ok { background: #14261a; color: #9fdcae; }
	.alert--error { background: #2a1714; color: #ffab9d; }
}

.contact-facts {
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-facts li {
	display: flex;
	gap: 0.9rem;
	padding-block: 0.9rem;
	border-bottom: 1px solid var(--border);
}

.contact-facts li:first-child { padding-top: 0; }

.contact-facts svg {
	flex-shrink: 0;
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0.2rem;
	stroke: var(--accent-text);
	fill: none;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.contact-facts strong {
	display: block;
	color: var(--text-strong);
}

.contact-facts span {
	color: var(--text-muted);
	font-size: var(--step--1);
}

/* Handlungsaufforderung */
.cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--gap);
	padding: clamp(1.75rem, 1rem + 3vw, 3rem);
	border-radius: var(--radius);
	background: var(--bg-invert-alt);
	color: var(--text-invert);
}

.cta h2 {
	margin-bottom: 0.3em;
	color: #fff;
	font-size: var(--step-2);
}

.cta p {
	margin-bottom: 0;
	color: var(--text-invert-muted);
	max-width: 34rem;
}

.cta .btn-row { margin-top: 0; }

/* Fusszeile */
.site-footer {
	padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem) 1.5rem;
	background: var(--bg-invert);
	color: var(--text-invert-muted);
	font-size: var(--step--1);
}

.site-footer h3 {
	margin-bottom: 0.9rem;
	color: #fff;
	font-size: var(--step--1);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.site-footer a {
	color: var(--text-invert-muted);
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--marke-hell);
	text-decoration: underline;
}

.footer-grid {
	display: grid;
	gap: var(--gap);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
	padding-bottom: 2rem;
}

.site-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer li { margin-bottom: 0.5rem; }

.site-footer__logo img {
	width: 158px;
	height: 24px;
	margin-bottom: 1rem;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.5rem;
	justify-content: space-between;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom ul {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
}

.footer-bottom li { margin-bottom: 0; }

/* ------------------------------------------------------------------ */
/* 5. Fliesstext (Impressum, Datenschutz)                             */
/* ------------------------------------------------------------------ */

.prose {
	max-width: 46rem;
}

.prose h2 {
	margin-top: 2.5em;
	font-size: var(--step-2);
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
	margin-top: 2em;
	font-size: var(--step-1);
}

.prose ul {
	margin: 0 0 1.3em;
	padding-left: 1.3em;
}

.prose li { margin-bottom: 0.5em; }

.prose address {
	margin-bottom: 1.3em;
	font-style: normal;
}

/* ------------------------------------------------------------------ */
/* 6. Bewegung und Druck                                              */
/* ------------------------------------------------------------------ */

/* Nur einblenden, wenn JavaScript laeuft. Ohne die .js-Klasse bleibt der
   Inhalt sichtbar — sonst waere die Seite bei einem JS-Fehler leer. */
.js .reveal {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}

	.js .reveal {
		opacity: 1;
		transform: none;
	}
}

@media print {
	.site-header,
	.site-footer,
	.cta,
	.nav-toggle { display: none; }

	body { color: #000; background: #fff; }
}

/* ------------------------------------------------------------------ */
/* 7. Zurueck nach oben                                               */
/* ------------------------------------------------------------------ */

/* Wird von js/site.js erzeugt und erscheint erst nach etwas Scrollen.
   visibility statt nur opacity, damit der Knopf im ausgeblendeten Zustand
   nicht per Tabulator erreichbar ist. */
.nach-oben {
	position: fixed;
	right: clamp(1rem, 2.5vw, 2rem);
	bottom: clamp(1rem, 2.5vw, 2rem);
	z-index: 40;
	display: grid;
	place-items: center;
	width: 2.9rem;
	height: 2.9rem;
	padding: 0;
	border: 1px solid var(--border);
	border-radius: 50%;
	background: var(--bg);
	color: var(--accent-text);
	box-shadow: var(--shadow);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(0.6rem);
	transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background-color 0.2s, color 0.2s;
}

.nach-oben[data-sichtbar='true'] {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.nach-oben:hover {
	background: var(--btn-bg);
	border-color: var(--btn-bg);
	color: #fff;
}

.nach-oben svg {
	width: 1.25rem;
	height: 1.25rem;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

@media print {
	.nach-oben { display: none; }
}

/* Hervorgehobener Hinweis im Fliesstext */
.hinweis-box {
	margin-top: var(--gap);
	padding: clamp(1.1rem, 0.9rem + 1vw, 1.75rem);
	border: 1px solid var(--border-strong);
	border-left: 4px solid var(--accent-text);
	border-radius: var(--radius-sm);
	background: var(--bg-alt);
}

.hinweis-box h3 {
	margin-bottom: 0.4em;
	font-size: var(--step-0);
}

.hinweis-box p {
	margin-bottom: 0;
	color: var(--text-muted);
	font-size: var(--step--1);
}


/* ------------------------------------------------------------------ */
/* 8. Zahlen                                                          */
/* ------------------------------------------------------------------ */

.zahlen {
	margin: 0;
	padding: 0;
	list-style: none;
}

.zahlen li {
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--border);
}

.zahlen li:first-child { padding-top: 0; }

.zahlen strong {
	display: block;
	color: var(--text-strong);
	/* step-2 statt step-3 und kein Umbruch: sonst zerfaellt "63 -> 98" auf
	   schmalen Bildschirmen in drei Zeilen. */
	font-size: var(--step-2);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
	white-space: nowrap;
}

.zahlen strong span {
	color: var(--accent-text);
	font-weight: 400;
	padding-inline: 0.15em;
}

/* Der direkte Nachfahre, nicht span:last-child - sonst trifft die Regel auch
   den Pfeil innerhalb von <strong> und macht ihn zum Block. */
.zahlen li > span {
	display: block;
	margin-top: 0.35rem;
	color: var(--text-muted);
	font-size: var(--step--1);
}

.zahlen__fuss {
	margin-top: 1.25rem;
	margin-bottom: 0;
	color: var(--text-muted);
	font-size: var(--step--1);
}

/* ------------------------------------------------------------------ */
/* 9. Produkt, Bildschirmfotos, Demo                                  */
/* ------------------------------------------------------------------ */

/* Vorgestelltes Produkt: links der Text, rechts das Bild. Unter 60rem
   liegt das Bild oben, damit man auf dem Telefon sofort sieht, worum es
   geht. */
.produkt {
	display: grid;
	gap: clamp(1.5rem, 1rem + 2vw, 3rem);
	align-items: center;
	padding: clamp(1.4rem, 1rem + 1.8vw, 2.6rem);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg);
	box-shadow: var(--shadow);
}

@media (min-width: 60rem) {
	.produkt {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	}

	.produkt__bild { order: 2; }
	.produkt__text { order: 1; }
}

.produkt__marke {
	display: inline-block;
	margin-bottom: 0.7rem;
	font-size: var(--step-2);
	font-weight: 300;
	letter-spacing: -0.03em;
	color: var(--text-strong);
	line-height: 1.1;
}

.produkt__marke b {
	font-weight: 800;
	color: var(--accent-text);
}

.produkt__text h3 {
	font-size: var(--step-1);
	margin-bottom: 0.5em;
}

.produkt__text > p {
	color: var(--text-muted);
}

/* Kurze Merkmale unter dem Produktnamen, als Reihe von Marken. */
.marken {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1.4rem;
	padding: 0;
	list-style: none;
}

.marken li {
	padding: 0.28rem 0.7rem;
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	background: var(--bg-alt);
	color: var(--text-muted);
	font-size: var(--step--1);
	line-height: 1.4;
}

/* Bildschirmfoto in einem angedeuteten Fensterrahmen. Solange kein Foto
   vorliegt, steht dort ein Platzhalter mit derselben Groesse — dadurch
   springt die Seite nicht, wenn die Bilder nachgeliefert werden. */
.shot {
	margin: 0;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius);
	background: var(--bg-alt);
	overflow: hidden;
}

.shot__leiste {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.55rem 0.8rem;
	border-bottom: 1px solid var(--border-strong);
	background: var(--bg-sunken);
}

.shot__leiste span {
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: var(--border-strong);
}

.shot__leiste em {
	margin-left: 0.5rem;
	color: var(--text-muted);
	font-size: var(--step--1);
	font-style: normal;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.shot img {
	display: block;
	width: 100%;
	height: auto;
}

/* Platzhalter: 16:10, gestrichelt, mit Beschriftung was dort hinkommt. */
.shot__platzhalter {
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 10;
	margin: 0.8rem;
	padding: 1rem;
	border: 2px dashed var(--border-strong);
	border-radius: var(--radius-sm);
	color: var(--text-muted);
	text-align: center;
	font-size: var(--step--1);
	line-height: 1.5;
}

.shot__platzhalter svg {
	display: block;
	width: 2.4rem;
	height: 2.4rem;
	margin: 0 auto 0.6rem;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: 0.7;
}

.shot figcaption {
	padding: 0.7rem 0.9rem;
	border-top: 1px solid var(--border);
	color: var(--text-muted);
	font-size: var(--step--1);
	line-height: 1.5;
}

/* Bildschirmfoto vergroessern. Der Link umschliesst das Bild; die Lupe
   erscheint beim Darueberfahren und auf Touch-Geraeten immer, weil es dort
   kein Darueberfahren gibt. */
.shot__zoom {
	position: relative;
	display: block;
	cursor: zoom-in;
}

.shot__zoom::after {
	content: '';
	position: absolute;
	right: 0.75rem;
	bottom: 0.75rem;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	background: rgba(23, 27, 33, 0.75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='m15 15 5 5M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E") center / 1.3rem no-repeat;
	opacity: 0;
	transition: opacity 0.2s;
}

.shot__zoom:hover::after,
.shot__zoom:focus-visible::after { opacity: 1; }

@media (hover: none) {
	.shot__zoom::after { opacity: 1; }
}

.shot__zoom:focus-visible {
	outline: none;
	box-shadow: var(--ring);
}

/* Die grosse Ansicht. Sie bleibt in beiden Farbmodi dunkel — ein
   Bildschirmfoto wirkt vor dunklem Grund am ruhigsten. */
.zoom {
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	max-width: 100%;
	max-height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #eef0f3;
}

.zoom[open] {
	display: grid;
	place-items: center;
}

.zoom::backdrop {
	background: rgba(15, 19, 24, 0.9);
}

.zoom__bild {
	display: grid;
	justify-items: center;
	gap: 0.8rem;
	width: 100%;
	margin: 0;
	padding: clamp(3.5rem, 2rem + 3vw, 4.5rem) clamp(0.5rem, 2vw, 2rem) clamp(0.75rem, 2vw, 2rem);
}

.zoom__bild img {
	display: block;
	max-width: 100%;
	max-height: calc(100dvh - 9rem);
	width: auto;
	height: auto;
	border-radius: var(--radius-sm);
	background: #fff;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.zoom__bild figcaption {
	max-width: 48rem;
	color: #cdd4dc;
	font-size: var(--step--1);
	line-height: 1.5;
	text-align: center;
}

.zoom__zu {
	position: fixed;
	top: 0.75rem;
	right: 0.75rem;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	background: rgba(23, 27, 33, 0.85);
	color: #fff;
	cursor: pointer;
}

.zoom__zu:hover { background: #171b21; }

.zoom__zu:focus-visible {
	outline: none;
	box-shadow: var(--ring);
}

.zoom__zu svg {
	width: 1.3rem;
	height: 1.3rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
}

/* Hinter der offenen Ansicht scrollt die Seite nicht mit. */
html:has(.zoom[open]) { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
	.shot__zoom::after { transition: none; }
}

/* Mehrere Bildschirmfotos nebeneinander */
.shots {
	display: grid;
	gap: var(--gap);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}

/* Hinweis auf kommende Anwendungen */
.produkt-weitere {
	margin-top: var(--gap);
	padding: clamp(1.1rem, 0.9rem + 0.8vw, 1.6rem);
	border-radius: var(--radius);
	background: var(--bg-sunken);
	color: var(--text-muted);
	font-size: var(--step--1);
	line-height: 1.65;
}

.produkt-weitere p { margin-bottom: 0; }
.produkt-weitere strong { color: var(--text-strong); }

/* Kasten fuer den Demo-Zugang */
.demo-box {
	padding: clamp(1.3rem, 1rem + 1.2vw, 2rem);
	border: 1px solid var(--marke);
	border-radius: var(--radius);
	background: var(--marke-soft);
}

.demo-box h3 {
	margin-bottom: 0.4em;
	font-size: var(--step-1);
}

.demo-box p {
	color: var(--text-muted);
	font-size: var(--step--1);
	line-height: 1.65;
}

.demo-box p:last-child { margin-bottom: 0; }

.demo-box .btn-row { margin-bottom: 0.9rem; }

/* Funktionsbloecke der Produktseite: Ueberschrift, Text, Haken */
.funktion {
	padding-top: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
	border-top: 1px solid var(--border);
}

.funktion:first-of-type {
	padding-top: 0;
	border-top: 0;
}

.funktion + .funktion { margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }

.funktion h3 {
	font-size: var(--step-2);
}

.funktion__vor {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--accent-text);
	font-size: var(--step--1);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* ------------------------------------------------------------------ */
/* 10. Nur hier: Wortmarke, Hero mit Bild, Fragen und Antworten       */
/* ------------------------------------------------------------------ */

/* Die Wortmarke ist Schrift, kein Bild: sie bleibt in jeder Groesse
   scharf, laesst sich vorlesen und kostet keine zusaetzliche Datei. */
.wortmarke {
	display: inline-block;
	font-size: 1.35rem;
	font-weight: 300;
	letter-spacing: -0.03em;
	line-height: 1;
	color: var(--text-strong);
	text-decoration: none;
	white-space: nowrap;
}

/* "Office" in genau dem Orange der beiden w im wunderweb-Logo (img/logo.svg
   dort: fill="#e47911", in hell und dunkel gleich). Bewusst nicht
   --accent-text: das ist fuer kleine Schrift abgedunkelt. Die Wortmarke ist
   gross und fett genug, dass 3:1 genuegt (WCAG 1.4.3, grosse Schrift);
   #e47911 erreicht auf Weiss 3,4:1, auf Anthrazit 4,3:1. */
.wortmarke b {
	font-weight: 800;
	color: var(--logo-orange);
}

.wortmarke--invers,
.wortmarke--invers b {
	color: #fff;
}

.wortmarke--invers b { color: var(--logo-orange); }

a.wortmarke:hover { text-decoration: none; }

/* Hero: links der Text, rechts das Bildschirmfoto. Erst ab 62rem
   nebeneinander — darunter gewinnt der Text den Platz. */
.hero__raster {
	display: grid;
	gap: clamp(2rem, 1rem + 3vw, 3.5rem);
	align-items: center;
}

@media (min-width: 62rem) {
	.hero__raster {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	}

	.hero__raster .hero__inner { max-width: none; }
}

/* Im dunklen Hero braucht der Fensterrahmen eigene Toene: die hellen
   Flaechenfarben wuerden dort wie ein Loch wirken. */
.hero .shot {
	border-color: rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.04);
	box-shadow: var(--shadow-lg);
}

.hero .shot__leiste {
	border-bottom-color: rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.06);
}

.hero .shot__leiste span { background: rgba(255, 255, 255, 0.28); }
.hero .shot__leiste em { color: var(--text-invert-muted); }

.hero .shot__platzhalter {
	border-color: rgba(255, 255, 255, 0.28);
	color: var(--text-invert-muted);
}

.hero .shot figcaption {
	border-top-color: rgba(255, 255, 255, 0.14);
	color: var(--text-invert-muted);
}

/* Fragen und Antworten. Ohne JavaScript: <details> kann das selbst. */
.faq {
	display: grid;
	gap: 0.7rem;
}

.faq details {
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--bg);
}

.faq summary {
	padding: 1rem 1.1rem;
	color: var(--text-strong);
	font-weight: 700;
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.faq summary::-webkit-details-marker { display: none; }

/* Das Pluszeichen dreht sich beim Aufklappen zum Minus. */
.faq summary::before {
	content: '';
	flex: 0 0 auto;
	width: 0.85rem;
	height: 0.85rem;
	margin-top: 0.35em;
	background:
		linear-gradient(var(--accent-text), var(--accent-text)) center / 100% 2.5px no-repeat,
		linear-gradient(var(--accent-text), var(--accent-text)) center / 2.5px 100% no-repeat;
	transition: transform 0.2s;
}

.faq details[open] summary::before {
	background: linear-gradient(var(--accent-text), var(--accent-text)) center / 100% 2.5px no-repeat;
	transform: rotate(180deg);
}

.faq summary:focus-visible {
	outline: none;
	box-shadow: var(--ring);
	border-radius: var(--radius-sm);
}

.faq details > div {
	padding: 0 1.1rem 1.1rem 2.7rem;
	color: var(--text-muted);
	font-size: var(--step--1);
	line-height: 1.7;
}

.faq details > div p:last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
	.faq summary::before { transition: none; }
}

.site-footer__text { margin-top: 1rem; }

/* Ueberschrift eines Funktionsblocks, wenn sie inhaltlich eine h2 ist */
.funktion__titel { font-size: var(--step-2); }

/* Folgt der Block direkt auf den Abschnittskopf, braucht er keine Trennlinie.
   :first-of-type allein greift nicht, weil der Kopf selbst ein div ist. */
.section-head + .funktion {
	padding-top: 0;
	border-top: 0;
}

/* Im zweispaltigen Hero waere die volle h1 zu gross fuer die halbe Breite. */
@media (min-width: 62rem) {
	.hero__raster h1 { font-size: clamp(2.2rem, 1.4rem + 1.9vw, 3.1rem); }
}
