/* Elbkante – Platzhalterseite.
   Dunkel ist der Standard, Hell über data-theme="light" am <html> (Schalter in der Kopfzeile, site.js).
   Schriften lokal: Hanken Grotesk für alles, Libre Baskerville Italic für einzelne Wörter (<em>). */

@font-face {
	font-family: 'Hanken Grotesk';
	src: url('fonts/HankenGrotesk-var.woff2') format('woff2');
	font-weight: 100 900;
	font-display: swap;
}

@font-face {
	font-family: 'Libre Baskerville';
	src: url('fonts/LibreBaskerville-Italic.woff2') format('woff2');
	font-style: italic;
	font-weight: 400;
	font-display: swap;
}

:root {
	color-scheme: dark;

	--bg: light-dark(oklch(99% 0.003 110), oklch(16% 0.014 250));
	--bg-low: light-dark(oklch(96.8% 0.005 110), oklch(19.5% 0.018 250));
	--raised: light-dark(oklch(100% 0.001 110), oklch(25% 0.02 250));
	--ink: light-dark(oklch(20% 0.02 250), oklch(96% 0.005 110));
	--muted: light-dark(oklch(45% 0.018 250), oklch(75% 0.015 250));
	--line: light-dark(oklch(89% 0.006 250), oklch(30% 0.018 250));
	--chip: light-dark(oklch(95% 0.005 110), oklch(24% 0.018 250));
	--knob: light-dark(oklch(100% 0.001 110), oklch(41% 0.026 250));
	--accent: light-dark(oklch(48% 0.13 245), oklch(80% 0.11 235));
	--highlight: oklch(85% 0.165 80);
	--highlight-deep: oklch(77% 0.175 58);
	--on-highlight: oklch(24% 0.05 60);
	--accent-deep: light-dark(oklch(37% 0.11 255), oklch(67% 0.14 248));
	--dot: light-dark(oklch(56% 0.15 245), oklch(72% 0.14 240));
	--contour: light-dark(oklch(70% 0.06 240), oklch(55% 0.07 240));
	--plate: light-dark(oklch(95.8% 0.012 240), oklch(21.5% 0.035 244));
	--plate-shadow: light-dark(oklch(40% 0.06 245 / 0.07), oklch(5% 0.02 250 / 0.5));
	--hero-glow: light-dark(oklch(86% 0.05 238 / 0.16), oklch(62% 0.12 243 / 0.13));
	--edge-line: light-dark(oklch(62% 0.1 240), oklch(66% 0.12 238));
	--metal: light-dark(oklch(60% 0.03 245 / 0.06), oklch(88% 0.03 240 / 0.035));
	--metal-edge: light-dark(oklch(55% 0.05 245 / 0.4), oklch(88% 0.05 240 / 0.28));
	--panel-glow: light-dark(oklch(100% 0 0 / 0.85), oklch(80% 0.1 235 / 0.15));
	--web: light-dark(oklch(100% 0.001 110), oklch(27% 0.05 245));
	--web-2: light-dark(oklch(95.5% 0.022 235), oklch(36% 0.085 243));
	--plan: light-dark(oklch(93.5% 0.008 110), oklch(16% 0.014 250));
	--pill-line: light-dark(oklch(80% 0.01 250), oklch(42% 0.02 250));
	--shadow: light-dark(oklch(30% 0.03 250 / 0.14), oklch(5% 0.01 250 / 0.5));

	/* Tönungen der Leistungsfelder: Marsch (Elbblau), Heide (tieferes Blau), Geest (Schiefer) */
	--marsch-1: light-dark(oklch(96.5% 0.018 235), oklch(25% 0.035 240));
	--marsch-2: light-dark(oklch(88% 0.055 235), oklch(35% 0.07 240));
	--heide-1: light-dark(oklch(96% 0.012 250), oklch(24% 0.03 255));
	--heide-2: light-dark(oklch(87% 0.045 250), oklch(33% 0.075 255));
	--geest-1: light-dark(oklch(95% 0.008 240), oklch(25% 0.016 245));
	--geest-2: light-dark(oklch(91% 0.014 240), oklch(29% 0.022 245));
	--art: light-dark(oklch(100% 0.001 110), oklch(17% 0.016 250));
	--art-line: light-dark(oklch(89% 0.006 250), oklch(34% 0.02 250));
	--panel-muted: light-dark(oklch(38% 0.025 250), oklch(82% 0.015 250));

	--space-xs: 8px;
	--space-sm: 12px;
	--space-md: 16px;
	--space-lg: 24px;
	--space-xl: 32px;
	--space-2xl: 48px;
	--space-3xl: 64px;
	--section: clamp(5rem, 11vw, 9.5rem);

	--page: 80rem;
	--gutter: clamp(1.25rem, 4vw, 3.5rem);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme='light'] {
	color-scheme: light;
}

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

[hidden] {
	display: none !important;
}

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
figure,
ul {
	margin: 0;
}

h1,
h2 {
	font-weight: 430;
	letter-spacing: -0.032em;
	text-wrap: balance;
}

h1 {
	/* 13vw als Deckel, damit „Webdesign“ auch bei großer Schrifteinstellung in die Zeile passt */
	font-size: clamp(min(2.6rem, 13vw), 5.4vw, 4.6rem);
	line-height: 1.08;
}

h2 {
	font-size: clamp(2.1rem, 4.2vw, 3.4rem);
	line-height: 1.14;
}

h3 {
	font-size: clamp(1.4rem, 2.1vw, 1.75rem);
	font-weight: 550;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

em {
	font-family: 'Libre Baskerville', Georgia, serif;
	font-style: italic;
	font-weight: 400;
	font-size: 0.96em;
	letter-spacing: -0.045em;
	color: var(--accent);
}

/* Verlauf von der Akzentfarbe in einen tieferen Ton. Die Fläche ist dreimal so breit wie das Wort und wiederholt sich,
   deshalb sehen Anfang und Ende des Schimmers gleich aus. Der Innenabstand hält schräge Über- und Unterlängen in der Fläche. */
@supports (background-clip: text) {
	em {
		padding: 0.12em 0.14em 0.24em 0.1em;
		margin: -0.12em -0.14em -0.24em -0.1em;
		background: linear-gradient(100deg in oklab, var(--accent) 4%, var(--accent-deep) 33.3%, var(--accent) 66.6%, var(--accent-deep) 100%) 0 0 / 300% 100%;
		background-clip: text;
		-webkit-text-fill-color: transparent;
	}
}

@media (forced-colors: active), print {
	em {
		background: none;
		-webkit-text-fill-color: currentColor;
	}
}

/* Schimmer wie Licht auf dem Wasser: einmal beim Erscheinen, danach beim Überfahren der Überschrift */
@keyframes shimmer {
	from { background-position: 100% 0; }
	to { background-position: 0 0; }
}

@media (prefers-reduced-motion: no-preference) {
	em.is-shimmering { animation: shimmer 4.5s cubic-bezier(0.45, 0, 0.3, 1) 0.3s backwards; }
}


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

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

.wrap {
	max-width: var(--page);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip {
	position: absolute;
	left: var(--gutter);
	top: -5rem;
	z-index: 30;
	padding: var(--space-sm) var(--space-md);
	background: var(--ink);
	color: var(--bg);
	border-radius: 999px;
}

.skip:focus {
	top: var(--space-sm);
}

/* Kopfzeile */
.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: color-mix(in oklch, var(--bg) 88%, transparent);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--line);
}

.site-header .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-xs) var(--space-md);
	min-height: 4.5rem;
	padding-block: var(--space-xs);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: var(--space-xs);
	min-height: 44px;
	color: var(--ink);
	text-decoration: none;
	font-weight: 650;
	font-size: 1.3rem;
	letter-spacing: -0.015em;
}

.brand svg {
	width: 2rem;
	height: auto;
	flex: none;
	color: var(--dot);
}

.site-nav {
	display: flex;
	gap: var(--space-lg);
	margin-right: auto;
	margin-left: var(--space-xs);
	padding-left: var(--space-lg);
	border-left: 1px solid var(--line);
}

.site-nav a {
	padding-block: var(--space-xs);
	white-space: nowrap;
	color: var(--muted);
	text-decoration: none;
	transition: color 0.2s var(--ease);
}

.site-nav a:hover {
	color: var(--ink);
}

