/* ==========================================================
   Cyber Incident Austria – cyberincident.at
   Statischer One-Pager (DE/EN) + Impressum + Datenschutz
   Eine Datei, keine externen Ressourcen außer Notfallkarte (dfir-austria.at).

   1. Schrift (Inter, lokal)
   2. Tokens
   3. Basis
   4. Kopf
   5. Hero
   6. Abschnitte allgemein
   7. Netzwerk (Partner)
   8. Themen (wer wofür)
   9. Team (Zahlen)
   10. Ansatz
   11. Kontakt (dunkel) + Notfallkarte
   12. Fuß
   13. Rechtliche Seiten
   14. Mobil
   ========================================================== */

/* 1. Schrift */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/inter-regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/inter-medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/inter-semibold.woff2") format("woff2"); }

/* 2. Tokens */
:root {
	--ink: #1d1d1f;
	--ink-2: #3d4046;
	--muted: #6e6e73;
	--light: #f5f4f1;
	--white: #ffffff;
	--dark: #0e0f11;
	--dark-2: #16181b;
	--on-dark: #ecebe8;
	--on-dark-muted: #a3a7ae;
	--line: rgba(22, 23, 26, .12);
	--line-dark: rgba(255, 255, 255, .10);
	--red: #d21f33;
	--red-hover: #b8192b;
	--red-text: #ff5468;
	--wrap: 1180px;
	--radius: 12px;
	--radius-s: 6px;
}

/* 3. Basis */
*, *::before, *::after { box-sizing: border-box; }

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

body {
	margin: 0;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.025em; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: 32px; padding-right: 32px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Eyebrow mit rotem Punkt (wie dfir-austria.at) */
.eyebrow {
	display: inline-flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 20px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--muted);
}

.eyebrow::before {
	content: "";
	flex: none;
	width: 7px;
	height: 7px;
	margin-top: calc((1.6em - 7px) / 2);
	border-radius: 50%;
	background: var(--red);
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 22px;
	border: 1px solid transparent;
	border-radius: var(--radius-s);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .2s, border-color .2s, color .2s;
}

.btn--rot { background: var(--red); border-color: var(--red); color: #fff; }
.btn--rot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: puls 2.4s ease-out infinite; }
.btn--rot:hover, .btn--rot:focus-visible { background: var(--red-hover); border-color: var(--red-hover); }

.btn--rahmen { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--rahmen::after { content: "\2192"; transition: transform .2s; }
.btn--rahmen:hover, .btn--rahmen:focus-visible { background: #fff; border-color: #fff; color: var(--ink); }
.btn--rahmen:hover::after { transform: translateX(3px); }

.tel { white-space: nowrap; }

@keyframes puls {
	0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); }
	70%  { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* 4. Kopf */
.kopf {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(14, 15, 17, .92);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line-dark);
}

.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }

.kopf-logo img { width: 178px; height: auto; }

.kopf-nav { display: flex; align-items: center; gap: 28px; }

.kopf-nav a {
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--on-dark-muted);
	text-decoration: none;
	transition: color .2s;
}

.kopf-nav a:hover, .kopf-nav a:focus-visible { color: #fff; }

.kopf-nav .kopf-sprache { padding-left: 24px; border-left: 1px solid var(--line-dark); }

.kopf-notfall {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 11px 16px;
	border-radius: var(--radius-s);
	background: var(--red);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .2s;
}

.kopf-notfall::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: puls 2.4s ease-out infinite; }
.kopf-notfall:hover, .kopf-notfall:focus-visible { background: var(--red-hover); }
/* .kopf-nav a (gedämpfte Farbe) ist spezifischer als .kopf-notfall – Schrift im Notfall-Button immer weiß */
.kopf-nav .kopf-notfall, .kopf-nav .kopf-notfall:hover, .kopf-nav .kopf-notfall:focus-visible { color: #fff; }

/* 5. Hero */
.hero {
	position: relative;
	overflow: hidden;
	padding: 128px 0 112px;
	background: var(--dark);
	color: var(--on-dark);
}

/* Signet groß, rechts, sehr zurückhaltend */
.hero::after {
	content: "";
	position: absolute;
	right: -60px;
	top: 50%;
	width: 560px;
	height: 560px;
	transform: translateY(-50%);
	background: url("/signet-hero.svg") center / contain no-repeat;
	opacity: .9;
	pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--on-dark-muted); }

.hero h1 {
	max-width: 14ch;
	font-size: clamp(44px, 6vw, 78px);
	line-height: 1.02;
	letter-spacing: -.035em;
	color: #fff;
}

.hero-lead { max-width: 54ch; margin-top: 28px; font-size: 19px; line-height: 1.6; color: #c9cbcf; }

.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.hero-info {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 32px;
	margin-top: 56px;
	padding-top: 22px;
	border-top: 1px solid var(--line-dark);
	font-size: 13px;
	letter-spacing: .02em;
	color: var(--on-dark-muted);
}

.hero-info strong { font-weight: 500; color: var(--on-dark); }

/* 6. Abschnitte */
.abschnitt { padding: 112px 0; }
.abschnitt--hell { background: var(--light); }

.abschnitt-kopf { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 56px; }

.abschnitt-kopf h2 { max-width: 20ch; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; }

.abschnitt-kopf p { max-width: 52ch; font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }

/* 7. Netzwerk (Partner) */
.partner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }

