/* 1L Capital — presentation draft.
 * Light, calm palette; 18px base type and AA+ contrast for an audience 40+. */

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-latin-ext-standard-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--paper: #f7f5f0;
	--surface: #ffffff;
	--tint: #edf2f1;
	--ink: #17222c;
	--ink-soft: #46535f;
	--line: #d9d3c7;
	--line-soft: #e8e3d9;
	--brand: #1d4b57;
	--brand-dark: #133640;
	--brand-soft: #dfe9e8;
	--brass: #8a5d1c;
	--brass-light: #d9b779;
	--success: #2c6a45;
	--danger: #a3322a;
	--focus: #c27a12;

	--serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	--sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--container: 72rem;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--section: clamp(3.5rem, 8vw, 6.5rem);
	--radius: 4px;
}

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

html {
	font-size: 112.5%; /* 18px */
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 6rem;
}
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1rem;
	line-height: 1.65;
	font-variant-numeric: lining-nums;
	text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

/* Components set their own display (e.g. .btn: inline-flex); the hidden
   attribute must still win, otherwise JS-toggled elements show up. */
[hidden] { display: none !important; }

h1, h2, h3 {
	font-family: var(--serif);
	font-weight: 400;
	line-height: 1.18;
	letter-spacing: -0.005em;
	color: var(--ink);
	margin: 0;
	text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 2rem + 2.2vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 1.4rem + 1vw, 2.25rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
	color: var(--brand);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}
a:hover { color: var(--brand-dark); text-decoration-thickness: 2px; }

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

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

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

.skip-link {
	position: absolute;
	left: 1rem; top: -4rem;
	z-index: 100;
	padding: 0.75rem 1.25rem;
	background: var(--brand);
	color: #fff;
}
.skip-link:focus { top: 1rem; }

.demo-bar {
	background: #fbf0d5;
	color: #5b4205;
	border-bottom: 1px solid #ecd9a8;
	font-size: 0.8rem;
	text-align: center;
	padding: 0.4rem var(--gutter);
	letter-spacing: 0.02em;
}

.eyebrow {
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--brass);
	margin-bottom: 1.25rem;
}

.lead {
	font-size: 1.2rem;
	color: var(--ink-soft);
	max-width: 38em;
}

.muted { color: var(--ink-soft); }

.fineprint {
	font-size: 0.85rem;
	color: var(--ink-soft);
	margin-top: 1rem;
}

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 3.25rem;
	padding: 0.75rem 1.6rem;
	border: 2px solid transparent;
	border-radius: var(--radius);
	font: 600 1rem/1.2 var(--sans);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--secondary { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--secondary:hover { background: var(--brand); color: #fff; }
.btn--small { min-height: 2.75rem; padding: 0.5rem 1.1rem; font-size: 0.95rem; }

.link-arrow {
	font-weight: 600;
	text-decoration: none;
}
.link-arrow::after { content: " →"; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
	display: flex;
	align-items: center;
	gap: 2rem;
	min-height: 5rem;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	color: var(--ink);
	text-decoration: none;
	min-width: 0;
}
.brand:hover { color: var(--ink); }
.brand__mark { height: 4.5rem; width: auto; flex: none; }
/* Full logo: on the dark footer the wordmark needs light colours. */
.brand--footer .brand__word { fill: #fff; }
.brand--footer .brand__word-suffix { fill: #ECD9A8; stroke: none; }

/* Top contact bar */
.topbar {
	background: var(--brand-dark);
	color: #d7e3e1;
	font-size: 0.85rem;
}
.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	min-height: 2.6rem;
}
.topbar__claim { margin: 0; }
.topbar__contact {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.topbar__label { color: #a9c0bd; margin-right: 0.4rem; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar__hours { color: #a9c0bd; }

.main-nav {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	margin-left: auto;
}
.main-nav__list {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.main-nav__link {
	display: inline-block;
	padding: 0.5rem 0;
	color: var(--ink);
	font-weight: 500;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	white-space: nowrap;
}
.main-nav__link:hover { border-bottom-color: var(--line); color: var(--ink); }
.main-nav__link[aria-current="page"],
.main-nav__link.is-active { border-bottom-color: var(--brass); }
.btn--depot svg { flex: none; }

/* Leistungen dropdown */
.has-submenu { position: relative; display: flex; align-items: center; gap: 0.15rem; }
.submenu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2.5rem;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ink);
	cursor: pointer;
}
.submenu-toggle svg { transition: transform 0.15s; }
.submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu {
	position: absolute;
	top: calc(100% + 0.9rem);
	left: 50%;
	z-index: 60;
	width: min(52rem, calc(100vw - 2rem));
	padding: 1.25rem 0 0;
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 3px solid var(--brand);
	border-radius: var(--radius);
	box-shadow: 0 24px 48px -24px rgba(23, 34, 44, 0.35);
	visibility: hidden;
	opacity: 0;
	transform: translate(-50%, -4px);
	transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.is-open .submenu { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.js .has-submenu:not(.is-open):not(:hover) .submenu { visibility: hidden; opacity: 0; }
.submenu__groups { display: grid; grid-template-columns: repeat(3, 1fr); }
.submenu__group { padding: 0 1.25rem 1rem; }
.submenu__group + .submenu__group { border-left: 1px solid var(--line-soft); }
.submenu__title {
	margin: 0 0 0.5rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--line-soft);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--brass);
}
.submenu ul { list-style: none; margin: 0; padding: 0; }
.submenu li a {
	display: flex;
	flex-direction: column;
	padding: 0.6rem 0.5rem;
	margin: 0 -0.5rem;
	border-radius: var(--radius);
	color: var(--ink);
	text-decoration: none;
}
.submenu li a:hover,
.submenu li a[aria-current="page"] { background: var(--tint); }
.submenu li a span { font-weight: 600; }
.submenu li a small { color: var(--ink-soft); font-size: 0.85rem; }
.submenu__all {
	display: flex;
	justify-content: space-between;
	padding: 0.9rem 1.25rem;
	border-top: 1px solid var(--line-soft);
	background: #faf9f6;
	font-weight: 600;
	text-decoration: none;
}

.nav-toggle {
	display: none;
	margin-left: auto;
	align-items: center;
	gap: 0.6rem;
	min-height: 2.75rem;
	padding: 0.5rem 0.9rem;
	background: none;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font: 600 0.95rem var(--sans);
	color: var(--ink);
	cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 1.1rem;
	height: 2px;
	background: currentColor;
	position: relative;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

@media (max-width: 1100px) {
	.js .nav-toggle { display: inline-flex; }
	/* Wide full logo: step it down next to the menu toggle. */
	.brand__mark { height: 3.5rem; }
	.js .main-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
		padding: 1rem var(--gutter) 1.5rem;
		background: var(--surface);
		border-bottom: 1px solid var(--line);
	}
	.js .main-nav.is-open { display: flex; max-height: calc(100vh - 6rem); overflow-y: auto; }
	.main-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav__link {
		display: block;
		padding: 0.85rem 0;
		border-bottom: 1px solid var(--line-soft);
	}
	.main-nav__link[aria-current="page"],
	.main-nav__link.is-active { border-bottom-color: var(--line-soft); color: var(--brand); font-weight: 700; }
	.has-submenu { flex-wrap: wrap; }
	.has-submenu > .main-nav__link { flex: 1; }
	.submenu-toggle { display: none; }
	.submenu,
	.js .has-submenu:not(.is-open):not(:hover) .submenu {
		position: static;
		width: 100%;
		visibility: visible;
		opacity: 1;
		transform: none;
		border: 0;
		box-shadow: none;
		padding: 0.25rem 0 0.5rem 1rem;
	}
	.has-submenu:hover .submenu,
	.has-submenu:focus-within .submenu,
	.has-submenu.is-open .submenu { transform: none; }
	.submenu__groups { grid-template-columns: 1fr; }
	.submenu__group { padding: 0.5rem 0 0; }
	.submenu__group + .submenu__group { border-left: 0; }
	.submenu__all { display: none; }
	.site-header__inner { flex-wrap: wrap; }
	html:not(.js) .main-nav { width: 100%; flex-wrap: wrap; margin-left: 0; padding-bottom: 1rem; }
	html:not(.js) .main-nav__list { flex-direction: row; flex-wrap: wrap; gap: 0 1.25rem; }
	.topbar__claim { display: none; }
}

/* ---------- Hero ---------- */

.hero {
	padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 6vw, 4.5rem);
}
.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 4.5fr);
	gap: clamp(2.5rem, 6vw, 5rem);
	align-items: center;
}
.hero h1 { margin-bottom: 1.5rem; max-width: 14em; }
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2.25rem;
}