/* Abschnitt, der gerade zu sehen ist. Unsichtbare Kopien in beiden Schriftstärken halten die Breite frei,
   damit die Nachbarn beim Wechsel nicht verrutschen. */
.site-nav a {
	display: inline-grid;
	justify-items: center;
}

.site-nav a::before {
	order: 1;
	content: attr(data-label) / '';
	height: 0;
	overflow: hidden;
	visibility: hidden;
	font-weight: 400;
	letter-spacing: 0;
}

.site-nav a::after {
	order: 2;
	content: attr(data-label) / '';
	height: 0;
	overflow: hidden;
	visibility: hidden;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.site-nav a[aria-current] {
	color: var(--accent);
	font-weight: 600;
	letter-spacing: -0.02em;
}

.menu a[aria-current] {
	color: var(--accent);
}

/* Hell/Dunkel: zwei Hälften, der Schieber liegt unter der aktiven */
.theme-switch {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	flex: none;
	width: 80px;
	height: 44px;
	padding: 4px;
	border: 0;
	border-radius: 999px;
	background: var(--chip);
	color: var(--muted);
	cursor: pointer;
}

.theme-switch::before {
	content: '';
	position: absolute;
	inset: 4px auto 4px 4px;
	width: 36px;
	border-radius: 999px;
	background: var(--knob);
	box-shadow: 0 1px 3px var(--shadow), 0 0 0 1px var(--line);
	transition: transform 0.4s cubic-bezier(0.5, 0, 0.2, 1), background-color 0.4s;
}

.theme-switch[aria-pressed='true']::before {
	transform: translateX(36px);
}

.theme-option {
	position: relative;
	display: grid;
	place-items: center;
	transition: color 0.4s;
}

.theme-switch[aria-pressed='false'] .theme-option:nth-of-type(2),
.theme-switch[aria-pressed='true'] .theme-option:nth-of-type(3) {
	color: var(--ink);
}

.menu-button {
	display: none;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: none;
	color: var(--ink);
	cursor: pointer;
	transition: border-color 0.2s var(--ease);
}

.menu-button:hover {
	border-color: var(--ink);
}

/* Handy-Menü: Kopfzeile mit X, abgedunkelte Seite, Panel am unteren Rand (gut mit dem Daumen erreichbar) */
.menu {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100dvh;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ink);
	flex-direction: column;
}

.menu[open] {
	display: flex;
}

.menu::backdrop {
	background: transparent;
}

.menu-bar {
	flex: none;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
}

.menu-bar .wrap {
	height: 100%;
}

.menu-bar .menu-button {
	display: grid;
}

.menu-scrim {
	flex: 1;
	min-height: 2rem;
	margin-bottom: -1.75rem;
	background: rgb(2 6 24 / 0.6);
}

.menu-sheet {
	position: relative;
	flex: none;
	width: 100%;
	max-width: 36rem;
	max-height: 80dvh;
	margin-inline: auto;
	overflow-y: auto;
	padding: 0.5rem 1rem calc(1.75rem + env(safe-area-inset-bottom, 0px));
	border-radius: 1.75rem 1.75rem 0 0;
	background: var(--raised);
	box-shadow: 0 -24px 60px -24px var(--shadow);
}

.menu-handle {
	width: 2.25rem;
	height: 4px;
	margin: 0 auto 1rem;
	border-radius: 999px;
	background: var(--pill-line);
}

.menu-actions {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
}

.menu-actions .pill {
	flex: 1;
	min-height: 48px;
}

/* Runder Knopf für Hell/Dunkel: zeigt den Modus, in den man wechselt */
.menu-circle {
	display: grid;
	place-items: center;
	flex: none;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--bg);
	box-shadow: inset 0 0 0 1px var(--line);
	color: var(--ink);
	cursor: pointer;
}

.menu-circle[hidden] {
	display: none;
}

.menu-theme[aria-pressed='true'] .menu-icon-moon,
.menu-theme[aria-pressed='false'] .menu-icon-sun {
	display: none;
}

.menu nav {
	margin-top: var(--space-lg);
}

.menu-label {
	margin: 0 0 0.5rem 0.25rem;
	color: var(--muted);
	font-size: 0.9375rem;
	font-weight: 600;
}

.menu-card {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
	border-radius: 16px;
	background: var(--bg);
	box-shadow: 0 0 0 1px var(--line);
	overflow: hidden;
}

.menu-card > * + * {
	border-top: 1px solid var(--line);
}

.menu-row {
	display: flex;
	min-height: 3.25rem;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-md);
	padding: 0.75rem 1rem;
	color: var(--ink);
	font-size: 1.0625rem;
	font-weight: 600;
	text-decoration: none;
}

.menu-row .icon {
	color: var(--muted);
}

.menu-row:hover,
.menu-row:active {
	background: var(--chip);
}

@media (prefers-reduced-motion: no-preference) {
	.menu[open] .menu-sheet {
		animation: menu-sheet-in 260ms var(--ease);
	}

	.menu[open] .menu-scrim {
		animation: menu-scrim-in 200ms ease-out;
	}
}

@keyframes menu-sheet-in {
	from { transform: translateY(100%); }
}

@keyframes menu-scrim-in {
	from { opacity: 0; }
}

.pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease);
}

.pill:active,
.menu-button:active {
	transform: scale(0.97);
}

.pill-outline {
	border: 1px solid var(--line);
	color: var(--ink);
}

.pill-outline:hover {
	border-color: var(--ink);
}

.pill-solid {
	min-height: 52px;
	padding-inline: 24px;
	background: var(--ink);
	color: var(--bg);
}

.pill-solid:hover {
	background: var(--accent);
}

.pill-whatsapp,
.pill-whatsapp:hover {
	position: relative;
	isolation: isolate;
	background: #25d366;
	color: #0b0f14;
}

/* Der Verlauf liegt als eigene Ebene darunter, damit er weich einblendet */
.pill-whatsapp::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: linear-gradient(100deg in oklab, #4fe387, #1cbb5a);
	opacity: 0;
	transition: opacity 0.3s var(--ease);
}

.pill-whatsapp:is(:hover, :focus-visible)::before {
	opacity: 1;
}

/* Einstieg */
.hero {
	position: relative;
	isolation: isolate;
	overflow: clip;
}

.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -2;
	background: radial-gradient(46% 50% at 70% 48%, var(--hero-glow), transparent);
	pointer-events: none;
}

/* Abstraktes Gelände nach Hamburg: Elbtal, Geest im Norden, Harburger Berge im Südwesten. Hinter dem Text ausgeblendet. */
.topo {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	pointer-events: none;
	mask-image: radial-gradient(80% 95% at 70% 50%, #000 40%, transparent 95%), linear-gradient(90deg, transparent 18%, #000 55%);
	mask-composite: intersect;
}

.topo path {
	fill: none;
	stroke: var(--contour);
	stroke-width: 1;
	opacity: 0.34;
	vector-effect: non-scaling-stroke;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.36fr);
	align-items: center;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(4rem, 9vw, 8rem);
}

.hero h1 {
	max-width: 13ch;
}

.lead {
	margin-top: var(--space-lg);
	max-width: 44ch;
	text-wrap: balance;
	color: var(--muted);
	font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
}

.contact-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
	margin-top: var(--space-2xl);
}

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
	margin-top: var(--space-2xl);
}

.pill-large {
	min-height: 52px;
	padding-inline: 24px;
}

/* Galerie im Einstieg: Beispiele im Browserfenster. Wechselt von selbst, per Klick auf das Bild oder die Vorschau. */
.stage {
	container-type: inline-size;
	justify-self: end;
	width: min(100%, 41rem);
	overflow: clip;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: var(--art);
	box-shadow: 0 24px 60px -12px var(--shadow);
}

.stage-bar {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 13px 20px;
}

.stage-bar i {
	width: 10px;
	height: 10px;
	flex: none;
	border-radius: 50%;
	background: var(--art-line);
}

