/*
Theme Name:  Web.Cloud.Apps.
Theme URI:   https://www.web-cloud-apps.com/
Author:      Web.Cloud.Apps. GmbH
Description: Schlankes Design-Theme für web-cloud-apps.com: heller Auftritt mit WCA-Blau, automatischer Dark-Mode, Kontaktformular, SEO-Grundausstattung, cookielose Matomo-Einbindung und Staging-Erkennung. Seiten und Inhalte richtet das zugehörige Plugin „Web.Cloud.Apps. Setup“ (wca-setup) ein.
Version:     1.4.2
Requires at least: 6.3
Requires PHP: 8.1
License:     Proprietär – nur für web-cloud-apps.com
Text Domain: wca
*/

/* ==========================================================================
   Design-Tokens
   ========================================================================== */

@font-face {
	font-family: 'Inter';
	src: url('assets/fonts/inter-var.woff2') format('woff2-variations');
	font-weight: 100 900;
	font-display: swap;
}

:root {
	--bg: #ffffff;
	--bg-alt: #f4f6fb;
	--bg-deep: #101828;
	--ink: #16202e;
	--ink-soft: #3b4657;
	--muted: #5b6678;
	--accent: #4e82f1;
	--accent-strong: #2f66e0;
	--accent-soft: #e8effe;
	--border: #e3e8f2;
	--card: #ffffff;
	--ok-bg: #e0f5e9;
	--ok-ink: #157347;
	--warn-bg: #fdf3d8;
	--warn-ink: #92700c;
	--shadow: 0 1px 2px rgba(22, 32, 46, .05), 0 12px 32px -16px rgba(22, 32, 46, .18);
	--radius: 16px;
	--logo-filter: none;
	--btn-ink: #ffffff;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0f1522;
		--bg-alt: #151d2e;
		--bg-deep: #0a0f1a;
		--ink: #e9eef8;
		--ink-soft: #c4cede;
		--muted: #93a0b8;
		--accent: #6d9bff;
		--accent-strong: #8db1ff;
		--accent-soft: #1b2740;
		--border: #25314a;
		--card: #151d2e;
		--ok-bg: #12351f;
		--ok-ink: #7fd6a4;
		--warn-bg: #3a3113;
		--warn-ink: #e5c766;
		--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -16px rgba(0, 0, 0, .55);
		--logo-filter: brightness(0) invert(1);
		--btn-ink: #0f1522;
	}
}

/* ==========================================================================
   Basis
   ========================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

body {
	font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
	background: var(--bg);
	color: var(--ink);
	line-height: 1.65;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 750; overflow-wrap: break-word; }
h1 { font-size: clamp(34px, 4.6vw, 58px); }
h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 14px; }
h3 { font-size: 20px; font-weight: 650; }
p { color: var(--ink-soft); }
a { color: var(--accent-strong); }
img { max-width: 100%; height: auto; }

.eyebrow {
	display: inline-block; font-size: 13.5px; font-weight: 650; letter-spacing: .08em;
	text-transform: uppercase; color: var(--accent-strong); margin-bottom: 14px;
}

.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 100;
	background: var(--accent); color: var(--btn-ink); padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
	.site-header { background: var(--bg); }
}
.site-header .wrap { display: flex; align-items: center; gap: 34px; height: 72px; }
.logo { display: flex; align-items: center; }
.logo img { height: 34px; width: auto; display: block; filter: var(--logo-filter); }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 28px; align-items: center; list-style: none; }
.site-nav a { color: var(--ink-soft); text-decoration: none; font-size: 15.5px; font-weight: 550; }
.site-nav a:hover { color: var(--accent-strong); }
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { color: var(--accent-strong); }

.btn {
	display: inline-block; background: var(--accent); color: var(--btn-ink) !important;
	padding: 12px 24px; border-radius: 999px; text-decoration: none;
	font-weight: 650; font-size: 15.5px; border: none; cursor: pointer;
	font-family: inherit;
	box-shadow: 0 6px 18px -8px var(--accent);
}
.btn:hover { background: var(--accent-strong); }
.btn.gross { padding: 15px 32px; font-size: 17px; }
.btn.ghost {
	background: transparent; color: var(--ink) !important;
	border: 1.5px solid var(--border); box-shadow: none;
}
.btn.ghost:hover { border-color: var(--accent); }

.nav-toggle {
	display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 10px;
	border: 1.5px solid var(--border); background: var(--card); cursor: pointer;
	align-items: center; justify-content: center; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 720px) {
	.site-nav {
		display: none; position: absolute; top: 72px; left: 0; right: 0;
		background: var(--bg); border-bottom: 1px solid var(--border);
		padding: 12px 28px 20px; box-shadow: var(--shadow);
	}
	.site-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
	.site-nav a { display: block; padding: 10px 0; font-size: 17px; }
	.nav-toggle { display: flex; }
	.header-cta { display: none; }
	body.nav-offen .site-nav { display: block; }
	body.nav-offen .nav-toggle .icon-burger { display: none; }
	body.nav-offen .nav-toggle .icon-close { display: block; }
}

/* ==========================================================================
   Hero (Startseite)
   ========================================================================== */