.partner li {
	display: flex;
	flex-direction: column;
	padding: 30px 30px 28px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.partner-foto {
	display: block;
	width: 88px;
	height: 88px;
	margin: 0 0 22px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--line);
}

.partner .partner-rolle {
	margin: 0 0 14px;
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--red);
}

.partner h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.02em; }

.partner p { margin-top: 12px; font-size: 15px; line-height: 1.65; color: var(--ink-2); }

.partner-link {
	align-self: flex-start;
	margin-top: auto;
	padding-top: 22px;
	font-size: 14px;
	font-weight: 500;
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: var(--red);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 5px;
	transition: text-underline-offset .2s;
}

.partner-link::after { content: " \2197"; }
.partner-link:hover { text-underline-offset: 3px; }

/* 8. Themen (wer wofür) */
.themen { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }

.themen li {
	display: grid;
	grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1fr) 170px;
	align-items: baseline;
	gap: 8px 24px;
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
}

.themen-nr { font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--red); }

.themen-titel { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }

.themen-wer { font-size: 15px; color: var(--ink-2); }

.themen a {
	justify-self: end;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: var(--red);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 5px;
}

.themen a::after { content: " \2197"; }

/* 9. Team (Zahlen) */
.zahlen {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
}

.zahlen li { padding: 20px 18px; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.zahlen strong { display: block; font-size: 34px; font-weight: 500; line-height: 1; letter-spacing: -.03em; }

.zahlen span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--muted); }

.zahlen-hinweis { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* 10. Ansatz */
.ansatz { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; margin: 0; padding: 0; list-style: none; counter-reset: ansatz; }

.ansatz li { position: relative; padding-top: 24px; border-top: 1px solid var(--line); counter-increment: ansatz; }

.ansatz li::before { content: counter(ansatz, decimal-leading-zero); display: block; margin-bottom: 14px; font-size: 13px; font-weight: 500; color: var(--red); }

.ansatz h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.015em; }

/* Ablauf wie dfir-austria.at (Kontakt „Was als nächstes passiert“): eine rote Linie läuft oben über 01, 02, 03, 04 – endlos.
   Aktiver Punkt: Titel dunkel, Nummer rot und 4 px nach rechts; die anderen gedämpft. 4 Punkte × 3,2 s = Zyklus 12,8 s. */
.ansatz li::after {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--red);
	transform: scaleX(0);
	transform-origin: left center;
	animation: ansatz-linie 12.8s linear infinite;
}

