/* MwSt24 v2 – Design-System: Variablen, Reset, Typografie */
:root {
	--green-500: #10b981;
	--green-600: #059669;
	--green-700: #047857;
	--green-800: #065f46;
	--green-900: #064e3b;
	--green-50: #ecfdf5;
	--green-100: #d1fae5;
	--teal-600: #0d9488;
	--navy-900: #0b2545;
	--navy-800: #12315e;
	--ink: #1e3a52;
	--body: #3b556e;
	--muted: #64748b;
	--bg: #f4f8f6;
	--card: #ffffff;
	--border: #e3ece7;
	--amber-500: #f59e0b;
	--amber-100: #fef3c7;
	--blue-600: #2563eb;
	--blue-50: #eff6ff;
	--radius: 14px;
	--radius-lg: 20px;
	--shadow-sm: 0 1px 3px rgba(11, 37, 69, 0.08);
	--shadow: 0 4px 14px rgba(11, 37, 69, 0.09);
	--shadow-lg: 0 12px 34px rgba(6, 95, 70, 0.16);
	--shadow-card: 0 2px 6px rgba(11, 37, 69, 0.06), 0 10px 26px rgba(11, 37, 69, 0.07);
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	color: var(--body);
	background: var(--card);
	line-height: 1.7;
	font-size: 16.5px;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	color: var(--navy-900);
	line-height: 1.22;
	margin: 0 0 0.55em;
	font-weight: 800;
	letter-spacing: -0.015em;
}

h1 { font-size: clamp(1.9rem, 1.2rem + 3.2vw, 2.8rem); }
h2 { font-size: clamp(1.35rem, 1.05rem + 1.5vw, 1.75rem); margin-top: 1.5em; }
h3 { font-size: 1.12rem; }

p { margin: 0 0 1.05em; }

a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-800); text-decoration: underline; }

img, svg { max-width: 100%; height: auto; }

.container {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 22px;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--navy-900);
	color: #fff;
	padding: 8px 14px;
	z-index: 200;
	border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: linear-gradient(180deg, var(--green-500), var(--green-600));
	color: #fff;
	font-weight: 700;
	padding: 13px 28px;
	border-radius: 12px;
	border: 0;
	cursor: pointer;
	font-size: 1rem;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
	transition: transform 0.12s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:hover {
	color: #fff;
	text-decoration: none;
	filter: brightness(1.06);
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(5, 150, 105, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn:active { transform: translateY(0); }
.btn--ghost {
	background: #fff;
	color: var(--green-700);
	box-shadow: var(--shadow);
	border: 1px solid var(--border);
}
.btn--ghost:hover { color: var(--green-800); border-color: var(--green-600); }

/* Sektionen */
.section { padding: 64px 0; }
.section--alt { background: var(--bg); }
.section--tint { background: linear-gradient(180deg, #f0faf6 0%, #f7fbf9 100%); }
.kicker {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--green-700);
	background: var(--green-100);
	border-radius: 999px;
	padding: 6px 16px;
	margin-bottom: 14px;
}
.section-title { margin-bottom: 8px; }
.section-sub { color: var(--muted); margin-bottom: 30px; max-width: 740px; font-size: 1.04rem; }

/* Tabellen */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table.data-table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.2em 0;
	font-size: 0.97rem;
	background: var(--card);
	border-radius: var(--radius);
	overflow: hidden;
}
table.data-table th, table.data-table td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid var(--border);
}
table.data-table th {
	background: var(--navy-900);
	color: #fff;
	font-weight: 700;
	font-size: 0.88rem;
	letter-spacing: 0.02em;
}
table.data-table tr:last-child td { border-bottom: 0; }
table.data-table tr:nth-child(even) td { background: #f8fbf9; }
table.data-table td:first-child { font-weight: 600; color: var(--ink); }

/* FAQ-Akkordeon */
.faq details {
	border: 1px solid var(--border);
	border-radius: 12px;
	margin-bottom: 12px;
	background: var(--card);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	transition: border-color 0.15s ease;
}
.faq details[open] { border-color: var(--green-500); }
.faq summary {
	cursor: pointer;
	padding: 16px 20px;
	font-weight: 700;
	color: var(--navy-900);
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--green-800); }
.faq summary::after {
	content: "+";
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--green-50);
	color: var(--green-700);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.faq details[open] summary::after { content: "+"; transform: rotate(45deg); background: var(--green-600); color: #fff; }
.faq details > div { padding: 0 20px 18px; color: var(--body); }

/* Hinweis-Box */
.note-box {
	border-left: 5px solid var(--green-600);
	background: linear-gradient(90deg, var(--green-50), #f4fbf7);
	padding: 16px 20px;
	border-radius: 0 12px 12px 0;
	margin: 1.5em 0;
	box-shadow: var(--shadow-sm);
}
.note-box strong { color: var(--navy-900); }
.note-box--amber {
	border-left-color: var(--amber-500);
	background: linear-gradient(90deg, #fffbeb, #fffdf5);
}

/* Stand-Zeile */
p.stand {
	display: inline-block;
	font-size: 0.82rem;
	color: var(--muted);
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 5px 14px;
	margin-bottom: 14px;
}
p.stand strong { color: var(--green-700); }

/* German flag scrollbar */
::-webkit-scrollbar { width: 12px; height: 10px; }
::-webkit-scrollbar-track { background: #eef2f0; }
::-webkit-scrollbar-thumb {
	background: linear-gradient(to bottom, #111 0%, #111 33.33%, #DD0000 33.33%, #DD0000 66.66%, #FFCE00 66.66%, #FFCE00 100%);
	border-radius: 8px;
	border: 2px solid #eef2f0;
}
::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(to bottom, #000 0%, #000 33.33%, #c00000 33.33%, #c00000 66.66%, #f5b800 66.66%, #f5b800 100%);
}
* { scrollbar-width: thin; scrollbar-color: #DD0000 #eef2f0; }

/* Calculator page images */
.calc-figure { margin: 24px auto; max-width: 800px; text-align: center; }
.calc-figure img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 8px 28px rgba(6, 78, 59, 0.14); }