.hero {
	position: relative; padding: 96px 0 72px; overflow: hidden;
	background:
		radial-gradient(1000px 480px at 78% -10%, var(--accent-soft), transparent 65%),
		var(--bg);
}
.hero::before {
	content: ""; position: absolute; inset: 0;
	background-image:
		linear-gradient(var(--border) 1px, transparent 1px),
		linear-gradient(90deg, var(--border) 1px, transparent 1px);
	background-size: 56px 56px; opacity: .35;
	mask-image: radial-gradient(720px 420px at 70% 0%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(720px 420px at 70% 0%, #000 30%, transparent 75%);
}
.hero .wrap { position: relative; max-width: 880px; text-align: center; }
.hero p.sub { font-size: 20px; margin: 22px auto 34px; max-width: 640px; color: var(--muted); }
.hero .aktionen { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero .aktionen .neben { color: var(--ink-soft); font-size: 15.5px; }
.hero .aktionen .neben a { color: var(--accent-strong); font-weight: 600; }

.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 22px 28px; }
.trust .item { display: flex; gap: 12px; align-items: center; font-size: 14.5px; font-weight: 550; color: var(--ink-soft); }
.trust .item svg { flex: none; width: 22px; height: 22px; stroke: var(--accent-strong); }

/* ==========================================================================
   Sektionen & Karten
   ========================================================================== */

section.block { padding: 84px 0; }
section.block.alt { background: var(--bg-alt); }
.intro { max-width: 640px; margin-bottom: 44px; }
.intro p { font-size: 18px; color: var(--muted); }
.zentriert { text-align: center; }
.zentriert .intro { margin-left: auto; margin-right: auto; }

.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.karte {
	background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
	padding: 30px 28px; box-shadow: var(--shadow); text-align: left;
	display: flex; flex-direction: column; gap: 12px;
}
.karte .icon {
	width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft);
	display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.karte .icon svg { width: 24px; height: 24px; stroke: var(--accent-strong); }
.karte p { font-size: 15.5px; }
.karte a.mehr { margin-top: auto; color: var(--accent-strong); font-weight: 600; text-decoration: none; font-size: 15px; }
.karte a.mehr:hover { text-decoration: underline; }

/* ==========================================================================
   Showcase (StationGuide) & Browser-Attrappe
   ========================================================================== */

.showcase { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.showcase ul { list-style: none; margin: 18px 0 8px; }
.showcase ul li { padding-left: 30px; position: relative; margin-bottom: 10px; color: var(--ink-soft); font-size: 16px; }
.showcase ul li::before {
	content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px;
	border-radius: 50%; background: var(--accent-soft);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f66e0' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
	background-size: 11px; background-position: center; background-repeat: no-repeat;
}
.showcase .server-hinweis { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; margin: 14px 0 24px; }
.showcase .server-hinweis svg { width: 17px; height: 17px; stroke: var(--accent-strong); }
.showcase .aktionen { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.showcase .aktionen .neben a { color: var(--accent-strong); font-weight: 600; font-size: 15px; }
.showcase .produktbild img { border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow); }

.browser {
	border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow);
	overflow: hidden; background: var(--card);
}
.browser .leiste { display: flex; gap: 7px; padding: 11px 14px; background: var(--bg-alt); border-bottom: 1px solid var(--border); align-items: center; }
.browser .leiste i { width: 11px; height: 11px; border-radius: 50%; background: var(--border); }
.browser .leiste .url {
	margin-left: 10px; flex: 1; background: var(--bg); border: 1px solid var(--border);
	border-radius: 6px; font-style: normal; font-size: 11.5px; color: var(--muted); padding: 3px 10px;
}
.app { display: grid; grid-template-columns: 168px 1fr; min-height: 320px; }
.app .seite { background: #1c4f8f; padding: 16px 0; }
@media (prefers-color-scheme: dark) { .app .seite { background: #12294a; } }
.app .seite .brand { color: #fff; font-weight: 700; font-size: 13px; padding: 0 16px 14px; display: flex; gap: 8px; align-items: center; }
.app .seite .brand i { width: 20px; height: 20px; border-radius: 6px; background: rgba(255,255,255,.2); display: block; }
.app .seite span { display: block; color: #cddcf3; font-size: 11.5px; padding: 8px 16px; }
.app .seite span.an { background: rgba(255,255,255,.13); color: #fff; border-left: 3px solid #7db2f5; }
.app .inhalt { padding: 18px; }
.app .inhalt .titel { font-size: 13px; font-weight: 650; margin-bottom: 12px; color: var(--ink); }
.app table { width: 100%; border-collapse: collapse; font-size: 11px; }
.app th { text-align: left; color: var(--muted); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--border); }
.app td { padding: 7px 8px; border-bottom: 1px solid var(--border); color: var(--ink-soft); }
.app .pill { display: inline-block; border-radius: 999px; padding: 1px 9px; font-size: 10px; font-weight: 650; }
.app .gruen { background: var(--ok-bg); color: var(--ok-ink); }
.app .blau { background: var(--accent-soft); color: var(--accent-strong); }
.app .gelb { background: var(--warn-bg); color: var(--warn-ink); }
.mock-hinweis { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 10px; font-style: italic; }

/* ==========================================================================
   Ablauf, FAQ, Features, Leistungen
   ========================================================================== */

.schritte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: schritt; margin-top: 40px; text-align: left; }
.schritt { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.schritt::before {
	counter-increment: schritt; content: counter(schritt, decimal-leading-zero);
	display: block; font-size: 14px; font-weight: 750; color: var(--accent-strong);
	letter-spacing: .06em; margin-bottom: 10px;
}
.schritt h3 { font-size: 17px; margin-bottom: 6px; }
.schritt p { font-size: 14.5px; }

.faq { max-width: 760px; margin: 36px auto 0; text-align: left; }
.faq details {
	border: 1px solid var(--border); border-radius: 12px; background: var(--card);
	padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow);
}
.faq summary { font-weight: 650; cursor: pointer; font-size: 16.5px; list-style: none; position: relative; padding-right: 32px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: -2px; font-size: 22px; color: var(--accent-strong); font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; font-size: 15.5px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); }
.feature h3 { font-size: 16.5px; margin-bottom: 6px; }
.feature p { font-size: 14.5px; }

.leistung { display: grid; grid-template-columns: 56px 1fr; gap: 26px; padding: 56px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 90px; }
.leistung:last-of-type { border-bottom: none; }
.leistung .icon { width: 56px; height: 56px; border-radius: 14px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; }
.leistung .icon svg { width: 28px; height: 28px; stroke: var(--accent-strong); }
.leistung ul { list-style: none; margin: 16px 0; }
.leistung ul li { padding-left: 28px; position: relative; margin-bottom: 8px; color: var(--ink-soft); font-size: 15.5px; }
.leistung ul li::before {
	content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%;
	background: var(--accent-soft);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f66e0' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
	background-size: 10px; background-position: center; background-repeat: no-repeat;
}
.leistung p { margin-bottom: 12px; font-size: 16px; }
.leistung h2 { scroll-margin-top: 90px; }

/* ==========================================================================
   CTA-Band & Footer
   ========================================================================== */

.cta-band { background: var(--bg-deep); color: #fff; text-align: center; padding: 76px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b7c3d8; max-width: 560px; margin: 12px auto 30px; }
.cta-band .btn { color: #fff !important; }
.cta-band .tel { margin-top: 18px; font-size: 15px; color: #b7c3d8; }
.cta-band .tel a { color: #fff; font-weight: 650; text-decoration: none; }

.site-footer { background: var(--bg-deep); color: #b7c3d8; padding: 56px 0 0; font-size: 14.5px; }
.site-footer .spalten { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.site-footer .logo img { height: 30px; filter: brightness(0) invert(1); opacity: .92; margin-bottom: 14px; }
.site-footer .claim { color: #b7c3d8; font-size: 14px; max-width: 300px; }
.site-footer h2 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 14px; font-weight: 650; }
.site-footer ul { list-style: none; }
.site-footer a { color: #b7c3d8; text-decoration: none; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.site-footer .rechtlich { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13.5px; }
.site-footer .rechtlich ul { display: flex; gap: 22px; }
.site-footer .rechtlich a { display: inline; margin: 0; }

/* ==========================================================================
   Unterseiten: Seitenkopf & Inhalt
   ========================================================================== */

.seiten-kopf { padding: 72px 0 30px; background: radial-gradient(720px 320px at 80% -20%, var(--accent-soft), transparent 65%), var(--bg); }
.seiten-kopf p.sub { font-size: 18px; color: var(--muted); max-width: 700px; margin-top: 16px; }

.entry { padding: 28px 0 70px; }
.entry > * { max-width: 780px; margin-left: auto; margin-right: auto; }
.entry > .alignwide { max-width: 1140px; }
.entry > .alignfull { max-width: none; }
.entry h2 { font-size: clamp(23px, 2.4vw, 30px); margin: 40px auto 12px; scroll-margin-top: 90px; }
.entry h3 { margin: 26px auto 8px; }
.entry p { margin-bottom: 14px; }
.entry ul, .entry ol { margin: 0 auto 16px; padding-left: 24px; color: var(--ink-soft); }
.entry li { margin-bottom: 6px; }
.entry .wp-block-separator { border: none; border-top: 1px solid var(--border); margin: 36px auto; }
/* iFrames (Matomo-Opt-out) auf die Textspalte ausrichten. 16px breiter als
   die Spalte + zentriert, damit die 8px-Standard-Body-Margin der eingebetteten
   Matomo-Seite kompensiert wird und deren Text bündig zum Fließtext beginnt. */
.entry iframe { display: block; border: 0; width: 100%; max-width: 796px; margin-left: auto; margin-right: auto; }

/* Schmale Rechtsseiten */
.page-schmal .entry > * { max-width: 720px; }
.page-schmal .entry { font-size: 16px; }
.page-schmal .entry iframe { max-width: 736px; }

/* ==========================================================================
   Kontakt
   ========================================================================== */

/* Nur vertikale Abstände setzen – das seitliche Padding kommt von .wrap
   (gleiches Element!) und darf hier nicht überschrieben werden. */
.kontakt-raster { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; padding-top: 40px; padding-bottom: 80px; }
.kontakt-info h2 { margin-bottom: 26px; }
.kontakt-info .zeile { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.kontakt-info .zeile .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; flex: none; }
.kontakt-info .zeile .icon svg { width: 22px; height: 22px; stroke: var(--accent-strong); }
.kontakt-info .zeile strong { display: block; font-size: 15px; }
.kontakt-info .zeile span, .kontakt-info .zeile a { color: var(--muted); font-size: 15px; text-decoration: none; }
.kontakt-info .zeile a.karte-link { color: var(--accent-strong); font-weight: 600; }

.formular { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.formular h2 { font-size: 24px; margin-bottom: 4px; }
.formular .formular-hinweis { font-size: 15px; color: var(--muted); }
.formular label { display: block; font-size: 14px; font-weight: 600; margin: 16px 0 6px; color: var(--ink); }
.formular input[type="text"],
.formular input[type="email"],
.formular textarea {
	width: 100%; border: 1.5px solid var(--border); border-radius: 10px; background: var(--bg);
	padding: 12px 14px; font: inherit; font-size: 15px; color: var(--ink);
}
.formular input:focus, .formular textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.formular textarea { min-height: 130px; resize: vertical; }
.formular .ds { font-size: 13px; color: var(--muted); margin: 14px 0 18px; }
.formular .ds a { color: var(--accent-strong); }
.hp-field { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }

.form-notice { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 15px; }
.form-notice--ok { background: var(--ok-bg); color: var(--ok-ink); }
.form-notice--err { background: var(--warn-bg); color: var(--warn-ink); }

/* ==========================================================================
   Animationen & moderne Details
   (alles Bewegte nur ohne Reduced-Motion-Wunsch)
   ========================================================================== */

/* --- Scroll-Reveal mit Staffelung (Verzögerung setzt main.js je Element) --- */
@media (prefers-reduced-motion: no-preference) {
	body.js [data-reveal] {
		opacity: 0; transform: translateY(16px);
		transition: opacity .55s ease, transform .55s ease;
		transition-delay: var(--reveal-delay, 0s);
	}
	body.js [data-reveal].sichtbar { opacity: 1; transform: none; }
}

/* --- Hero: Einstiegsanimation, Farbverlauf-Akzent, schwebende Orbs --- */
.hero-badge {
	display: inline-flex; align-items: center; gap: 9px;
	background: var(--card); border: 1px solid var(--border); border-radius: 999px;
	padding: 7px 16px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
	box-shadow: var(--shadow); margin-bottom: 22px;
}
.hero-badge i {
	width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
	box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent);
}
.hero h1 .verlauf {
	background: linear-gradient(100deg, var(--accent-strong), var(--accent) 55%, #7ea8ff);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
}
.hero .orb {
	position: absolute; border-radius: 50%; filter: blur(64px);
	opacity: .5; pointer-events: none;
}
.hero .orb-a { width: 420px; height: 420px; right: -80px; top: -140px; background: color-mix(in srgb, var(--accent) 38%, transparent); }
.hero .orb-b { width: 340px; height: 340px; left: -120px; bottom: -160px; background: color-mix(in srgb, #7ea8ff 30%, transparent); }
@media (prefers-color-scheme: dark) {
	.hero .orb { opacity: .3; }
}

@media (prefers-reduced-motion: no-preference) {
	.hero-badge i { animation: wca-puls 2.4s ease-out infinite; }
	@keyframes wca-puls {
		0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); }
		70%  { box-shadow: 0 0 0 9px transparent; }
		100% { box-shadow: 0 0 0 0 transparent; }
	}
	.hero .orb-a { animation: wca-schweben-a 22s ease-in-out infinite alternate; }
	.hero .orb-b { animation: wca-schweben-b 26s ease-in-out infinite alternate; }
	@keyframes wca-schweben-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(-70px, 50px) scale(1.15); } }
	@keyframes wca-schweben-b { from { transform: translate(0, 0) scale(1.1); } to { transform: translate(60px, -40px) scale(0.95); } }

	.hero .hero-badge, .hero h1, .hero p.sub, .hero .aktionen {
		animation: wca-einstieg .7s cubic-bezier(.22, .8, .3, 1) both;
	}
	.hero h1 { animation-delay: .08s; }
	.hero p.sub { animation-delay: .18s; }
	.hero .aktionen { animation-delay: .28s; }
	@keyframes wca-einstieg {
		from { opacity: 0; transform: translateY(18px); }
		to   { opacity: 1; transform: none; }
	}
}

/* --- Header: Verdichtung + Schatten nach dem ersten Scrollen --- */
.site-header .wrap { transition: height .25s ease; }
.site-header { transition: box-shadow .25s ease; }
body.gescrollt .site-header { box-shadow: 0 6px 24px -14px rgba(22, 32, 46, .28); }
body.gescrollt .site-header .wrap { height: 62px; }

/* --- Navigation: gleitende Unterstreichung --- */
@media (min-width: 721px) {
	.site-nav a { position: relative; padding-bottom: 4px; }
	.site-nav a::after {
		content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
		border-radius: 2px; background: var(--accent-strong);
		transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
	}
	.site-nav a:hover::after,
	.site-nav .current-menu-item > a::after,
	.site-nav .current_page_item > a::after { transform: scaleX(1); }
}

/* --- Karten, Features, Schritte: Anheben beim Überfahren --- */
.karte, .feature, .schritt, .faq details {
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.karte:hover, .feature:hover, .schritt:hover {
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
	box-shadow: 0 2px 4px rgba(22, 32, 46, .05), 0 22px 44px -18px rgba(22, 32, 46, .26);
}
.karte .icon, .leistung .icon, .kontakt-info .zeile .icon {
	transition: transform .25s ease, background-color .25s ease;
}
.karte:hover .icon { transform: scale(1.08) rotate(-3deg); }
.leistung:hover .icon { transform: scale(1.06); }

/* --- Buttons & Textlinks: fühlbare Reaktion --- */
.btn { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px var(--accent); }
.btn:active { transform: translateY(0); }
.karte a.mehr, .showcase .aktionen .neben a, .hero .aktionen .neben a {
	display: inline-block; transition: transform .2s ease;
}
.karte a.mehr:hover, .showcase .aktionen .neben a:hover, .hero .aktionen .neben a:hover {
	transform: translateX(3px);
}
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* --- StationGuide-Attrappe/Screenshot: sanftes Schweben --- */
@media (prefers-reduced-motion: no-preference) {
	.showcase .browser, .showcase .produktbild img {
		animation: wca-treiben 7s ease-in-out infinite;
	}
	@keyframes wca-treiben {
		0%, 100% { transform: translateY(0); }
		50%      { transform: translateY(-8px); }
	}
}

/* --- FAQ: weiches Aufklappen (moderne Browser; sonst ohne Animation) --- */
:root { interpolate-size: allow-keywords; }
.faq details::details-content {
	opacity: 0; height: 0; overflow: clip;
	transition: height .32s ease, opacity .32s ease, content-visibility .32s allow-discrete;
}
.faq details[open]::details-content { opacity: 1; height: auto; }
.faq summary::after { transition: transform .25s ease; content: "+"; }
.faq details[open] summary::after { content: "+"; transform: rotate(45deg); }

/* --- CTA-Band: dezenter Lichtakzent --- */
.cta-band { position: relative; overflow: hidden; }
.cta-band::before {
	content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
	left: 50%; top: -320px; transform: translateX(-50%);
	background: radial-gradient(closest-side, rgba(109, 155, 255, .18), transparent);
	pointer-events: none;
}
.cta-band .wrap { position: relative; }

/* ==========================================================================
   404 & Kleinkram
   ========================================================================== */

.fehler-404 { text-align: center; padding: 110px 0 130px; }
.fehler-404 .code { font-size: 90px; font-weight: 800; color: var(--accent); line-height: 1; letter-spacing: -.03em; }
.fehler-404 p { margin: 14px 0 28px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
	.karten, .schritte, .features { grid-template-columns: 1fr 1fr; }
	.showcase, .kontakt-raster { grid-template-columns: 1fr; }
	.trust .wrap { grid-template-columns: 1fr 1fr; }
	.site-footer .spalten { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
	.karten, .schritte, .features, .trust .wrap { grid-template-columns: 1fr; }
	.hero { padding: 64px 0 52px; }
	section.block { padding: 56px 0; }
	.leistung { grid-template-columns: 1fr; }
	.showcase > div { min-width: 0; }
	.browser { overflow: hidden; }
	.app { grid-template-columns: 104px 1fr; }
	.app table { font-size: 9.5px; }
	.app th, .app td { padding: 5px 4px; }
}

@media print {
	.site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
}
