/* =========================================
   Erfahrungen24 Core - Base
   ========================================= */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

:root{
	--e24-primary: #2563eb;
	--e24-primary-dark: #1e3a8a;
	--e24-primary-light: #eff6ff;
	--e24-primary-soft: #eaf2fe;
	--e24-primary-border: #bfdbfe;
	--e24-gold: #f5a623;
	--e24-gold-dark: #e0951a;
	--e24-text: #1f2937;
	--e24-muted: #6b7280;
	--e24-bg: #f4f8fb;
	--e24-surface: #ffffff;
	--e24-border: #e2e8f0;
	--e24-danger-bg: #fdecec;
	--e24-danger-text: #b42318;
	--e24-radius-s: 10px;
	--e24-radius: 16px;
	--e24-radius-l: 22px;
	--e24-shadow-s: 0 1px 3px rgba(16,24,40,.05);
	--e24-shadow: 0 4px 16px rgba(16,24,40,.06);
	--e24-container: 1220px;
	--e24-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body{
	font-family: var(--e24-font);
	background: var(--e24-bg);
	color: var(--e24-text);
	line-height: 1.65;
	font-size: 17px;
}

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

a { color: var(--e24-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--e24-primary-dark); }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; color: var(--e24-text); }
h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; }
h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 18px; }
h3 { font-size: 20px; margin-bottom: 10px; }
p { margin-bottom: 14px; color: #374151; }

.container{
	width: min(100% - 40px, var(--e24-container));
	margin-inline: auto;
}

/* Buttons */
.e24-btn{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 14px 26px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 16px;
	border: 2px solid transparent;
	cursor: pointer;
	white-space: nowrap;
}
.e24-btn--primary{ background: var(--e24-gold); color: #1f2937; }
.e24-btn--primary:hover{ background: var(--e24-gold-dark); color: #1f2937; }
.e24-btn--outline{ background: transparent; border-color: var(--e24-border); color: var(--e24-text); }
.e24-btn--outline:hover{ border-color: var(--e24-primary); color: var(--e24-primary); }
.e24-btn--awin{ background: var(--e24-primary); color: #fff; border-color: var(--e24-primary); }
.e24-btn--awin:hover{ background: var(--e24-primary-dark); border-color: var(--e24-primary-dark); color: #fff; }
.e24-btn--cta{ background: var(--e24-gold); color: #1f2937; }
.e24-btn--cta:hover{ background: #e0951a; color: #1f2937; }
.e24-btn--block{ display: flex; width: 100%; }

.e24-link-arrow{ font-weight: 700; font-size: 15px; }

/* ------------------------------
   HEADER
------------------------------ */
.site-header{
	background: #fff;
	border-bottom: 1px solid var(--e24-border);
	position: sticky;
	top: 0;
	z-index: 999;
}
.site-header__inner{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 78px;
}
.site-branding__text{ font-size: 22px; font-weight: 800; color: var(--e24-text); }
.main-navigation ul{ display: flex; gap: 28px; list-style: none; }
.main-navigation a{ color: var(--e24-text); font-weight: 600; font-size: 15px; }
.main-navigation a:hover{ color: var(--e24-primary); }
.header-search-icon{ display: none; }
.mobile-nav-toggle{
	display: none;
	flex-direction: column;
	gap: 4px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
}
.mobile-nav-toggle span{ width: 22px; height: 2px; background: var(--e24-text); }

/* ------------------------------
   FOOTER
------------------------------ */
.site-footer{
	margin-top: 70px;
	padding: 46px 0 30px;
	background: #0f1e3d;
	color: #c9dcfb;
}
.site-footer__inner{ display: grid; gap: 20px; }
.site-footer__logo{ color: #fff; font-weight: 800; font-size: 20px; }
.site-footer__disclaimer{ font-size: 13px; color: #9db3e0; line-height: 1.6; max-width: 820px; }
.site-footer__legal a{ color: #c9dcfb; margin-right: 20px; font-size: 14px; }
.site-footer__legal a:hover{ color: #fff; }
.site-footer__nav ul{ list-style: none; display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer__nav a{ color: #c9dcfb; font-size: 14px; }
.site-footer__copy{ font-size: 13px; color: #6b84b8; margin-top: 10px; }

/* ------------------------------
   MOBILE
------------------------------ */
@media (max-width: 900px){
	.mobile-nav-toggle{ display: none; }
	.main-navigation{
		position: absolute;
		top: 78px; left: 0; right: 0;
		background: #fff;
		box-shadow: var(--e24-shadow);
		display: none;
		padding: 16px 20px;
	}
	.main-navigation.is-open{ display: block; }
	.main-navigation ul{ flex-direction: column; gap: 14px; }
}

/* ------------------------------
   ANZEIGE-STEUERUNG (Mobil/Desktop)
   Für Bausteine mit "Anzeigen auf"-Einstellung
------------------------------ */
@media (max-width: 900px){
	.e24-only-desktop{ display: none !important; }
}
@media (min-width: 901px){
	.e24-only-mobile{ display: none !important; }
}
