/* ==========================================================================
   php-net.pro — Design-System (2026 Overhaul)
   Dunkles, entwickler-natives Theme rund um das PHP-Violett (#777bb3).
   ========================================================================== */

:root {
	--bg: #0b0c14;
	--bg-raised: #12141f;
	--bg-card: #151827;
	--border: rgba(148, 156, 208, .16);
	--border-strong: rgba(148, 156, 208, .32);

	--text: #e9ebf5;
	--text-muted: #9ba1b8;
	--text-faint: #6b7089;

	--violet: #777bb3;
	--violet-bright: #979de8;
	--violet-deep: #4f529b;
	--cyan: #7dd3fc;
	--green: #34d399;
	--red: #f87171;
	--amber: #fbbf24;

	--gradient-accent: linear-gradient(135deg, #979de8 0%, #777bb3 55%, #5a7fd6 100%);
	--shadow-accent: 0 8px 32px rgba(122, 128, 205, .35);

	--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--font-mono: ui-monospace, 'SF Mono', 'JetBrains Mono', 'Cascadia Code', Menlo, Consolas, monospace;

	--radius: 14px;
	--radius-small: 9px;
	--container: 1160px;
}

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

[hidden] { display: none !important; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

::selection { background: rgba(151, 157, 232, .35); }

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

a { color: var(--violet-bright); text-decoration: none; }
a:hover { color: #b4b9f5; }

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.15;
	text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

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

.container-narrow { max-width: 780px; }

section { position: relative; }

.section-subtitle {
	max-width: 620px;
	margin: -0.4rem 0 2.2rem;
	color: var(--text-muted);
	font-size: 1.06rem;
}

.eyebrow {
	display: inline-block;
	margin-bottom: 1.1rem;
	padding: .35rem .8rem;
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	background: rgba(122, 128, 205, .12);
	font-family: var(--font-mono);
	font-size: .78rem;
	letter-spacing: .04em;
	color: var(--violet-bright);
}

/* --- Buttons -------------------------------------------------------------- */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	padding: .7rem 1.35rem;
	border: 1px solid transparent;
	border-radius: var(--radius-small);
	font: 600 .95rem/1.2 var(--font-sans);
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
	white-space: nowrap;
}

.button-primary {
	background: var(--gradient-accent);
	color: #fff;
	box-shadow: var(--shadow-accent);
}

.button-primary:hover {
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 12px 40px rgba(122, 128, 205, .5);
}

.button-ghost {
	border-color: var(--border-strong);
	background: transparent;
	color: var(--text);
}

.button-ghost:hover { border-color: var(--violet-bright); color: #fff; background: rgba(122, 128, 205, .08); }

.button-large { padding: .95rem 1.8rem; font-size: 1.02rem; }
.button-small { padding: .5rem 1rem; font-size: .85rem; }

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

/* --- Header ---------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid var(--border);
	background: rgba(11, 12, 20, .82);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.site-header-inner {
	display: flex;
	align-items: center;
	gap: 1.8rem;
	min-height: 68px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	color: var(--text);
}

.brand-mark {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--gradient-accent);
	box-shadow: var(--shadow-accent);
	color: #fff;
	font: italic 800 .95rem/1 var(--font-mono);
	letter-spacing: -.05em;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: .98rem; letter-spacing: -.01em; }
.brand-text em { font-style: normal; font-size: .72rem; color: var(--text-muted); }

.site-nav {
	display: flex;
	gap: 1.4rem;
	margin-left: auto;
}

.site-nav a {
	color: var(--text-muted);
	font-size: .92rem;
	font-weight: 500;
}

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

.site-header-actions {
	display: flex;
	align-items: center;
	gap: .8rem;
}

@media (max-width: 760px) {
	.site-nav { display: none; }
	.site-header-actions { margin-left: auto; }
}

/* Sprachumschalter */
.lang-switch { position: relative; }

.lang-switch summary {
	list-style: none;
	display: inline-flex;
	align-items: center;
	gap: .4em;
	padding: .45rem .75rem;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-small);
	font: 600 .82rem/1 var(--font-mono);
	color: var(--text-muted);
	cursor: pointer;
	user-select: none;
}

.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover { color: var(--text); border-color: var(--violet-bright); }

.lang-switch ul {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	min-width: 150px;
	margin: 0;
	padding: .4rem;
	list-style: none;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-small);
	background: var(--bg-raised);
	box-shadow: 0 18px 48px rgba(0, 0, 0, .5);
}

.lang-switch ul a {
	display: block;
	padding: .5rem .7rem;
	border-radius: 6px;
	color: var(--text-muted);
	font-size: .9rem;
}

.lang-switch ul a:hover { background: rgba(122, 128, 205, .12); color: var(--text); }
.lang-switch ul a.is-current { color: var(--violet-bright); font-weight: 600; }

/* --- Hero ------------------------------------------------------------------ */

.section-hero {
	padding: clamp(3.4rem, 8vw, 6.2rem) 0 3rem;
	overflow: hidden;
	background:
		radial-gradient(1000px 520px at 78% -10%, rgba(122, 128, 205, .22), transparent 62%),
		radial-gradient(700px 420px at 12% 8%, rgba(90, 127, 214, .12), transparent 60%);
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 4rem);
}

