/* ==========================================================================
   Omniviu – Landing
   Idee: ein solides, ruhiges Haus (klare Typografie, viel Weißraum),
   das erst durch Menschen Farbe bekommt (gemalte Punkte und Flächen).
   ========================================================================== */

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--paper: #fcfcfb;
	--white: #ffffff;
	--ink: #22211e;
	--ink-2: #615f59;
	--ink-3: #8f8c85;
	--line: #e6e4de;
	--line-2: #f0eee9;

	/* Markenfarben wie in der App (Plugin-Doku design-system.md, Stand 25.10.2026).
	   „Malen“ = Punkte, Flächen, Grafik; „Lesen“ = Schrift. */
	--orange: #fe7405;      /* Malen */
	--orange-ink: #a3500d;  /* Lesen, 5,7 : 1 auf Weiß */
	--green: #2f8356;       /* Malen */
	--green-ink: #29724b;   /* Lesen, 5,8 : 1 auf Weiß */
	--wall-orange: #fff1e6; /* = --pn-accent-bg */
	--wall-green: #edf6ed;  /* = green.0 */

	--radius-s: 6px;
	--radius-m: 10px;
	--radius-l: 18px;

	--wrap: 1120px;
	--wrap-wide: 1280px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(72px, 10vw, 136px);

	--font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ease-paint: cubic-bezier(.2, 1.4, .4, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	font-feature-settings: "cv11", "ss01";
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

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

.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 100;
	background: var(--ink); color: var(--white);
	padding: 10px 14px; border-radius: var(--radius-s); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: calc(var(--wrap-wide) + 2 * var(--gutter)); }