.ansatz li::before { color: #868a91; animation: ansatz-nr 12.8s ease infinite; }

.ansatz h3 { color: #868a91; animation: ansatz-titel 12.8s ease infinite; }

.ansatz li:nth-child(1)::after, .ansatz li:nth-child(1)::before, .ansatz li:nth-child(1) h3 { animation-delay: -12.8s; }
.ansatz li:nth-child(2)::after, .ansatz li:nth-child(2)::before, .ansatz li:nth-child(2) h3 { animation-delay: -9.6s; }
.ansatz li:nth-child(3)::after, .ansatz li:nth-child(3)::before, .ansatz li:nth-child(3) h3 { animation-delay: -6.4s; }
.ansatz li:nth-child(4)::after, .ansatz li:nth-child(4)::before, .ansatz li:nth-child(4) h3 { animation-delay: -3.2s; }

@keyframes ansatz-linie {
	0%   { transform: scaleX(0); opacity: 1; }
	25%  { transform: scaleX(1); opacity: 1; }
	28%  { transform: scaleX(1); opacity: 0; }
	100% { transform: scaleX(1); opacity: 0; }
}

@keyframes ansatz-titel {
	0%, 23%  { color: var(--ink); }
	28%, 97% { color: #868a91; }
	100%     { color: var(--ink); }
}

@keyframes ansatz-nr {
	0%, 23%  { color: var(--red); transform: translateX(4px); }
	28%, 97% { color: #868a91; transform: translateX(0); }
	100%     { color: var(--red); transform: translateX(4px); }
}

.ansatz p { margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--ink-2); }

/* 11. Kontakt (dunkel) */
.kontakt { padding: 96px 0; background: var(--dark); color: var(--on-dark-muted); }

.kontakt .eyebrow { color: var(--on-dark-muted); }

.kontakt-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 80px; align-items: start; }

.kontakt h2 { max-width: 16ch; font-size: clamp(34px, 4vw, 54px); line-height: 1.06; letter-spacing: -.03em; color: #fff; }

.kontakt-text { max-width: 48ch; margin-top: 22px; font-size: 16.5px; line-height: 1.7; }

.kontakt-daten { margin: 0; }

.kontakt-daten div { padding: 26px 0; border-top: 1px solid var(--line-dark); }

.kontakt-daten div:last-child { border-bottom: 1px solid var(--line-dark); }

.kontakt-daten dt { margin-bottom: 10px; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }

.kontakt-daten dd { margin: 0; font-size: 28px; line-height: 1.3; letter-spacing: -.02em; color: #fff; }

.kontakt-daten dd a { text-decoration: none; transition: color .2s; }
.kontakt-daten dd a:hover, .kontakt-daten dd a:focus-visible { color: var(--red-text); }

.kontakt-daten dd a.tel { font-size: 36px; letter-spacing: -.025em; }

.kontakt-daten dd a[target="_blank"]::after { content: "\2192"; display: inline-block; margin-left: .3em; color: var(--red-text); transition: transform .2s; }
.kontakt-daten dd a[target="_blank"]:hover::after { transform: translateX(4px); }

.kontakt-daten dd.klein { font-size: 17px; line-height: 1.6; letter-spacing: 0; color: var(--on-dark-muted); }

/* Notfallkarte (PDF auf dfir-austria.at) */
.karte {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 24px;
	align-items: center;
	margin-top: 40px;
	padding: 24px;
	background: rgba(255, 255, 255, .03);
	border: 1px solid var(--line-dark);
	border-radius: var(--radius);
	text-decoration: none;
	transition: border-color .2s, background-color .2s;
}

.karte:hover, .karte:focus-visible { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .22); }

.karte img { width: 96px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 12px 28px rgba(0, 0, 0, .5); transform: rotate(-2.5deg); transition: transform .3s; }
.karte:hover img { transform: none; }

.karte-eyebrow { display: block; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.karte-titel { display: block; margin-top: 6px; font-size: 16px; font-weight: 600; line-height: 1.35; color: #fff; }
.karte-aktion { display: block; margin-top: 10px; font-size: 13px; }
.karte-aktion::after { content: "\00a0\2192"; }
.karte:hover .karte-aktion { color: var(--red-text); }

/* 12. Fuß */
.fuss { background: var(--dark); border-top: 1px solid var(--line-dark); color: var(--on-dark-muted); }

.fuss .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 28px; padding-bottom: 28px; font-size: 13px; }

.fuss nav { display: flex; flex-wrap: wrap; gap: 6px 28px; }

.fuss a { text-decoration: none; transition: color .2s; }
.fuss a:hover, .fuss a:focus-visible { color: #fff; }

/* 13. Rechtliche Seiten */
.recht-kopf { padding: 96px 0 64px; background: var(--light); }
.recht-kopf h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; }

.recht { padding: 64px 0 112px; }
.recht .wrap { max-width: 860px; }

.recht h2 { margin: 48px 0 14px; font-size: 22px; letter-spacing: -.02em; }
.recht h2:first-child { margin-top: 0; }
.recht p { margin: 0 0 14px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.recht a { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

.daten { display: grid; grid-template-columns: minmax(160px, 34%) 1fr; margin: 0 0 24px; border-bottom: 1px solid var(--line); }
.daten dt, .daten dd { margin: 0; padding: 14px 0; border-top: 1px solid var(--line); }
.daten dt { padding-right: 24px; font-size: 12px; font-weight: 500; line-height: 1.9; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.daten dd { font-size: 16px; line-height: 1.6; }

/* 14. Mobil */
@media (max-width: 989px) {
	.kopf-nav a:not(.kopf-notfall):not(.kopf-sprache) { display: none; }
	.kopf-nav .kopf-sprache { padding-left: 0; border-left: 0; }
	.hero::after { width: 420px; height: 420px; right: -160px; opacity: .45; }
	.abschnitt-kopf, .kontakt-raster { grid-template-columns: 1fr; }
	.partner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.zahlen { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.ansatz { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
	.themen li { grid-template-columns: 44px minmax(0, 1fr); }
	.themen-wer, .themen a { grid-column: 2; }
	.themen a { justify-self: start; }
}

@media (max-width: 640px) {
	.wrap { padding-left: 22px; padding-right: 22px; }
	.kopf .wrap { height: 64px; }
	.kopf-logo img { width: 142px; }
	.kopf-notfall { padding: 10px 12px; font-size: 11px; }
	.kopf-notfall .kopf-notfall-lang { display: none; }
	.hero { padding: 88px 0 72px; }
	.hero::after { display: none; }
	.hero-lead { font-size: 17px; }
	.hero-btns .btn { width: 100%; justify-content: center; }
	.abschnitt, .kontakt { padding: 72px 0; }
	.abschnitt-kopf { margin-bottom: 36px; }
	.partner { grid-template-columns: 1fr; }
	.partner li { padding: 24px 22px; }
	.zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ansatz { grid-template-columns: 1fr; }
	.kontakt-daten dd { font-size: 21px; }
	.kontakt-daten dd a.tel { font-size: 27px; }
	.karte { grid-template-columns: 72px minmax(0, 1fr); gap: 18px; }
	.karte img { width: 72px; }
	.daten { grid-template-columns: 1fr; }
	.daten dd { padding-top: 0; border-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.ansatz li::after { display: none; }
	.ansatz li::before { color: var(--red); }
	.ansatz h3 { color: var(--ink); }
}