.hero-copy h1 em {
	font-style: normal;
	background: linear-gradient(120deg, #b3b8fa, #979de8 45%, #7dd3fc);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero-subtitle {
	max-width: 540px;
	margin: 1.1rem 0 1.8rem;
	color: var(--text-muted);
	font-size: 1.12rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-from-price {
	margin-top: .9rem;
	font-family: var(--font-mono);
	font-size: .82rem;
	color: var(--text-faint);
}

.hero-visual {
	position: relative;
	min-height: 340px;
	display: grid;
	place-items: center;
}

.hero-backdrop {
	position: absolute;
	inset: -12% -18%;
	width: 136%;
	max-width: none;
	opacity: .85;
	filter: saturate(1.05);
	pointer-events: none;
	-webkit-mask-image: radial-gradient(72% 72% at 50% 50%, #000 38%, transparent 78%);
	mask-image: radial-gradient(72% 72% at 50% 50%, #000 38%, transparent 78%);
}

@media (max-width: 920px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-visual { min-height: 300px; margin-top: .5rem; }
}

/* X-Post-Karte (Demo im Hero + Live-Preview im Composer) */
.post-card {
	position: relative;
	width: min(430px, 100%);
	padding: 1.05rem 1.15rem .85rem;
	border: 1px solid var(--border-strong);
	border-radius: 16px;
	background: linear-gradient(180deg, #171a2b, #131624);
	box-shadow: 0 24px 64px rgba(0, 0, 0, .5);
}

.post-card-demo { transform: rotate(-1.6deg); }

.post-card-head {
	display: flex;
	align-items: center;
	gap: .65rem;
	margin-bottom: .6rem;
}

.avatar {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--gradient-accent);
	color: #fff;
	font: italic 800 .85rem/1 var(--font-mono);
	flex: none;
}

.post-card-id { display: flex; flex-direction: column; line-height: 1.2; }
.post-card-id strong { display: inline-flex; align-items: center; gap: .25em; font-size: .95rem; }
.post-card-id span { color: var(--text-faint); font-size: .85rem; }
.verified { color: #1d9bf0; }

.post-card-sponsored {
	margin-left: auto;
	padding: .15rem .5rem;
	border: 1px solid var(--border);
	border-radius: 5px;
	color: var(--text-faint);
	font: 600 .68rem/1.2 var(--font-mono);
	letter-spacing: .06em;
	text-transform: uppercase;
}

.post-card-text {
	margin: 0 0 .7rem;
	font-size: .98rem;
	line-height: 1.5;
	white-space: pre-wrap;
	overflow-wrap: break-word;
}

.post-card-text.is-placeholder:empty::before {
	content: attr(data-placeholder);
	color: var(--text-faint);
}

.post-card-media {
	margin: 0 0 .7rem;
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
}

.post-card-media img { display: block; width: 100%; max-height: 240px; object-fit: cover; }

.post-card-media-file {
	display: block;
	padding: .8rem 1rem;
	color: var(--text-muted);
	font: 500 .85rem/1.3 var(--font-mono);
}

.post-card-meta {
	display: flex;
	gap: 1.6rem;
	color: var(--text-faint);
	font-size: .82rem;
}

/* Stats-Bar */
.stats-bar {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	margin: clamp(2.6rem, 6vw, 4rem) 0 0;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--border);
	overflow: hidden;
}

.stat {
	display: flex;
	flex-direction: column-reverse;
	gap: .3rem;
	margin: 0;
	padding: 1.3rem 1.4rem;
	background: var(--bg-raised);
}

.stat dd {
	margin: 0;
	font: 700 1.7rem/1.1 var(--font-sans);
	letter-spacing: -.02em;
	background: linear-gradient(120deg, #e9ebf5, #b3b8fa);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.stat dt { color: var(--text-faint); font-size: .82rem; }

@media (max-width: 860px) {
	.stats-bar { grid-template-columns: repeat(2, 1fr); }
}

/* --- Audience ---------------------------------------------------------------- */

.section-audience { padding: clamp(3rem, 7vw, 5.5rem) 0 1rem; }

.audience-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}

.audience-card {
	padding: 1.4rem 1.4rem 1.1rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: linear-gradient(180deg, var(--bg-card), var(--bg-raised));
	transition: border-color .2s ease, transform .2s ease;
}

.audience-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }

.audience-card h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.audience-card h3::before {
	content: '';
	display: block;
	width: 34px;
	height: 3px;
	margin-bottom: .8rem;
	border-radius: 2px;
	background: var(--gradient-accent);
}

.audience-card p { margin: 0; color: var(--text-muted); font-size: .92rem; }

@media (max-width: 980px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .audience-grid { grid-template-columns: 1fr; } }

/* --- How it works ------------------------------------------------------------ */

.section-how { padding: clamp(3rem, 7vw, 5.5rem) 0 1rem; }

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

.step {
	position: relative;
	padding: 1.6rem 1.5rem 1.3rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg-raised);
}

.step-number {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	margin-bottom: 1rem;
	border-radius: 50%;
	background: rgba(122, 128, 205, .16);
	border: 1px solid var(--border-strong);
	color: var(--violet-bright);
	font: 700 .95rem/1 var(--font-mono);
}

.step h3 { font-size: 1.05rem; }
.step p { margin: 0; color: var(--text-muted); font-size: .93rem; }

@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* --- Composer ------------------------------------------------------------------ */

.section-composer {
	padding: clamp(3.4rem, 8vw, 6rem) 0;
	background:
		radial-gradient(820px 420px at 50% 0%, rgba(122, 128, 205, .14), transparent 65%);
}

.composer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: clamp(1.4rem, 3.5vw, 2.6rem);
	align-items: start;
}

@media (max-width: 920px) { .composer-grid { grid-template-columns: 1fr; } }

/* Tier-Auswahl (Sponsored Post / Spotlight) */
.tier-picker {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .8rem;
	margin: 0 0 1.2rem;
	padding: 0;
	border: 0;
}

.tier-picker-label {
	grid-column: 1 / -1;
	margin-bottom: .1rem;
	padding: 0;
	font-weight: 600;
	font-size: .95rem;
}

.tier-card {
	display: flex;
	gap: .7rem;
	padding: .95rem 1rem;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius);
	background: var(--bg-card);
	cursor: pointer;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.tier-card:hover { border-color: var(--violet-bright); }

.tier-card:has(input:checked) {
	border-color: var(--violet-bright);
	box-shadow: 0 0 0 4px rgba(122, 128, 205, .18);
}

.tier-card input {
	flex-shrink: 0;
	margin-top: .2rem;
	accent-color: var(--violet-bright);
}

.tier-card-body { display: block; min-width: 0; }

.tier-card-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: .6rem;
	margin-bottom: .25rem;
}

.tier-card-head strong { font-size: .95rem; }

.tier-card-price {
	color: var(--green);
	font: 700 .95rem/1 var(--font-sans);
	white-space: nowrap;
}

.tier-card-badge {
	display: inline-block;
	margin-left: .3rem;
	padding: .12rem .5rem;
	border-radius: 999px;
	background: var(--gradient-accent);
	color: #fff;
	font: 700 .6rem/1.2 var(--font-mono);
	letter-spacing: .05em;
	text-transform: uppercase;
	vertical-align: middle;
}

.tier-card-desc {
	display: block;
	color: var(--text-faint);
	font-size: .8rem;
	line-height: 1.45;
}

@media (max-width: 560px) { .tier-picker { grid-template-columns: 1fr; } }

/* Gemeinsame Block-Ueberschrift fuer Extras/Rechnungsangaben */
.composer-block-label {
	display: block;
	margin-bottom: .6rem;
	font-weight: 600;
	font-size: .95rem;
}

/* Extras (Anpinnen, Repost) */
.composer-extras { margin-top: 1.4rem; }

.extras-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .8rem;
	align-items: center;
}

