/* =====================================================================
   start.css – Startseite der Website (app/pages/start.php)

   Alles unter `.start`, damit nichts in die übrigen Seiten ausläuft; die
   Datei steht im Kern, weil sie Server-Markup gestaltet (doku/030-assets.md).
   Farben der Marke ARletT als eigene Variablen `--st-*`.

   Farbschema (Entscheidung 0086): die Variablen stehen wie in basis.css am
   Element mit data-bs-theme, hell und dunkel je ein Block - so gilt immer
   das nächste Attribut. Die Regeln unten nehmen nur Variablen, nie feste
   Farben; Ausnahme sind die bewusst dunklen Flächen in Markenblau (Team,
   „Mit Panotool", Praxis) mit weißer Schrift, die in beiden Schemata gleich
   aussehen.

     --st-blau, -blau-2   Markenblau als Fläche (Verläufe)
     --st-titel           Überschriften und Symbole (dunkel: aufgehellt)
     --st-orange          Markenorange, Knöpfe und Akzente
     --st-text, -leise    Fließtext, Nebentext
     --st-weiss, -hell    Grund der Bänder im Wechsel
     --st-karte           Kästen und Karten auf den Bändern
     --st-flaeche         zarte Hinterlegung (Symbolkacheln, Hinweis)
     --st-rand            Linien
     --st-schatten        RGB-Tripel für rgba()-Schatten
     --st-hero-*, --st-buehne-*   Verläufe im Einstieg

   Präfix `st-` für jede Klasse; Nesting wie in basis.css: Deklarationen
   vor verschachtelten Regeln, verschachtelte Selektoren beginnen mit `&`.
   ===================================================================== */

:root,
[data-bs-theme="light"] {
	--st-blau: #1a3a5c;
	--st-blau-2: #234f7a;
	--st-titel: #1a3a5c;
	--st-orange: #e8681a;
	--st-orange-dunkel: #c9550e;
	--st-weiss: #fff;
	--st-hell: #f7f5f2;
	--st-karte: #fff;
	--st-text: #1c2730;
	--st-leise: #6b7b8c;
	--st-rand: #dde3e9;
	--st-flaeche: #eef3f8;
	--st-schatten: 26, 58, 92;
	--st-hero-a: #f0f6ff;
	--st-hero-c: #fff4ed;
	--st-buehne-a: #e8f0ff;
	--st-buehne-b: #ffeedd;
}

[data-bs-theme="dark"] {
	--st-blau: #1a3a5c;
	--st-blau-2: #234f7a;
	--st-titel: #9cc3ea;
	--st-orange: #e8681a;
	--st-orange-dunkel: #f07d34;
	--st-weiss: #212529;
	--st-hell: #1a1d21;
	--st-karte: #2b3035;
	--st-text: #dee2e6;
	--st-leise: #9aa8b6;
	--st-rand: #3b434b;
	--st-flaeche: #243242;
	--st-schatten: 0, 0, 0;
	--st-hero-a: #15202d;
	--st-hero-c: #2a1f18;
	--st-buehne-a: #1d2b3c;
	--st-buehne-b: #34261b;
}

.start {
	--st-serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;

	color: var(--st-text);
	line-height: 1.7;

	& h1, & h2, & h3 {
		font-family: var(--st-serif);
		color: var(--st-titel);
		line-height: 1.2;
	}

	& h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1rem; }
	& h3.h6 { font-family: inherit; font-weight: 700; margin-bottom: .2rem; }
	& p { color: inherit; }
}

/* --- Bänder --------------------------------------------------------- */
.start .st-band { padding: 80px 0; }
.start .st-weiss { background: var(--st-weiss); }
.start .st-hell { background: var(--st-hell); }

.start .st-label {
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--st-orange);
	margin-bottom: .6rem;
}

.start .st-leise { color: var(--st-leise); font-size: 1.05rem; max-width: 640px; }

.start .st-strich {
	width: 48px;
	height: 3px;
	background: var(--st-orange);
	border-radius: 3px;
	margin: 1rem 0 1.5rem;
}

