@font-face {
	font-family: "Ubuntu";
	font-style: normal;
	font-weight: 400;
	src: url("ubuntu-v20-latin-regular.woff2") format("woff2");
}

:root {
	--bg: #07111c;
	--bg-deep: #03070c;
	--panel: #0c1724;
	--panel-strong: #101e2d;
	--text: #f2efe8;
	--muted: #b6b6ae;
	--subtle: #7d837f;
	--navy: #07385f;
	--steel: #6e8497;
	--brass: #c29b5a;
	--paper: #efe8dc;
	--line: rgba(239, 232, 220, 0.16);
	--line-strong: rgba(194, 155, 90, 0.38);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

#top,
#framago,
#portfolio,
#kontakt {
	scroll-margin-top: 24px;
}

body {
	min-width: 320px;
	margin: 0;
	overflow-x: hidden;
	background:
		linear-gradient(90deg, rgba(239, 232, 220, 0.035) 1px, transparent 1px) 0 0 / 96px 96px,
		linear-gradient(0deg, rgba(239, 232, 220, 0.025) 1px, transparent 1px) 0 0 / 96px 96px,
		var(--bg);
	color: var(--text);
	font-family: "Ubuntu", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.55;
}

body::before {
	position: fixed;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(circle at 12% 12%, rgba(194, 155, 90, 0.14), transparent 26%),
		linear-gradient(120deg, rgba(7, 56, 95, 0.62), transparent 44%),
		linear-gradient(180deg, transparent 0%, rgba(3, 7, 12, 0.98) 82%);
	content: "";
	pointer-events: none;
}

body::after {
	position: fixed;
	inset: 0;
	z-index: -1;
	background: linear-gradient(120deg, transparent 0%, rgba(239, 232, 220, 0.055) 49%, transparent 55%);
	content: "";
	mix-blend-mode: screen;
	opacity: 0.45;
	pointer-events: none;
}

a {
	color: inherit;
}

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

.hero {
	position: relative;
	min-height: 100vh;
	padding: 56px 40px 64px;
}

.hero::before {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--line-strong), rgba(239, 232, 220, 0.22), transparent);
	content: "";
}

.hero-copy,
.section-inner {
	width: min(1160px, 100%);
}

.hero-feature {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
	gap: clamp(76px, 7vw, 112px);
	align-items: start;
}

.hero-copy {
	align-self: start;
	justify-self: start;
	max-width: 520px;
}

.hero-brand {
	position: relative;
	display: flex;
	align-items: center;
	gap: 28px;
	max-width: min(760px, 100%);
	margin-bottom: clamp(112px, 10vw, 152px);
	isolation: isolate;
}

.hero-brand::before {
	position: absolute;
	top: 50%;
	left: -34px;
	z-index: -1;
	width: min(560px, 82vw);
	height: 172px;
	background:
		radial-gradient(ellipse at 18% 52%, rgba(194, 155, 90, 0.26), transparent 52%),
		radial-gradient(ellipse at 58% 48%, rgba(7, 56, 95, 0.28), transparent 66%),
		radial-gradient(ellipse at 34% 52%, rgba(239, 232, 220, 0.1), transparent 58%);
	border-radius: 999px;
	content: "";
	filter: blur(8px);
	opacity: 0.86;
	pointer-events: none;
	transform: translateY(-50%);
}

.hero-brand-symbol {
	position: relative;
	display: block;
	flex: 0 0 clamp(146px, 12vw, 184px);
	width: clamp(146px, 12vw, 184px);
	aspect-ratio: 360 / 365;
}

.hero-brand-symbol::before {
	position: absolute;
	inset: 4%;
	background:
		radial-gradient(circle at 48% 40%, rgba(239, 232, 220, 0.32), transparent 34%),
		radial-gradient(circle at 50% 55%, rgba(194, 155, 90, 0.34), transparent 66%);
	border-radius: 50%;
	content: "";
	filter: blur(18px);
	opacity: 0.9;
}

.hero-brand-symbol::after {
	position: absolute;
	left: 7%;
	right: 7%;
	bottom: 6%;
	height: 10px;
	background: linear-gradient(90deg, transparent, rgba(194, 155, 90, 0.58), rgba(10, 111, 125, 0.46), transparent);
	content: "";
	filter: blur(10px);
}