@media (max-width: 560px) { .extras-grid { grid-template-columns: 1fr; } }

.extra-field span {
	display: block;
	margin-bottom: .45rem;
	color: var(--text-muted);
	font-size: .85rem;
}

.extra-field select,
.billing-field select,
.billing-field input {
	width: 100%;
	padding: .8rem 1rem;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-small);
	background: var(--bg-card);
	color: var(--text);
	font: 400 .98rem/1.4 var(--font-sans);
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.extra-field select:focus,
.billing-field select:focus,
.billing-field input:focus {
	border-color: var(--violet-bright);
	box-shadow: 0 0 0 4px rgba(122, 128, 205, .18);
}

/* Selects: natives OS-Styling abschalten, eigener Chevron passend zu den Inputs */
.extra-field select,
.billing-field select,
.timezone-select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 2.6rem;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%239ba1b8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1.5 1.75 6 6.25l4.5-4.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	cursor: pointer;
}

.extra-check {
	display: flex;
	align-items: center;
	gap: .6rem;
	align-self: end;
	padding: .8rem 0 .9rem;
	color: var(--text-muted);
	font-size: .9rem;
	cursor: pointer;
}

/* Checkbox im Look der Inputs/Selects (natives OS-Styling abgeschaltet) */
.extra-check input {
	appearance: none;
	-webkit-appearance: none;
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	margin: 0;
	border: 1px solid var(--border-strong);
	border-radius: 6px;
	background: var(--bg-card);
	cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.extra-check input:hover { border-color: var(--violet-bright); }

.extra-check input:focus-visible {
	outline: none;
	border-color: var(--violet-bright);
	box-shadow: 0 0 0 4px rgba(122, 128, 205, .18);
}

.extra-check input:checked {
	border-color: var(--violet-bright);
	background-color: var(--violet);
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1.5 5.2 4.4 8l6-6.4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
}

/* Rechnungsangaben (B2B) */
.composer-billing { margin-top: 1.4rem; }

.billing-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .8rem;
}