/* --- Knöpfe --------------------------------------------------------- */
.start .st-knopf {
	display: inline-block;
	background: var(--st-orange);
	color: #fff;
	border-radius: 8px;
	padding: .75rem 1.8rem;
	font-weight: 600;
	text-decoration: none;
	transition: background var(--ue-normal), transform var(--ue-normal), box-shadow var(--ue-normal);

	&:hover, &:focus-visible {
		background: var(--st-orange-dunkel);
		color: #fff;
		transform: translateY(-2px);
		box-shadow: 0 8px 24px rgba(232, 104, 26, .3);
	}
}

.start .st-knopf-klein { font-size: .85rem; padding: .5rem 1.2rem; }

/* --- Einstieg ------------------------------------------------------- */
.start .st-hero {
	position: relative;
	overflow: hidden;
	padding: 90px 0 80px;
	background: linear-gradient(135deg, var(--st-hero-a) 0%, var(--st-hell) 55%, var(--st-hero-c) 100%);

	&::before {
		content: '';
		position: absolute;
		top: -120px;
		inset-inline-end: -120px;
		width: 480px;
		height: 480px;
		border-radius: 50%;
		background: radial-gradient(circle, rgba(232, 104, 26, .10) 0%, transparent 70%);
		pointer-events: none;
	}

	& h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 1.25rem; }
	& h1 em { color: var(--st-orange); font-style: normal; }
}

.start .st-badge {
	display: inline-block;
	background: var(--st-flaeche);
	color: var(--st-titel);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	border-radius: 20px;
	padding: .3rem .9rem;
	margin-bottom: 1.2rem;
}

.start .st-lead { font-size: 1.1rem; color: var(--st-leise); max-width: 540px; margin-bottom: 1.75rem; }

.start .st-kanaele {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
	list-style: none;
	padding: 0;
	margin: 0 0 2.25rem;

	& li {
		display: flex;
		align-items: center;
		gap: .45rem;
		background: var(--st-karte);
		border: 1px solid var(--st-rand);
		border-radius: 6px;
		padding: .3rem .75rem;
		font-size: .85rem;
		font-weight: 600;
		color: var(--st-titel);
	}

	& small { font-weight: 400; color: var(--st-leise); }
}

/* Zustandsfarben: verfügbar / demnächst / in Entwicklung */
.start .st-punkt {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex-shrink: 0;
	background: var(--st-farbe);
}

.start .st-verfuegbar { --st-farbe: #2e9d57; }
.start .st-demnaechst { --st-farbe: var(--st-orange); }
.start .st-entwicklung { --st-farbe: #7a8ca0; }

.start .st-buehne {
	position: relative;
	min-height: 380px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 20px;
	background: linear-gradient(145deg, var(--st-buehne-a), var(--st-buehne-b));
	box-shadow: 0 20px 60px rgba(var(--st-schatten), .12);
}

.start .st-buehne-icon { font-size: 9rem; color: var(--st-titel); opacity: .18; }

.start .st-pille {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 6px;
	background: var(--st-karte);
	border-radius: 50px;
	padding: .5rem 1rem;
	font-size: .8rem;
	font-weight: 600;
	color: var(--st-titel);
	box-shadow: 0 4px 16px rgba(var(--st-schatten), .1);
}

.start .st-p1 { top: 18%; inset-inline-start: 10%; }
.start .st-p2 { bottom: 20%; inset-inline-end: 8%; }
.start .st-p3 { top: 55%; inset-inline-start: 8%; }

.start .st-puls {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #4caf50;
	animation: st-puls 1.8s infinite;
}

@keyframes st-puls {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: .5; transform: scale(1.3); }
}

@keyframes st-rein {
	from { opacity: 0; transform: translateY(22px); }
	to { opacity: 1; transform: translateY(0); }
}

.start .st-rein { animation: st-rein .65s ease both; }
.start .st-v1 { animation-delay: .15s; }
.start .st-v2 { animation-delay: .3s; }
.start .st-v3 { animation-delay: .45s; }
.start .st-v4 { animation-delay: .6s; }

@media (prefers-reduced-motion: reduce) {
	.start .st-rein, .start .st-puls { animation: none; }
}

/* --- Drei Zugänge --------------------------------------------------- */
.start .st-zugang {
	height: 100%;
	padding: 1.75rem;
	border: 1px solid var(--st-rand);
	border-top: 4px solid var(--st-farbe);
	border-radius: 16px;
	background: var(--st-karte);
	transition: box-shadow var(--ue-normal), transform var(--ue-normal);

	&:hover { box-shadow: 0 12px 40px rgba(var(--st-schatten), .1); transform: translateY(-4px); }
	& p { font-size: .9rem; color: var(--st-leise); }
}

.start .st-zugang-icon {
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: var(--st-flaeche);
	color: var(--st-titel);
	font-size: 1.5rem;
}

.start .st-status {
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #fff;
	background: var(--st-farbe);
	border-radius: 20px;
	padding: .2rem .7rem;
}

.start .st-phase {
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--st-leise);
	margin-bottom: .3rem;
}