.stage-address {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-inline: auto;
	padding: 6px 18px 6px 20px;
	border-radius: 999px;
	background: var(--chip);
	color: var(--muted);
	font-size: 0.8125rem;
	line-height: 1.3;
	text-decoration: none;
	transform: translateX(-22px);
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

/* Trefferfläche über die volle Höhe der Leiste */
.stage-address[href]::after {
	content: '';
	position: absolute;
	inset: -9px 0;
}

.stage-address:not([href]) :is(svg, .sr-only) {
	display: none;
}

.stage-address[href]:hover {
	background: var(--art-line);
	color: var(--ink);
}

@container (max-width: 20rem) {
	.stage-address {
		padding-inline: 14px;
		margin-right: 0;
		transform: none;
	}
}

.stage-page {
	position: relative;
}

.stage-slides {
	display: grid;
	overflow: clip;
	background: oklch(96% 0.004 250);
}

.stage-slides img {
	grid-area: 1 / 1;
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: top;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.7s var(--ease), visibility 0s 0.7s;
}

.stage-slides img.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.7s var(--ease);
}

.stage-next {
	position: absolute;
	inset: 0;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.stage-next:focus-visible {
	outline-offset: -4px;
	border-radius: 0;
	outline: 3px solid oklch(48% 0.13 245);
}

.stage-tools {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-sm) var(--space-md);
	padding: 14px 16px 14px 20px;
	border-top: 1px solid var(--art-line);
}

.stage-caption {
	display: grid;
	min-height: 2.7rem;
	align-content: center;
	color: var(--muted);
	font-size: 0.9rem;
	line-height: 1.35;
}

.stage-caption strong {
	color: var(--ink);
	font-size: 1rem;
	font-weight: 600;
}

.stage-controls {
	display: flex;
	align-items: center;
	gap: var(--space-xs);
}

@container (max-width: 35rem) {
	.stage-tools {
		flex-direction: column;
		align-items: stretch;
	}

	.stage-controls {
		flex-direction: row-reverse;
		justify-content: space-between;
	}
}

.stage-pause {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.stage-pause:hover {
	background: var(--chip);
	color: var(--ink);
}

.stage-pause .i-play,
.stage.is-paused .i-pause {
	display: none;
}

.stage.is-paused .i-play {
	display: block;
}

.stage-thumbs {
	display: flex;
	min-width: 0;
	gap: var(--space-xs);
}

.stage-thumbs button {
	width: 52px;
	min-width: 0;
	height: 44px;
	padding: 0;
	overflow: clip;
	border: 0;
	border-radius: 9px;
	background: var(--chip);
	cursor: pointer;
	opacity: 0.6;
	transition: opacity 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.stage-thumbs img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

.stage-thumbs button:hover {
	opacity: 1;
}

.stage-thumbs button[aria-current='true'] {
	opacity: 1;
	box-shadow: 0 0 0 2px var(--art), 0 0 0 4px var(--accent);
}

.tile {
	display: grid;
	place-items: center;
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--chip);
	color: var(--dot);
}

.tile svg {
	width: 62%;
	height: auto;
}

/* Die Kante: Geländestufe von der Geest (links) zur Marsch (rechts), darüber Höhenlinien */
.edge {
	position: relative;
	line-height: 0;
}

.contours {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: -1;
	width: 100%;
	height: calc(clamp(220px, 34vw, 480px) + 0.4 * clamp(56px, 9vw, 130px));
	/* links auslaufend, damit keine Linie durch den Text läuft */
	mask-image: linear-gradient(90deg, transparent 40%, #000 62%);
}

.contours path {
	fill: none;
	stroke: var(--contour);
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
}

/* Jede Stufe liegt wie eine Platte über der vorigen und wirft einen weichen Schatten nach oben */
.contours .plate {
	fill: color-mix(in oklab, var(--bg), var(--plate) calc((var(--i) + 2) * 100% / 8));
	stroke: none;
	filter: drop-shadow(0 -5px 12px var(--plate-shadow));
}

.edge-shape {
	display: block;
	width: 100%;
	height: clamp(56px, 9vw, 130px);
}

.edge-fill {
	fill: var(--bg-low);
}

.edge-line {
	fill: none;
	stroke: var(--edge-line);
	stroke-width: 1.5;
	vector-effect: non-scaling-stroke;
}

/* Ein Licht läuft einmal die Linie entlang und lässt den Punkt kurz aufleuchten */
.edge-light {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	mask: linear-gradient(90deg, transparent, #000, transparent) -30% 0 / 22% 100% no-repeat;
}

.edge-light path {
	fill: none;
	stroke: var(--accent);
	stroke-width: 3;
	vector-effect: non-scaling-stroke;
}

@keyframes edge-light {
	from { mask-position: -30% 0; }
	to { mask-position: 130% 0; }
}

@keyframes buoy-light {
	40% { transform: scale(1.7); background: var(--accent); }
}

@media (prefers-reduced-motion: no-preference) {
	.edge.is-lit .edge-light { opacity: 0.4; animation: edge-light 3.2s linear 0.9s both; }
	.edge.is-lit .buoy::before { animation: buoy-light 0.9s var(--ease) 2.2s; }
}

/* Fehlerseite: zwei Ameisen laufen einmal los (unter 5 Sekunden), werden müde und setzen sich kurz vor der Kante */
.journey {
	position: relative;
	width: min(100%, 38rem);
	margin-top: var(--space-3xl);
	line-height: 0;
}

.journey > svg {
	display: block;
	width: 100%;
	height: 64px;
	overflow: visible;
	mask-image: linear-gradient(90deg, transparent, #000 12% 88%, transparent);
}

.ants {
	--there: calc(740 / 1440 * 100% - 62px);
	position: absolute;
	left: var(--there);
	bottom: calc(100% - 24 / 160 * 100%);
	display: flex;
	gap: 6px;
	color: var(--ink);
}

.ant {
	overflow: visible;
	fill: currentColor;
}

.ant path {
	fill: none;
	stroke: currentColor;
	stroke-width: 1;
	stroke-linecap: round;
}

/* Ruhelage: hingesetzt, Beine eingezogen */
.ant-body {
	transform: translateY(2.6px);
}

.ant-legs {
	opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
	.ants { animation: ants-walk 4.8s linear backwards; }
	.ant-body { animation: ant-sit 4.8s var(--ease) backwards; }
	.ant-legs { animation: ant-step 0.3s steps(1) 10, ant-step 0.6s steps(1) 3s 3; }
	.ant-legs-2 { animation-name: ant-step-2; }
}

@keyframes ants-walk {
	from { left: 8%; }
	62% { left: calc(740 / 1440 * 100% - 92px); }
	100% { left: var(--there); }
}

@keyframes ant-sit {
	from, 94% { transform: none; }
}

@keyframes ant-step {
	0% { opacity: 1; }
	50%, 100% { opacity: 0; }
}

@keyframes ant-step-2 {
	0% { opacity: 0; }
	50%, 100% { opacity: 1; }
}

.poem {
	margin: var(--space-xl) 0 0;
	text-align: left;
}

.poem blockquote {
	margin: 0;
	font-family: 'Libre Baskerville', Georgia, serif;
	font-size: clamp(0.875rem, 4vw, 1.125rem);
	font-style: italic;
	letter-spacing: -0.03em;
	line-height: 1.75;
}

.contact .poem blockquote p {
	margin-top: 0;
	color: var(--ink);
	text-wrap: wrap;
	white-space: nowrap;
}

.contact .poem blockquote p + p {
	margin-top: var(--space-md);
}

.poem figcaption {
	margin-top: var(--space-lg);
	color: var(--muted);
	font-size: 0.95rem;
}

/* Punkt auf der Linie, Lage im Koordinatensystem der Linie (1440 × 160), Trefferfläche 48 px */
.buoy {
	position: absolute;
	left: calc(740 / 1440 * 100%);
	top: calc(24 / 160 * 100%);
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin: -24px 0 0 -24px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--accent);
	cursor: default;
}

.buoy::before {
	content: '';
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--dot);
	transition: scale 0.3s var(--ease);
}

.buoy:is(:hover, :focus-visible, .is-open)::before {
	scale: 1.5;
}

.buoy span {
	position: absolute;
	bottom: calc(100% - 6px);
	left: 50%;
	padding: 2px 8px 6px;
	/* deckt die Höhenlinien hinter dem Text weich ab */
	border-radius: 12px;
	background: var(--bg);
	box-shadow: 0 0 12px 4px var(--bg);
	font-family: 'Libre Baskerville', Georgia, serif;
	font-size: 1.1875rem;
	font-style: italic;
	letter-spacing: -0.03em;
	line-height: 1.3;
	width: max-content;
	max-width: calc(100vw - 2.5rem);
	text-wrap: balance;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 6px);
	transition: opacity 0.25s var(--ease), transform 0.35s var(--ease);
}

.buoy:is(:hover, :focus-visible, .is-open):not(.is-dismissed) span {
	opacity: 1;
	transform: translate(-50%, 0);
}

@media (prefers-reduced-motion: reduce) {
	.buoy::before,
	.buoy span {
		transition: none;
	}
}

.marsch {
	margin-top: -1px;
	background: var(--bg-low);
}

/* Über mich: großes Foto, daneben Überschrift und Text als eine Gruppe */
.about {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: var(--space-xl) clamp(2rem, 5.5vw, 5rem);
	align-items: center;
	padding-top: var(--section);
}

.about-photo {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 24px;
}

.about-text p {
	max-width: 60ch;
	text-wrap: balance;
	margin-top: var(--space-md);
	color: var(--muted);
	font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
}

.about-text .about-lead {
	max-width: 30em;
	margin-block: var(--space-lg);
	color: var(--ink);
	font-size: clamp(1.25rem, 2.1vw, 1.625rem);
	line-height: 1.4;
	letter-spacing: -0.012em;
	text-wrap: pretty;
}

/* Stimmen von Kunden: zwei Zitate nebeneinander, darunter der Weg zu allen Bewertungen */
.voices {
	padding-top: var(--section);
	text-align: center;
}

.voices-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-lg);
	margin-top: var(--space-xl);
	text-align: left;
}