.hero-brand-mark {
	position: absolute;
	inset: 0;
	display: block;
	background: linear-gradient(138deg, var(--paper) 0%, var(--brass) 34%, #0a6f7d 72%, var(--navy) 100%);
	filter:
		drop-shadow(0 20px 34px rgba(0, 0, 0, 0.46))
		drop-shadow(0 0 22px rgba(194, 155, 90, 0.24));
	-webkit-mask: url("studienportale-emblem-minimal.svg") center / contain no-repeat;
	mask: url("studienportale-emblem-minimal.svg") center / contain no-repeat;
}

.hero-brand-text {
	display: grid;
	width: max-content;
	min-width: 0;
	gap: 8px;
	justify-items: center;
	text-shadow: 0 12px 34px rgba(0, 0, 0, 0.48);
}

.hero-brand-name,
.hero-brand-form {
	display: block;
	line-height: 0.92;
	letter-spacing: 0;
}

.hero-brand-name {
	color: var(--paper);
	font-size: clamp(38px, 3.7vw, 54px);
	line-height: 0.86;
}

.hero-brand-form {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 100%;
	color: var(--brass);
	font-size: clamp(33px, 2.8vw, 42px);
	line-height: 0.9;
}

.hero-brand-form::before,
.hero-brand-form::after {
	display: block;
	flex: 1 1 0;
	width: clamp(42px, 5vw, 72px);
	height: 2px;
	margin: 0;
	background: linear-gradient(90deg, transparent, currentColor);
	content: "";
}

.hero-brand-form::after {
	background: linear-gradient(90deg, currentColor, transparent);
}

.eyebrow,
.project-type {
	margin: 0 0 14px;
	color: var(--brass);
	font-size: 12px;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1 {
	margin-bottom: 26px;
	font-size: clamp(64px, 6.6vw, 84px);
	line-height: 0.96;
	letter-spacing: 0;
}

h2 {
	margin-bottom: 24px;
	font-size: 52px;
	line-height: 1.02;
	letter-spacing: 0;
}

h3 {
	margin-bottom: 12px;
	font-size: 24px;
	line-height: 1.1;
	letter-spacing: 0;
}

.hero-lead {
	max-width: 480px;
	margin-bottom: 34px;
	color: var(--muted);
	font-size: 22px;
	line-height: 1.35;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.button,
.text-link,
.project-card a {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 18px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-size: 14px;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0;
	text-align: center;
	overflow-wrap: anywhere;
	white-space: normal;
	transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button::after,
.text-link::after,
.project-card a::after {
	margin-left: 10px;
	content: "->";
}

.button:hover,
.button:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.project-card a:hover,
.project-card a:focus-visible {
	transform: translateY(-2px);
}

.button-primary {
	background: var(--paper);
	color: var(--bg-deep);
}

.button-secondary,
.text-link,
.project-card a {
	border-color: var(--line);
	background: rgba(239, 232, 220, 0.055);
	color: var(--text);
}

.hero-media {
	position: relative;
	justify-self: stretch;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 8px 0 0 8px;
	background: var(--panel);
	box-shadow: -30px 42px 76px rgba(0, 0, 0, 0.38);
	overflow: hidden;
	transform-origin: center right;
}

.hero-media::before,
.portfolio-visual::before {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(3, 7, 12, 0.48), transparent 36%),
		linear-gradient(180deg, transparent 54%, rgba(3, 7, 12, 0.58));
	content: "";
	pointer-events: none;
}

.hero-media img {
	width: 100%;
	min-height: 520px;
	object-fit: cover;
}

.signal-strip {
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 18px;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(3, 7, 12, 0.78);
	backdrop-filter: blur(12px);
}

.signal-strip span {
	padding: 12px;
	color: var(--muted);
	font-size: 12px;
	text-transform: none;
	letter-spacing: 0;
}

.signal-strip span:nth-child(1) {
	color: var(--paper);
}

.signal-strip span:nth-child(2) {
	color: var(--brass);
}

.signal-strip span:nth-child(3) {
	color: var(--muted);
}

.section-band {
	position: relative;
	background: rgba(12, 23, 36, 0.72);
	border-top: 1px solid rgba(239, 232, 220, 0.1);
	border-bottom: 1px solid rgba(239, 232, 220, 0.1);
}

.section-inner {
	margin: 0 auto;
	padding: 110px 40px;
}

.statement-grid,
.split-layout,
.portfolio-head {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	gap: 56px;
	align-items: start;
}

.statement-grid p,
.portfolio-head p,
.section-copy p,
.project-card p,
.feature-list p,
.contact-panel p,
.site-footer p {
	color: var(--muted);
}

.statement-grid > p,
.portfolio-head > p {
	margin-top: 34px;
	font-size: 20px;
	line-height: 1.55;
}

.flagship {
	position: relative;
}

.feature-list {
	display: grid;
	gap: 14px;
}

.feature-list article,
.project-card {
	border: 1px solid var(--line);
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(239, 232, 220, 0.075), rgba(239, 232, 220, 0.025)),
		rgba(12, 23, 36, 0.82);
}

.feature-list article {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 18px;
	padding: 24px;
}

.feature-index {
	color: var(--brass);
	font-size: 34px;
	line-height: 1;
}

.feature-list h3,
.feature-list p {
	grid-column: 2;
}

.portfolio-visual {
	position: relative;
	margin: 18px 0 26px;
	border: 1px solid rgba(239, 232, 220, 0.16);
	border-radius: 8px;
	overflow: hidden;
}

.portfolio-visual img {
	width: 100%;
	max-height: 520px;
	object-fit: cover;
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.project-card {
	display: flex;
	min-height: 500px;
	flex-direction: column;
	padding: 20px;
}

.project-card-featured {
	background:
		linear-gradient(135deg, rgba(194, 155, 90, 0.16), rgba(239, 232, 220, 0.045)),
		rgba(12, 23, 36, 0.9);
}

.project-media {
	position: relative;
	flex: 0 0 auto;
	aspect-ratio: 16 / 9;
	margin-bottom: 22px;
	border: 1px solid rgba(239, 232, 220, 0.14);
	border-radius: 6px;
	background: rgba(3, 7, 12, 0.35);
	overflow: hidden;
}

.project-media::after {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, transparent 58%, rgba(3, 7, 12, 0.34)),
		linear-gradient(90deg, rgba(3, 7, 12, 0.16), transparent 42%);
	content: "";
	pointer-events: none;
}

.project-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sale-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 7px 10px;
	border: 1px solid rgba(239, 232, 220, 0.3);
	border-radius: 999px;
	background: rgba(3, 7, 12, 0.72);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
	color: var(--paper);
	font-size: 12px;
	line-height: 1;
	backdrop-filter: blur(12px);
}

.project-card h3 {
	font-size: clamp(22px, 2vw, 26px);
	line-height: 1.08;
	hyphens: manual;
	overflow-wrap: normal;
	word-break: normal;
}

.project-card p:not(.project-type) {
	margin-bottom: 24px;
}

.project-card a {
	width: 100%;
	margin-top: auto;
}

.portfolio-sale-note {
	max-width: 760px;
	margin: 28px 0 0;
	padding-left: 18px;
	border-left: 2px solid var(--brass);
	color: var(--paper);
	font-size: 18px;
	line-height: 1.45;
}

.sale-expose {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 36px;
	margin-top: 26px;
	padding: 34px;
	border-top: 1px solid var(--line-strong);
	border-bottom: 1px solid var(--line-strong);
	background:
		linear-gradient(90deg, rgba(194, 155, 90, 0.13), transparent 48%),
		linear-gradient(135deg, rgba(239, 232, 220, 0.06), rgba(7, 56, 95, 0.2));
}

.sale-expose h3 {
	max-width: 620px;
	font-size: clamp(28px, 3vw, 38px);
	line-height: 1.06;
}

.sale-expose p,
.expose-list dd {
	color: var(--muted);
}

.sale-domain-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.sale-domain-list li {
	padding: 8px 10px;
	border: 1px solid rgba(239, 232, 220, 0.16);
	border-radius: 6px;
	background: rgba(3, 7, 12, 0.28);
	color: var(--paper);
	font-size: 13px;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.expose-list {
	display: grid;
	gap: 16px;
	margin: 0;
}

.expose-list div {
	display: grid;
	grid-template-columns: minmax(110px, 0.34fr) minmax(0, 1fr);
	gap: 18px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(239, 232, 220, 0.12);
}

.expose-list div:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.expose-list dt {
	color: var(--brass);
	font-size: 13px;
	line-height: 1.35;
}

.expose-list dd {
	margin: 0;
	overflow-wrap: anywhere;
}

.contact {
	padding: 34px 0;
}

.contact-panel {
	position: relative;
	border-left: 4px solid var(--brass);
	background:
		linear-gradient(90deg, rgba(194, 155, 90, 0.14), transparent 46%),
		linear-gradient(135deg, rgba(239, 232, 220, 0.06), rgba(7, 56, 95, 0.22));
}

.contact-panel h2 {
	max-width: 760px;
	margin-bottom: 28px;
}

.contact-link {
	display: inline-block;
	color: var(--text);
	font-size: 32px;
	text-decoration-color: var(--brass);
	text-decoration-thickness: 2px;
	text-underline-offset: 7px;
	overflow-wrap: anywhere;
}

.site-footer {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 28px;
	padding: 46px 40px 54px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: var(--muted);
}

.site-footer h2 {
	margin-bottom: 16px;
	color: var(--text);
	font-size: 18px;
	text-transform: none;
}

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

.reveal-enabled [data-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 620ms ease, transform 620ms ease;
}

.reveal-enabled [data-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 1040px) {
	.hero {
		min-height: auto;
		padding-top: 42px;
	}

	.hero-feature {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.hero-copy {
		justify-self: start;
		max-width: 720px;
	}

	.hero-media {
		border-radius: 8px;
		transform: none;
	}

	.hero-media img {
		min-height: 420px;
	}

	.statement-grid,
	.split-layout,
	.portfolio-head,
	.sale-expose {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.statement-grid > p,
	.portfolio-head > p {
		margin-top: 0;
	}

	.project-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	body {
		font-size: 15px;
	}

	.hero {
		padding: 32px 20px 56px;
	}

	.hero-brand {
		display: block;
		margin-bottom: 88px;
	}

	.hero-brand::before {
		left: -22px;
		width: min(360px, 96vw);
		height: 260px;
	}

	.hero-brand-symbol {
		width: clamp(136px, 42vw, 166px);
		margin-bottom: 12px;
	}

	.hero-brand-name {
		font-size: clamp(30px, 8.5vw, 36px);
	}

	.hero-brand-form {
		font-size: clamp(25px, 7vw, 31px);
	}

	.hero-brand-form::before,
	.hero-brand-form::after {
		width: clamp(30px, 12vw, 46px);
		margin-inline: 10px;
	}

	h1 {
		font-size: 56px;
	}

	h2 {
		font-size: 34px;
	}

	h3 {
		font-size: 21px;
	}

	.hero-lead {
		font-size: 19px;
	}

	.hero-actions,
	.button {
		width: 100%;
	}

	.hero-media img {
		min-height: 300px;
	}

	.signal-strip {
		position: static;
		grid-template-columns: 1fr;
	}

	.section-inner {
		padding: 76px 20px;
	}

	.feature-list article {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.feature-list h3,
	.feature-list p {
		grid-column: auto;
	}

	.project-grid {
		grid-template-columns: 1fr;
	}

	.project-card {
		min-height: 240px;
	}

	.sale-expose {
		padding: 28px 20px;
	}

	.expose-list div {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.contact-link {
		font-size: 24px;
	}

	.site-footer {
		grid-template-columns: 1fr;
		padding: 38px 20px 44px;
	}
}

@media (max-width: 420px) {
	h1 {
		font-size: 46px;
	}

	h2 {
		font-size: 30px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.hero-media,
	body::after,
	.button:hover,
	.button:focus-visible,
	.text-link:hover,
	.text-link:focus-visible,
	.project-card a:hover,
	.project-card a:focus-visible {
		transform: none;
	}

	[data-reveal] {
		opacity: 1;
		transform: none;
	}
}
