/**
 * Rock-it Event – Grundstyles
 *
 * Schrift (lokal), Design-Tokens, Grundtypografie und Buttons.
 * Werte 1:1 aus v1 css/core/_variables.css, _typography.css, _reset.css, components/_buttons.css.
 * Navigation, Seitenkopf und Hero haben eigene Dateien aus den Bausteinen (rie-*.css).
 */

/* --------------------------------------------------------------------------
   Noto Sans, lokal (Variable Font 300–900, latin + latin-ext)
   -------------------------------------------------------------------------- */
@font-face {
	font-family: "Noto Sans";
	font-style: normal;
	font-weight: 300 900;
	font-stretch: 100%;
	font-display: swap;
	src: url("../fonts/noto-sans-latin-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: "Noto Sans";
	font-style: normal;
	font-weight: 300 900;
	font-stretch: 100%;
	font-display: swap;
	src: url("../fonts/noto-sans-latin-ext-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Noto Sans";
	font-style: italic;
	font-weight: 300 900;
	font-stretch: 100%;
	font-display: swap;
	src: url("../fonts/noto-sans-latin-italic.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: "Noto Sans";
	font-style: italic;
	font-weight: 300 900;
	font-stretch: 100%;
	font-display: swap;
	src: url("../fonts/noto-sans-latin-ext-italic.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Fallback mit angeglichenen Metriken, damit beim Laden nichts springt */
@font-face {
	font-family: "Noto Sans Fallback";
	src: local("Arial");
	ascent-override: 100.62%;
	descent-override: 27.57%;
	line-gap-override: 0%;
	size-adjust: 106.25%;
}

/* --------------------------------------------------------------------------
   Tokens (gleiche Namen wie v1, zusätzlich zu --rie-* aus rie-nav.css)
   -------------------------------------------------------------------------- */
:root {
	--color-red: #b1363b;
	--color-redalpha: rgba(177, 54, 59, .5);
	--color-darkgrey: #2e2e2e;
	--color-lightgrey: #414141;
	--color-black: #000;
	--color-blackalpha: rgba(0, 0, 0, .3);
	--color-lightblack: #202020;
	--color-white: #fff;
	--color-whitealpha: rgba(255, 255, 255, .9);

	--font-primary: "Noto Sans", "Noto Sans Fallback", sans-serif;
	--font-size-standard: 20px;
	--font-size-small: 16px;

	--transition-fast: 0.3s ease-in-out;
	--transition-default: 0.5s ease-in-out;
	--transition-slow: 0.8s ease-in-out;

	--border-radius-sm: 7.5px;
	--border-radius-md: 11px;
	--border-radius-pill: 100vh;

	--card-bg: #202020;
	--card-border: #2e2e2e;

	--stripes: repeating-linear-gradient(-35deg, var(--color-redalpha), var(--color-redalpha) 1px, transparent 1px, transparent 4px);

	/* Bausteine: gleiche Schrift inkl. Fallback */
	--rie-font: var(--font-primary);
}
@media (max-width: 992px) {
	:root { --font-size-standard: 16px; --font-size-small: 15px; }
}
@media (max-width: 576px) {
	:root { --font-size-standard: 15px; --font-size-small: 15px; }
}

/* --------------------------------------------------------------------------
   Grundlage (Bricks setzt html auf 62.5 % – das Original rechnet mit 16px)
   -------------------------------------------------------------------------- */
html {
	font-size: 100%;
}
body {
	margin: 0;
	font-family: var(--font-primary);
	font-size: var(--font-size-standard);
	font-weight: 300;
	line-height: 1.4;
	color: var(--color-white);
	background: var(--color-black);
	-webkit-font-smoothing: antialiased;
}

/* Container wie Bootstrap 4 im Original (540/720/960/1140/1400, Innenabstand 22px, ab 1200px 40px) */
.re-container {
	width: 100%;
	margin-inline: auto;
	padding-inline: 22px;
}
@media (min-width: 576px)  { .re-container { max-width: 540px; } }
@media (min-width: 768px)  { .re-container { max-width: 720px; } }
@media (min-width: 992px)  { .re-container { max-width: 960px; } }
@media (min-width: 1200px) { .re-container { max-width: 1140px; padding-inline: 40px; } }
@media (min-width: 1400px) { .re-container { max-width: 1400px; } }

/* Bricks setzt table { width: 100% } – in den Bausteinen gilt die natürliche Breite wie im Original */
.rie-fullscreen table,
.rie-navbar table { width: auto; }

/* Hero-Titel ist technisch H2, optisch die H1 des Originals: globale H2-Laufweite nicht übernehmen */
.rie-hero .rie-hero-title { letter-spacing: normal; }

/* --------------------------------------------------------------------------
   Überschriften (v1 _typography.css)
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
	font-family: var(--font-primary);
	color: var(--color-white);
	line-height: 1.2;
	margin-top: 0;
}
h1 { font-size: 3rem; font-weight: 900; text-transform: uppercase; margin-bottom: 1rem; position: relative; z-index: 2; }
h2 { font-size: 1.8rem; font-weight: 800; text-transform: uppercase; margin-bottom: 1rem; }
h3 { font-size: 1.75rem; font-weight: 700; margin-bottom: .5rem; }
h4 { font-size: 1.5rem; font-weight: 600; }
h5 { font-size: 20px; font-weight: 700; }

@media (max-width: 992px) {
	h1 { font-size: 2.5rem; }
	h2 { font-size: 1.75rem; margin-bottom: .5rem; letter-spacing: -.5px; }
	h3 { font-size: 1.625rem; }
	h4 { font-size: 1.25rem; }
	h5 { font-size: 16px; }
}
@media (max-width: 767px) {
	h1 { font-size: 2.25rem; }
}
@media (max-width: 576px) {
	h1 { font-size: 2rem; }
	h2 { font-size: 1.5rem; }
	h3 { font-size: 1.25rem; }
	h4 { font-size: 1rem; }
	h5 { font-size: 15px; }
}
@media (max-width: 438px) {
	h1 { font-size: 1.7rem; }
}

p { margin: 0 0 .5rem; }
strong, b { font-weight: 700; }
ul { padding-left: 1.25rem; }

a:not([class]) {
	color: var(--color-red);
	text-decoration: none;
	transition: var(--transition-slow);
}
a:not([class]):hover { color: var(--color-white); }

:focus-visible {
	outline: 2px solid var(--color-white);
	outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Buttons: Pille, rot gefüllt; Hover weiss mit roter Schrift (v1 .btn-primary)
   -------------------------------------------------------------------------- */
.re-btn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	line-height: 1;
	font-family: var(--font-primary);
	font-size: 20px;
	font-weight: 400;
	letter-spacing: -.5px;
	padding: .75rem 1rem;
	border-radius: var(--border-radius-pill);
	border: 1.5px solid var(--color-red);
	background: var(--color-red);
	color: var(--color-white);
	text-decoration: none;
	cursor: pointer;
	transition: var(--transition-slow);
}
.re-btn:hover,
.re-btn:focus-visible {
	background: var(--color-white);
	border-color: var(--color-white);
	color: var(--color-red);
}
@media (max-width: 992px) { .re-btn { font-size: 16px; } }
@media (max-width: 576px) { .re-btn { font-size: 15px; letter-spacing: 0; } }

/* Karte */
.re-card {
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	border-radius: var(--border-radius-md);
}

/* Schraffur als Hilfsklasse */
.re-stripes { background-image: var(--stripes); }

.re-sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

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