.voice {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--space-lg);
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border-radius: 24px;
	background: var(--bg-low);
	box-shadow: inset 0 0 0 1px var(--line);
}

.voice blockquote {
	margin: 0;
	flex: 1;
}

.voice-stars {
	margin-bottom: calc(var(--space-sm) - var(--space-lg));
	color: var(--highlight-deep);
	letter-spacing: 0.08em;
	line-height: 1;
}

.voice blockquote p {
	font-size: clamp(1.125rem, 1.7vw, 1.3125rem);
	line-height: 1.5;
	letter-spacing: -0.01em;
	text-wrap: pretty;
}

.voice blockquote p::before {
	content: '„';
}

.voice blockquote p::after {
	content: '“';
}

.voice figcaption {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 0.9375rem;
}

.voice figcaption span {
	color: var(--muted);
}

.voices-link {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: var(--space-xs);
	min-height: 44px;
	margin-top: var(--space-lg);
	color: var(--ink);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--line);
	text-underline-offset: 0.25em;
	transition: text-decoration-color 0.2s var(--ease);
}

.voices-link:hover {
	text-decoration-color: currentColor;
}

.voices-count {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
}

.voices-stars {
	color: var(--highlight-deep);
	letter-spacing: 0.08em;
}

@media (max-width: 48rem) {
	.voices-list {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Sprungziele: den großen Abstand über der Überschrift beim Springen zur Hälfte überspringen */
.offer,
.steps,
.prices,
.about,
.contact {
	scroll-margin-top: calc(var(--section) / -2);
}

/* Leistungen */
.offer {
	padding-top: clamp(3.5rem, 7vw, 6rem);
	scroll-margin-top: 0;
}

.offer h2 {
	text-align: center;
}

.bento {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 20px;
	margin-top: clamp(2.5rem, 5vw, 4rem);
	padding: 0;
	list-style: none;
}

.panel {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	min-height: 30rem;
	padding: clamp(1.75rem, 3vw, 3rem);
	overflow: clip;
	border-radius: 24px;
}

/* Hover: ein heller Verlauf von oben blendet sich über die Fläche, hinter Text und Bild */
.panel::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(120% 110% at 25% 0%, var(--panel-glow), transparent 75%);
	opacity: 0;
	transition: opacity 0.6s ease-out;
	pointer-events: none;
}

.panel p {
	text-wrap: pretty;
	margin-top: var(--space-xs);
	max-width: 42ch;
	color: var(--panel-muted);
}

.panel-web {
	--pad: clamp(1.75rem, 4vw, 4rem);
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	align-items: center;
	gap: clamp(2rem, 4vw, 4rem);
	padding: var(--pad);
	background: linear-gradient(150deg, var(--web) 25%, var(--web-2));
}

.web-contours {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	/* links auslaufend, damit keine Linie durch den Text läuft */
	mask-image: linear-gradient(90deg, transparent 38%, #000 70%);
}

.web-contours path {
	fill: none;
	stroke: var(--contour);
	stroke-width: 1;
	opacity: 0.4;
	vector-effect: non-scaling-stroke;
}

.web-text h3 {
	font-size: clamp(2rem, 4vw, 3.25rem);
	font-weight: 430;
	line-height: 1.06;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.web-text p {
	margin-top: var(--space-lg);
	max-width: 44ch;
}

.web-text .web-lead {
	color: var(--ink);
	font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
	line-height: 1.45;
}

.web-questions {
	display: grid;
	justify-items: start;
	gap: 10px;
	margin-top: var(--space-md);
	padding: 0;
	list-style: none;
}

.web-questions li {
	display: flex;
	cursor: default;
	align-items: center;
	gap: 12px;
	padding: 11px 18px 11px 14px;
	border-radius: 12px;
	background: light-dark(oklch(94.5% 0.028 235), oklch(36% 0.07 240));
	font-weight: 550;
	line-height: 1.3;
	transition: background-color 0.3s;
}

.web-questions .icon {
	flex: none;
	overflow: visible;
	color: var(--accent);
}

.web-text .web-questions + p {
	margin-top: var(--space-md);
}

/* Beispiel am Rechner, läuft rechts aus der Karte; davor das Handy, nach links unten versetzt */
.web-stage {
	position: relative;
	align-self: stretch;
	min-height: 31rem;
}

.web-browser {
	position: absolute;
	inset: 1.5rem calc(var(--pad) * -1 - 2rem) auto 7.5rem;
	height: 24rem;
	overflow: clip;
	border-radius: 16px;
	background: var(--art);
	box-shadow: 0 0 0 1px var(--line), 0 24px 60px -14px var(--shadow);
}

.bar {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 36px;
	padding-inline: 16px;
}

.bar i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--art-line);
}

.web-browser img {
	display: block;
	width: 100%;
	height: calc(100% - 36px);
	object-fit: cover;
	object-position: 0 0;
}

.web-phone {
	position: absolute;
	bottom: 0;
	left: 2.5rem;
	width: 12rem;
	padding: 6px;
	border-radius: 30px;
	background: oklch(20% 0.02 250);
	box-shadow: 0 0 0 1px oklch(45% 0.02 250), 0 24px 50px -10px oklch(5% 0.01 250 / 0.55);
	transition: transform 0.6s var(--ease);
}

.web-phone img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 24px;
}

/* Die vier kleinen Felder: am Desktop Teil des Rasters, auf dem Handy eine Reihe zum Wischen */
.bento-row,
.bento-slider {
	display: contents;
}

.bento-slider {
	padding: 0;
	list-style: none;
}

.panel-ease {
	background: linear-gradient(180deg, var(--marsch-1), var(--marsch-2));
}

.panel-small {
	grid-column: span 6;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 12.5rem);
	align-items: center;
	gap: var(--space-lg);
	min-height: 19rem;
	padding: clamp(1.5rem, 2.8vw, 2.5rem);
}

.panel-built {
	background: var(--geest-1);
}

.panel-access {
	background: var(--geest-1);
}

.panel-own {
	background: var(--marsch-1);
}

.panel-print {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: var(--space-xl);
	min-height: 0;
	background: linear-gradient(150deg, var(--heide-1), var(--heide-2));
}

.panel-link {
	display: inline-block;
	align-self: start;
	margin-top: var(--space-xs);
	padding-block: 9px;
	color: var(--ink);
	font-weight: 550;
	text-decoration-color: var(--panel-muted);
}

.panel-link:hover {
	text-decoration-color: currentColor;
	text-decoration-thickness: 2px;
}

.panel-print {
	--panel-glow: light-dark(oklch(100% 0 0 / 0.85), oklch(80% 0.1 250 / 0.15));
}

.panel-web,
.panel-built,
.panel-access {
	--panel-glow: light-dark(oklch(100% 0 0 / 0.85), oklch(82% 0.04 250 / 0.14));
}

/* Bilder in den Feldern sind reine Gestaltung aus CSS */
.art {
	color: var(--dot);
}

.art-print {
	position: relative;
	min-height: 17rem;
}

