/* Seiten im neuen Stil: hell, neo-brutalistisch
--------------------------------------------------*/

:root {
	--bg: #ffffff;
	--ink: #111111;
	--orange: #ff6b00;
	--blue: #3d9bf0;
	--yellow: #ffd23f;
	--muted: #555555;
	--border: 3px solid var(--ink);
	--shadow: 6px 6px 0 var(--ink);
	--shadow-hover: 9px 9px 0 var(--ink);
}

body.site {
	color: var(--ink);
	background-color: var(--bg);
	background-image: radial-gradient(rgba(17, 17, 17, 0.09) 1px, transparent 1px);
	background-size: 22px 22px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.site a {
	color: inherit;
}
.site a:hover {
	color: inherit;
}
.site strong {
	color: inherit;
	font-weight: 700;
}

/* Kopf mit Navigation */
.site #header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
	padding-top: 1.5em;
	padding-bottom: 1.5em;
}
.site #logo {
	float: none;
	font-size: 1.4em;
	font-weight: 800;
	letter-spacing: 0.02em;
}
.site #logo strong {
	color: var(--orange);
	font-weight: 800;
}
.site .nav {
	display: flex;
	gap: 0.5em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.8em;
}
.site .nav a {
	text-decoration: none;
	padding: 0.45em 0.8em;
	border: 2px solid transparent;
}
.site .nav a:hover {
	border-color: var(--ink);
	background: var(--yellow);
	box-shadow: 3px 3px 0 var(--ink);
}

/* Hero */
.hero {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 4em;
	padding-top: 10vh;
	padding-bottom: 12vh;
}
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.8em;
	font-weight: 700;
	padding: 0.4em 0.8em;
	background: var(--yellow);
	border: 2px solid var(--ink);
	box-shadow: 3px 3px 0 var(--ink);
	rotate: -1.5deg;
	margin-bottom: 2em;
}
.eyebrow::before {
	content: "";
	width: 0.6em;
	height: 0.6em;
	border-radius: 50%;
	background: var(--orange);
	border: 1.5px solid var(--ink);
	animation: blink 1.6s steps(2, start) infinite;
}
@keyframes blink {
	to { visibility: hidden; }
}
.nowrap {
	white-space: nowrap;
}
.hero h2 {
	font-size: clamp(2.1em, 5.5vw, 4.4em);
	line-height: 1.12;
	letter-spacing: -0.025em;
	font-weight: 800;
	text-transform: none;
	max-width: 14em;
	margin-bottom: 0.6em;
}
.hero h2 .accent {
	display: inline;
	background: var(--orange);
	padding: 0 0.15em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}
.hero .lead {
	max-width: 34em;
	font-size: clamp(1.1em, 2vw, 1.4em);
	font-weight: 400;
	color: #2a2a2a;
}
.hero .lead strong {
	background: linear-gradient(transparent 60%, var(--yellow) 60%);
}

.photo {
	width: clamp(200px, 22vw, 290px);
	aspect-ratio: 4 / 5;
	height: auto;
	object-fit: cover;
	border: var(--border);
	rotate: 2deg;
	box-shadow: 10px 10px 0 var(--ink);
}

/* Abschnitte */
.section {
	padding-top: 3em;
	padding-bottom: 5em;
}
.section-label {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.85em;
	font-weight: 800;
	padding: 0.35em 0.8em;
	color: #fff;
	background: var(--ink);
	margin-bottom: 1.75em;
}

/* Projekt-Karten */
.projects {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 1.75em;
	align-items: start;
}
.card {
	display: flex;
	flex-direction: column;
	gap: 1em;
	padding: 2.25em;
	background: #fff;
	border: var(--border);
	box-shadow: var(--shadow);
	text-decoration: none;
	transition: transform 120ms ease, box-shadow 120ms ease;
}
a.card:hover {
	transform: translate(-3px, -3px);
	box-shadow: var(--shadow-hover);
}
.card .tag {
	align-self: flex-start;
	font-size: 0.75em;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 800;
	padding: 0.3em 0.7em;
	border: 2px solid var(--ink);
	background: var(--yellow);
}
.card h3 {
	font-size: clamp(2em, 4vw, 3.2em);
	line-height: 1;
	letter-spacing: -0.03em;
	font-weight: 800;
	text-transform: none;
}
.card .claim {
	font-weight: 700;
	font-size: 1.2em;
}
.card p {
	margin: 0;
	color: #2a2a2a;
}
.card .facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
}
.card .facts li {
	font-size: 0.85em;
	font-weight: 600;
	padding: 0.25em 0.65em;
	border: 2px solid var(--ink);
	background: #fff;
}
.card .more {
	margin-top: auto;
	padding-top: 0.5em;
	font-weight: 800;
}
a.card:hover .more {
	text-decoration: underline;
	text-decoration-thickness: 3px;
}

