/* Fleißstern — Website
 *
 * Farben aus der Farbwelt Salbei der App, Gold nur für Sterne. Nur System-Schriften:
 * Die Seite lädt schnell, und nichts kommt von fremden Servern.
 */

:root {
	--grund: #F3F4EF;
	--weiss: #FFFFFF;
	--flaeche2: #E7EAE2;
	--tinte: #19211B;
	--tinte2: #4F5B54;
	--tinte3: #7F8A83;
	--linie: #DCE1D6;
	--marke: #3E7A56;
	--marke-dunkel: #2F6044;
	--marke-weich: #DFEBE2;
	--gold: #F2B544;
	--gold-weich: #F8ECD2;

	--schatten-karte: 0 1px 2px rgba(25, 33, 27, .04), 0 12px 32px -14px rgba(25, 33, 27, .14);
	--schatten-telefon: 0 40px 70px -28px rgba(24, 40, 30, .45), 0 14px 28px -14px rgba(24, 40, 30, .3);

	--schrift: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--schrift-titel: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--schrift-zahl: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }

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

body {
	margin: 0;
	background: var(--grund);
	color: var(--tinte);
	font: 400 17px/1.6 var(--schrift);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--schrift-titel); margin: 0; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0; }
a { color: var(--marke); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid rgba(62, 122, 86, .5); outline-offset: 3px; border-radius: 8px; }