.card {
	position: absolute;
	left: 50%;
	top: 50%;
	width: min(17rem, 84%);
	aspect-ratio: 85 / 55;
	border-radius: 12px;
	box-shadow: 0 14px 36px -8px var(--shadow);
	transition: transform 0.6s var(--ease);
}

.card-back {
	display: grid;
	place-content: start;
	padding: 20px 22px;
	background: oklch(38% 0.11 245);
	color: oklch(88% 0.07 230);
	transform: translate(-58%, -78%) rotate(-9deg);
}

.card-back svg {
	width: 3.5rem;
	height: auto;
}

.card-front {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 18px 20px;
	background: oklch(98% 0.006 110);
	color: oklch(38% 0.025 250);
	font-size: 0.875rem;
	line-height: 1.2;
	transform: translate(-42%, -26%) rotate(6deg);
}

.card-brand {
	display: flex;
	align-items: center;
	gap: 7px;
	color: oklch(23% 0.04 250);
	font-size: 1.15rem;
	font-weight: 650;
	letter-spacing: -0.015em;
}

.card-brand svg {
	width: 1.75rem;
	height: auto;
	color: oklch(54% 0.15 245);
}

/* Pflege: Eingabemaske, darüber der Hinweis, wie er auf der Website steht */
.art-ease {
	position: relative;
	height: 10.5rem;
}

.mask {
	position: absolute;
	inset: 0 0 auto;
	display: grid;
	gap: 12px;
	padding: 16px 16px 36px;
	border-radius: 18px;
	background: var(--art);
	box-shadow: 0 12px 36px -10px var(--shadow);
	color: var(--ink);
	font-weight: 550;
}

.mask-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.mask-row i {
	width: 44px;
	height: 26px;
	border: 3px solid var(--dot);
	border-radius: 999px;
	background: radial-gradient(circle 9px at calc(100% - 10px) 50%, var(--art) 96%, transparent) var(--dot);
}

.mask-dates {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	color: var(--panel-muted);
	font-weight: 400;
}

.mask-dates span {
	padding: 7px 12px;
	border: 1px solid var(--art-line);
	border-radius: 10px;
	white-space: nowrap;
}

.notice {
	position: absolute;
	bottom: 0;
	right: -0.5rem;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 14px 12px 12px;
	border-radius: 14px;
	background: var(--ink);
	box-shadow: 0 12px 30px -8px var(--shadow);
	color: var(--bg);
	font-size: 0.9375rem;
	font-weight: 550;
	line-height: 1.25;
	white-space: nowrap;
	transition: transform 0.6s var(--ease);
}

/* Passend gebaut: üppige und schlanke Seite */
.art-built {
	position: relative;
	height: 10.5rem;
}

.frame {
	position: absolute;
	display: grid;
	align-content: start;
	gap: 9px;
	padding: 14px;
	border-radius: 14px;
	background: var(--art);
	box-shadow: 0 10px 28px -8px var(--shadow);
	transition: transform 0.6s var(--ease);
}

.frame-rich {
	inset: 0 24% auto 0;
	grid-template-columns: repeat(3, 1fr);
	height: 8.75rem;
}

.frame-rich u {
	grid-column: 1 / -1;
}

.frame u {
	display: block;
	height: 12px;
	width: 45%;
	border-radius: 999px;
	background: var(--ink);
}

.frame b {
	height: 34px;
	border-radius: 7px;
	background: var(--art-line);
}

.frame-slim {
	inset: 2rem 0 auto auto;
	width: 46%;
	height: 8.5rem;
}

.frame-slim u {
	width: 60%;
	background: var(--dot);
}

.frame-slim s {
	height: 8px;
	border-radius: 999px;
	background: var(--art-line);
}

.frame-slim s:last-child {
	width: 65%;
}

/* Für alle bedienbar: wachsende Schrift, die größte mit Fokusrahmen */
.art-access {
	display: flex;
	align-items: flex-end;
	gap: 20px;
	height: 10.5rem;
	padding-bottom: 4px;
	color: var(--panel-muted);
	font-weight: 550;
	line-height: 1;
}

/* neben dem Text reicht ein kleinerer Buchstabe */
@media (min-width: 72.01rem) {
	.art-access span:nth-child(1) {
		display: none;
	}
}

.art-access span:nth-child(1) {
	font-size: 1.5rem;
}

.art-access span:nth-child(2) {
	font-size: 2.75rem;
}

.art-access .is-focus {
	margin-left: auto;
	padding: 22px 18px;
	border-radius: 18px;
	outline: 3px solid var(--accent);
	outline-offset: 5px;
	background: var(--art);
	color: var(--ink);
	font-size: 4.5rem;
	font-weight: 430;
	letter-spacing: -0.03em;
	margin-right: 8px;
	margin-bottom: 8px;
}

/* Alles gehört Ihnen: Adresse und Schlüssel */
.art-own {
	display: grid;
	align-content: end;
	justify-items: start;
	height: 10.5rem;
}

.own-key {
	display: grid;
	place-items: center;
	z-index: 1;
	width: 68px;
	height: 68px;
	margin: 0 0 -14px 20px;
	border-radius: 18px;
	background: var(--ink);
	box-shadow: 0 10px 24px -8px var(--shadow);
	color: var(--bg);
	transition: transform 0.6s var(--ease);
}

.own-address {
	width: 100%;
	padding: 24px 24px 20px;
	border-radius: 16px;
	background: var(--art);
	box-shadow: 0 10px 28px -8px var(--shadow);
	color: var(--ink);
	font-size: 1.3rem;
	font-weight: 550;
	line-height: 1.2;
}

/* Ablauf: vier Schritte entlang der Kante, der zweite Teil liegt tiefer */
.steps {
	padding-top: var(--section);
}

.steps h2 {
	text-align: center;
}

.steps-path {
	position: relative;
	margin-top: clamp(2.5rem, 5vw, 4rem);
}

.steps-line {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 64px;
	overflow: visible;
}

.steps-line path {
	fill: none;
	stroke: var(--edge-line);
	stroke-width: 1.5;
	vector-effect: non-scaling-stroke;
}

.steps ol {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1.5rem, 3vw, 3rem);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.steps li {
	position: relative;
	padding-top: 44px;
	counter-increment: step;
}

.steps li:nth-child(n + 3) {
	margin-top: 60px;
}

.steps li::before {
	content: counter(step);
	position: absolute;
	top: calc(2px - 1.125rem);
	left: 0;
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	border: 1.5px solid var(--edge-line);
	border-radius: 50%;
	background: var(--bg-low);
	box-shadow: 0 0 0 5px var(--bg-low);
	color: var(--accent);
	font-weight: 600;
	line-height: 1;
}

.steps p {
	margin-top: var(--space-xs);
	color: var(--muted);
}

/* Ziel am Ende der Linie: gefüllter Punkt, der Satz steht darüber */
.steps .steps-end {
	position: absolute;
	top: 62px;
	right: 0;
	margin: 0;
	padding-bottom: 1.25rem;
	color: var(--ink);
	font-weight: 550;
	line-height: 1.3;
	transform: translateY(-100%);
}

.steps-end::before {
	content: '';
	position: absolute;
	right: 0;
	bottom: -0.45rem;
	width: 0.9rem;
	height: 0.9rem;
	border-radius: 50%;
	background: var(--dot);
	box-shadow: 0 0 0 5px var(--bg-low);
}

/* Preise: drei Spalten, oben die Karte mit Preis, darunter der Umfang.
   Subgrid hält Karten und Listen nebeneinander auf gleicher Höhe. */
.prices {
	padding-top: var(--section);
}

.prices-head {
	text-align: center;
}

.prices-head p {
	margin-top: var(--space-md);
	color: var(--muted);
	font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
}

.plans {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: clamp(2.5rem, 5vw, 4rem);
	padding: 0;
	list-style: none;
}

.plan {
	display: grid;
	grid-row: span 2;
	grid-template-rows: subgrid;
	row-gap: 0;
	border-radius: 24px;
	background: var(--plan);
}

.plan-top {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	padding: var(--space-lg);
	border: 1px solid transparent;
	border-radius: 24px;
}

/* Hover: ein Hauch Metall blendet sich ein, ein Lichtschein wandert langsam um die Kante.
   Beim Verlassen bleibt er stehen und blendet aus, beim nächsten Mal läuft er von dort weiter. */