.card-featured {
	background: var(--orange);
}
.card-featured .tag {
	background: #fff;
}
.card-featured p {
	color: var(--ink);
}
.card-blue {
	background: var(--blue);
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9em;
	margin-top: 1.25em;
}
.button {
	display: inline-block;
	padding: 0.8em 1.4em;
	font-weight: 800;
	text-decoration: none;
	border: var(--border);
	box-shadow: 4px 4px 0 var(--ink);
	transition: transform 100ms ease, box-shadow 100ms ease;
}
.button:hover {
	transform: translate(-2px, -2px);
	box-shadow: 6px 6px 0 var(--ink);
}
.button:active {
	transform: translate(4px, 4px);
	box-shadow: 0 0 0 var(--ink);
}
.button-primary {
	background: var(--ink);
	color: #fff !important;
}
.button-ghost {
	background: #fff;
}
.contact .button-primary {
	background: var(--orange);
	color: var(--ink) !important;
}

/* Blog-Liste */
.posts {
	border: var(--border);
	box-shadow: var(--shadow);
	background: #fff;
}
.posts li + li {
	border-top: var(--border);
}
.posts a {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1.5em;
	padding: 1.1em 1.25em;
	text-decoration: none;
	font-size: clamp(1.1em, 2.2vw, 1.5em);
	font-weight: 700;
	letter-spacing: -0.01em;
}
.posts a:hover {
	background: var(--yellow);
}
.posts time {
	flex-shrink: 0;
	font-size: 0.6em;
	font-weight: 600;
	color: var(--muted);
}
.posts-all {
	display: inline-block;
	margin-top: 1.5em;
	font-weight: 800;
}

/* Kontakt */
.contact-box {
	padding: 2.5em;
	background: var(--yellow);
	border: var(--border);
	box-shadow: var(--shadow);
}
.contact h2 {
	font-size: clamp(1.8em, 4.5vw, 3.25em);
	line-height: 1.1;
	letter-spacing: -0.025em;
	font-weight: 800;
	text-transform: none;
	margin-bottom: 0.4em;
}
.contact-box p {
	max-width: 32em;
	font-size: 1.2em;
}

.site #footer {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1em;
	padding-top: 2em;
	padding-bottom: 2em;
	color: var(--ink);
	font-weight: 600;
}
.site #footer p {
	margin: 0;
}
.site #footer a:hover {
	background: var(--yellow);
}

/* Unterseiten
--------------------------------------------------*/

.site .nav a[aria-current="page"] {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
}

.page-head {
	padding-top: 7vh;
	padding-bottom: 2em;
}
.page-head h2 {
	font-size: clamp(2.4em, 7vw, 5em);
	line-height: 1;
	letter-spacing: -0.035em;
	font-weight: 800;
	text-transform: none;
	margin-bottom: 0.35em;
}
.page-head h2 .accent {
	background: var(--orange);
	padding: 0 0.12em;
}
.page-head .lead {
	max-width: 34em;
	font-size: clamp(1.1em, 2vw, 1.35em);
	color: #2a2a2a;
}