.rate-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 4px solid var(--brand);
	border-radius: var(--radius);
	padding: 1.75rem 1.75rem 1.4rem;
	box-shadow: 0 18px 40px -28px rgba(23, 34, 44, 0.35);
}
.rate-card__title {
	font-size: 1.15rem;
	margin-bottom: 0.75rem;
}
.rate-card__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.rate-card__list li {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	padding: 0.8rem 0;
	border-bottom: 1px solid var(--line-soft);
}
.rate-card__list strong {
	font-family: var(--serif);
	font-size: 1.6rem;
	font-weight: 400;
	font-variant-numeric: tabular-nums;
	color: var(--brand);
}
.rate-card__variable span { color: var(--ink-soft); }
.rate-card__variable strong { font-size: 1.3rem; color: var(--ink); }
.rate-card__foot {
	margin: 0.9rem 0 0;
	font-size: 0.82rem;
	color: var(--ink-soft);
}

.approach-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 4px solid var(--brand);
	border-radius: var(--radius);
	padding: 1.75rem;
	box-shadow: 0 18px 40px -28px rgba(23, 34, 44, 0.35);
}
.approach-card__title { font-size: 1.3rem; margin-bottom: 0.5rem; }
.approach-card__intro { color: var(--ink-soft); font-size: 0.95rem; }
.approach-card__list { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.approach-card__list li { padding: 0.9rem 0; border-top: 1px solid var(--line-soft); }
.approach-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.approach-card__row strong { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; }
.approach-card__row span { font-size: 0.85rem; color: var(--ink-soft); }
.approach-card__goal { display: block; margin-top: 0.4rem; font-size: 0.9rem; color: var(--ink-soft); }

/* Allocation bars (strategies) */
.alloc { display: block; width: 100%; height: 0.75rem; margin: 1rem 0 0.75rem; border-radius: 2px; overflow: hidden; }
.alloc--thin { height: 0.45rem; margin: 0.55rem 0 0; }
.alloc--a1 { fill: #8fb3b0; background: #8fb3b0; }
.alloc--a2 { fill: #1d4b57; background: #1d4b57; }
.alloc--a3 { fill: #c99a4e; background: #c99a4e; }
.alloc--a4 { fill: #5e6f7d; background: #5e6f7d; }
.alloc-legend { display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; list-style: none; margin: 0 0 1rem; padding: 0; font-size: 0.9rem; color: var(--ink-soft); }
.alloc-legend strong { color: var(--ink); font-weight: 600; margin-left: 0.2rem; }
.alloc-legend--compact { margin: 1rem 0 0; font-size: 0.8rem; }
.swatch { display: inline-block; width: 0.7rem; height: 0.7rem; margin-right: 0.4rem; border-radius: 2px; vertical-align: -0.05rem; }

.strategies { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
.strategy {
	display: flex;
	flex-direction: column;
	padding: 1.75rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.strategy h3 { font-size: 1.6rem; }
.strategy__goal { color: var(--brass); font-weight: 600; font-size: 0.95rem; margin: 0.35rem 0 0; }
.strategy > p { color: var(--ink-soft); flex: 1; }
.strategy__meta { margin: 1rem 0 0; border-top: 1px solid var(--line-soft); }
.strategy__meta > div { display: flex; justify-content: space-between; gap: 1rem; padding-top: 0.75rem; }
.strategy__meta dt { color: var(--ink-soft); }
.strategy__meta dd { margin: 0; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; }
.risk { display: inline-flex; gap: 3px; }
.risk i { display: block; width: 0.55rem; height: 0.9rem; background: var(--line); border-radius: 1px; }
.risk i.on { background: var(--brand); }

.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2rem); }
.offer {
	display: flex;
	flex-direction: column;
	padding: 2rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--ink);
	text-decoration: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.offer:hover { color: var(--ink); border-color: var(--brand); box-shadow: 0 18px 40px -30px rgba(23, 34, 44, 0.45); }
.offer h3 { font-size: 1.6rem; margin-bottom: 0.75rem; }
.offer p { color: var(--ink-soft); flex: 1; }
.offer dl { display: flex; gap: 2.5rem; margin: 1.25rem 0; padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.offer dt { font-size: 0.8rem; color: var(--ink-soft); }
.offer dd { margin: 0; font-family: var(--serif); font-size: 1.35rem; color: var(--brand); }
.offer .link-arrow { color: var(--brand); }

.offer__hint {
	margin: 0 0 0.4rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--brass);
}
.offer .offer__hint { flex: none; }

.section.section--compact { padding-block: 1.75rem; }
.jump-nav { background: var(--surface); border-bottom: 1px solid var(--line-soft); }
.jump-nav ul { display: flex; flex-wrap: wrap; gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.jump-nav a {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 2.75rem;
	padding: 0.4rem 1.1rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}
.jump-nav a:hover { border-color: var(--brand); color: var(--brand); }
.jump-nav a span {
	display: inline-grid;
	place-items: center;
	min-width: 1.6rem;
	height: 1.6rem;
	border-radius: 999px;
	background: var(--brand-soft);
	color: var(--brand-dark);
	font-size: 0.8rem;
}

.note--wide { max-width: 52rem; }
.office { font-style: normal; }
.office + .office { margin-top: 1rem; }
.tag.tag--placeholder { margin-left: 0.3rem; background: #fbf0d5; color: #5b4205; }
.site-footer .office strong { color: #fff; font-weight: 600; }
.office__icon { display: inline-block; width: 14px; height: 14px; margin-right: 0.3rem; vertical-align: -2px; color: var(--brass); }
.keyfacts--stacked dd .office { color: var(--ink-soft); }
.section__more { margin-top: 2.5rem; }
.facts__list.facts__list--3 { grid-template-columns: repeat(3, 1fr); }

.bank-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
.bank {
	padding: 1.75rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-left: 4px solid var(--brand);
	border-radius: var(--radius);
}
.bank__head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.75rem; }
.bank h3 { font-size: 1.5rem; }
.bank dl { margin: 0; }
.bank dl > div { display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; padding: 0.6rem 0; border-top: 1px solid var(--line-soft); }
.bank dt { color: var(--ink-soft); }
.bank dd { margin: 0; font-weight: 500; }

.prose--lead p { font-size: 1.1rem; }
.numbered { padding-left: 1.4rem; }
.numbered li { margin-bottom: 0.6rem; padding-left: 0.3rem; }
.keyfacts dt .swatch { margin-right: 0.6rem; }

/* ---------- Facts strip ---------- */

.facts {
	background: var(--surface);
	border-block: 1px solid var(--line-soft);
}
.facts__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin: 0;
}
.facts__list > div {
	padding: 1.4rem 1.5rem 1.4rem 0;
}
.facts__list > div + div {
	padding-left: 1.5rem;
	border-left: 1px solid var(--line-soft);
}
.facts dt {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
.facts dd {
	margin: 0.25rem 0 0;
	font-weight: 500;
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section--tinted { background: var(--tint); }
.section--rule { border-top: 1px solid var(--line-soft); }

.section__head {
	max-width: 44rem;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section__head h2 { margin-bottom: 0.9rem; }
.section__head p { color: var(--ink-soft); font-size: 1.08rem; }

.split {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: clamp(2rem, 6vw, 5rem);
	align-items: start;
}
.split__aside h2 { margin-bottom: 1rem; }
.split__aside p { color: var(--ink-soft); }

/* ---------- Rate table ---------- */

.segmented {
	display: inline-flex;
	padding: 0.25rem;
	margin-bottom: 1.25rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 999px;
}
.segmented button {
	min-height: 2.75rem;
	padding: 0.4rem 1.3rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--ink);
	font: 600 0.95rem var(--sans);
	cursor: pointer;
}
.segmented button[aria-pressed="true"] { background: var(--brand); color: #fff; }

.table-scroll {
	overflow-x: auto;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.rates,
.compare {
	width: 100%;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
}
.rates th,
.rates td,
.compare th,
.compare td {
	padding: 1rem 1.25rem;
	text-align: left;
	vertical-align: middle;
	border-bottom: 1px solid var(--line-soft);
}
.rates thead th,
.compare thead th {
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-soft);
	background: #faf9f6;
	white-space: nowrap;
}
.rates tbody th { font-weight: 600; white-space: nowrap; }
.rates .num { text-align: right; white-space: nowrap; }
.rates__rate {
	font-family: var(--serif);
	font-size: 1.35rem;
	color: var(--brand);
}
.rates__protection { font-size: 0.9rem; color: var(--ink-soft); min-width: 14rem; }
.rates td:nth-child(4) { white-space: nowrap; }
.rates__group th {
	background: var(--paper);
	font-family: var(--serif);
	font-size: 1.05rem;
	font-weight: 400;
	color: var(--ink);
	padding-block: 0.6rem;
}
.rates tr.is-best { background: #f5f9f8; }
.rates tbody tr:last-child th,
.rates tbody tr:last-child td { border-bottom: 0; }
.rates tbody + tbody tr.rates__group th { border-top: 1px solid var(--line); }
.js .rate-table[data-has-switch] .rates__group { display: none; }

/* ---------- Sitemap page (/sitemap/) ---------- */
.sitemap { max-width: 60rem; }
.sitemap__note {
	margin: 0 0 1.25rem;
	padding: 0.9rem 1.2rem;
	background: var(--surface);
	border: 1px solid var(--line-soft);
	border-left: 4px solid var(--brass-light);
	border-radius: var(--radius);
	color: var(--ink-soft);
}
.sitemap__meta { margin: 0 0 0.75rem; color: var(--ink-soft); }
.sitemap-table thead th { background: var(--brand); color: #fff; }
.sitemap-table tbody tr:nth-child(even) { background: var(--tint); }
.sitemap-table tbody tr:hover { background: #edf2f1; }
.sitemap-table a { font-weight: 600; }
.sitemap__path { color: var(--ink-soft); word-break: break-all; }

.tag {
	display: inline-block;
	margin-left: 0.5rem;
	padding: 0.1rem 0.5rem;
	border-radius: 999px;
	background: var(--brand-soft);
	color: var(--brand-dark);
	font: 600 0.72rem/1.6 var(--sans);
	letter-spacing: 0.03em;
	vertical-align: middle;
}

.compare th[scope="row"] { font-weight: 600; width: 34%; }
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }

/* ---------- Offer comparison (Festgeld / Tagesgeld) ---------- */

.compare-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 1.25rem 1.75rem;
	padding: 1.4rem 1.6rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 10px 30px -24px rgba(23, 34, 44, 0.4);
}
.compare-bar__field { display: flex; flex-direction: column; gap: 0.45rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.compare-bar__field > label,
.compare-bar__field > legend {
	padding: 0;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
.compare-bar__amount { flex: 0 1 13rem; }
.compare-bar__terms { flex: 1 1 22rem; }
.compare-bar select {
	min-height: 3rem;
	padding: 0.5rem 0.8rem;
	border: 1.5px solid #b9b2a5;
	border-radius: var(--radius);
	background: #fff;
	font: 1rem var(--sans);
	color: var(--ink);
}
.js .compare-bar__submit { display: none; }
.input-suffix { display: flex; align-items: stretch; border: 1.5px solid #b9b2a5; border-radius: var(--radius); background: #fff; }
.input-suffix:focus-within { border-color: var(--brand); outline: 3px solid rgba(29, 75, 87, 0.2); }
.input-suffix input { flex: 1; min-width: 0; min-height: 3rem; padding: 0.5rem 0.8rem; border: 0; background: transparent; font: 600 1.15rem var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); outline: 0; }
.input-suffix span { display: flex; align-items: center; padding: 0 0.85rem; border-left: 1px solid var(--line-soft); color: var(--ink-soft); font-weight: 600; }
.input-suffix:has(input[aria-invalid="true"]) { border-color: var(--danger); }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.35rem 0.95rem;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	background: #fff;
	font-weight: 600;
	font-size: 0.95rem;
	white-space: nowrap;
}
.chip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.chip input:disabled + span { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }
.chip:hover input:not(:checked):not(:disabled) + span { border-color: var(--brand); }

/* Amount presets under the input: links (work without JS), pill style. */
.compare-amount-presets { gap: 0.3rem; }
.amount-preset {
	display: inline-flex;
	align-items: center;
	min-height: 2.1rem;
	padding: 0.1rem 0.7rem;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	background: #fff;
	font-weight: 600;
	font-size: 0.85rem;
	white-space: nowrap;
	color: var(--ink);
	text-decoration: none;
	font-variant-numeric: tabular-nums;
}
.amount-preset:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.amount-preset.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.amount-preset:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.compare-summary { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; margin: 1.5rem 0 0.9rem; }
.compare-summary p { margin: 0; }
.compare-summary__count { color: var(--ink-soft); }
.compare-summary__count strong { color: var(--ink); font-size: 1.15rem; }
.compare-summary__error { color: var(--danger); font-weight: 600; }

.offer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.deal {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: border-color 0.15s, box-shadow 0.15s;
}
.deal:hover { border-color: #b7c9c8; box-shadow: 0 14px 34px -26px rgba(23, 34, 44, 0.45); }
.deal__main {
	display: grid;
	/* minmax(0, …) lets every column shrink, so a card never overflows the container. */
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.95fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.15fr) auto;
	align-items: center;
	gap: 1.25rem 1.5rem;
	padding: 1.35rem 1.6rem;
}
.deal__bank { display: flex; align-items: center; gap: 0.9rem; min-width: 0; }
.bank-mark {
	display: grid;
	place-items: center;
	flex: none;
	width: 3.1rem;
	height: 3.1rem;
	border-radius: 8px;
	font: 600 1.05rem var(--serif);
	letter-spacing: 0.02em;
	color: #fff;
}
.bank-mark--1 { background: #1d4b57; }
.bank-mark--2 { background: #8a5d1c; }
.bank-mark--3 { background: #3e5f4a; }
.bank-mark--4 { background: #5e6f7d; }
.deal__bank p { margin: 0; }
.deal__bank-name { font-weight: 600; font-size: 1.05rem; }
.deal__bank-country { font-size: 0.85rem; color: var(--ink-soft); }
.deal__badges { margin-top: 0.35rem !important; }
.badge--top { display: inline-block; padding: 0.15rem 0.55rem; border-radius: 999px; background: #e6f1e9; color: #23593a; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em; }
.deal__label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.deal__rate strong,
.deal__yield strong { display: block; font-family: var(--serif); font-weight: 400; font-variant-numeric: tabular-nums; line-height: 1.15; margin: 0.15rem 0; }
.deal__rate strong { font-size: 2rem; color: var(--brand); }
.deal__yield strong { font-size: 1.45rem; }
.deal__note { display: block; font-size: 0.85rem; color: var(--ink-soft); }
.deal__facts { margin: 0; display: grid; gap: 0.55rem; font-size: 0.92rem; }
/* Label above value (like the rate/yield columns): long values such as
   "täglich verfügbar" wrap cleanly instead of breaking the row layout. */
.deal__facts div { display: grid; gap: 0.1rem; }
.deal__facts dt {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
.deal__facts dd { margin: 0; font-weight: 600; }
.deal__protection { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.88rem; color: var(--ink-soft); }
.deal__protection svg { flex: none; color: var(--success); margin-top: 0.1rem; }
.deal__cta .btn { white-space: nowrap; }
.deal.is-ineligible .deal__rate strong,
.deal.is-ineligible .deal__yield strong { color: var(--ink-soft); }
.deal.is-ineligible .deal__yield .deal__note { color: var(--danger); font-weight: 600; }

.bank-logo {
	display: grid;
	place-items: center;
	flex: none;
	width: 3.4rem;
	height: 3.4rem;
	border: 1px solid var(--line-soft);
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}
.bank-logo img { width: 100%; height: 100%; object-fit: contain; padding: 0.3rem; }
.flag { display: inline-block; vertical-align: -0.12em; margin-right: 0.3rem; border-radius: 2px; box-shadow: 0 0 0 1px rgba(23, 34, 44, 0.12); }

/* Institution logo strip (Einlagensicherung/Aufsicht) on "Über uns": without
   JavaScript a plain horizontally scrollable row; with JavaScript app.js
   duplicates the track and steps it one logo at a time. */
.logo-marquee { overflow-x: auto; overflow-y: hidden; }
.logo-marquee__track { display: flex; align-items: center; gap: 1.5rem; width: max-content; margin: 0; padding: 0.25rem 0; list-style: none; }
.logo-marquee__item { flex: none; }
.logo-marquee .bank-logo { width: 7rem; height: 4.5rem; }
html.js .logo-marquee { overflow-x: hidden; touch-action: pan-y; user-select: none; cursor: grab; }
html.js .logo-marquee.is-dragging { cursor: grabbing; }
html.js .logo-marquee__track { will-change: transform; }

/* Offer details: icon tiles with clear label / value / note hierarchy */
.deal-details { padding: 1.1rem 1.6rem 1.5rem; background: linear-gradient(#f7faf9, #fbfaf7); border-radius: 0 0 var(--radius) var(--radius); }
.deal-details__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); gap: 0.75rem; }
.deal-details__grid li {
	display: flex;
	gap: 0.8rem;
	align-items: flex-start;
	padding: 0.95rem 1rem;
	background: var(--surface);
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
}
.deal-details__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 2.3rem;
	height: 2.3rem;
	border-radius: 50%;
	background: var(--brand-soft);
	color: var(--brand);
}
.deal-details__label { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-soft); }
.deal-details__value { display: block; margin-top: 0.15rem; font-family: var(--serif); font-size: 1.12rem; line-height: 1.3; color: var(--ink); }
.deal-details__note { display: block; margin-top: 0.25rem; font-size: 0.85rem; line-height: 1.45; color: var(--ink-soft); }
.deal-details__protect {
	display: flex;
	gap: 0.8rem;
	align-items: flex-start;
	margin-top: 0.75rem;
	padding: 0.95rem 1rem;
	border: 1px solid #cfe3d6;
	border-left: 4px solid var(--success);
	border-radius: var(--radius);
	background: #f3f9f5;
}
.deal-details__protect svg { flex: none; color: var(--success); margin-top: 0.1rem; }
.deal-details__protect .flag { margin-left: 0.15rem; }
.deal-details__example {
	margin: 0.75rem 0 0;
	padding: 0.8rem 1rem;
	border-radius: var(--radius);
	background: #fbf3e2;
	color: #5b4205;
	font-size: 0.95rem;
}

.deal__details { border-top: 1px solid var(--line-soft); }
.deal__details summary {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.7rem 1.6rem;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--brand);
	cursor: pointer;
	list-style: none;
}
.deal__details summary::-webkit-details-marker { display: none; }
.deal__details summary::after { content: "▾"; transition: transform 0.15s; }
.deal__details[open] summary::after { transform: rotate(180deg); }
.deal__details[open] summary { border-bottom: 1px solid var(--line-soft); background: #f7faf9; }
.compare-empty { padding: 1.5rem; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--ink-soft); }

.rate-compare--compact .deal__main { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.25fr) auto; }
.rate-compare--compact .deal__facts { display: none; }

@media (max-width: 1180px) {
	.deal__main,
	.rate-compare--compact .deal__main { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); }
	.deal__bank { grid-column: 1 / -1; }
	.deal__facts, .deal__protection { grid-column: span 1; }
	.deal__cta { grid-column: 1 / -1; }
	.deal__cta .btn { width: 100%; }
}
@media (max-width: 640px) {
	.compare-bar { padding: 1.1rem; }
	.compare-bar__amount, .compare-bar__terms, .compare-bar__field { flex: 1 1 100%; }
	.deal__main,
	.rate-compare--compact .deal__main { grid-template-columns: 1fr 1fr; padding: 1.1rem; gap: 1rem; }
	.deal__facts, .deal__protection { grid-column: 1 / -1; }
	.deal__rate strong { font-size: 1.7rem; }
	.deal-details { padding: 0.25rem 1.1rem 1.1rem; }
	.deal__details summary { padding: 0.7rem 1.1rem; }
}

/* ---------- Forms ---------- */

.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.field label { font-weight: 600; }
.field .optional { font-weight: 400; color: var(--ink-soft); font-size: 0.9rem; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="password"],
.field select,
.field textarea {
	width: 100%;
	min-height: 3.25rem;
	padding: 0.7rem 0.9rem;
	border: 1.5px solid #b9b2a5;
	border-radius: var(--radius);
	background: #fff;
	color: var(--ink);
	font: 1.05rem/1.4 var(--sans);
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--brand); outline: 3px solid rgba(29, 75, 87, 0.2); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: 0.92rem; margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.field--check {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.4rem 0.8rem;
	align-items: start;
}
.field--check input { width: 1.4rem; height: 1.4rem; margin: 0.2rem 0 0; accent-color: var(--brand); }
.field--check label { font-weight: 400; }
.field--check .field__error { grid-column: 2; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.notice {
	padding: 1.25rem 1.5rem;
	border-left: 4px solid;
	border-radius: var(--radius);
	margin-bottom: 1.5rem;
	background: var(--surface);
}
.notice h2 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.notice--success { border-color: var(--success); }
.notice--error { border-color: var(--danger); color: var(--danger); }

/* ---------- Steps ---------- */

.steps {
	counter-reset: step;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.steps li {
	counter-increment: step;
	padding-top: 1.25rem;
	border-top: 2px solid var(--brand);
}
.steps li::before {
	content: counter(step, decimal-leading-zero);
	display: block;
	font-family: var(--serif);
	font-size: 1.1rem;
	color: var(--brass);
	margin-bottom: 0.6rem;
}
.steps h3 { margin-bottom: 0.6rem; }
.steps p { color: var(--ink-soft); }

/* ---------- Services / pillars ---------- */

.services {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1.5rem, 3vw, 2.5rem);
}
.service {
	display: flex;
	flex-direction: column;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}
.service h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.service h3 a { color: var(--ink); text-decoration: none; }
.service h3 a:hover { color: var(--brand); }
.service__key {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--brass);
	margin-bottom: 0.9rem;
}
.service p:not(.service__key) { color: var(--ink-soft); flex: 1; }
.service .link-arrow { margin-top: 1rem; }

.pillars { display: grid; gap: 2rem; }
.pillar { padding-left: 1.5rem; border-left: 3px solid var(--brass-light); }
.pillar h3 { margin-bottom: 0.4rem; }
.pillar p { color: var(--ink-soft); }

/* ---------- Team (Über uns) ---------- */

.team {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1.5rem, 3vw, 2.5rem);
}
.team__member {
	background: var(--surface);
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	padding: 1.5rem;
}
.team__monogram {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: var(--brand);
	color: #fbfaf7;
	font-family: var(--serif);
	font-size: 1.05rem;
	margin: 0 0 0.9rem;
}
.team__member h3 { margin-bottom: 0.2rem; }
.team__role { color: var(--brand); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.6rem; }
.team__bio { color: var(--ink-soft); font-size: 0.95rem; }
.team__credentials {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	list-style: none;
	margin: 0.9rem 0 0;
	padding: 0;
}
.team__credentials li {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	background: var(--brand-soft);
	border-radius: 999px;
	padding: 0.15rem 0.7rem;
	font-size: 0.78rem;
}
.team__credentials svg { flex: none; color: var(--brand); }

/* ---------- Bars (rate curve) ---------- */

.bars { margin: 0; }
.bars__list {
	display: flex;
	align-items: flex-end;
	gap: clamp(0.5rem, 2vw, 1.5rem);
	height: 17rem;
	list-style: none;
	margin: 0;
	padding: 0 0 0.5rem;
	border-bottom: 1px solid var(--line);
}
.bars__list li {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
}
.bars__value {
	font-family: var(--serif);
	font-variant-numeric: tabular-nums;
	font-size: 1.05rem;
	margin-bottom: 0.4rem;
}
.bars__bar { width: 100%; max-width: 4.5rem; flex: 1; }
.bars__bar rect { fill: var(--brand); }
.bars__list li:last-child .bars__bar rect { fill: var(--brass); }
.bars__label { margin-top: 0.6rem; font-size: 0.85rem; color: var(--ink-soft); white-space: nowrap; }
.bars figcaption { margin-top: 0.9rem; font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.15rem 0;
	font-weight: 600;
	font-size: 1.05rem;
	cursor: pointer;
	list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+";
	flex: none;
	font: 400 1.5rem/1 var(--serif);
	color: var(--brand);
}
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--brand); }
.faq details p { padding: 0 2.5rem 1.4rem 0; color: var(--ink-soft); margin: 0; }
.faq-group + .faq-group { margin-top: 3.5rem; }

/* ---------- Key facts / figures ---------- */

.keyfacts { margin: 0; }
.keyfacts > div {
	display: grid;
	grid-template-columns: minmax(9rem, 2fr) 5fr;
	gap: 1.5rem;
	padding: 1rem 0;
	border-bottom: 1px solid var(--line);
}
.keyfacts > div:first-child { border-top: 1px solid var(--line); }
.keyfacts dt { font-weight: 600; }
.keyfacts dd { margin: 0; color: var(--ink-soft); }
.keyfacts--stacked > div { grid-template-columns: 1fr; gap: 0.15rem; }

.figures {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: 0;
	border-block: 1px solid var(--line);
}
.figures > div { padding: 2rem 1.5rem 2rem 0; }
.figures > div + div { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.figures dt { color: var(--ink-soft); font-size: 0.95rem; }
.figures dd { margin: 0.3rem 0 0; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); }

/* ---------- Prose ---------- */

.prose { max-width: 40rem; }
.prose h2 { font-size: 1.5rem; margin: 2.25rem 0 0.75rem; }
.prose h3 { margin: 2rem 0 0.5rem; }
.prose > :first-child { margin-top: 0; }
.note {
	padding: 1rem 1.25rem;
	background: #fbf3e2;
	border-left: 3px solid var(--brass-light);
	border-radius: var(--radius);
}
.note > p + p { margin-top: 0.75rem; }
.note > p:last-child { margin-bottom: 0; }

/* ---------- Page head ---------- */

.page-head {
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
	background: var(--surface);
	border-bottom: 1px solid var(--line-soft);
}
.page-head h1 { max-width: 18em; margin-bottom: 1.25rem; }
.page-head--center { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
.page-head--center h1,
.page-head--center .lead { margin-inline: auto; }
.page-head--center .hero__actions { justify-content: center; }

.breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	font-size: 0.9rem;
	color: var(--ink-soft);
}
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line); }

/* ---------- Contact ---------- */

.contact {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	gap: clamp(2.5rem, 6vw, 5rem);
}
.contact__aside h2 { font-size: 1.5rem; margin-bottom: 1.25rem; }

/* ---------- CTA ---------- */

.cta {
	background: var(--brand-soft);
	border-top: 1px solid #cddcda;
	padding-block: clamp(3rem, 6vw, 4.5rem);
}
.cta h2 { margin-bottom: 0.75rem; }
.cta p { color: var(--ink-soft); max-width: 36em; }
.cta__inner {
	display: grid;
	grid-template-columns: minmax(0, 3fr) auto;
	gap: 2rem 4rem;
	align-items: center;
}
.cta__actions { display: flex; flex-direction: column; gap: 0.9rem; align-items: flex-start; }
.cta__mail { font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer {
	background: var(--brand-dark);
	color: #c9d8d6;
	padding-block: clamp(3rem, 6vw, 4.5rem) 0;
	font-size: 0.95rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--brass-light); text-decoration: underline; }
.site-footer h2 {
	font-family: var(--sans);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--brass-light);
	margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer address { font-style: normal; color: #e6eeed; line-height: 1.7; }

.site-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
	gap: 2.5rem clamp(2rem, 5vw, 4rem);
	padding-bottom: 2.75rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.brand--footer { color: #fff; }
.brand--footer:hover { color: #fff; text-decoration: none; }
.site-footer__about p { margin-top: 1.25rem; max-width: 30rem; line-height: 1.7; }
.site-footer__phones li {
	display: grid;
	grid-template-columns: 7.5rem 1fr;
	gap: 1rem;
	padding: 0.55rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer__phones span { color: #9fb7b4; }
.site-footer__phones a { font-weight: 600; font-variant-numeric: tabular-nums; word-break: break-word; }
.site-footer__hours { margin-top: 0.9rem; font-size: 0.88rem; color: #9fb7b4; }

.site-footer__nav {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.4fr);
	gap: 2rem;
	padding-block: 2.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.site-footer__nav li { margin-bottom: 0.55rem; }
.site-footer__regulation {
	padding: 1.25rem 1.4rem;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--radius);
	font-size: 0.88rem;
}
.site-footer__regulation p { margin-bottom: 0.5rem; }

.site-footer__notice {
	margin: 0;
	padding-block: 1.75rem;
	max-width: 62rem;
	font-size: 0.82rem;
	line-height: 1.6;
	color: #9fb7b4;
}
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem 2rem;
	padding-block: 1.25rem 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.85rem;
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.linklike {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 0.2em;
	cursor: pointer;
}
.site-footer .linklike { color: #fff; text-decoration: none; }
.site-footer .linklike:hover { color: var(--brass-light); text-decoration: underline; }

/* ---------- Cookie consent ---------- */

.consent {
	position: fixed;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	z-index: 90;
	max-width: 46rem;
	margin-inline: auto;
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 4px solid var(--brand);
	border-radius: var(--radius);
	box-shadow: 0 24px 60px -20px rgba(23, 34, 44, 0.45);
}
.consent__inner { padding: 1.5rem 1.75rem; max-height: calc(100vh - 2rem); overflow-y: auto; }
.consent h2 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.consent p { font-size: 0.95rem; color: var(--ink-soft); }
.consent fieldset { border: 0; margin: 1rem 0 0; padding: 0; }
.consent__option {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.8rem;
	align-items: start;
	padding: 0.8rem 0;
	border-top: 1px solid var(--line-soft);
	font-size: 0.95rem;
}
.consent__option input { width: 1.3rem; height: 1.3rem; margin: 0.15rem 0 0; accent-color: var(--brand); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.consent__actions .btn { flex: 1 1 10rem; min-height: 3rem; }

/* ---------- Märkte & Zinsen ---------- */

.market-status { padding-block: 1.25rem; border-bottom: 1px solid var(--line-soft); }
.market-status__line { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
.status-pill {
	display: inline-block;
	margin-right: 0.6rem;
	padding: 0.15rem 0.6rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--brass);
	background: var(--surface);
}
.status-pill.is-fresh { color: var(--success); border-color: currentColor; }

.figure-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr)); gap: 1rem; }
.figure {
	display: flex;
	flex-direction: column;
	padding: 1.25rem 1.35rem 1.1rem;
	background: var(--surface);
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
}
.figure p { margin: 0; }
.figure__label { font-weight: 600; font-size: 0.95rem; }
.figure__value { font-family: var(--serif); font-size: 2.2rem; line-height: 1.15; margin-top: 0.35rem !important; font-variant-numeric: tabular-nums; }
.figure__meta { color: var(--ink-soft); }
.figure__change { font-size: 0.9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.figure__change--up { color: var(--brass); }
.figure__change--down { color: var(--brand); }
.figure__change--flat { color: var(--ink-soft); }
.figure__change-ref { font-weight: 400; color: var(--ink-soft); }
.figure__note { margin-top: auto !important; padding-top: 0.6rem; font-size: 0.85rem; color: var(--ink-soft); }
.figure--own { background: var(--brand); border-color: var(--brand); color: #fff; }
.figure--own .figure__meta,
.figure--own .figure__note { color: var(--brand-soft); }

.spark { display: block; width: 100%; height: 2.4rem; margin-top: 0.7rem; }
.spark path { fill: none; stroke: var(--brand); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }

.insights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.insight {
	padding: 1.5rem 1.6rem;
	background: var(--surface);
	border: 1px solid var(--line-soft);
	border-top: 4px solid var(--brand);
	border-radius: var(--radius);
}
.insight--good { border-top-color: var(--success); }
.insight--warn { border-top-color: var(--brass); }
.insight__kicker { margin: 0 0 0.35rem; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.insight h3 { font-size: 1.25rem; margin: 0 0 0.6rem; }
.insight__big { margin: 0 0 0.6rem; font-family: var(--serif); font-size: 1.9rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.insight__big small { font-family: var(--sans); font-size: 0.85rem; color: var(--ink-soft); }
.insight p:last-child { margin-bottom: 0; color: var(--ink-soft); }

.split--chart { grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); }
.chart-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.chart-card {
	margin: 0;
	padding: 1.5rem;
	background: var(--surface);
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
}
.chart-card__title { font-size: 1.35rem; margin: 0 0 0.4rem; }
.chart-card__intro { color: var(--ink-soft); font-size: 0.95rem; }
.chart-card figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; margin-top: 0.75rem; font-size: 0.85rem; color: var(--ink-soft); }

/* aspect-ratio reserves the height before the SVG is laid out (no CLS). */
.chart { display: block; width: 100%; height: auto; aspect-ratio: 760 / 300; overflow: visible; }
.chart__grid { stroke: var(--line-soft); stroke-width: 1; }
.chart__zero { stroke: var(--ink-soft); stroke-width: 1; }
.chart__axis { fill: var(--ink-soft); font-family: var(--sans); font-size: 12px; }
.chart__ref { stroke: var(--brass); stroke-width: 1.5; stroke-dasharray: 6 4; }
.chart__ref-label { fill: var(--brass); font-family: var(--sans); font-size: 12px; font-weight: 600; }
.chart__line { fill: none; stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; }
.chart__line--1 { stroke: var(--brand); }
.chart__line--2 { stroke: var(--brass); }
.chart__line--3 { stroke: #7f8b95; stroke-dasharray: 5 3; }
.chart__dot--1 { fill: var(--brand); }
.chart__dot--2 { fill: var(--brass); }
.chart__dot--3 { fill: #7f8b95; }

.chart-legend { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; margin: 0; padding: 0; list-style: none; color: var(--ink); }
.chart-legend li { display: inline-flex; align-items: center; gap: 0.45rem; }
.chart-legend__key { display: inline-block; width: 1.4rem; height: 0; border-top: 3px solid var(--brand); }
.chart-legend__key--2 { border-top-color: var(--brass); }
.chart-legend__key--3 { border-top: 3px dashed #7f8b95; }
.chart-legend__key--ref { border-top: 2px dashed var(--brass); }

.chart-table { margin-top: 1rem; }
.chart-table summary { cursor: pointer; color: var(--brand); font-weight: 600; font-size: 0.95rem; }
.chart-table .table-scroll { margin-top: 0.75rem; }

.market-tables { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.market-block h2 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.market-block > p { color: var(--ink-soft); }
.market-table th,
.market-table td { padding: 0.75rem 0.6rem; }
.market-table thead th { white-space: nowrap; }
.market-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.market-table th[scope="row"] { width: auto; white-space: nowrap; }
.market-tables + .container { margin-top: clamp(2.5rem, 6vw, 4rem); }

.fx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.fx { padding: 1.2rem 1.35rem; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.fx p { margin: 0; }
.fx__pair { font-weight: 600; }
.fx__value { font-family: var(--serif); font-size: 1.9rem; font-variant-numeric: tabular-nums; }
.fx__meta { margin-top: 0.5rem !important; font-size: 0.85rem; color: var(--ink-soft); }

/* Fixed height for the placeholder and the widget: nothing jumps on load. */
.tv-embed { position: relative; height: 34rem; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.tv-embed__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 2rem;
	text-align: center;
	color: var(--ink-soft);
}
.tv-embed__placeholder > svg { color: var(--brand); margin-bottom: 0.75rem; }
.tv-embed__placeholder p { max-width: 34rem; }
.tv-embed__title { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); margin-bottom: 0.4rem; }
.tv-embed__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.5rem; margin-top: 0.75rem; }
.tv-embed__remember { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; }
.tv-embed__remember input { width: 1.2rem; height: 1.2rem; accent-color: var(--brand); }
.tradingview-widget-container { height: calc(100% - 2rem); }
.tradingview-widget-container__widget { height: 100%; }
.tradingview-widget-copyright { padding: 0.4rem 1rem; font-size: 0.85rem; text-align: right; }

.comment-meta { color: var(--ink-soft); }
.market-comment h2 { margin-top: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.market-disclaimer { max-width: 60rem; }

/* ---------- Back to top ---------- */
/* Brand green, fixed bottom right; JS toggles visibility (see app.js). */
.to-top {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 80;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border: none;
	border-radius: 50%;
	background: var(--brand);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 14px 30px -12px rgba(19, 54, 64, 0.55);
	opacity: 0;
	visibility: hidden;
	transform: translateY(0.75rem) scale(0.9);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.to-top:hover { background: var(--brand-dark); }
.to-top:active { transform: translateY(0) scale(0.94); }
.to-top:focus-visible { outline: 3px solid rgba(29, 75, 87, 0.35); outline-offset: 2px; }
.to-top svg { width: 1.15rem; height: 1.15rem; }
@media (prefers-reduced-motion: reduce) {
	.to-top { transition: none; }
}

@media (max-width: 960px) {
	.insights,
	.chart-pair,
	.market-tables,
	.fx-grid { grid-template-columns: 1fr; }
	.tv-embed { height: 30rem; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
	.hero__grid,
	.split,
	.contact,
	.cta__inner { grid-template-columns: 1fr; }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.team { grid-template-columns: repeat(2, 1fr); }
	.services,
	.strategies,
	.offer-grid { grid-template-columns: 1fr; }
	.facts__list { grid-template-columns: repeat(2, 1fr); }
	.facts__list > div:nth-child(3) { padding-left: 0; border-left: 0; }
	.facts__list > div:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.site-footer__about { grid-column: 1 / -1; }
	.site-footer__nav { grid-template-columns: repeat(2, 1fr); }
	.site-footer__regulation { grid-column: 1 / -1; }
	.bank-list,
	.facts__list.facts__list--3 { grid-template-columns: 1fr; }
	.facts__list--3 > div { padding-left: 0 !important; border-left: 0 !important; }
	.facts__list--3 > div + div { border-top: 1px solid var(--line-soft); }
}

@media (max-width: 600px) {
	html { font-size: 106.25%; } /* 17px */
	/* Phones: logo and "Menü" button always share one row; the logo takes
	   the remaining width (ratio kept via height:auto) instead of wrapping. */
	.site-header__inner { flex-wrap: nowrap; min-height: 4rem; gap: 1rem; }
	.brand { flex: 1 1 auto; }
	.brand__mark { height: auto; width: 100%; max-width: 16.5rem; }
	.nav-toggle { flex: none; }
	.steps,
	.team,
	.figures,
	.field-row { grid-template-columns: 1fr; }
	.facts__list { grid-template-columns: 1fr; }
	.facts__list > div,
	.facts__list > div + div { padding: 1rem 0; border-left: 0; }
	.facts__list > div + div { border-top: 1px solid var(--line-soft); }
	.figures > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
	.keyfacts > div { grid-template-columns: 1fr; gap: 0.15rem; }
	.rates th, .rates td { padding: 0.85rem 0.9rem; }
	.bars__list { height: 13rem; }
	.bars__label { font-size: 0.75rem; }
	.hero__actions .btn { width: 100%; }
	.topbar__inner { justify-content: center; padding-block: 0.4rem; }
	.topbar__hours { display: none; }
	.site-footer__top,
	.site-footer__nav { grid-template-columns: 1fr; }
	.site-footer__phones li { grid-template-columns: 6.5rem 1fr; }
	.offer dl { gap: 1.5rem; }
}

@media print {
	.consent, .topbar, .to-top { display: none; }
}

@media print {
	.site-header, .demo-bar, .cta, .nav-toggle { display: none; }
	body { background: #fff; }
}