/* --- Panotool ------------------------------------------------------- */
.start .st-merkmal {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	margin-bottom: 1.25rem;

	& p { margin: 0; font-size: .9rem; color: var(--st-leise); }
}

.start .st-merkmal-icon {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: var(--st-karte);
	border: 1px solid var(--st-rand);
	color: var(--st-orange);
	font-size: 1.2rem;
}

.start .st-vergleich {
	height: 100%;
	padding: 1.5rem;
	border-radius: 16px;

	& li { font-size: .9rem; margin-bottom: .5rem; }
}

.start .st-vorher { background: var(--st-karte); border: 1px solid var(--st-rand); }

.start .st-nachher {
	color: #fff;
	background: linear-gradient(135deg, var(--st-blau), var(--st-blau-2));

	& h3 { color: #fff; }
	& .bi { color: #7ee8a2; }
}

.start .st-vergleich-label {
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	opacity: .6;
	margin-bottom: .8rem;
}

.start .st-hinweis {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
	border-radius: 12px;
	border: 1px solid var(--st-rand);
	background: var(--st-flaeche);

	& > .bi { font-size: 1.8rem; color: var(--st-titel); }
	& small { color: var(--st-leise); }
}

/* --- Lernprinzip ---------------------------------------------------- */
.start .st-sinn {
	height: 100%;
	padding: 2rem 1.5rem;
	text-align: center;
	border: 1px solid var(--st-rand);
	border-radius: 16px;
	background: var(--st-karte);
	transition: box-shadow var(--ue-normal), transform var(--ue-normal);

	&:hover { box-shadow: 0 12px 40px rgba(var(--st-schatten), .1); transform: translateY(-4px); }
	& p { font-size: .88rem; color: var(--st-leise); margin: 0; }
}

.start .st-sinn-zeichen { display: block; font-size: 2.5rem; margin-bottom: 1rem; }

/* --- Anwendungen und Zielgruppen ------------------------------------ */
.start .st-fall {
	height: 100%;
	padding: 1.5rem;
	border: 1px solid var(--st-rand);
	border-radius: 16px;
	background: var(--st-karte);
	transition: border-color var(--ue-normal), box-shadow var(--ue-normal), transform var(--ue-normal);

	&:hover {
		border-color: var(--st-orange);
		box-shadow: 0 10px 35px rgba(232, 104, 26, .12);
		transform: translateY(-3px);
	}

	& p { font-size: .875rem; color: var(--st-leise); margin: 0; }
}

.start .st-fall-icon { display: block; font-size: 1.8rem; color: var(--st-orange); margin-bottom: .75rem; }

.start .st-fall-offen {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-style: dashed;
	background: var(--st-flaeche);

	& .st-fall-icon { color: var(--st-leise); }
}

.start .st-gruppe {
	height: 100%;
	padding: 1.5rem 1.25rem;
	text-align: center;
	border: 1px solid var(--st-rand);
	border-radius: 12px;
	background: var(--st-karte);

	& p { font-size: .85rem; color: var(--st-leise); margin: 0; }
}

/* --- Vorteile ------------------------------------------------------- */
.start .st-vorteil {
	display: flex;
	align-items: flex-start;
	gap: .9rem;
	padding: 1rem 0;
	border-bottom: 1px solid var(--st-rand);

	&:last-child { border-bottom: none; }
	& p { font-size: .85rem; color: var(--st-leise); margin: 0; }
}

.start .st-vorteil-nr {
	min-width: 36px;
	flex-shrink: 0;
	font-family: var(--st-serif);
	font-size: 1.6rem;
	line-height: 1;
	color: var(--st-orange);
}

.start .st-zahl {
	height: 100%;
	padding: 1.5rem;
	text-align: center;
	border: 1px solid var(--st-rand);
	border-radius: 16px;
	background: var(--st-karte);
}

.start .st-zahl-wert { font-family: var(--st-serif); font-size: 2.5rem; line-height: 1; color: var(--st-titel); }
.start .st-zahl-text { font-size: .85rem; color: var(--st-leise); margin-top: .4rem; }

.start .st-praxis {
	padding: 1.5rem;
	border-radius: 16px;
	color: #fff;
	background: linear-gradient(135deg, var(--st-blau), var(--st-blau-2));

	& p { font-style: italic; opacity: .92; }
	& small { opacity: .7; }
}

/* --- Team ----------------------------------------------------------- */
.start .st-team {
	position: relative;
	overflow: hidden;
	color: #fff;
	background: linear-gradient(135deg, var(--st-blau) 0%, #0f2540 100%);

	&::before {
		content: '';
		position: absolute;
		bottom: -100px;
		inset-inline-end: -100px;
		width: 400px;
		height: 400px;
		border-radius: 50%;
		background: radial-gradient(circle, rgba(232, 104, 26, .25) 0%, transparent 70%);
	}

	& h2 { color: #fff; }
	& .st-label { color: #ffb07a; }
}

.start .st-team-text { opacity: .85; font-size: 1.05rem; margin-bottom: 1.5rem; }

.start .st-zitat {
	border-inline-start: 3px solid var(--st-orange);
	padding-inline-start: 1.25rem;
	margin: 1.5rem 0;
	font-size: 1.05rem;
	font-style: italic;
	opacity: .9;
}

.start .st-tag {
	display: inline-block;
	margin: .25rem;
	padding: .3rem .75rem;
	border-radius: 20px;
	background: rgba(255, 255, 255, .12);
	font-size: .8rem;
	font-weight: 600;
}

.start .st-person {
	padding: 1.5rem;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, .12);
	background: rgba(255, 255, 255, .06);

	& p { opacity: .8; font-size: .9rem; }
}

.start .st-avatar {
	width: 56px;
	height: 56px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--st-orange), #f5a623);
	font-size: 1.5rem;
}

.start .st-person-name { font-weight: 700; font-size: 1.05rem; }
.start .st-person-rolle { opacity: .6; font-size: .85rem; }

/* --- Kontakt -------------------------------------------------------- */
.start .st-slogan {
	margin-bottom: 2.5rem;
	font-size: 1.1rem;

	& span { color: var(--st-orange); font-weight: 600; margin: 0 .15rem; }
}

.start .st-formular {
	padding: 2rem;
	border: 1px solid var(--st-rand);
	border-radius: 1rem;
	background: var(--st-karte);
	box-shadow: 0 12px 40px rgba(var(--st-schatten), .08);
}

@media (min-width: 768px) {
	.start .st-formular { padding: 3rem; }
}

.start .st-aufgabe {
	padding: .45rem 1rem;
	border-radius: .5rem;
	background: var(--st-flaeche);
	color: var(--st-titel);
	font-weight: 700;
	font-size: 1.1rem;
	letter-spacing: 2px;
	white-space: nowrap;
	user-select: none;
}

.start .st-antwort { max-width: 110px; }

.start .st-neu { color: var(--st-titel); font-size: 1.25rem; line-height: 1; text-decoration: none; }
.start .st-neu:hover, .start .st-neu:focus-visible { color: var(--st-orange); }
.start .st-neu.st-dreht i { display: inline-block; animation: st-dreh .6s linear; }
@keyframes st-dreh { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .start .st-neu.st-dreht i { animation: none; } }

.start .st-danke-icon { font-size: 3rem; color: #4caf50; }

/* Honigtopf: aus dem Bild, aber nicht display:none - manche Roboter
   übergehen ausgeblendete Felder */
.start .st-topf { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 767.98px) {
	.start .st-band { padding: 56px 0; }
	.start .st-hero { padding: 56px 0 48px; }
	.start .st-buehne { min-height: 260px; }
}