.section-title {
	font-size: clamp(30px, 4.2vw, 48px);
	line-height: 1.08;
	font-weight: 750;
	letter-spacing: -0.032em;
	max-width: 18ch;
	text-wrap: balance;
}
.lead {
	font-size: clamp(18px, 1.6vw, 20px);
	line-height: 1.55;
	color: var(--ink-2);
	max-width: 58ch;
	margin-top: 20px;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	border: 1.5px solid var(--ink);
	background: var(--ink);
	color: var(--white);
	font: 600 16px/1 var(--font);
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: #3a3833; border-color: #3a3833; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn--small { min-height: 38px; padding: 0 16px; font-size: 14px; }

/* ==========================================================================
   Wortmarke: saubere Inter-Buchstaben, gemalte i-Punkte
   ========================================================================== */
.wordmark {
	display: inline-flex;
	align-items: flex-start;
	font-weight: 850;
	letter-spacing: -0.035em;
	line-height: 1;
	color: var(--ink);
	white-space: nowrap;
}
.wordmark--sm { font-size: 22px; letter-spacing: -0.03em; }
.wordmark--md { font-size: 32px; }
.wordmark--xl { font-size: clamp(76px, 17vw, 208px); letter-spacing: -0.045em; }

.wm-i { position: relative; display: inline-block; }
.wm-dot {
	position: absolute;
	left: 50%;
	top: 0.05em;
	width: 0.26em;
	height: 0.26em;
	transform: translateX(-50%) rotate(-12deg);
	overflow: visible;
}
.wm-i--o .wm-dot { fill: var(--orange); }
.wm-i--g .wm-dot { fill: var(--green); transform: translateX(-46%) rotate(24deg) scale(1.04, .96); }
.wm-tm {
	font-size: .16em; font-weight: 500; letter-spacing: 0;
	margin-left: .1em; margin-top: .34em; color: var(--ink-3);
}
.wordmark--sm .wm-tm, .wordmark--md .wm-tm { font-size: .3em; margin-top: .3em; }


/* ==========================================================================
   Kopf
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--paper) 88%, transparent);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
}
.site-header__inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.site-header__brand { text-decoration: none; display: flex; }
.site-nav { display: flex; gap: 28px; margin-left: auto; }
.site-nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.site-nav a:hover { color: var(--ink); }
@media (max-width: 760px) {
	.site-nav { display: none; }
	.site-header__inner .btn { margin-left: auto; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-top: clamp(40px, 7vw, 96px); overflow: hidden; }
.hero-art {
	position: relative;
	margin: 0 0 0 -0.4%;
	width: min(100%, 1120px);
	aspect-ratio: 4103 / 1334;
	cursor: default;
}
.hero-art img { position: absolute; display: block; }
.hero-art__base { inset: 0; width: 100%; height: 100%; mix-blend-mode: multiply; }
.hero-art__layer { height: auto; }
/* Einmaliger Moment beim Laden: Punkt wird aufgetupft, dann spritzen die Strahlen. */
@media (prefers-reduced-motion: no-preference) {
	.hero-art__orange-dot, .hero-art__green-dot { transform-origin: 50% 50%; animation: dab .6s var(--ease-paint) both; }
	.hero-art__orange-rays, .hero-art__green-rays { transform-origin: 50% 56%; animation: splash .5s cubic-bezier(.2, .9, .3, 1.2) both; }
	.hero-art__orange-dot  { animation-delay: .35s; }
	.hero-art__orange-rays { animation-delay: .75s; }
	.hero-art__green-dot   { animation-delay: 1.05s; }
	.hero-art__green-rays  { animation-delay: 1.45s; }
	.hero-art.is-replay .hero-art__layer { animation-name: none; }
	@keyframes dab {
		0%   { opacity: 0; transform: scale(.15) rotate(-35deg); }
		60%  { opacity: 1; }
		100% { opacity: 1; transform: none; }
	}
	@keyframes splash {
		from { opacity: 0; transform: scale(.55); }
		to   { opacity: 1; transform: none; }
	}
}
.hero__subline {
	margin-top: clamp(4px, 1vw, 12px);
	font-size: clamp(19px, 2vw, 26px);
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: -0.015em;
	color: var(--ink-2);
}
.hero__title {
	margin-top: clamp(28px, 4vw, 48px);
	font-size: clamp(30px, 4.4vw, 54px);
	line-height: 1.06;
	font-weight: 750;
	letter-spacing: -0.034em;
	max-width: 19ch;
	text-wrap: balance;
}
.hero__promise {
	margin-top: 18px;
	font-size: clamp(17px, 1.5vw, 20px);
	color: var(--ink-2);
	max-width: 52ch;
}
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 24px; font-size: 15px; color: var(--ink-2); }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts .ph { width: 20px; height: 20px; color: var(--green); }
.hero__facts li:nth-child(2) .ph { color: var(--orange-ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__app {
	position: relative;
	margin-top: clamp(56px, 7vw, 88px);
	padding-bottom: clamp(56px, 7vw, 96px);
}
/* Gemalte Wand hinter der App */
.hero__app::before,
.hero__app::after {
	content: "";
	position: absolute;
	z-index: -1;
}
.hero__app::before {
	inset: 64px 0 0 calc(var(--gutter) * .5);
	background: var(--wall-green);
	border-radius: 34px 22px 40px 18px / 26px 40px 20px 36px;
}
.hero__app::after {
	width: clamp(120px, 18vw, 240px);
	aspect-ratio: 1;
	right: calc(var(--gutter) * .2);
	top: 8px;
	background: var(--wall-orange);
	border-radius: 52% 48% 44% 56% / 46% 58% 42% 54%;
}
.hero__caption {
	margin-top: 18px;
	font-size: 15px;
	color: var(--ink-2);
	text-align: center;
}

/* ==========================================================================
   App-Fenster (nachgebaut) – Farben wie in der App
   Quelle: Plugin-Doku design-system.md (Neutraltöne, Palette, Akzent).
   ========================================================================== */
.app {
	/* Neutraltöne der App (hell) */
	--pn-text: #37352f;
	--pn-text-secondary: #5f5e5b;
	--pn-muted: #91918e;
	--pn-faint: #d3d3d1;
	--pn-border: #ededec;
	--pn-surface-strong: #f1f1ef;
	--pn-surface-muted: #f7f7f5;
	--pn-sidebar: #f8f8f7;
	--pn-surface-soft: #fbfbfa;
	--pn-bg: #ffffff;
	--pn-hover: rgb(55 53 47 / .06);
	--pn-active: rgb(55 53 47 / .09);
	--pn-accent: #fe7405;
	--pn-accent-text: #a3500d;
	--pn-red: #d44c47;

	display: grid;
	grid-template-columns: 236px 1fr;
	background: var(--pn-bg);
	color: var(--pn-text);
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
	box-shadow: 0 1px 0 rgba(34, 33, 30, .04), 0 24px 60px -24px rgba(34, 33, 30, .22);
	overflow: hidden;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	height: 640px;
	margin-inline: clamp(0px, 2vw, 32px);
}
.app .ph { width: 18px; height: 18px; color: var(--pn-muted); }

/* Seitenleiste */
.app__side {
	background: var(--pn-sidebar);
	padding: 12px 8px;
	display: flex; flex-direction: column;
	color: var(--pn-text-secondary);
	overflow: hidden;
}
.app__ws { display: flex; align-items: center; gap: 10px; padding: 2px 6px 12px; }
.app__ws-text { display: grid; line-height: 1.2; }
.app__ws-text strong { color: var(--pn-text); font-weight: 650; }
.app__ws-text span { font-size: 12px; color: var(--pn-muted); }
.app__menu li { display: flex; align-items: center; }
.app__menu--static li,
.app__page-btn {
	display: flex; align-items: center; gap: 10px; width: 100%;
	padding: 5px 8px; border-radius: 6px;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.app__menu kbd { margin-left: auto; font: 500 12px var(--font); color: var(--pn-muted); }
.app__label { font-size: 12px; font-weight: 500; color: var(--pn-muted); padding: 16px 8px 4px; }
.app__group { display: flex; align-items: center; gap: 10px; padding: 5px 8px; font-weight: 600; color: var(--pn-text); }
.app__pages .app__page-btn { padding-left: 22px; }
.app__page-btn {
	appearance: none; border: 0; background: transparent; cursor: pointer;
	font: 500 14px/1.4 var(--font); color: var(--pn-text-secondary); text-align: left;
}
.app__page-btn:hover { background: var(--pn-hover); }
.app__page-btn[aria-current="page"] { background: var(--pn-active); color: var(--pn-text); }
.app__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pn-accent); margin-left: auto; }

/* Hauptbereich */
.app__main { min-width: 0; overflow: hidden auto; scrollbar-width: thin; }
.app__page[hidden] { display: none; }
.app__top {
	position: sticky; top: 0; z-index: 2;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	height: 44px; padding: 0 14px;
	background: rgb(255 255 255 / .96);
	font-size: 14px; color: var(--pn-text-secondary);
}
.app__crumbs { display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; }
.app__sep { color: var(--pn-faint); }
.app__top-actions { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.app__top-btn { display: inline-flex; align-items: center; gap: 6px; }
.app__timer, .task__timer {
	display: inline-flex; align-items: center; gap: 7px;
	color: var(--pn-red); font-variant-numeric: tabular-nums;
}
.app__timer { background: rgb(212 76 71 / .1); padding: 3px 10px 3px 4px; border-radius: 999px; }
.app__timer-name { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.app__timer-stop {
	width: 16px; height: 16px; border-radius: 50%; background: var(--pn-red); position: relative; flex: none;
}
.app__timer-stop::after { content: ""; position: absolute; inset: 5px; background: #fff; border-radius: 1px; }

.app__body { padding: 28px clamp(16px, 4vw, 64px) 40px; }
.app__body--doc { max-width: 760px; margin-inline: auto; position: relative; }
.app__page-icon .ph { width: 52px; height: 52px; color: var(--pn-text); }
.app__title h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; letter-spacing: -0.02em; margin-top: 8px; color: var(--pn-text); }

.app__bar { display: flex; align-items: center; gap: 12px; margin-top: 22px; border-bottom: 1px solid var(--pn-border); padding-bottom: 8px; }
.app__tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.app__tabs::-webkit-scrollbar { display: none; }
.app__tab {
	position: relative;
	display: inline-flex; align-items: center; gap: 7px;
	appearance: none; border: 0; background: transparent;
	font: 500 14px/1 var(--font); color: var(--pn-text-secondary);
	padding: 8px 11px; border-radius: 999px; cursor: pointer;
	white-space: nowrap;
}
.app__tab.is-static { cursor: default; }
.app__tab:not(.is-static):hover { background: var(--pn-hover); }
.app__tab[aria-selected="true"] { color: var(--pn-text); background: var(--pn-surface-strong); }
.app__tools { display: flex; align-items: center; gap: 12px; flex: none; color: var(--pn-muted); }
.app__count { font-size: 13px; }
.app__new {
	display: inline-flex; align-items: center; gap: 6px;
	background: var(--pn-accent); color: #fff;
	font-weight: 600; font-size: 14px;
	padding: 6px 8px 6px 12px; border-radius: 6px;
}
.app__new .ph { width: 14px; height: 14px; color: #fff; }

/* Fortschrittsstrich: die Ansichten wechseln von selbst */
.app.is-playing .app__tab[aria-selected="true"]::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 1px; height: 2px;
	background: var(--pn-accent); border-radius: 2px;
	transform-origin: left; animation: progress 3.2s linear;
}
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.app__views { margin-top: 2px; }
.view { animation: view-in .25s ease both; }
.view[hidden] { display: none; }
.view:focus-visible { outline-offset: 4px; }
@keyframes view-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .view, .app.is-playing .app__tab[aria-selected="true"]::after { animation: none; } }
.view__name { color: var(--pn-text); }
.view__muted { color: var(--pn-muted); font-size: 13px; }

/* Phosphor Icons (MIT), inline als SVG – gleiches Set wie in der App */
.ph { width: 16px; height: 16px; flex: none; display: inline-block; fill: currentColor; }

/* Personen (Nutzerfarben) & Tags (Pastell + Ink) wie in der App */
.av {
	display: inline-grid; place-items: center; flex: none;
	width: 20px; height: 20px; border-radius: 50%;
	font-size: 9px; font-weight: 650; color: #fff; letter-spacing: .02em;
	vertical-align: middle;
}
.av--lg { width: 30px; height: 30px; font-size: 12px; }
.av--brown { background: #9f6b53; } .av--pink { background: #c14c8a; } .av--orange { background: #fe7405; }
.av--yellow { background: #cb912f; } .av--blue { background: #337ea9; } .av--green { background: #2f8356; }
.person { display: inline-flex; align-items: center; gap: 7px; }
.tag {
	display: inline-block; padding: 1px 7px; border-radius: 4px;
	font-size: 13px; font-weight: 500; white-space: nowrap;
}
.tag--default { background: rgb(227 226 224 / .6); color: #32302c; }
.tag--gray    { background: #e3e2e0; color: #32302c; }
.tag--orange  { background: #fadec9; color: #49290e; }
.tag--yellow  { background: #fdecc8; color: #402c1b; }
.tag--green   { background: #dbeddb; color: #1c3829; }
.tag--blue    { background: #d3e5ef; color: #183347; }
.tag--purple  { background: #e8deee; color: #412454; }
.tag--red     { background: #ffe2dd; color: #5d1715; }
.rel { text-decoration: underline; text-decoration-color: rgb(55 53 47 / .25); text-underline-offset: 3px; }

/* Tabelle */
.view--table { overflow-x: auto; }
.view--table table { width: 100%; min-width: 720px; border-collapse: collapse; }
.view--table th {
	text-align: left; font-weight: 500; color: var(--pn-muted); font-size: 14px;
	padding: 8px 10px; border-bottom: 1px solid var(--pn-border); white-space: nowrap;
}
.view--table th .ph { width: 15px; height: 15px; margin-right: 6px; vertical-align: -2px; }
.view--table th + th, .view--table td + td { border-left: 1px solid var(--pn-border); }
.view--table td { padding: 9px 10px; border-bottom: 1px solid var(--pn-border); white-space: nowrap; }
.bar { display: inline-block; width: 64px; height: 4px; border-radius: 4px; background: rgb(55 53 47 / .1); vertical-align: middle; overflow: hidden; margin-left: 8px; }
.bar span { display: block; height: 100%; width: var(--v); background: #2f8356; border-radius: inherit; }
.view__pct { display: inline-block; min-width: 38px; font-variant-numeric: tabular-nums; }

/* Aufgaben: Unterelemente & Timer */
.task { display: inline-flex; align-items: center; gap: 8px; }
.task__caret .ph { width: 14px; height: 14px; }
.view--tasks tr.is-sub .task { padding-left: 42px; }
.view--tasks td:first-child { max-width: 320px; overflow: hidden; text-overflow: ellipsis; }

/* Board */
.view--board { display: grid; grid-template-columns: repeat(4, minmax(170px, 1fr)); gap: 12px; overflow-x: auto; padding-top: 14px; }
.board__col { background: var(--pn-surface-muted); border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.board__head { display: flex; align-items: center; gap: 8px; padding: 2px 2px 4px; }
.board__card {
	background: var(--pn-bg); border-radius: 6px;
	box-shadow: 0 0 0 1px rgb(15 15 15 / .06), 0 2px 4px rgb(15 15 15 / .06);
	padding: 10px; display: flex; flex-direction: column; gap: 10px;
}
.board__meta { display: flex; align-items: center; justify-content: space-between; }

/* Kalender */
.cal__month { font-weight: 650; font-size: 16px; margin: 14px 0 10px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--pn-border); border-left: 1px solid var(--pn-border); }
.cal__dow { font-size: 12px; color: var(--pn-muted); padding: 6px 8px; border-right: 1px solid var(--pn-border); border-bottom: 1px solid var(--pn-border); }
.cal__day { min-height: 72px; padding: 6px; border-right: 1px solid var(--pn-border); border-bottom: 1px solid var(--pn-border); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cal__day.is-out { background: var(--pn-surface-soft); color: var(--pn-muted); }
.cal__num { font-size: 12px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; }
.cal__day.is-today .cal__num {
	color: #fff; font-weight: 650;
	background: var(--pn-accent);
	border-radius: 52% 48% 44% 56% / 46% 58% 42% 54%; /* der gemalte Punkt */
}
.cal__event {
	display: flex; align-items: center; gap: 5px;
	font-size: 12px; line-height: 1.3; padding: 3px 6px; border-radius: 4px;
	background: var(--pn-bg); box-shadow: 0 0 0 1px rgb(15 15 15 / .08);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cal__dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }

/* Optionsfarben als Vollfarbe (Punkte, Balken, Diagramm) */
.cal__dot--gray, .chart__swatch--gray { background: #787774; }
.cal__dot--blue, .chart__swatch--blue { background: #337ea9; }
.cal__dot--purple, .chart__swatch--purple { background: #9065b0; }
.cal__dot--green, .chart__swatch--green { background: #2f8356; }

/* Galerie */
.view--gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; padding-top: 14px; }
.gal__card { border-radius: 8px; overflow: hidden; background: var(--pn-bg); box-shadow: 0 0 0 1px rgb(15 15 15 / .08), 0 2px 4px rgb(15 15 15 / .06); }
.gal__cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.gal__cover span { position: absolute; border-radius: 50% 44% 52% 48% / 48% 54% 46% 52%; }
.gal__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.gal__cover--a { background: var(--wall-orange); }
.gal__cover--a span:nth-child(1) { width: 60%; height: 90%; left: -10%; top: 30%; background: var(--orange); }
.gal__cover--a span:nth-child(2) { width: 22%; aspect-ratio: 1; height: auto; right: 14%; top: 18%; background: var(--ink); }
.gal__cover--b { background: #ebe6dc; }
.gal__cover--b span:nth-child(1) { width: 120%; height: 60%; left: -10%; bottom: -30%; background: var(--green); }
.gal__cover--b span:nth-child(2) { width: 18%; aspect-ratio: 1; height: auto; left: 20%; top: 18%; background: var(--orange); }
.gal__cover--c { background: var(--wall-green); }
.gal__cover--c span:nth-child(1) { width: 30%; height: 70%; left: 18%; top: 15%; border-radius: 6px; background: #fff; box-shadow: 34px 8px 0 #cbe0d5; }
.gal__cover--d { background: var(--ink); }
.gal__cover--d span:nth-child(1) { width: 36%; aspect-ratio: 1; height: auto; left: 32%; top: 20%; background: #f3e1cf; }
.gal__cover--d span:nth-child(2) { width: 12%; aspect-ratio: 1; height: auto; left: 60%; top: 18%; background: var(--orange); }
.gal__cover--e { background: #f4f2ee; }
.gal__cover--e span:nth-child(1) { width: 0; height: 0; left: 25%; bottom: 0; border-radius: 0; border-left: 50px solid transparent; border-right: 50px solid transparent; border-bottom: 80px solid var(--ink-3); }
.gal__cover--e span:nth-child(2) { width: 0; height: 0; left: 45%; bottom: 0; border-radius: 0; border-left: 40px solid transparent; border-right: 40px solid transparent; border-bottom: 64px solid var(--green); }
.gal__cover--f { background: var(--wall-orange); }
.gal__cover--f span:nth-child(1) { width: 26%; aspect-ratio: 1; height: auto; left: 16%; top: 28%; background: var(--green); }
.gal__cover--f span:nth-child(2) { width: 26%; aspect-ratio: 1; height: auto; left: 40%; top: 28%; background: var(--orange); }
.gal__cover--f span:nth-child(3) { width: 26%; aspect-ratio: 1; height: auto; left: 64%; top: 28%; background: #e8c9a6; }

/* Timeline – Balken in Akzentfarbe wie in der App (0.16 Fläche, 0.45 Rahmen) */
.view--timeline { overflow-x: auto; }
.tl { position: relative; min-width: 640px; padding-top: 34px; }
.tl__scale { position: absolute; inset: 0 0 auto 0; height: 100%; }
.tl__scale span {
	position: absolute; top: 6px; bottom: 0;
	left: calc(var(--x) / var(--span) * 100%);
	font-size: 12px; color: var(--pn-muted); padding-left: 6px;
	border-left: 1px solid var(--pn-border);
}
.tl__today {
	position: absolute; top: 26px; bottom: 0; width: 2px;
	left: calc(var(--x) / var(--span) * 100%);
	background: rgb(212 76 71 / .55);
}
.tl__row { position: relative; height: 40px; border-bottom: 1px solid var(--pn-border); }
.tl__bar {
	position: absolute; top: 7px; height: 26px;
	left: calc(var(--x) / var(--span) * 100%);
	width: calc(var(--w) / var(--span) * 100%);
	display: flex; align-items: center; padding: 0 9px;
	font-size: 13px; color: var(--pn-text);
	background: rgb(254 116 5 / .16); box-shadow: inset 0 0 0 1px rgb(254 116 5 / .45);
	border-radius: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Diagramm */
.chart { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 6vw, 72px); flex-wrap: wrap; padding: 20px 0; }
.view--chart > .view__muted { padding-top: 14px; }
.donut { width: min(240px, 60vw); transform: rotate(-90deg); }
.donut__seg { fill: none; stroke-width: 11; }
.donut__seg--gray { stroke: #787774; }
.donut__seg--blue { stroke: #337ea9; }
.donut__seg--purple { stroke: #9065b0; }
.donut__seg--green { stroke: #2f8356; }
.donut__total { transform: rotate(90deg); transform-origin: 50px 50px; font: 650 14px var(--font); fill: var(--pn-text); text-anchor: middle; dominant-baseline: central; }
.chart__legend { display: grid; gap: 10px; min-width: 200px; }
.chart__legend li { display: flex; align-items: center; gap: 10px; }
.chart__legend li span:last-child { margin-left: auto; color: var(--pn-text-secondary); font-variant-numeric: tabular-nums; }
.chart__swatch { width: 10px; height: 10px; border-radius: 50%; }

/* Wiki-Seite */
.doc { margin-top: 18px; font-size: 16px; line-height: 1.6; font-weight: 400; }
.doc p + p, .doc ul + p, .doc p + ul { margin-top: 10px; }
.doc h3 { font-size: 22px; font-weight: 650; letter-spacing: -0.01em; margin: 26px 0 6px; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc li + li { margin-top: 4px; }
.doc strong { font-weight: 600; }
.doc__comment { background: rgb(254 116 5 / .14); border-bottom: 2px solid rgb(254 116 5 / .6); color: inherit; padding: 0 1px; }
.doc__callout {
	display: flex; gap: 12px; align-items: flex-start;
	margin-top: 18px; padding: 14px 16px; border-radius: 6px;
	background: var(--pn-surface-strong); font-size: 15px;
}
.doc__callout .ph { width: 20px; height: 20px; color: #cb912f; margin-top: 2px; }
.doc ul.doc__pages { list-style: none; padding: 0; }
.doc__pages li { display: flex; align-items: center; gap: 8px; }
.doc__pages span { text-decoration: underline; text-decoration-color: rgb(55 53 47 / .25); text-underline-offset: 3px; }
.doc__thread {
	display: flex; gap: 10px; align-items: flex-start;
	margin-top: 28px; padding: 12px 14px; border-radius: 8px;
	box-shadow: 0 0 0 1px rgb(15 15 15 / .08), 0 6px 18px -8px rgb(15 15 15 / .2);
	font-size: 14px; max-width: 420px;
}
.doc__thread em { font-style: normal; color: var(--pn-accent-text); }

@media (max-width: 860px) {
	.app { grid-template-columns: 1fr; grid-template-rows: auto 1fr; margin-inline: 0; height: 600px; }
	.app__side { padding: 8px; border-bottom: 1px solid var(--pn-border); }
	.app__ws, .app__menu--static, .app__label, .app__group { display: none; }
	.app__pages { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
	.app__pages .app__page-btn { padding: 6px 10px; }
	.app__timer-name, .app__top-btn:first-of-type { display: none; }
	.app__tools .ph, .app__count { display: none; }
}
@media (max-width: 560px) {
	.app__timer { display: none; }
	.cal__event { font-size: 0; padding: 0; height: 6px; box-shadow: none; background: transparent; }
	.cal__dot { width: 6px; height: 6px; }
	.cal__day { min-height: 46px; }
}

/* ==========================================================================
   Kurzbeschreibung & Vertrauen
   ========================================================================== */
.trust { padding-block: clamp(56px, 8vw, 104px) var(--section); }
.trust__intro {
	font-size: clamp(22px, 2.5vw, 30px);
	line-height: 1.35;
	font-weight: 500;
	letter-spacing: -0.018em;
	max-width: 34ch;
	text-wrap: pretty;
}
.trust__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(24px, 4vw, 56px);
	margin-top: clamp(40px, 5vw, 64px);
}
.trust__list li { border-top: 2px solid var(--ink); padding-top: 18px; }
.trust__title { font-size: 18px; font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; }
.trust__list p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
@media (max-width: 760px) { .trust__list { grid-template-columns: 1fr; } }

/* ==========================================================================
   Wofür
   ========================================================================== */
.jobs { padding-bottom: var(--section); }
.jobs__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px);
	margin-top: clamp(40px, 5vw, 64px);
}
.job .job__icon { width: 32px; height: 32px; color: var(--ink); }
.job:first-child .job__icon { color: var(--orange-ink); }
.job h3 { margin-top: 14px; font-size: 19px; font-weight: 650; letter-spacing: -0.012em; }
.job p { margin-top: 6px; color: var(--ink-2); font-size: 16px; max-width: 36ch; }
@media (max-width: 860px) { .jobs__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .jobs__list { grid-template-columns: 1fr; } }

/* ==========================================================================
   Anwendungsfälle
   ========================================================================== */
.usecases { padding-bottom: var(--section); }
.usecases__list { display: grid; gap: clamp(56px, 8vw, 104px); margin-top: clamp(40px, 6vw, 72px); }
.usecase { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.usecase:nth-child(even) .usecase__art { order: 2; }
.usecase__art {
	position: relative;
	aspect-ratio: 16 / 11;
	border-radius: 30px 20px 36px 16px / 22px 36px 18px 32px;
	overflow: hidden;
}
.usecase--orange .usecase__art { background: var(--wall-orange); }
.usecase--green .usecase__art { background: var(--wall-green); }
.paint { position: absolute; border-radius: 52% 48% 44% 56% / 46% 58% 42% 54%; }
.usecase--orange .paint--1 { background: var(--orange); width: 34%; aspect-ratio: 1; left: 14%; top: 18%; opacity: .9; }
.usecase--orange .paint--2 { background: var(--green); width: 14%; aspect-ratio: 1; right: 22%; top: 36%; }
.usecase--green .paint--1 { background: var(--green); width: 40%; aspect-ratio: 1.2; right: 12%; top: 16%; opacity: .9; }
.usecase--green .paint--2 { background: var(--orange); width: 12%; aspect-ratio: 1; left: 22%; top: 30%; }
.usecase__note {
	position: absolute; left: 16px; right: 16px; bottom: 16px;
	background: rgba(255, 255, 255, .86);
	border: 1px dashed var(--ink-3);
	border-radius: 10px;
	padding: 10px 12px;
	font-size: 13px; line-height: 1.45; color: var(--ink-2);
}
.usecase__text h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.usecase__text p { margin-top: 14px; color: var(--ink-2); max-width: 46ch; }
.usecase:nth-child(2) .paint--1 { width: 56%; aspect-ratio: 1.6; right: -8%; top: auto; bottom: 24%; }
.usecase:nth-child(2) .paint--2 { left: 18%; top: 20%; }
.usecase:nth-child(3) .paint--1 { width: 18%; left: 10%; top: 22%; box-shadow: 9vw 2vw 0 var(--green), 18vw -1vw 0 #f3b08b, 27vw 3vw 0 var(--ink-3); }
.usecase:nth-child(3) .paint--2 { display: none; }
.usecase:nth-child(4) .paint--1 { width: 26%; aspect-ratio: 1; left: 30%; top: 16%; border-radius: 10px 14px 8px 12px; transform: rotate(-6deg); }
.usecase:nth-child(4) .paint--2 { width: 20%; left: 54%; top: 34%; border-radius: 12px 8px 14px 10px; transform: rotate(8deg); }
.usecase:nth-child(5) .paint--1 { width: 44%; aspect-ratio: 1.1; left: 28%; top: 10%; clip-path: polygon(50% 0, 100% 42%, 100% 100%, 0 100%, 0 42%); border-radius: 0; background: var(--ink); opacity: 1; }
.usecase:nth-child(5) .paint--2 { width: 12%; left: 44%; top: 46%; background: var(--orange); }
@media (max-width: 760px) {
	.usecase { grid-template-columns: 1fr; }
	.usecase:nth-child(even) .usecase__art { order: 0; }
}

/* ==========================================================================
   Funktionen
   ========================================================================== */
.features { padding-block: var(--section); background: var(--white); border-block: 1px solid var(--line-2); }
.features__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }

.editor {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
	padding: clamp(20px, 3vw, 32px);
	font-size: 15px;
	line-height: 1.6;
}
.editor__h { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.editor__todos { display: grid; gap: 6px; }
.editor__todos li { display: flex; align-items: center; gap: 10px; }
.editor__todos li::before {
	content: ""; flex: none; width: 16px; height: 16px;
	border: 1.5px solid var(--ink-3); border-radius: 4px;
}
.editor__todos .is-done { color: var(--ink-3); text-decoration: line-through; }
.editor__todos .is-done::before {
	border-color: var(--green);
	background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 8.5 2.5 2.5L12 5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.editor__p { margin-top: 14px; }
.editor__callout {
	margin-top: 14px; padding: 12px 14px; border-radius: 8px;
	background: var(--wall-orange); font-size: 14px; color: var(--ink-2);
}
.cursor { position: relative; display: inline-block; width: 2px; height: 1.15em; vertical-align: -0.2em; margin-left: 2px; }
.cursor > span {
	position: absolute; left: 0; bottom: 100%;
	font-size: 11px; font-weight: 600; line-height: 1; color: var(--white);
	padding: 3px 6px; border-radius: 4px 4px 4px 0; white-space: nowrap;
}
.cursor--o, .cursor--o > span { background: var(--orange); }
.cursor--g, .cursor--g > span { background: var(--green); }
@media (prefers-reduced-motion: no-preference) {
	.cursor { animation: blink 1.1s steps(1) infinite; }
	.cursor--g { animation-delay: .4s; }
	@keyframes blink { 50% { opacity: .35; } }
}

.features__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 56px);
	margin-top: clamp(56px, 7vw, 88px);
}
.features__group h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.012em; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.features__group ul { display: grid; gap: 10px; margin-top: 14px; }
.features__group li { position: relative; padding-left: 20px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.features__group li::before {
	content: ""; position: absolute; left: 0; top: .5em;
	width: 8px; height: 8px; background: var(--green);
	border-radius: 52% 48% 44% 56% / 46% 58% 42% 54%;
}
.features__group:nth-child(even) li::before { background: var(--orange); }
@media (max-width: 860px) { .features__top { grid-template-columns: 1fr; } }

/* ==========================================================================
   Direkt-Import
   ========================================================================== */
.import { padding-block: var(--section); }
.import__steps {
	display: grid; grid-template-columns: repeat(4, 1fr);
	gap: clamp(20px, 3vw, 40px);
	margin-top: clamp(40px, 5vw, 64px);
	counter-reset: step;
}
.import__steps li { counter-increment: step; }
.import__steps li::before {
	content: counter(step);
	display: grid; place-items: center;
	width: 44px; height: 44px; margin-bottom: 16px;
	font-weight: 700; font-size: 17px; color: var(--white);
	background: var(--ink);
	border-radius: 52% 48% 44% 56% / 46% 58% 42% 54%;
}
.import__steps li:last-child::before { background: var(--green); }
.import__steps h3 { font-size: 19px; font-weight: 650; }
.import__steps p { margin-top: 6px; color: var(--ink-2); font-size: 16px; }
.import__includes {
	margin-top: clamp(40px, 5vw, 56px);
	padding-top: 20px; border-top: 1px solid var(--line);
	color: var(--ink-2); max-width: 80ch; font-size: 16px;
}
.import__includes strong { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .import__steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .import__steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   Preise
   ========================================================================== */
.pricing { padding-block: var(--section); background: var(--white); border-block: 1px solid var(--line-2); }
.pricing__includes { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 20px; color: var(--ink-2); }
.pricing__includes li { display: flex; align-items: center; gap: 10px; }
.pricing__includes li::before { content: ""; width: 8px; height: 8px; background: var(--green); border-radius: 52% 48% 44% 56% / 46% 58% 42% 54%; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 56px); }
.tier {
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
	padding: 28px 28px 32px;
	background: var(--paper);
}
.tier--featured { background: var(--wall-green); border-color: #cfe4d6; }
.tier__houses { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px; height: 64px; margin-bottom: 20px; align-content: flex-end; }
.house {
	width: 26px; height: 30px;
	background: var(--ink);
	clip-path: polygon(50% 0, 100% 40%, 100% 100%, 0 100%, 0 40%);
}
.house:nth-child(3n+2) { background: var(--orange); height: 26px; }
.house:nth-child(3n) { background: var(--green); height: 34px; }
.tier__name { font-size: 18px; font-weight: 650; }
.tier__price { font-size: 44px; font-weight: 750; letter-spacing: -0.03em; margin-top: 6px; line-height: 1.1; }
.tier__price span { font-size: 16px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.tier__sites { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
.pricing__after { margin-top: 24px; color: var(--ink-2); max-width: 70ch; font-size: 16px; }
.pricing__after strong { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }

.compare {
	margin-top: clamp(48px, 6vw, 72px);
	border-top: 2px solid var(--ink);
	padding-top: 24px;
	max-width: 720px;
}
.compare__title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.compare__label { display: block; margin-top: 16px; font-weight: 500; }
.compare__label output { font-weight: 700; font-variant-numeric: tabular-nums; }
.compare input[type="range"] {
	--fill: 10%;
	width: 100%; margin: 14px 0 6px; height: 28px; background: transparent;
	-webkit-appearance: none; appearance: none; cursor: pointer;
}
.compare input[type="range"]::-webkit-slider-runnable-track {
	height: 6px; border-radius: 6px;
	background: linear-gradient(to right, var(--orange) var(--fill), var(--line) var(--fill));
}
.compare input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--line); }
.compare input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--orange); }
.compare input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px;
	border-radius: 50%; background: var(--white); border: 2px solid var(--ink);
}
.compare input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink); }
.compare__rows { display: grid; gap: 0; margin-top: 12px; }
.compare__rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.compare__rows dt { color: var(--ink-2); }
.compare__rows dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.compare__rows .is-ours dt { color: var(--ink); font-weight: 600; }
.compare__rows .is-ours dd { color: var(--green-ink); }
.compare__source { margin-top: 12px; font-size: 13px; color: var(--ink-3); }

/* ==========================================================================
   Fragen
   ========================================================================== */
.faq { padding-block: var(--section); }
.faq__inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
	list-style: none; cursor: pointer;
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 20px 0; font-weight: 600; font-size: 18px; letter-spacing: -0.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
	content: ""; flex: none; width: 12px; height: 12px;
	border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2);
	transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq__item p { padding-bottom: 22px; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 860px) { .faq__inner { grid-template-columns: 1fr; } }

/* ==========================================================================
   Warteliste
   ========================================================================== */
.waitlist { padding-block: var(--section); background: var(--wall-orange); }
.waitlist__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.waitlist__form {
	background: var(--white); border-radius: var(--radius-l);
	padding: clamp(22px, 3vw, 36px);
	display: grid; gap: 18px;
	box-shadow: 0 20px 50px -30px rgba(34, 33, 30, .3);
}
.field { display: grid; gap: 6px; font-size: 15px; font-weight: 500; }
.field em { font-style: normal; color: var(--ink-3); font-weight: 400; }
.field input, .field select {
	font: 400 16px/1.4 var(--font); color: var(--ink);
	min-height: 48px; padding: 0 14px;
	border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); background: var(--white); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 12px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; }
.notice--ok { background: var(--wall-green); color: var(--green-ink); }
.notice--error { background: #fde8e3; color: #a3341a; }
@media (max-width: 860px) { .waitlist__inner { grid-template-columns: 1fr; } }

/* ==========================================================================
   Fuß
   ========================================================================== */
.site-footer { padding-block: 56px 40px; }
.site-footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: start; }
.site-footer__brand p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer__bottom {
	grid-column: 1 / -1;
	display: flex; justify-content: space-between; align-items: flex-start; gap: 16px 48px; flex-wrap: wrap;
	border-top: 1px solid var(--line); padding-top: 20px;
}
.site-footer__notice { font-size: 13px; color: var(--ink-3); display: grid; gap: 4px; }
.site-footer__legal { margin-left: auto; }
@media (max-width: 640px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* ==========================================================================
   Übrige Seiten (Impressum, Datenschutz …)
   ========================================================================== */
.prose-page { padding-block: 64px var(--section); max-width: calc(720px + 2 * var(--gutter)); }
.prose-page h1 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 28px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 24px; margin-top: 2em; letter-spacing: -0.02em; }
.prose ul { list-style: disc; padding-left: 1.2em; }

/* ==========================================================================
   Logo (SVG, Buchstaben in Textfarbe)
   ========================================================================== */
.logo { display: block; height: auto; color: var(--ink); }
.site-header__logo { width: 104px; }
.site-footer__logo { width: 150px; }
.site-nav a[aria-current="page"] { color: var(--ink); }

/* Links in die Dokumentation */
.faq__docs { margin-top: 18px; color: var(--ink-2); }
.faq__docs a, .faq__more a, .import__more a { color: var(--orange-ink); font-weight: 600; text-underline-offset: 3px; }
.faq__more { margin-top: -10px; padding-bottom: 22px; font-size: 15px; }
.import__more { margin-top: 14px; font-size: 16px; }

/* ==========================================================================
   Dokumentation
   ========================================================================== */
.docs { padding-block: clamp(32px, 5vw, 64px) var(--section); }
.docs__layout {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr) 200px;
	gap: clamp(24px, 4vw, 56px);
	align-items: start;
}
.docs__layout--root { grid-template-columns: 220px minmax(0, 1fr); }

.docs-nav { position: sticky; top: 92px; font-size: 15px; }
.docs-nav summary { list-style: none; font-weight: 650; padding: 4px 0 10px; cursor: default; }
.docs-nav summary::-webkit-details-marker { display: none; }
.docs-nav ul { display: grid; gap: 2px; }
.docs-nav a {
	display: flex; align-items: center; gap: 8px;
	padding: 6px 10px; border-radius: 8px;
	text-decoration: none; color: var(--ink-2); line-height: 1.35;
}
.docs-nav a:hover { background: var(--line-2); color: var(--ink); }
.docs-nav a[aria-current="page"] { background: var(--wall-orange); color: var(--ink); font-weight: 600; }
.docs-nav__item--d2 a { padding-left: 24px; font-size: 14px; }
.docs-nav__item--d3 a { padding-left: 38px; font-size: 14px; }
.docs-nav__draft { margin-left: auto; font-size: 11px; font-weight: 500; color: var(--ink-3); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; }

.docs-article { min-width: 0; max-width: 720px; }
.docs-crumbs { font-size: 15px; margin-bottom: 8px; }
.docs-crumbs a { color: var(--ink-2); text-decoration: none; }
.docs-crumbs a:hover { color: var(--ink); text-decoration: underline; }
.docs-title { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.08; font-weight: 750; letter-spacing: -0.032em; text-wrap: balance; }
.docs-status {
	display: inline-block; margin-top: 16px;
	padding: 6px 12px; border-radius: 8px;
	background: var(--wall-orange); color: var(--orange-ink); font-size: 14px; font-weight: 500;
}

.docs-prose { margin-top: 24px; font-size: 17px; line-height: 1.7; }
.docs-prose > * + * { margin-top: 1em; }
.docs-prose h2 { font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; margin-top: 2em; scroll-margin-top: 96px; }
.docs-prose h3 { font-size: 20px; line-height: 1.3; font-weight: 650; margin-top: 1.6em; scroll-margin-top: 96px; }
.docs-prose ul { list-style: none; padding-left: 0; }
.docs-prose ul > li { position: relative; padding-left: 22px; }
.docs-prose ul > li::before {
	content: ""; position: absolute; left: 2px; top: .62em;
	width: 8px; height: 8px; background: var(--green);
	border-radius: 52% 48% 44% 56% / 46% 58% 42% 54%;
}
.docs-prose ol { padding-left: 0; counter-reset: step; }
.docs-prose ol > li { counter-increment: step; position: relative; padding-left: 36px; }
.docs-prose ol > li::before {
	content: counter(step); position: absolute; left: 0; top: .15em;
	width: 24px; height: 24px; display: grid; place-items: center;
	font-size: 13px; font-weight: 700; color: var(--white); background: var(--ink);
	border-radius: 52% 48% 44% 56% / 46% 58% 42% 54%;
}
.docs-prose li + li { margin-top: .45em; }
.docs-prose a { color: var(--orange-ink); text-underline-offset: 3px; }
.docs-prose strong { font-weight: 650; }
.docs-prose code {
	font: 500 .88em/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	background: var(--line-2); padding: .1em .35em; border-radius: 4px;
}
.docs-prose pre { background: var(--ink); color: #f3f1ec; padding: 16px 18px; border-radius: var(--radius-m); overflow-x: auto; }
.docs-prose pre code { background: none; color: inherit; padding: 0; font-size: 14px; }
.docs-prose figure { margin: 0; }
.docs-prose .wp-block-table { overflow-x: auto; }
.docs-prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.docs-prose th { text-align: left; font-weight: 650; border-bottom: 2px solid var(--ink); padding: 8px 12px 8px 0; }
.docs-prose td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; vertical-align: top; }
.docs-prose .docs-note {
	background: var(--wall-green); border-radius: var(--radius-m);
	padding: 14px 18px; font-size: 16px;
}

.docs-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; margin-top: 36px; }
.docs-card {
	position: relative; padding: 20px 22px 22px;
	border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--white);
}
.docs-card:hover { border-color: var(--ink-3); }
.docs-card h2 { font-size: 18px; font-weight: 650; letter-spacing: -0.01em; }
.docs-card h2 a { text-decoration: none; color: var(--ink); }
.docs-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.docs-card p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }

.docs-footer { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); }
.docs-updated { font-size: 14px; color: var(--ink-3); }
.docs-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.docs-pager a {
	display: grid; gap: 2px; padding: 14px 18px;
	border: 1px solid var(--line); border-radius: var(--radius-m);
	text-decoration: none; color: var(--ink); font-weight: 600;
}
.docs-pager a:hover { border-color: var(--ink-3); }
.docs-pager span { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.docs-pager__next { grid-column: 2; text-align: right; }

.docs-toc { position: sticky; top: 92px; font-size: 14px; }
.docs-toc__title { font-weight: 650; margin-bottom: 8px; }
.docs-toc ul { display: grid; gap: 6px; border-left: 1px solid var(--line); }
.docs-toc a { display: block; padding-left: 12px; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.docs-toc a:hover { color: var(--ink); }
.docs-toc__h3 a { padding-left: 24px; }

@media (max-width: 1100px) {
	.docs__layout { grid-template-columns: 200px minmax(0, 1fr); }
	.docs-toc { display: none; }
}
@media (max-width: 900px) {
	.docs__layout, .docs__layout--root { grid-template-columns: 1fr; }
	.docs-nav { position: static; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 6px 12px; background: var(--white); }
	.docs-nav summary { cursor: pointer; padding: 8px 0; display: flex; justify-content: space-between; }
	.docs-nav summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg) translate(-2px, -2px); }
	.docs-nav details[open] summary::after { transform: rotate(-135deg); }
	.docs-nav ul { padding-bottom: 8px; }
}
@media (max-width: 520px) {
	.docs-pager { grid-template-columns: 1fr; }
	.docs-pager__next { grid-column: 1; }
}

/* Projekte: sechs Ansichts-Tabs brauchen den Platz – Werkzeuge dort ausblenden */
#page-projekte .app__tools > .ph, #page-projekte .app__count { display: none; }
.docs-title, .docs-prose h2, .docs-card h2 { hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 860px) { .app__top-btn { display: none; } }

/* Sprachumschalter */
.lang-switch ul { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang-switch a {
	display: block; padding: 4px 9px; border-radius: 999px;
	font-size: 13px; font-weight: 600; letter-spacing: .02em;
	color: var(--ink-3); text-decoration: none;
}
.lang-switch abbr { text-decoration: none; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { background: var(--ink); color: var(--white); }
.site-header__inner .lang-switch { margin-left: 4px; }
@media (max-width: 760px) {
	.site-header__inner { gap: 12px; }
	.site-header__inner .lang-switch { margin-left: auto; }
	.site-header__inner .btn { margin-left: 0; }
}