@property --turn {
	syntax: '<angle>';
	inherits: false;
	initial-value: -50deg;
}

@keyframes turn {
	to { --turn: 310deg; }
}

@property --sheen {
	syntax: '<color>';
	inherits: false;
	initial-value: transparent;
}

/* Die Fläche liegt als eigene Ebene hinter dem Inhalt. Beim Überfahren wächst nur sie, Text und Knopf bleiben stehen. */
.plan-top::before,
.plan-top::after {
	content: '';
	position: absolute;
	inset: -1px;
	z-index: -1;
	border-radius: 24px;
	pointer-events: none;
}

.plan-top::before {
	border: 1px solid var(--line);
	background: linear-gradient(135deg, var(--sheen), transparent 55%) border-box, var(--raised);
	box-shadow: 0 8px 24px -8px var(--shadow);
	transition: scale 1.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 1.4s cubic-bezier(0.4, 0, 0.2, 1), --sheen 0.9s ease-out;
}

.plan-top::after {
	padding: 1px;
	background: conic-gradient(from var(--turn), var(--metal-edge), transparent 80deg 280deg, var(--metal-edge));
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	opacity: 0;
	animation: turn 6s linear infinite paused;
	transition: scale 1.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.9s ease-out;
}

@media (hover: hover) {
	.plan:hover .plan-top::before {
		--sheen: var(--metal);
		box-shadow: 0 12px 30px -9px var(--shadow);
	}

	.plan:hover .plan-top::after {
		opacity: 1;
		animation-play-state: running;
	}
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.plan:hover .plan-top::before,
	.plan:hover .plan-top::after {
		scale: 1.015;
	}
}

@media (prefers-reduced-motion: reduce) {
	.plan-top::before,
	.plan-top::after {
		animation: none;
		transition: none;
	}
}

.plan-icon {
	margin: 0 0 var(--space-md) -3px;
	overflow: visible;
	color: var(--accent);
}

.plan h3 {
	overflow-wrap: anywhere;
}

.plan-top > p:not(.price) {
	margin-top: var(--space-xs);
	margin-bottom: var(--space-xl);
	color: var(--panel-muted);
}

.price {
	margin-top: auto;
	font-size: 2rem;
	font-weight: 430;
	line-height: 1.2;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
}

.price span {
	display: block;
	margin-top: 2px;
	color: var(--panel-muted);
	font-size: 1rem;
	letter-spacing: 0;
}

.plan .pill {
	margin-top: var(--space-lg);
	border-color: var(--pill-line);
}

/* Hover: Verlauf der kursiven Wörter, über die Deckkraft eingeblendet */
.plan .pill {
	position: relative;
	isolation: isolate;
	transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.2s var(--ease);
}

.plan .pill::before {
	content: '';
	position: absolute;
	inset: -1px;
	z-index: -1;
	border-radius: inherit;
	background: linear-gradient(100deg in oklab, var(--accent), var(--accent-deep));
	opacity: 0;
	transition: opacity 0.3s var(--ease);
}

.plan .pill:is(:hover, :focus-visible) {
	border-color: transparent;
	background: transparent;
	color: light-dark(oklch(99% 0.003 240), oklch(16% 0.03 250));
}

.plan .pill:is(:hover, :focus-visible)::before {
	opacity: 1;
}

.plan-features {
	padding: var(--space-lg);
}

.plan-features p {
	margin-bottom: var(--space-sm);
	font-weight: 550;
}

.plan-features ul {
	display: grid;
	gap: var(--space-sm);
	padding: 0;
	list-style: none;
}

.plan-features li,
.care-features li {
	position: relative;
	padding-left: 28px;
	line-height: 1.45;
}

.plan-features li::before,
.care-features li::before {
	content: '';
	position: absolute;
	top: 0.3em;
	left: 5px;
	width: 7px;
	height: 13px;
	border: solid var(--accent);
	border-width: 0 2px 2px 0;
	rotate: 42deg;
}

/* Website-Pflege: Zusatz zu jeder Website. Die Auswahl steuert Text, Punkte und Umfang allein über :has(:checked). */
.care {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(1.75rem, 4vw, 4rem);
	align-items: center;
	margin-top: clamp(2.5rem, 5vw, 4rem);
	padding: clamp(1.5rem, 4vw, 3.5rem);
	border-radius: 24px;
	background: linear-gradient(150deg, var(--marsch-1), var(--marsch-2));
}

.care-choice h3 {
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	font-weight: 430;
}

.care-choice > p {
	max-width: 42ch;
	margin-top: var(--space-sm);
	color: var(--panel-muted);
}

.care fieldset {
	container: care / inline-size;
	display: grid;
	gap: var(--space-sm);
	min-width: 0;
	margin: var(--space-lg) 0 0;
	padding: 0;
	border: 0;
}

.care label {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 12px;
	min-height: 56px;
	padding: 10px 18px;
	border: 1px solid transparent;
	border-radius: 16px;
	background: light-dark(oklch(100% 0 0 / 0.5), oklch(10% 0.02 200 / 0.28));
	cursor: pointer;
	transition: background-color 0.25s, border-color 0.25s;
}

.care label:hover {
	border-color: var(--panel-muted);
}

.care label:has(:checked) {
	border-color: var(--accent);
	background: var(--art);
}

.care label:has(:focus-visible) {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

.care input {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--accent);
	outline: none;
	cursor: pointer;
}

.care-name {
	font-weight: 550;
}

/* Störer neben dem Namen, einzige warme Farbe neben dem Blau. Fehlt der Platz, sitzt er links auf der Oberkante. */
.care-flag {
	padding: 4px 11px 5px;
	border-radius: 999px;
	background: linear-gradient(100deg in oklab, var(--highlight), var(--highlight-deep));
	box-shadow: 0 0 18px -2px oklch(80% 0.17 65 / 0.45);
	color: var(--on-highlight);
	font-size: 0.8125rem;
	font-weight: 650;
	line-height: 1.2;
}

@container care (max-width: 21rem) {
	.care-flag {
		position: absolute;
		top: -1px;
		left: 50px;
		transform: translateY(-50%);
	}
}

.care-price {
	margin-left: auto;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.care-price small {
	color: var(--panel-muted);
	font-size: 0.95rem;
}

.care-result {
	display: flex;
	flex-direction: column;
	min-height: 28.5rem;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border-radius: 20px;
	background: var(--art);
}

.care-time strong {
	display: block;
	font-size: clamp(1.9rem, 3.4vw, 2.75rem);
	font-weight: 430;
	line-height: 1.15;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
}

.care-time {
	color: var(--muted);
}

.care-time strong {
	color: var(--ink);
}

.care-dots {
	display: grid;
	grid-template-columns: repeat(9, 1fr);
	gap: 8px;
	max-width: 22rem;
	margin-top: var(--space-lg);
}

.care-dots i {
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--art-line);
	transform: scale(0.45);
	transition: transform 0.35s var(--ease), background-color 0.35s;
	transition-delay: calc(var(--i) * 18ms);
}

.care:has([value='care']:checked) .care-dots i:nth-child(-n + 6),
.care:has([value='plus']:checked) .care-dots i {
	background: var(--dot);
	transform: none;
}

.care-key {
	margin-top: var(--space-sm);
	color: var(--muted);
	font-size: 0.95rem;
}

.care-features {
	display: grid;
	gap: var(--space-sm);
	margin-top: var(--space-lg);
	padding: 0;
	list-style: none;
}

.care-without {
	margin-top: var(--space-lg);
}

.care:not(:has([value='none']:checked)) :is(.care-for-none, .care-without),
.care:not(:has([value='care']:checked)) .care-for-care,
.care:not(:has([value='plus']:checked)) .care-for-plus,
.care:has([value='none']:checked) :is(.care-key, .care-features) {
	display: none;
}

.price-note {
	max-width: 68ch;
	margin: var(--space-xl) auto 0;
	color: var(--muted);
	font-size: 0.95rem;
	text-align: center;
	text-wrap: balance;
}

/* Kontakt */
.contact {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-block: var(--section);
	text-align: center;
}

.tile-large {
	width: 76px;
	height: 76px;
	border-radius: 18px;
	background: var(--raised);
	box-shadow: 0 2px 8px var(--shadow), 0 0 0 1px var(--line);
}

.contact h1,
.contact h2 {
	margin-top: var(--space-xl);
}