@media (max-width: 560px) { .billing-grid { grid-template-columns: 1fr; } }

.billing-vat { grid-column: 1 / -1; }

.billing-field label {
	display: block;
	margin-bottom: .45rem;
	color: var(--text-muted);
	font-size: .85rem;
}

.price-box-note {
	flex-basis: 100%;
	margin: .4rem 0 0;
	color: var(--text-faint);
	font-size: .78rem;
}

.editor-box {
	border: 1px solid var(--border-strong);
	border-radius: var(--radius);
	background: var(--bg-card);
	transition: border-color .2s ease, box-shadow .2s ease;
}

.editor-box:focus-within {
	border-color: var(--violet-bright);
	box-shadow: 0 0 0 4px rgba(122, 128, 205, .18);
}

.editor-box textarea {
	display: block;
	width: 100%;
	min-height: 130px;
	padding: 1.1rem 1.2rem .6rem;
	border: 0;
	background: transparent;
	color: var(--text);
	font: 400 1.05rem/1.55 var(--font-sans);
	resize: none;
	outline: none;
}

.editor-box textarea::placeholder { color: var(--text-faint); }

.editor-meter {
	height: 3px;
	margin: 0 1.2rem;
	border-radius: 2px;
	background: rgba(148, 156, 208, .14);
	overflow: hidden;
}

.editor-meter-fill {
	display: block;
	width: 0;
	height: 100%;
	border-radius: 2px;
	background: var(--gradient-accent);
	transition: width .15s ease, background .15s ease;
}