.prose {
	max-width: 40em;
	font-size: 1.2em;
	line-height: 1.65;
}
.prose p {
	margin-bottom: 1em;
}
.prose strong {
	background: linear-gradient(transparent 60%, var(--yellow) 60%);
}
.prose a {
	font-weight: 700;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
.prose a:hover {
	background: var(--yellow);
}

.intro-grid {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 4em;
	align-items: start;
}
.intro-grid .photo {
	width: clamp(180px, 20vw, 250px);
}

.tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.75em;
}
.tile {
	padding: 1.75em;
	background: #fff;
	border: var(--border);
	box-shadow: var(--shadow);
}
.tile h3 {
	font-size: 1.6em;
	line-height: 1.1;
	letter-spacing: -0.02em;
	font-weight: 800;
	text-transform: none;
	margin-bottom: 0.5em;
}
.tile p {
	margin: 0;
	font-size: 1.05em;
}
.tile-yellow { background: var(--yellow); }
.tile-blue   { background: var(--blue); }
.tile-orange { background: var(--orange); }

a.tile {
	display: block;
	text-decoration: none;
	transition: transform 120ms ease, box-shadow 120ms ease;
}
a.tile:hover {
	transform: translate(-3px, -3px);
	box-shadow: var(--shadow-hover);
}

.posts-archive {
	background: #f4f4f0;
}
.posts-archive a {
	font-size: clamp(1em, 1.8vw, 1.25em);
	font-weight: 600;
}
.section-note {
	max-width: 36em;
	margin: -0.75em 0 1.5em;
	color: var(--muted);
}

@media screen and (max-width: 860px) {
	.intro-grid {
		grid-template-columns: 1fr;
		gap: 2em;
	}
	.intro-grid .photo {
		order: -1;
		width: 150px;
	}
	.prose {
		font-size: 1.1em;
	}
}

/* Artikel
--------------------------------------------------*/

.article {
	padding-top: 7vh;
	padding-bottom: 4em;
}
.article-head {
	max-width: 48em;
	margin-bottom: 2.5em;
}
.article-head h2 {
	font-size: clamp(2.2em, 6vw, 4.2em);
	line-height: 1.05;
	letter-spacing: -0.035em;
	font-weight: 800;
	text-transform: none;
}
.article-subtitle {
	display: inline-block;
	margin-top: 0.4em;
	font-size: clamp(1.2em, 2.6vw, 1.7em);
	font-weight: 700;
	line-height: 1.5;
	background: var(--orange);
	padding: 0.05em 0.25em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}
.article-head .eyebrow::before {
	display: none;
}

.article-body {
	max-width: 38em;
}
.article-body h3 {
	font-size: 1.35em;
	line-height: 1.2;
	font-weight: 800;
	text-transform: none;
	letter-spacing: -0.015em;
	margin: 1.8em 0 0.6em;
}
.article-body em {
	font-style: italic;
}
.article-figure {
	margin: 0 0 2em;
}
.article-figure img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 60vh;
	border: var(--border);
	box-shadow: var(--shadow);
}
.article-note {
	margin-top: 2em;
	padding: 1em 1.25em;
	font-size: 0.85em;
	background: #f4f4f0;
	border-left: 6px solid var(--ink);
}
.article-signature {
	margin-top: 2em;
	font-weight: 800;
}
.article-back {
	margin-top: 3em;
}

/* Einblenden beim Laden */
@media (prefers-reduced-motion: no-preference) {
	.reveal {
		animation: rise 500ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}
	.reveal-2 { animation-delay: 100ms; }
	.reveal-3 { animation-delay: 200ms; }
	@keyframes rise {
		from { opacity: 0; transform: translateY(14px); }
		to   { opacity: 1; transform: none; }
	}
}
@media (prefers-reduced-motion: reduce) {
	.eyebrow::before { animation: none; }
	.card, .button, a.card:hover, .button:hover { transition: none; transform: none; }
}

/* Mobil */
@media screen and (max-width: 860px) {
	.hero {
		grid-template-columns: 1fr;
		gap: 2em;
		padding-top: 5vh;
		padding-bottom: 8vh;
	}
	.photo {
		order: -1;
		width: 170px;
		box-shadow: 7px 7px 0 var(--ink);
	}
	.projects {
		grid-template-columns: 1fr;
	}
	.card, .contact-box {
		padding: 1.5em;
	}
}
@media screen and (max-width: 520px) {
	.site .nav {
		gap: 0;
		font-size: 0.7em;
	}
	.site .nav a {
		padding: 0.45em 0.5em;
	}
	.site #logo {
		font-size: 1.15em;
	}
	.posts a {
		flex-direction: column;
		gap: 0.25em;
	}
}
