/*
 * gradish.app – Website
 * Tokens wie in der App (app/src/app.css). Keine fremden Schriften oder Skripte.
 */

@font-face {
	font-family: 'Geist';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url('/assets/fonts/geist-latin-wght-normal.woff2') format('woff2-variations');
	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: 'Geist';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url('/assets/fonts/geist-latin-ext-wght-normal.woff2') format('woff2-variations');
	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;
}
@font-face {
	font-family: 'Source Serif Pro';
	font-style: normal;
	font-display: swap;
	font-weight: 400;
	src: url('/assets/fonts/source-serif-pro-latin-400-normal.woff2') format('woff2');
	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: 'Source Serif Pro';
	font-style: normal;
	font-display: swap;
	font-weight: 400;
	src: url('/assets/fonts/source-serif-pro-latin-ext-400-normal.woff2') format('woff2');
	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 {
	color-scheme: light;
	--ink: #09090b;
	--muted: #71717a;
	--subtle: #a1a1aa;
	--line: #e4e4e7;
	--surface: #f4f4f5;
	--bg: #ffffff;
	--lime: #bfff00;
	--lime-tint: #f8fceb;
	--danger: #ef4444;
	--r-sm: 6px;
	--r-input: 8px;
	--r-md: 12px;
	--r-lg: 16px;
	--gutter: 24px;
	--max: 1080px;
	--sans: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
	--serif: 'Source Serif Pro', ui-serif, Georgia, serif;
}

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

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
}

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

a {
	color: inherit;
	text-underline-offset: 3px;
}

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

h1,
h2,
h3 {
	margin: 0;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

p {
	margin: 0;
}

.wrap {
	width: 100%;
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.skip {
	position: absolute;
	left: -9999px;
}
.skip:focus {
	left: var(--gutter);
	top: 12px;
	background: var(--ink);
	color: #fff;
	padding: 8px 12px;
	border-radius: var(--r-sm);
	z-index: 10;
}

/* Kopf */
.site-head {
	padding: 20px 0;
}
.site-head--line {
	border-bottom: 1px solid var(--line);
}
.wordmark {
	font-weight: 800;
	font-size: 24px;
	letter-spacing: -0.03em;
	text-decoration: none;
	line-height: 1;
}

/* Typo */
.display {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(38px, 6.2vw, 68px);
	line-height: 1.08;
	letter-spacing: -0.015em;
}
.h2 {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(30px, 4vw, 44px);
	line-height: 1.12;
}
.lead {
	font-size: clamp(17px, 1.6vw, 20px);
	line-height: 1.5;
}
.small {
	font-size: 14px;
	color: var(--muted);
}

/* Knöpfe */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 24px;
	border-radius: var(--r-md);
	border: 0;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	background: var(--ink);
	color: #fff;
	cursor: pointer;
}
.btn:hover {
	background: #27272a;
}
.btn--soon {
	background: rgb(9 9 11 / 0.08);
	color: rgb(9 9 11 / 0.55);
	cursor: default;
}
.btn--soon:hover {
	background: rgb(9 9 11 / 0.08);
}
.btn--lime {
	background: var(--lime);
	color: var(--ink);
}
.btn--lime:hover {
	background: #b2ef00;
}
.btn[hidden] {
	display: none;
}

/* Startseite: Kopfbereich */
.hero {
	background: var(--lime);
}
.hero__grid {
	display: grid;
	gap: 8px;
	padding-bottom: 64px;
}
.hero__art {
	order: -1;
	justify-self: center;
	width: 132px;
	margin-top: 8px;
}
.hero__text {
	display: grid;
	gap: 20px;
	max-width: 640px;
}
.hero__cta {
	display: grid;
	gap: 10px;
	justify-items: start;
	margin-top: 12px;
}
@media (min-width: 820px) {
	.hero__grid {
		grid-template-columns: 1.4fr 1fr;
		align-items: center;
		padding: 40px var(--gutter) 104px;
	}
	.hero__art {
		order: 0;
		width: 220px;
		margin: 0;
	}
}

/* Abschnitte */
.section {
	padding: 80px 0;
}
.section--surface {
	background: var(--surface);
}
.section--ink {
	background: var(--ink);
	color: #fff;
}
.section__head {
	display: grid;
	gap: 12px;
	margin-bottom: 40px;
	max-width: 640px;
}
.kicker {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

/* Schritte */
.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 28px;
	counter-reset: step;
}
.steps li {
	counter-increment: step;
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 16px;
	align-items: start;
}
.steps li::before {
	content: counter(step);
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--lime);
	font-weight: 800;
	font-size: 18px;
}
.steps h3 {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 4px;
}
.steps p {
	color: #3f3f46;
}
@media (min-width: 820px) {
	.steps {
		grid-template-columns: repeat(3, 1fr);
		gap: 32px;
	}
	.steps li {
		grid-template-columns: 1fr;
	}
}