.editor-meter-fill.is-warning { background: var(--amber); }
.editor-meter-fill.is-error { background: var(--red); }

.editor-toolbar {
	display: flex;
	align-items: center;
	gap: .6rem;
	padding: .75rem 1.2rem .9rem;
}

.upload-chip { position: relative; overflow: hidden; }

.upload-chip input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}

.upload-chip span {
	display: inline-block;
	padding: .45rem .85rem;
	border: 1px dashed var(--border-strong);
	border-radius: 999px;
	color: var(--text-muted);
	font-size: .84rem;
	transition: border-color .15s ease, color .15s ease;
}

.upload-chip:hover span { border-color: var(--violet-bright); color: var(--text); }

.upload-chip-file {
	border-style: solid !important;
	color: var(--violet-bright) !important;
	font-family: var(--font-mono);
	max-width: 260px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.upload-remove {
	width: 30px;
	height: 30px;
	border: 1px solid var(--border-strong);
	border-radius: 50%;
	background: transparent;
	color: var(--text-muted);
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
}

.upload-remove:hover { color: var(--red); border-color: var(--red); }

.editor-count {
	margin-left: auto;
	color: var(--text-faint);
	font: 500 .8rem/1 var(--font-mono);
}

.editor-count.is-warning { color: var(--amber); }
.editor-count.is-error { color: var(--red); }

/* Schedule-Slider */
.composer-schedule { margin-top: 1.4rem; }

.composer-schedule label {
	display: block;
	margin-bottom: .6rem;
	font-weight: 600;
	font-size: .95rem;
}

.schedule-output { color: var(--violet-bright); font-family: var(--font-mono); font-size: .9rem; }

.composer-schedule input[type="range"] {
	width: 100%;
	height: 6px;
	appearance: none;
	-webkit-appearance: none;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--violet-bright) var(--slider-progress, 0%), rgba(148, 156, 208, .18) var(--slider-progress, 0%));
	outline-offset: 6px;
	cursor: pointer;
}

.composer-schedule input[type="range"]::-webkit-slider-thumb {
	appearance: none;
	-webkit-appearance: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 3px solid #fff;
	background: var(--violet-bright);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}

.composer-schedule input[type="range"]::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 3px solid #fff;
	background: var(--violet-bright);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}

.schedule-scale {
	display: flex;
	justify-content: space-between;
	margin-top: .4rem;
	color: var(--text-faint);
	font: 500 .74rem/1 var(--font-mono);
}

/* E-Mail-Feld */
.composer-email { margin-top: 1.4rem; }

.composer-email label {
	display: block;
	margin-bottom: .45rem;
	font-weight: 600;
	font-size: .95rem;
}

.composer-email input {
	width: 100%;
	padding: .8rem 1rem;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-small);
	background: var(--bg-card);
	color: var(--text);
	font: 400 .98rem/1.4 var(--font-sans);
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.composer-email input:focus {
	border-color: var(--violet-bright);
	box-shadow: 0 0 0 4px rgba(122, 128, 205, .18);
}

.field-hint { margin: .45rem 0 0; color: var(--text-faint); font-size: .8rem; }

/* Composer-Seitenleiste: Preview + Preis */
.composer-side { display: flex; flex-direction: column; }

.preview-label {
	margin-bottom: .6rem;
	font: 600 .78rem/1 var(--font-mono);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--text-faint);
}

.preview-hint { margin: .55rem 0 1.3rem; color: var(--text-faint); font-size: .8rem; }

.price-box {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .3rem 1rem;
	padding: 1rem 1.2rem;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius);
	background: rgba(52, 211, 153, .06);
	margin-bottom: 1rem;
}

.price-box-label { color: var(--text-muted); font-size: .9rem; font-weight: 600; }

.price-box-value {
	margin-left: auto;
	font: 700 1.9rem/1 var(--font-sans);
	letter-spacing: -.02em;
	color: var(--green);
}

.price-box-value span { font-size: .85rem; font-weight: 600; color: var(--text-faint); }

.price-box-lines {
	flex-basis: 100%;
	margin: .5rem 0 0;
	padding: 0;
	list-style: none;
	color: var(--text-muted);
	font-size: .84rem;
}