.breite { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.breite-schmal { max-width: 780px; }
@media (min-width: 720px) { .breite { padding: 0 32px; } }

.ueberspringen { position: absolute; left: -9999px; top: 12px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 600; }
.ueberspringen:focus { left: 16px; }

.symbol { width: 22px; height: 22px; flex: none; }
.deko-stern { color: var(--gold); flex: none; }

/* --- Kopf ----------------------------------------------------------------------- */

.kopf {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(243, 244, 239, .84);
	-webkit-backdrop-filter: saturate(1.6) blur(16px);
	backdrop-filter: saturate(1.6) blur(16px);
	border-bottom: 1px solid rgba(220, 225, 214, .7);
}
.kopf-innen { display: flex; align-items: center; gap: 20px; height: 68px; }

.marke { display: inline-flex; align-items: center; gap: 10px; color: var(--tinte); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.markenzeichen { width: 34px; height: 34px; flex: none; }

.kopf-nav { display: none; gap: 2px; margin-left: 16px; }
.kopf-nav a { color: var(--tinte2); text-decoration: none; font-weight: 560; font-size: 15.5px; padding: 8px 12px; border-radius: 10px; }
.kopf-nav a:hover { color: var(--tinte); background: rgba(25, 33, 27, .05); }
@media (min-width: 880px) { .kopf-nav { display: flex; } }

.kopf-aktionen { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.kopf-anmelden { color: var(--tinte2); text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 8px 12px; border-radius: 10px; }
.kopf-anmelden:hover { color: var(--tinte); background: rgba(25, 33, 27, .05); }
@media (max-width: 479px) { .kopf-anmelden { display: none; } }

/* --- Knöpfe ------------------------------------------------------------------------ */

.knopf {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 26px;
	border: 0;
	border-radius: 16px;
	background: var(--marke);
	color: #fff;
	font-weight: 650;
	font-size: 17px;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 10px 22px -12px rgba(47, 96, 68, .9);
	transition: background-color .15s ease, transform .15s ease;
}
.knopf:hover { background: var(--marke-dunkel); }
.knopf:active { transform: translateY(1px); }
.knopf .symbol { width: 20px; height: 20px; }
.knopf-klein { min-height: 40px; padding: 0 16px; border-radius: 12px; font-size: 15px; box-shadow: none; }
.knopf-neben { background: var(--marke-weich); color: var(--marke); box-shadow: none; }
.knopf-neben:hover { background: #D1E3D7; }
.knopf-hell { background: #fff; color: var(--marke); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .35); }
.knopf-hell:hover { background: #EEF5F0; }
.knopf-breit { width: 100%; }

.knopf-text { color: var(--marke); font-weight: 600; text-decoration: none; padding: 12px 4px; }
.knopf-text:hover { text-decoration: underline; }
.knopf-text-hell { color: #fff; }

.bald { display: inline-flex; align-items: center; gap: 8px; color: var(--tinte2); font-weight: 560; font-size: 15.5px; padding: 12px 2px; }
.bald .symbol { width: 18px; height: 18px; color: var(--marke); }
.bald-hell { color: rgba(255, 255, 255, .9); }
.bald-hell .symbol { color: #fff; }

/* --- Held ---------------------------------------------------------------------------- */

.held {
	position: relative;
	overflow: hidden;
	padding: 44px 0 36px;
	background:
		radial-gradient(1100px 560px at 88% -8%, rgba(62, 122, 86, .15), transparent 62%),
		radial-gradient(720px 420px at 6% 108%, rgba(242, 181, 68, .16), transparent 60%);
}
.held-innen { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) {
	.held { padding: 72px 0 80px; }
	.held-innen { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; }
}

.augenbraue { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--marke); }
.augenbraue .deko-stern { width: 16px; height: 16px; }

.held h1 { font-size: clamp(2.7rem, 1.5rem + 4.6vw, 4.7rem); font-weight: 800; line-height: 1.02; letter-spacing: -.038em; margin: 16px 0 22px; }
.held h1 .gruen { color: var(--marke); }
.einleitung { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: var(--tinte2); max-width: 34em; }

.aufruf { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 30px; }
.aufruf-mitte { justify-content: center; }

.vorteile-kurz { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--tinte2); font-size: 15px; font-weight: 560; }
.vorteile-kurz li { display: inline-flex; align-items: center; gap: 7px; }
.vorteile-kurz .symbol { width: 18px; height: 18px; color: var(--marke); stroke-width: 2.8; }

/* Telefon: Rundungen in Prozent, damit sie in jeder Größe zum Bildschirm passen. */
.telefon {
	position: relative;
	margin: 0;
	padding: 3.2%;
	border-radius: 16% / 7.4%;
	background: linear-gradient(150deg, #2C332E, #0E1210);
	box-shadow: var(--schatten-telefon);
}
.telefon img { width: 100%; border-radius: 13.4% / 6.2%; }
.telefon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); pointer-events: none; }

.held-bild { position: relative; display: flex; justify-content: center; min-height: 500px; padding: 8px 0 12px; }
.held-bild .telefon-vorne { position: relative; z-index: 2; width: clamp(220px, 60vw, 300px); transform: translateX(17%); }
.held-bild .telefon-hinten { position: absolute; z-index: 1; top: 62px; left: 50%; width: clamp(196px, 52vw, 262px); transform: translateX(-88%) rotate(-5deg); }
@media (min-width: 960px) { .held-bild { min-height: 640px; } }

.schild {
	position: absolute;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 10px 16px 10px 10px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 20px 40px -18px rgba(24, 40, 30, .4), 0 2px 6px rgba(24, 40, 30, .06);
	line-height: 1.25;
}
.schild strong { display: block; font-size: 15px; font-weight: 700; }
.schild small { display: block; font-size: 13px; color: var(--tinte2); }
.schild-stern, .schild-zahl { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none; }
.schild-stern { background: var(--gold-weich); }
.schild-stern .deko-stern { width: 22px; height: 22px; }
.schild-zahl { background: var(--marke-weich); color: var(--marke); font: 700 16px var(--schrift-zahl); }
/* Das Sterne-Schild sitzt neben der Hausaufgaben-Zeile, zu der es gehört — nicht über dem Sternestand. */
.schild-sterne { right: 0; top: 57%; }
.schild-sparen { left: 0; bottom: 7%; }
@media (max-width: 560px) {
	.schild { padding: 8px 12px 8px 8px; gap: 9px; }
	.schild-stern, .schild-zahl { width: 34px; height: 34px; }
	.schild strong { font-size: 14px; }
	.schild small { font-size: 12px; }
	.schild-sterne { top: 58%; }
	.schild-sparen { bottom: 4%; }
}

.held-bild .deko-1 { position: absolute; top: 14px; right: 16%; width: 34px; height: 34px; transform: rotate(14deg); }
.held-bild .deko-2 { position: absolute; bottom: 30%; left: 8%; width: 20px; height: 20px; transform: rotate(-12deg); opacity: .85; }

/* --- Abschnitte ------------------------------------------------------------------------- */

.abschnitt { padding: 72px 0; }
.abschnitt-weiss { background: #fff; }
@media (min-width: 960px) { .abschnitt { padding: 112px 0; } }

.abschnitt-kopf { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.abschnitt-kopf h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); font-weight: 780; margin-top: 12px; }
.abschnitt-kopf p:not(.augenbraue) { margin-top: 16px; color: var(--tinte2); font-size: 1.12rem; }

.schritte { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 820px) { .schritte { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.schritt { padding: 30px 28px; border-radius: 24px; background: #fff; box-shadow: var(--schatten-karte); }
.schritt-nummer { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 14px; background: var(--marke); color: #fff; font: 700 21px var(--schrift-zahl); }
.schritt h3 { font-size: 21px; font-weight: 720; margin-bottom: 8px; }
.schritt p { color: var(--tinte2); }

/* --- Funktionen --------------------------------------------------------------------------- */

.funktionen { display: grid; gap: 88px; }
@media (min-width: 960px) { .funktionen { gap: 136px; } }

.funktion { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) {
	.funktion { grid-template-columns: 1fr 1fr; gap: 80px; }
	.funktion.gespiegelt .funktion-bild { order: -1; }
}
.funktion-text h2 { font-size: clamp(1.95rem, 1.3rem + 2vw, 2.75rem); font-weight: 780; margin: 12px 0 16px; }
.funktion-text > p:not(.augenbraue) { color: var(--tinte2); font-size: 1.1rem; }

.pruefliste { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.pruefliste li { display: flex; align-items: flex-start; gap: 12px; }
.pruefliste .symbol { width: 24px; height: 24px; margin-top: 1px; padding: 5px; border-radius: 50%; background: var(--marke-weich); color: var(--marke); stroke-width: 3.4; }

.funktion-bild { position: relative; display: flex; justify-content: center; align-items: flex-start; height: 480px; padding-top: 44px; overflow: hidden; border-radius: 32px; }
.funktion-bild .telefon { width: min(300px, 76%); }
@media (min-width: 900px) { .funktion-bild { height: 590px; padding-top: 60px; } }
/* Wenn das Wichtige unten im Screenshot steht: Telefon von unten zeigen, oben anschneiden. */
.funktion-bild.bild-unten { align-items: flex-end; padding-top: 0; padding-bottom: 44px; }
@media (min-width: 900px) { .funktion-bild.bild-unten { padding-bottom: 60px; } }
.farbe-koralle { background: linear-gradient(160deg, #FAEAE3, #F2D6C9); }
.farbe-sand { background: linear-gradient(160deg, #FAF1DF, #F0DFBD); }
.farbe-ozean { background: linear-gradient(160deg, #E6EFF8, #D2E1F0); }
.farbe-salbei { background: linear-gradient(160deg, #E6F0E9, #D1E5D7); }

.kacheln { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
@media (min-width: 720px) { .kacheln { gap: 18px; } }
.kachel { padding: 26px 24px; border-radius: 22px; background: #fff; box-shadow: var(--schatten-karte); }
.kachel > .symbol { width: 46px; height: 46px; margin-bottom: 16px; padding: 11px; border-radius: 14px; background: var(--marke-weich); color: var(--marke); }
.kachel h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 6px; }
.kachel p { color: var(--tinte2); font-size: 15.5px; line-height: 1.55; }

.marke-premium { display: inline-block; padding: 2px 8px; border-radius: 8px; background: var(--gold-weich); color: #7A5100; font: 750 11px/1.6 var(--schrift); letter-spacing: .06em; text-transform: uppercase; }
.bald-marke { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: var(--flaeche2); color: var(--tinte2); font-size: 12.5px; font-weight: 650; }

/* --- Preise ------------------------------------------------------------------------------ */

.preise { display: grid; gap: 28px; max-width: 940px; margin: 0 auto; align-items: start; }
@media (min-width: 820px) { .preise { grid-template-columns: 1fr 1fr; gap: 24px; } }

.preis-karte { position: relative; display: grid; gap: 4px; padding: 34px 28px 30px; border-radius: 28px; background: var(--grund); }
.preis-karte h3 { font-size: 22px; font-weight: 750; }
.preis { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-top: 12px; }
.preis .zahl { font: 800 46px/1 var(--schrift-zahl); letter-spacing: -.02em; }
.preis .klein { color: var(--tinte2); font-size: 16px; font-weight: 560; }
.preis-fuer { color: var(--tinte2); }
.preis-karte .pruefliste { margin: 20px 0 26px; }
.preis-karte-premium { background: #fff; box-shadow: 0 0 0 2px var(--marke), var(--schatten-karte); }
.preis-empfehlung { position: absolute; top: -14px; left: 28px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--marke); color: #fff; font-size: 13px; font-weight: 700; }
.preis-empfehlung .deko-stern { width: 14px; height: 14px; }

.preis-optionen { display: grid; gap: 8px; margin: 0 0 16px; }
.preis-optionen div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--grund); }
.preis-optionen dt { font-weight: 600; }
.preis-optionen dt span { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--marke-weich); color: var(--marke); font-size: 12px; font-weight: 700; }
.preis-optionen dd { margin: 0; font: 700 17px var(--schrift-zahl); font-variant-numeric: tabular-nums; }
.preis-option-tipp { box-shadow: inset 0 0 0 1.5px var(--marke); }
.preis-hinweis { font-size: 14px; color: var(--tinte2); }

/* --- Vertrauen, Fragen, Schluss ------------------------------------------------------------ */

.vertrauen-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 820px) { .vertrauen-liste { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.vertrauen-liste li { padding: 30px 28px; border-radius: 24px; background: #fff; box-shadow: var(--schatten-karte); }
.vertrauen-liste .symbol { width: 30px; height: 30px; margin-bottom: 14px; color: var(--marke); }
.vertrauen-liste h3 { font-size: 19px; font-weight: 720; margin-bottom: 8px; }
.vertrauen-liste p { color: var(--tinte2); font-size: 15.5px; }

.fragen-liste { max-width: 800px; margin: 0 auto; border-top: 1px solid var(--linie); }
.fragen-liste details { border-bottom: 1px solid var(--linie); }
.fragen-liste summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; font-size: 18px; font-weight: 650; letter-spacing: -.01em; }
.fragen-liste summary::-webkit-details-marker { display: none; }
.fragen-liste summary::after {
	content: "";
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--grund) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233E7A56' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
	transition: transform .2s ease;
}
.fragen-liste details[open] summary::after { transform: rotate(45deg); }
.fragen-liste summary:hover { color: var(--marke); }
.fragen-liste details p { max-width: 44em; padding: 0 4px 24px; color: var(--tinte2); }

.schluss { position: relative; overflow: hidden; padding: 88px 0; text-align: center; color: #fff; background: radial-gradient(900px 420px at 50% 0%, #4F8E67, #3E7A56 62%); }
.schluss h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); font-weight: 800; }
.schluss p { margin-top: 14px; font-size: 1.15rem; color: rgba(255, 255, 255, .9); }
.schluss-stern { display: block; width: 50px; height: 50px; margin: 0 auto 18px; }
@media (min-width: 960px) { .schluss { padding: 112px 0; } }

/* --- Fuß ----------------------------------------------------------------------------------- */

.fuss { padding: 48px 0 40px; border-top: 1px solid var(--linie); background: var(--grund); }
.fuss-innen { display: grid; gap: 24px; }
@media (min-width: 820px) { .fuss-innen { grid-template-columns: 1fr auto; align-items: start; } }
.fuss-marke p { margin-top: 10px; color: var(--tinte2); font-size: 15px; }
.fuss-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 6px; }
.fuss-nav a { color: var(--tinte2); font-weight: 560; text-decoration: none; }
.fuss-nav a:hover { color: var(--tinte); text-decoration: underline; }
.fuss-klein { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--linie); color: var(--tinte3); font-size: 14px; }

/* --- Rechtstexte ----------------------------------------------------------------------------- */

.rechtstext h1 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); font-weight: 800; margin-bottom: 20px; }
.rechtstext h2 { font-size: 21px; font-weight: 720; letter-spacing: -.012em; margin: 40px 0 10px; }
.rechtstext p, .rechtstext li { color: #2E3832; line-height: 1.7; }
.rechtstext p + p { margin-top: 12px; }
.rechtstext ul { margin: 12px 0; padding-left: 22px; }
.rechtstext li + li { margin-top: 6px; }
.rechtstext .einleitung { font-size: 1.15rem; color: var(--tinte2); }
.rechtstext .aufruf { margin-top: 28px; }
.hinweis-text { padding: 14px 18px; border-radius: 14px; background: var(--gold-weich); color: #5C4205; }
.stand { margin-top: 48px; color: var(--tinte3); font-size: 14px; }