.contact p {
	margin-top: var(--space-md);
	text-wrap: balance;
	color: var(--muted);
}

.contact-lead {
	max-width: 60ch;
}

.contact .contact-row {
	justify-content: center;
	margin-top: var(--space-xl);
}

/* Ist die E-Mail der einzige Weg, wird sie zum Hauptknopf */
.contact-row > .pill:only-child {
	border-color: transparent;
	background: var(--ink);
	color: var(--bg);
}

.contact-row > .pill:only-child:hover {
	background: var(--accent);
}

.contact .contact-note {
	max-width: 46ch;
	margin-top: var(--space-lg);
	font-size: 0.95rem;
	text-wrap: balance;
}

/* QR-Code nur auf großen Bildschirmen mit Maus, am Handy genügt der Knopf */
.scan {
	display: none;
}

@media (hover: hover) and (min-width: 60.01rem) {
	.scan {
		display: flex;
		align-items: center;
		gap: var(--space-lg);
		max-width: 27rem;
		margin-top: var(--space-2xl);
		padding: var(--space-md);
		border: 1px solid var(--line);
		border-radius: 18px;
		background: var(--bg-low);
		text-align: left;
	}
}

.scan svg {
	flex: none;
	border-radius: 10px;
	background: #fff;
	fill: #0b0f14;
}

.scan p {
	margin: 0;
	font-size: 0.95rem;
}

.scan strong {
	display: block;
	color: var(--ink);
}

/* Fuß */
.site-footer {
	position: relative;
	isolation: isolate;
	overflow: clip;
	border-top: 1px solid var(--line);
	background: var(--bg);
	color: var(--muted);
}

/* Zwei Geländestufen wie im Einstieg, links auslaufend */
.site-footer .contours {
	height: 200px;
	mask-image: linear-gradient(90deg, transparent 10%, #000 48%);
}

.footer-main {
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: var(--space-xl) clamp(2rem, 7vw, 6rem);
	padding-block: var(--space-3xl) 140px;
}

.footer-mark {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	color: var(--ink);
	font-weight: 650;
	font-size: 1.3rem;
	letter-spacing: -0.015em;
}

.footer-mark .tile {
	width: 44px;
	height: 44px;
	background: var(--raised);
	box-shadow: 0 2px 8px var(--shadow), 0 0 0 1px var(--line);
}

.footer-bye {
	margin-top: var(--space-lg);
	color: var(--ink);
	font-size: 1.25rem;
	line-height: 1.5;
	letter-spacing: -0.015em;
}

/* Hinweis unter „Tschüss“: bei Maus, Tastatur oder Antippen, Esc blendet ihn aus */
.bye {
	position: relative;
	display: inline-block;
}

.bye button {
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: none;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	cursor: help;
}

.bye-tip {
	position: absolute;
	top: 100%;
	left: 50%;
	z-index: 1;
	width: max-content;
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--raised);
	box-shadow: 0 8px 24px -6px var(--shadow);
	color: var(--ink);
	font-size: 0.95rem;
	line-height: 1.4;
	letter-spacing: 0;
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, -4px);
	transition: opacity 0.2s var(--ease), transform 0.3s var(--ease), visibility 0.2s;
}

.bye:is(:hover, .is-open, :has(:focus-visible)):not(.is-dismissed) .bye-tip {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

/* Schmal steht „Tschüss“ rechts: Hinweis rechtsbündig, damit er im Bild bleibt */
@media (max-width: 34rem) {
	.bye .bye-tip {
		right: 0;
		left: auto;
		transform: none !important;
	}
}

.footer-title {
	margin-bottom: var(--space-xs);
	color: var(--ink);
	font-weight: 600;
}

.footer-main a {
	display: block;
	width: fit-content;
	padding-block: 9px;
}

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

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

.footer-legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--space-xs) var(--space-lg);
	align-items: center;
	padding-block: var(--space-sm);
	font-size: 0.95rem;
}

.footer-legal a {
	display: inline-block;
	padding-block: 10px;
}

.footer-legal nav {
	display: flex;
	gap: var(--space-lg);
}

/* Rechtstexte */
.legal {
	padding-block: clamp(3rem, 7vw, 5rem) var(--section);
}

.legal article {
	max-width: 66ch;
}

.legal h1 {
	margin-bottom: var(--space-xl);
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	hyphens: auto;
}

.legal h2 {
	margin: var(--space-2xl) 0 var(--space-xs);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.015em;
}

.legal p {
	margin-bottom: var(--space-md);
}

.legal .stand {
	margin-top: var(--space-2xl);
	color: var(--muted);
	font-size: 0.95rem;
}

/* Schmalere Bildschirme */
@media (max-width: 60rem) {
	.site-nav,
	.site-header .wrap > .theme-switch {
		display: none;
	}

	.brand {
		margin-right: auto;
	}

	.menu-button {
		display: grid;
	}

	.site-header .wrap {
		column-gap: var(--space-xs);
	}

	.panel-web {
		grid-template-columns: minmax(0, 1fr);
	}

	.web-contours {
		display: none;
	}
}

@media (max-width: 72rem) {
	.panel-small {
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
		align-content: space-between;
		min-height: 0;
	}
}

@media (max-width: 56rem) {
	.plans {
		grid-template-columns: minmax(0, 1fr);
	}

	.plan {
		grid-row: auto;
		grid-template: auto / repeat(2, minmax(0, 1fr));
	}

	.care {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 40rem) {
	.bento-row {
		display: block;
		grid-column: 1 / -1;
		margin-inline: calc(var(--gutter) * -1);
	}

	/* Rechts schaut die nächste Karte an, damit klar ist, dass es weitergeht */
	.bento-slider {
		display: flex;
		gap: 12px;
		padding-inline: var(--gutter);
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--gutter);
		scrollbar-width: none;
	}

	.bento-slider::-webkit-scrollbar {
		display: none;
	}

	.bento-slider:focus-visible {
		outline-offset: -3px;
	}

	.bento-slider > .panel-small {
		flex: 0 0 84%;
		scroll-snap-align: start;
	}

	/* Grafikdesign kompakt: Text links, Visitenkarten klein rechts */
	.bento .panel-print {
		grid-template-columns: minmax(0, 1fr) 7.5rem;
		gap: var(--space-md);
	}

	.art-print {
		width: 17rem;
		min-height: 14rem;
		zoom: 0.44;
	}


	.web-stage {
		min-height: 10.5rem;
	}

	.web-browser {
		inset: 0 0 auto 4.5rem;
		height: auto;
		border-radius: 10px;
	}

	.web-browser .bar {
		gap: 4px;
		height: 20px;
		padding-inline: 10px;
	}

	.web-browser .bar i {
		width: 6px;
		height: 6px;
	}

	.web-browser img {
		height: auto;
		aspect-ratio: 16 / 10;
	}

	.web-phone {
		left: 0;
		width: 4.75rem;
		padding: 3px;
		border-radius: 14px;
	}

	.web-phone img {
		border-radius: 11px;
	}

	.panel-small {
		grid-column: 1 / -1;
	}

	.plan {
		grid-template: auto auto / minmax(0, 1fr);
	}
}

@media (max-width: 23rem) {
	.bento .panel-print {
		grid-template-columns: minmax(0, 1fr) 5.5rem;
		gap: var(--space-sm);
		padding-right: var(--space-md);
	}

	.art-print {
		zoom: 0.32;
	}
}

@media (max-width: 48rem) {
	.about,
	.panel-print {
		grid-template-columns: minmax(0, 1fr);
	}

	.about-photo {
		width: min(100%, 18rem);
	}

	/* Ablauf untereinander: die Linie läuft senkrecht durch die Punkte, endet am letzten */
	.steps-line {
		display: none;
	}

	.steps ol {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--space-xl);
	}

	.steps li,
	.steps li:nth-child(n + 3) {
		margin-top: 0;
		padding: 0 0 0 3.5rem;
	}

	.steps li::before {
		top: -0.25rem;
	}

	.steps li::after {
		content: '';
		position: absolute;
		top: calc(2rem + 5px);
		bottom: calc(var(--space-xl) * -1);
		left: calc(1.125rem - 0.75px);
		border-left: 1.5px solid var(--edge-line);
	}

	.steps .steps-end {
		position: relative;
		top: auto;
		margin-top: var(--space-xl);
		padding: 0 0 0 3.5rem;
		transform: none;
	}

	.steps-end::before {
		top: calc(0.65em - 0.45rem);
		right: auto;
		bottom: auto;
		left: 0.675rem;
	}

	.footer-main {
		grid-template-columns: 1fr 1fr;
	}

	.footer-main > div:first-child {
		grid-column: 1 / -1;
	}
}