.price-box-lines li { display: flex; justify-content: space-between; padding: .12rem 0; }

.composer-submit { width: 100%; }
.composer-submit .submit-price { font-weight: 700; }
.composer-submit.is-loading { opacity: .7; pointer-events: none; }

.composer-note { margin: .8rem 0 0; color: var(--text-faint); font-size: .82rem; }

.composer-error {
	margin: .8rem 0 0;
	padding: .7rem 1rem;
	border: 1px solid rgba(248, 113, 113, .4);
	border-radius: var(--radius-small);
	background: rgba(248, 113, 113, .08);
	color: var(--red);
	font-size: .88rem;
}

.shake { animation: shake .4s ease; }

@keyframes shake {
	20% { transform: translateX(-6px); }
	40% { transform: translateX(6px); }
	60% { transform: translateX(-4px); }
	80% { transform: translateX(4px); }
}

/* --- Pricing ------------------------------------------------------------------- */

.section-pricing { padding: clamp(3rem, 7vw, 5.5rem) 0 1.5rem; }

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.2rem;
	align-items: stretch;
	max-width: 820px;
	margin: 0 auto;
}

.pricing-card {
	position: relative;
	padding: 1.6rem 1.5rem 1.4rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg-raised);
	text-align: left;
	transition: border-color .2s ease, transform .2s ease;
}

.pricing-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }

.pricing-card.is-featured {
	border-color: var(--violet-bright);
	background:
		linear-gradient(180deg, rgba(122, 128, 205, .14), rgba(122, 128, 205, .03)),
		var(--bg-raised);
	box-shadow: var(--shadow-accent);
}

.pricing-badge {
	position: absolute;
	top: -12px;
	left: 1.2rem;
	padding: .25rem .7rem;
	border-radius: 999px;
	background: var(--gradient-accent);
	color: #fff;
	font: 700 .68rem/1.2 var(--font-mono);
	letter-spacing: .05em;
	text-transform: uppercase;
}

.pricing-card h3 { margin-bottom: .2rem; font-size: 1.15rem; }
.pricing-tagline { margin-bottom: 1rem; color: var(--text-faint); font-size: .88rem; }

.pricing-price {
	margin: 0 0 1.1rem;
	font: 700 2rem/1 var(--font-sans);
	letter-spacing: -.02em;
}

.pricing-price span { display: inline-block; margin-left: .2rem; font-size: .78rem; font-weight: 500; color: var(--text-faint); }

.pricing-features {
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--text-muted);
	font-size: .9rem;
}

.pricing-features li {
	position: relative;
	padding: .3rem 0 .3rem 1.5rem;
}

.pricing-features li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--green);
	font-weight: 700;
}

.pricing-features strong { color: var(--text); }

.pricing-extras {
	max-width: 820px;
	margin: 2rem auto 0;
	padding: 1.4rem 1.6rem;
	border: 1px dashed var(--border-strong);
	border-radius: var(--radius);
}

.pricing-extras h3 { font-size: .95rem; margin-bottom: .7rem; color: var(--text-muted); }

.pricing-extras ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: .8rem 2rem;
	color: var(--text-muted);
	font-size: .92rem;
}

.pricing-extras strong { color: var(--text); }

.pricing-impressions,
.pricing-vat-note {
	max-width: 820px;
	margin: 1.2rem auto 0;
	color: var(--text-faint);
	font-size: .82rem;
	text-align: center;
}

.pricing-cta { margin-top: 2.2rem; text-align: center; }

@media (max-width: 980px) {
	.pricing-extras ul { grid-template-columns: 1fr; }
}

@media (max-width: 540px) { .pricing-grid { grid-template-columns: 1fr; } }

/* --- FAQ -------------------------------------------------------------------------- */

.section-faq { padding: clamp(3rem, 7vw, 5rem) 0 2rem; }

.section-faq h2 { text-align: center; margin-bottom: 2rem; }

.faq-item {
	border: 1px solid var(--border);
	border-radius: var(--radius-small);
	background: var(--bg-raised);
	margin-bottom: .6rem;
	overflow: hidden;
}