/* Funktionskarten */
.cards {
	display: grid;
	gap: 20px;
}
.card {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.card__img {
	background: #fff;
	display: grid;
	place-items: center;
	padding: 24px 24px 0;
	height: 260px;
}
.card__img img {
	max-height: 236px;
	width: auto;
}
.card__body {
	padding: 20px 24px 28px;
	display: grid;
	gap: 8px;
}
.card h3 {
	font-size: 20px;
	font-weight: 700;
}
.card p {
	color: #3f3f46;
}
@media (min-width: 820px) {
	.cards {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Nur deine Rezepte */
.statement {
	display: grid;
	gap: 16px;
}
.statement > * {
	max-width: 720px;
}
.statement .h2 {
	color: var(--lime);
}
.statement p {
	font-size: clamp(17px, 1.8vw, 21px);
	line-height: 1.5;
	color: #e4e4e7;
}

/* Preise */
.plans {
	display: grid;
	gap: 16px;
	max-width: 720px;
}
.plan {
	position: relative;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: 24px;
	background: var(--bg);
	display: grid;
	gap: 4px;
}
.plan--best {
	border: 1.5px solid var(--ink);
}
.plan__name {
	font-weight: 600;
	color: var(--muted);
	display: flex;
	align-items: center;
	gap: 8px;
}
.plan--best .plan__name {
	color: var(--ink);
}
.plan__price {
	font-size: 32px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
}
.plan__per {
	color: var(--muted);
	font-size: 14px;
}
.plan ul {
	list-style: none;
	padding: 0;
	margin: 12px 0 0;
	font-size: 14px;
	display: grid;
	gap: 4px;
}
.plan--best ul {
	font-weight: 600;
}
.chip {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	padding: 5px 7px;
	border-radius: var(--r-sm);
	background: var(--ink);
	color: #fff;
}
.ribbon {
	position: absolute;
	top: -12px;
	right: 16px;
	background: var(--lime);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 6px 10px;
	border-radius: var(--r-sm);
}
.fine {
	margin-top: 20px;
	max-width: 720px;
	font-size: 14px;
	color: var(--muted);
}
@media (min-width: 640px) {
	.plans {
		grid-template-columns: 1fr 1fr;
	}
}

/* Fragen (aufklappbar) */
.faq {
	display: grid;
	max-width: 760px;
	border-top: 1px solid var(--line);
}
.faq details {
	border-bottom: 1px solid var(--line);
}
.faq summary {
	list-style: none;
	cursor: pointer;
	padding: 18px 40px 18px 0;
	font-weight: 600;
	font-size: 17px;
	position: relative;
}
.faq summary::-webkit-details-marker {
	display: none;
}
.faq summary::after {
	content: '';
	position: absolute;
	right: 6px;
	top: 50%;
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--ink);
	border-bottom: 2px solid var(--ink);
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.15s;
}
.faq details[open] summary::after {
	transform: translateY(-30%) rotate(-135deg);
}
.faq details > div {
	padding: 0 0 20px;
	color: #3f3f46;
	max-width: 680px;
}
.more {
	display: inline-block;
	margin-top: 24px;
	font-weight: 700;
}

/* Abschluss */
.closing {
	background: var(--lime);
	text-align: center;
	padding: 80px 0;
}
.closing__inner {
	display: grid;
	gap: 24px;
	justify-items: center;
}
.closing img {
	width: 96px;
}

/* Unterseiten */
main {
	flex: 1;
}
.page {
	padding-top: 56px;
	padding-bottom: 96px;
}
.page__head {
	display: grid;
	gap: 12px;
	margin-bottom: 40px;
	max-width: 720px;
}
.page__head h1 {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(36px, 5vw, 52px);
	line-height: 1.1;
}
.draft {
	display: inline-block;
	justify-self: start;
	font-size: 13px;
	font-weight: 600;
	background: var(--lime-tint);
	border: 1px solid #d9f28a;
	border-radius: var(--r-sm);
	padding: 4px 10px;
}

.prose {
	max-width: 720px;
}
.prose h2 {
	font-size: 22px;
	font-weight: 700;
	margin: 48px 0 12px;
}
.prose h3 {
	font-size: 17px;
	font-weight: 700;
	margin: 28px 0 8px;
}
.prose p,
.prose ul,
.prose ol {
	margin: 0 0 14px;
}
.prose ul,
.prose ol {
	padding-left: 22px;
}
.prose li {
	margin-bottom: 6px;
}
.prose a {
	word-break: break-word;
}
.prose address {
	font-style: normal;
	margin-bottom: 14px;
}
.summary {
	background: var(--lime-tint);
	border: 1px solid #d9f28a;
	border-radius: var(--r-lg);
	padding: 20px 22px;
	margin-bottom: 8px;
}
.summary strong {
	display: block;
	margin-bottom: 4px;
}
.short {
	font-weight: 600;
}
.important {
	font-weight: 700;
}
.table-scroll {
	overflow-x: auto;
	margin: 0 0 14px;
	border: 1px solid var(--line);
	border-radius: var(--r-md);
}
.table-scroll table {
	border-collapse: collapse;
	min-width: 640px;
	width: 100%;
	font-size: 14px;
	line-height: 1.45;
}
.table-scroll th,
.table-scroll td {
	text-align: left;
	vertical-align: top;
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
}
.table-scroll th {
	background: var(--surface);
	font-weight: 600;
}
.table-scroll tr:last-child td {
	border-bottom: 0;
}

/* Support */
.support-group {
	margin-bottom: 48px;
}
.support-group h2 {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 12px;
}

.form {
	display: grid;
	gap: 18px;
	max-width: 560px;
	margin-top: 24px;
}
.field {
	display: grid;
	gap: 6px;
}
.field label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}
.field input,
.field select,
.field textarea {
	font: inherit;
	font-size: 16px;
	color: var(--ink);
	background: var(--surface);
	border: 1px solid transparent;
	border-radius: var(--r-input);
	padding: 12px 14px;
	width: 100%;
}
.field textarea {
	min-height: 160px;
	resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--ink);
	background: #fff;
}
.hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.form__note {
	font-size: 13px;
	color: var(--muted);
}
.form__status {
	font-weight: 600;
}
.form__status--error {
	color: #b91c1c;
}
.form .btn {
	justify-self: start;
}

/* Hilfsseiten (Einladung, Mail-Link, 404) */
.solo {
	flex: 1;
	background: var(--lime);
	display: grid;
	align-content: center;
	padding: 48px 0 72px;
}
.solo__inner {
	display: grid;
	gap: 18px;
	max-width: 520px;
}
.solo img {
	width: 104px;
	margin-bottom: 8px;
}
.solo h1 {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(34px, 6vw, 48px);
	line-height: 1.1;
}
.solo .actions {
	display: grid;
	gap: 10px;
	justify-items: start;
	margin-top: 8px;
}

/* Fuß */
.site-foot {
	background: var(--surface);
	padding: 40px 0 48px;
	font-size: 14px;
	color: var(--muted);
}
.site-foot__inner {
	display: grid;
	gap: 14px;
}
.site-foot .claim {
	color: var(--ink);
	font-weight: 600;
}
.site-foot nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
}
.site-foot a {
	color: var(--ink);
	text-decoration: none;
}
.site-foot a:hover {
	text-decoration: underline;
}
