@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/barlow-400.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/barlow-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: italic; font-display: swap; src: url(fonts/barlow-condensed-800i.woff2) format("woff2"); }

:root {
	--ink: #111214;
	--ink-2: #1c1e22;
	--chalk: #f3f3f0;
	--white: #fff;
	--line: #d9d9d4;
	--muted: #5b5f66;
	--blue: #29a3dc;      /* merch.me-Blau – nur Flächen / auf Schwarz */
	--blue-text: #0b6e9e; /* Blau für Text auf Weiß (Kontrast > 5:1) */
	--error: #c0262d;
	--ok: #1d7a3f;
	--display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
	--body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.55 var(--body); color: var(--ink); background: var(--chalk); }
img { max-width: 100%; height: auto; }
a { color: var(--blue-text); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.wrap { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 16px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* Topbar */
.topbar { background: var(--white); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: block; line-height: 0; }
.brand img { width: 190px; }
.tag { font: italic 800 15px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* Hero */
.hero {
	position: relative; overflow: hidden; color: var(--white); background: var(--ink);
	padding: 48px 0 88px;
}
.hero::after { /* Streifen wie im Logo */
	content: ""; position: absolute; right: -40px; top: 0; bottom: 0; width: 45%;
	background: repeating-linear-gradient(-60deg, transparent 0 14px, rgba(255,255,255,.07) 14px 24px);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
	mask-image: linear-gradient(90deg, transparent, #000 60%);
	pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.kicker { margin: 0 0 12px; font: italic 800 16px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
h1 { margin: 0; font: italic 800 clamp(44px, 9vw, 84px)/.92 var(--display); text-transform: uppercase; letter-spacing: -.005em; }
h1 span { color: var(--blue); }
.lead { max-width: 560px; margin: 20px 0 0; color: #d4d6da; font-size: 18px; }

.wod { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; }
.wod li {
	display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px;
	border: 1px solid #3a3d43; border-radius: var(--radius);
	font: 600 15px/1.2 var(--body); color: #b9bcc2;
}
.wod b { font: italic 800 18px/1 var(--display); color: #7d828a; }
.wod li.is-active { border-color: var(--blue); color: var(--white); }
.wod li.is-active b { color: var(--blue); }
.wod li.is-done { color: var(--white); }
.wod li.is-done b { color: var(--blue); }

/* Content / Card */
.content { margin-top: -56px; padding-bottom: 56px; position: relative; z-index: 2; }
.card { background: var(--white); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 12px 32px rgba(0,0,0,.08); padding: 24px 16px; border-top: 4px solid var(--blue); }
.card:focus { outline: none; }
.legend-note { margin: 0 0 8px; font-size: 15px; color: var(--muted); }

fieldset { border: 0; margin: 0; padding: 20px 0 4px; border-top: 1px solid var(--line); }
fieldset:first-of-type { border-top: 0; padding-top: 8px; }
legend { float: left; width: 100%; margin-bottom: 12px; padding: 0; font: italic 800 22px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
legend + * { clear: both; }

.grid { display: grid; grid-template-columns: 1fr; gap: 14px 16px; }
.field { display: flex; flex-direction: column; min-width: 0; }
label { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
label small { font-weight: 400; color: var(--muted); }
.req { color: var(--error); }

input[type=text], input[type=email], input[type=tel] {
	width: 100%; min-height: 48px; padding: 10px 12px;
	font: 400 17px/1.3 var(--body); color: var(--ink);
	background: #fafaf8; border: 1.5px solid #b9bcc2; border-radius: var(--radius);
	transition: border-color .15s, background .15s;
}
input::placeholder { color: #8a8e95; }
input:hover { border-color: #8a8e95; }
input:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 3px rgba(41,163,220,.35); }

.err { display: none; margin: 6px 0 0; font-size: 14px; font-weight: 600; color: var(--error); }
.field.invalid input { border-color: var(--error); background: #fff6f6; }
.field.invalid .err { display: block; }
.field.invalid .err::before { content: "! "; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.submit { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px;
	padding: 12px 24px; border: 0; border-radius: var(--radius); cursor: pointer;
	background: var(--blue); color: var(--ink);
	font: italic 800 22px/1 var(--display); text-transform: uppercase; letter-spacing: .04em;
	transition: background .15s, transform .1s;
}
.btn:hover { background: #46b3e6; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.privacy { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.formerror { margin: 12px 0 0; padding: 10px 12px; border-left: 4px solid var(--error); background: #fff3f3; color: var(--error); font-weight: 600; }

/* Schritt 2 */
.badge { display: inline-block; margin: 0 0 12px; padding: 6px 10px; border-radius: var(--radius); background: #e7f5ec; color: var(--ok); font-weight: 600; font-size: 15px; }
h2 { margin: 0 0 12px; font: italic 800 clamp(28px, 6vw, 40px)/1 var(--display); text-transform: uppercase; }

.drop {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	margin-top: 20px; padding: 36px 16px; text-align: center; cursor: pointer;
	border: 2px dashed #9a9ea5; border-radius: var(--radius); background: #fafaf8;
	transition: border-color .15s, background .15s;
}
.drop:hover, .drop.is-over { border-color: var(--blue); background: #eef8fd; }
.drop:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.drop-icon { color: var(--blue-text); }
.drop-title { font: italic 800 22px/1.1 var(--display); text-transform: uppercase; }
.drop-sub { font-size: 14px; color: var(--muted); }

.filelist { list-style: none; margin: 16px 0 0; padding: 0; }
.filelist li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.filelist .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filelist .st { flex-shrink: 0; font-weight: 600; color: var(--muted); }
.filelist .ok { color: var(--ok); }
.filelist .fail { color: var(--error); }

/* Schritt 3 */
.done { text-align: center; padding-top: 40px; padding-bottom: 40px; }
.done p { max-width: 520px; margin-left: auto; margin-right: auto; }
.done-icon {
	display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: 16px;
	border-radius: 50%; background: var(--blue); color: var(--ink);
}

/* Impressum / Datenschutz */
.legal { max-width: 760px; padding-top: 32px; padding-bottom: 64px; }
.legal h1 { font-size: clamp(40px, 8vw, 64px); margin-bottom: 8px; }
.legal h2 { margin: 32px 0 8px; font-size: 24px; }
.legal p { margin: 0 0 12px; }
.back { display: inline-block; padding: 10px 0; margin-bottom: 8px; font-weight: 600; text-decoration: none; }
.back:hover { text-decoration: underline; }

/* Footer */
.footer { background: var(--ink); color: #b9bcc2; font-size: 15px; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; min-height: 64px; padding-top: 12px; padding-bottom: 12px; }
.footer nav { display: flex; gap: 20px; }
.footer a { color: var(--white); text-decoration: none; padding: 10px 0; }
.footer a:hover { text-decoration: underline; }

@media (min-width: 640px) {
	.brand img { width: 230px; }
	.hero { padding: 64px 0 104px; }
	.card { padding: 32px; }
	.grid { grid-template-columns: 1fr 1fr; }
	.span-2 { grid-column: span 2; }
	.grid-addr { grid-template-columns: 1fr 2fr 1fr; }
	.grid-addr .f-street { grid-column: span 2; }
	.grid-addr .f-city { grid-column: span 2; }
	.btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}

@media print {
	.topbar .tag, .hero::after, .submit, .footer, .drop { display: none; }
	.hero { background: none; color: #000; padding: 0; }
	.content { margin-top: 16px; }
	.card { box-shadow: none; border: 1px solid #000; }
}