.faq-item summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.2rem;
	font-weight: 600;
	font-size: .98rem;
	cursor: pointer;
	user-select: none;
}

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

.faq-item summary::after {
	content: '+';
	flex: none;
	color: var(--violet-bright);
	font-size: 1.3rem;
	font-weight: 400;
	transition: transform .2s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] { border-color: var(--border-strong); }

.faq-answer {
	padding: 0 1.2rem 1.1rem;
	color: var(--text-muted);
	font-size: .95rem;
}

.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul, .faq-answer ol { margin: 0 0 1em; padding-left: 1.3em; }

/* --- CTA-Banner --------------------------------------------------------------------- */

.section-cta {
	margin: clamp(2rem, 6vw, 4rem) 0 0;
	padding: clamp(3.4rem, 8vw, 5.5rem) 0;
	text-align: center;
	background:
		radial-gradient(720px 340px at 50% 110%, rgba(122, 128, 205, .3), transparent 70%),
		linear-gradient(180deg, transparent, rgba(122, 128, 205, .06));
	border-top: 1px solid var(--border);
}

.section-cta h2 { max-width: 640px; margin-inline: auto; }
.section-cta p { color: var(--text-muted); margin-bottom: 1.8rem; }

/* --- Inhaltsseiten (Legal, Presse, Success) ------------------------------------------ */

.section-page { padding: clamp(2.8rem, 7vw, 4.5rem) 0 3rem; }

.section-page h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1.6rem; }

.prose { color: var(--text-muted); }
.prose h2 { font-size: 1.3rem; margin: 1.8em 0 .5em; color: var(--text); }
.prose h3 { font-size: 1.05rem; margin: 1.5em 0 .4em; color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose .highlight { padding: 1rem 1.2rem; border-left: 3px solid var(--violet-bright); background: rgba(122, 128, 205, .08); border-radius: 0 var(--radius-small) var(--radius-small) 0; }

.section-404 { text-align: center; padding-block: 6rem; }
.section-404 h1 { font-size: 5rem; }

/* Success-Seite */
.success-card {
	margin: 0 0 1.6rem;
	padding: 1.6rem 1.7rem;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius);
	background: var(--bg-raised);
}

.sepa-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	margin-top: 1.2rem;
}

.sepa-field {
	padding: .9rem 1.1rem;
	border: 1px solid var(--border);
	border-radius: var(--radius-small);
	background: var(--bg-card);
}

.sepa-field dt { color: var(--text-faint); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }

.sepa-field dd {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .8rem;
	margin: .3rem 0 0;
	font: 600 .95rem/1.4 var(--font-mono);
	color: var(--text);
	overflow-wrap: anywhere;
}

.copy-button {
	flex: none;
	padding: .3rem .6rem;
	border: 1px solid var(--border-strong);
	border-radius: 6px;
	background: transparent;
	color: var(--text-muted);
	font: 600 .72rem/1 var(--font-sans);
	cursor: pointer;
}

.copy-button:hover { border-color: var(--violet-bright); color: var(--text); }
.copy-button.is-copied { border-color: var(--green); color: var(--green); }

@media (max-width: 640px) { .sepa-grid { grid-template-columns: 1fr; } }

.success-card.is-paid {
	border-color: rgba(52, 211, 153, .45);
	background: linear-gradient(180deg, rgba(52, 211, 153, .08), rgba(52, 211, 153, .02));
}

/* Netto/USt/Brutto-Aufschluesselung (Success + Pay) */
.vat-breakdown { margin: 1.1rem 0 0; }

.vat-breakdown div {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: .45rem 0;
	border-bottom: 1px solid var(--border);
}

.vat-breakdown dt { color: var(--text-faint); font-size: .88rem; }
.vat-breakdown dd { margin: 0; font-size: .88rem; color: var(--text); text-align: right; overflow-wrap: anywhere; }
.vat-breakdown .vat-breakdown-total { border-bottom: 0; }
.vat-breakdown .vat-breakdown-total dt, .vat-breakdown .vat-breakdown-total dd { font-weight: 700; color: var(--text); }

.vat-note {
	margin: .8rem 0 0;
	color: var(--text-faint);
	font-size: .82rem;
	font-style: italic;
}