@media (max-width: 44rem) {
	.hero-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 2.5rem;
		padding-bottom: 5.5rem;
	}

	/* Schmal: kein Gelände, die Galerie als schlichte Bildfolge ohne Browserrahmen und Vorschaubilder */
	.topo,
	.stage-bar,
	.stage-pause,
	.stage-thumbs img {
		display: none;
	}

	.stage {
		justify-self: stretch;
		width: 100%;
		overflow: visible;
		border: 0;
		border-radius: 0;
		background: none;
		box-shadow: none;
	}

	.stage-slides {
		border-radius: 16px;
		box-shadow: 0 0 0 1px var(--line), 0 16px 40px -16px var(--shadow);
	}

	.stage-next {
		touch-action: pan-y;
	}

	.stage .stage-tools {
		flex-direction: row;
		align-items: center;
		padding: var(--space-md) 0 0;
		border: 0;
	}

	.stage .stage-controls {
		flex-direction: row;
	}

	/* Punkte statt Vorschaubilder, Trefferfläche 28 px */
	.stage-thumbs {
		gap: 0;
	}

	.stage .stage-thumbs button {
		display: grid;
		place-items: center;
		width: 28px;
		height: 28px;
		border-radius: 50%;
		background: none;
		opacity: 1;
		box-shadow: none;
	}

	.stage-thumbs button::before {
		content: '';
		width: 8px;
		height: 8px;
		border-radius: 50%;
		/* Kontrast mindestens 3 : 1 auch für inaktive Punkte */
		background: var(--muted);
		opacity: 0.75;
		transition: background-color 0.2s var(--ease), scale 0.2s var(--ease);
	}

	.stage .stage-thumbs button[aria-current='true']::before {
		background: var(--accent);
		opacity: 1;
		scale: 1.25;
	}

	.stage .stage-thumbs button:focus-visible {
		outline-offset: -2px;
	}
}

@media (max-width: 34rem) {
	.contact-row,
	.contact .contact-row {
		width: 100%;
	}

	.contact-row > .pill {
		flex: 1 1 100%;
	}

	/* Im Kopf reicht auf dem Handy „E-Mail“, vorgelesen wird weiterhin „E-Mail schreiben“ */
	.header-mail-verb {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
	}

	.header-mail .icon {
		display: none;
	}

}

@media (max-width: 23rem) {
	.site-header .wrap {
		gap: var(--space-xs);
	}

	.site-header .pill {
		padding-inline: 13px;
	}

	.brand svg {
		width: 1.6rem;
	}

	.brand {
		font-size: 1.15rem;
	}
}

/* Animierte Icons: Lucide (ISC) mit Bewegungen nach lucide-animated.com (MIT), Lizenzen in licenses/.
   Auslöser: Hover (nur mit Maus) oder Tastaturfokus auf dem Link/Knopf. */
.icon {
	flex: none;
	overflow: visible;
}

.ia-handset,
.ia-moon,
.ia-sun-ray,
.ia-send-plane {
	transform-box: fill-box;
	transform-origin: center;
}

.ia-send-trail {
	opacity: 0;
	transform: translate(-3px, 3px);
}

.ia-send-reveal {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}

	.ia-send-plane { transition: transform 0.3s ease-out; }
	.ia-send-trail { transition: opacity 0.3s ease-out, transform 0.3s ease-out; }
	.ia-send-reveal { transition: stroke-dashoffset 0.3s ease-out; }

	:is(a, button):focus-visible .ia-send-plane { transform: translate(3px, -3px) scale(0.8); transition-duration: 0.5s; }
	:is(a, button):focus-visible .ia-send-trail { opacity: 1; transform: none; transition-duration: 0.55s; transition-delay: 0.1s; }
	:is(a, button):focus-visible .ia-send-reveal { stroke-dashoffset: 0; transition-duration: 0.55s; transition-delay: 0.1s; }
	a:focus-visible .ia-handset { animation: ia-handset 0.7s ease-in-out; }
	:is(a, button):focus-visible .ia-moon { animation: ia-moon 1.2s ease-in-out; }
	:is(a, button):focus-visible .ia-sun-ray { animation: ia-fade-in 0.3s ease-out calc(var(--i) * 0.1s) both; }

	@media (hover: hover) {
		:is(a, button):hover .ia-send-plane { transform: translate(3px, -3px) scale(0.8); transition-duration: 0.5s; }
		:is(a, button):hover .ia-send-trail { opacity: 1; transform: none; transition-duration: 0.55s; transition-delay: 0.1s; }
		:is(a, button):hover .ia-send-reveal { stroke-dashoffset: 0; transition-duration: 0.55s; transition-delay: 0.1s; }
		a:hover .ia-handset { animation: ia-handset 0.7s ease-in-out; }
		:is(a, button):hover .ia-moon { animation: ia-moon 1.2s ease-in-out; }
		:is(a, button):hover .ia-sun-ray { animation: ia-fade-in 0.3s ease-out calc(var(--i) * 0.1s) both; }

		.web-questions li:hover { background: light-dark(oklch(90.5% 0.05 235), oklch(41% 0.08 240)); }
		.web-questions li:hover .ia-ring { animation: ia-ring 0.6s ease-out calc(var(--i) * 0.12s) both; }
		.web-questions li:hover .ia-second { animation: ia-second 0.6s ease-out both; }
		.web-questions li:hover .ia-route { animation: ia-route 0.8s ease-in-out both; }
		.web-questions li:hover .ia-route-end { animation: ia-ring 0.4s ease-out 0.6s both; }
		.plan:hover .ia-line { stroke-dasharray: 1; animation: ia-line 0.4s ease-out calc(0.1s + var(--i) * 0.15s) both; }
		.plan:hover .ia-layer-top { --shift: -2.5px; animation: ia-layer 0.8s ease-in-out; }
		.plan:hover .ia-layer-bottom { --shift: 2.5px; animation: ia-layer 0.8s ease-in-out; }
		.plan:hover .ia-ruler { transform-origin: 12px 12px; animation: ia-ruler 0.9s ease-in-out; }
		.panel:hover::before { opacity: 1; }
		.panel:hover .card-back { transform: translate(-61%, -82%) rotate(-12deg); }
		.panel:hover .card-front { transform: translate(-39%, -23%) rotate(8deg); }
		.panel:hover .web-phone { transform: translateY(-10px); }
		.panel:hover .notice { transform: translate(-8px, -10px); }
		.panel:hover .frame-rich { transform: translateX(-4px); }
		.panel:hover .frame-slim { transform: translateY(-8px); }
		.panel:hover .own-key { transform: translateY(-6px) rotate(-6deg); }
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
	}
}

.ia-ring,
.ia-route-end {
	transform-box: fill-box;
	transform-origin: center;
}

.ia-route {
	stroke-dasharray: 1;
}

@keyframes ia-ring {
	from { opacity: 0; transform: scale(0.4); }
	70% { opacity: 1; transform: scale(1.08); }
}

@keyframes ia-line {
	from { stroke-dashoffset: 1; opacity: 0; }
	20% { opacity: 1; }
	to { stroke-dashoffset: 0; }
}

@keyframes ia-layer {
	50% { transform: translateY(var(--shift)); }
}

@keyframes ia-ruler {
	30% { transform: rotate(-12deg); }
	65% { transform: rotate(6deg); }
}

@keyframes ia-second {
	from { opacity: 0; transform: translateX(-6px); }
}

@keyframes ia-route {
	from { stroke-dashoffset: 1; }
	to { stroke-dashoffset: 0; }
}

@keyframes ia-fade-in {
	from { opacity: 0; }
}

@keyframes ia-handset {
	20%, 60% { transform: rotate(-14deg); }
	40%, 80% { transform: rotate(14deg); }
}

@keyframes ia-moon {
	0%, 100% { transform: rotate(0); }
	20% { transform: rotate(-10deg); }
	40% { transform: rotate(10deg); }
	60% { transform: rotate(-5deg); }
	80% { transform: rotate(5deg); }
}