.paid-badge { font-size: 1.05rem; font-weight: 600; color: var(--green); }
.paid-reference { margin-bottom: 0; color: var(--text-faint); font-size: .85rem; }
.paid-reference code { font-family: var(--font-mono); color: var(--text-muted); }

.pay-online { margin: 1.2rem 0 0; }

/* Zahlungsseite (Stripe Payment Element) */
.section-pay h1 { margin-bottom: .4rem; }

.pay-grid {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: clamp(1.4rem, 3.5vw, 2.6rem);
	align-items: start;
}

@media (max-width: 860px) { .pay-grid { grid-template-columns: 1fr; } }

.pay-facts { margin: 1.2rem 0 0; }

.pay-facts div {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: .55rem 0;
	border-bottom: 1px solid var(--border);
}

.pay-facts dt { color: var(--text-faint); font-size: .88rem; }
.pay-facts dd { margin: 0; font-size: .88rem; color: var(--text); overflow-wrap: anywhere; text-align: right; }
.pay-facts .pay-total dt, .pay-facts .pay-total dd { font-weight: 700; font-size: 1.05rem; color: var(--green); border: 0; }
.pay-facts .pay-total { border-bottom: 0; }

.pay-box {
	padding: 1.6rem;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius);
	background: var(--bg-raised);
}

#payment-element { min-height: 220px; margin-bottom: 1.2rem; }

.pay-loading {
	height: 220px;
	border-radius: var(--radius-small);
	background: linear-gradient(100deg, rgba(148, 156, 208, .07) 40%, rgba(148, 156, 208, .14) 50%, rgba(148, 156, 208, .07) 60%);
	background-size: 200% 100%;
	animation: pay-shimmer 1.2s linear infinite;
}

@keyframes pay-shimmer {
	to { background-position: -200% 0; }
}

.pay-submit { width: 100%; }
.pay-submit.is-loading { opacity: .7; pointer-events: none; }

.pay-error {
	margin: .8rem 0 0;
	padding: .7rem 1rem;
	border: 1px solid rgba(248, 113, 113, .4);
	border-radius: var(--radius-small);
	background: rgba(248, 113, 113, .08);
	color: var(--red);
	font-size: .88rem;
}

.pay-alt { margin: 1.1rem 0 0; text-align: center; font-size: .88rem; }

.publish-info { margin-bottom: 1.4rem; }

.convert-time {
	margin-left: .5rem;
	padding: .3rem .7rem;
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	background: transparent;
	color: var(--text-muted);
	font-size: .8rem;
	cursor: pointer;
}

.convert-time:hover { border-color: var(--violet-bright); color: var(--text); }

.timezone-select {
	display: block;
	margin-top: .6rem;
	max-width: 100%;
	padding: .55rem 2.6rem .55rem .8rem;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-small);
	/* background-color statt Shorthand, damit der Chevron (s. o.) erhalten bleibt */
	background-color: var(--bg-card);
	color: var(--text);
	font-size: .88rem;
}

/* --- Footer ---------------------------------------------------------------------------- */

.site-footer {
	margin-top: 3rem;
	padding: 3rem 0 2rem;
	border-top: 1px solid var(--border);
	background: var(--bg-raised);
}

.site-footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 2rem;
}

.site-footer h4 {
	margin-bottom: .8rem;
	font: 600 .78rem/1 var(--font-mono);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--text-faint);
}

.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: .45rem; }
.site-footer li a { color: var(--text-muted); font-size: .92rem; }
.site-footer li a:hover { color: var(--text); }
.site-footer li a.is-current { color: var(--violet-bright); font-weight: 600; }

.footer-brand p { margin: 1rem 0 .4rem; color: var(--text-muted); font-size: .92rem; max-width: 300px; }
.footer-x-link { font-size: .9rem; font-weight: 600; }

.site-footer-note {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: .5rem 2rem;
	margin-top: 2.5rem;
	padding-top: 1.4rem;
	border-top: 1px solid var(--border);
	color: var(--text-faint);
	font-size: .8rem;
}

.site-footer-note p { margin: 0; }

@media (max-width: 860px) {
	.site-footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}
