.single-post .content-stack {
	max-width: 1120px;
}

.single-post {
	background: #ffffff !important;
	background-image: none !important;
}

.ratgeber-single {
	padding: 2.5rem 0 4rem;
}

.ratgeber-hero {
	display: grid;
	gap: 1.25rem;
}

.ratgeber-hero-main {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.95fr);
	gap: 2rem;
	align-items: start;
}

.ratgeber-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	font-size: 0.95rem;
}

.ratgeber-breadcrumb a {
	color: var(--color-accent, #ffc700);
	text-decoration: none;
}

.ratgeber-breadcrumb span {
	color: var(--color-heading, #1d2551);
}

.ratgeber-title {
	font-size: clamp(2rem, 4.5vw, 3.5rem);
	line-height: 1.08;
	margin: 0;
}

.ratgeber-excerpt {
	margin: 2rem 0 0;
	font-size: 1.125rem;
	line-height: 1.75;
	color: var(--color-heading, #1d2551);
	font-weight: 500;
}

.ratgeber-divider {
	border-top: 1px solid rgba(29, 37, 81, 0.28);
}

.ratgeber-divider-accent {
	width: 6.25rem;
	border-top: 4px solid var(--color-accent, #ffc700);
	margin-top: 1.6rem;
}

.ratgeber-hero-cta p {
	margin: 0 0 0.9rem;
	font-weight: 600;
}

.hero-cta-group {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5rem;
	align-items: flex-start;
	flex-direction: row;
}

.hero-cta-group .btn-primary,
.hero-cta-group .btn-secondary {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	font-size: var(--font-size-body, 1rem);
	font-weight: 600;
	text-decoration: none;
	letter-spacing: 0.01em;
}

.hero-cta-group .btn-primary {
	background: var(--color-accent, #ffc700);
	color: var(--color-heading, #1d2551);
	padding: 1.125rem 2rem;
	border-radius: var(--radius-cta, 999px);
	position: relative;
	overflow: hidden;
	transition: all 0.4s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));
}

.hero-cta-group .btn-primary::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--color-heading, #1d2551);
	transform: translateY(100%);
	transition: transform 0.4s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));
}

.hero-cta-group .btn-primary span,
.hero-cta-group .btn-primary svg {
	position: relative;
	z-index: 1;
}

.hero-cta-group .btn-primary svg,
.hero-cta-group .btn-secondary svg {
	width: 18px;
	height: 18px;
	transition: transform 0.3s ease;
}

.hero-cta-group .btn-primary:hover::before,
.hero-cta-group .btn-primary:focus-visible::before {
	transform: translateY(0);
}

.hero-cta-group .btn-primary:hover,
.hero-cta-group .btn-primary:focus-visible {
	color: #ffffff;
}

.hero-cta-group .btn-primary:hover svg,
.hero-cta-group .btn-primary:focus-visible svg,
.hero-cta-group .btn-secondary:hover svg,
.hero-cta-group .btn-secondary:focus-visible svg {
	transform: translateX(4px);
}

.hero-cta-group .btn-secondary {
	padding: 0.75rem 0;
	color: var(--color-heading, #1d2551);
	border-bottom: 1px solid rgba(29, 37, 81, 0.15);
	transition: all 0.3s ease;
}

.hero-cta-group .btn-secondary svg {
	width: 16px;
	height: 16px;
}

.hero-cta-group .btn-secondary:hover,
.hero-cta-group .btn-secondary:focus-visible {
	border-color: var(--color-accent, #ffc700);
	color: var(--color-heading, #1d2551);
}

.ratgeber-hero-image {
	margin: 0;
	display: flex;
	justify-content: flex-end;
}

.ratgeber-hero-image img {
	max-width: 100%;
	height: auto;
	border-radius: 1.25rem;
}

.ratgeber-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.25rem;
}

.ratgeber-author {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.ratgeber-author img {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
}

.ratgeber-meta-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem 1rem;
	align-items: center;
	font-size: 0.95rem;
	color: var(--color-heading, #1d2551);
	font-weight: 600;
}

.ratgeber-meta-block {
	display: grid;
	gap: 0.35rem;
	justify-items: end;
}

.ratgeber-meta-list span {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.ratgeber-meta-list svg {
	width: 0.58rem;
	height: 0.58rem;
	color: var(--color-accent, #ffc700);
}

.ratgeber-updated {
	font-size: 0.9rem;
	color: rgba(29, 37, 81, 0.86);
}

.ratgeber-featured {
	margin: 2.2rem 0 1.6rem;
}

.ratgeber-featured img {
	width: 100%;
	height: auto;
	border-radius: 1.25rem;
}

.ratgeber-toc {
	padding: 25px 30px 10px 30px;
	background-color: #ffffff;
	border: 1px solid #ddd;
	border-radius: 10px;
	overflow: hidden;
	margin: 50px 0;
}

.ratgeber-toc h2 {
	font-size: 20px;
	font-weight: 700;
	color: #1d2551;
	margin: 0 0 20px 0;
	padding-bottom: 20px;
	border-bottom: 1px solid #ddd;
}

.ratgeber-toc h2::after {
	content: none;
}

.ratgeber-toc ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ratgeber-toc li {
	margin: 0;
	padding-left: 1.8em;
	margin-bottom: 0.9em;
	font-size: 16px;
	line-height: 1.5 !important;
	position: relative;
}

.ratgeber-toc a {
	text-decoration: none !important;
	color: #1d2551;
	font-weight: 600 !important;
	font-size: 18px !important;
	line-height: 1.5;
	display: inline;
}

.ratgeber-toc a::before {
	content: '›';
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 700;
	font-size: 18px;
	color: #ffc700;
	line-height: 1.4;
	text-align: left;
}

.ratgeber-toc li:first-child a,
.ratgeber-toc a:hover {
	color: #ffc700;
}

.ratgeber-content a,
.ratgeber-content .auflistung-check a {
	font-weight: 600 !important;
	color: #1d2551 !important;
	text-decoration: underline !important;
	text-decoration-thickness: 2px !important;
	text-underline-offset: 6px !important;
	text-decoration-color: #ffc700 !important;
}

.ratgeber-content {
	font-size: 1.125rem;
	line-height: 1.85;
	max-width: 850px;
}

.ratgeber-content p,
.ratgeber-content li {
	font-size: inherit;
	line-height: inherit;
}

.ratgeber-content li {
	margin-bottom: 12px;
}

.ratgeber-content ul {
	list-style: none;
	padding-left: 0;
	margin: 0 0 1.1rem;
}

.ratgeber-content ul li {
	position: relative;
	padding-left: 1.6rem;
}

.ratgeber-content ul li::before {
	content: '✓';
	color: #ffc700;
	font-weight: 600;
	position: absolute;
	left: 0;
	top: 0.05em;
}

.ratgeber-content ol {
	counter-reset: ratgeber-item;
	list-style: none;
	padding-left: 0;
	margin: 0 0 1.1rem;
}

.ratgeber-content ol li {
	counter-increment: ratgeber-item;
	position: relative;
	padding-left: 2.5em;
}

.ratgeber-content ol li::before {
	content: counter(ratgeber-item) '.';
	color: #ffc700;
	position: absolute;
	left: 0;
	top: 0;
	width: 2em;
	text-align: right;
	font-weight: 600;
}

.ratgeber-content h2 {
	font-size: clamp(1.6rem, 2.2vw, 2.15rem);
	line-height: 1.2;
	margin-top: 2.2rem;
}

.ratgeber-content h3 {
	font-size: clamp(1.3rem, 1.8vw, 1.65rem);
	line-height: 1.25;
	margin-top: 1.5rem;
}

.ratgeber-content blockquote {
	margin: 20px 0 30px 0;
	padding: 0 20px 0 20px;
	border-style: solid;
	border-width: 0 0 0 4px;
	border-color: #ffc700;
}

.ratgeber-content p:has(> em:only-child),
.ratgeber-content p:has(> strong > em:only-child),
.ratgeber-content p:has(> em > strong:only-child) {
	margin: 20px 0 30px 0;
	padding: 0 20px 0 20px;
	border-style: solid;
	border-width: 0 0 0 4px;
	border-color: #ffc700;
}

.ratgeber-content p:has(> em:only-child) > em:only-child,
.ratgeber-content p:has(> strong > em:only-child) > strong > em:only-child,
.ratgeber-content p:has(> em > strong:only-child) > em > strong:only-child {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
}

.ratgeber-content .infobox,
.ratgeber-content .ratgeber-infobox {
	background: #f6f7fb;
	padding: 1rem 1.25rem;
	border-radius: 0.95rem;
	margin: 1.2rem 0 1.6rem;
}

.ratgeber-content .table-container {
	overflow-x: auto;
	border: 1px solid rgba(29, 37, 81, 0.16);
	border-radius: 1rem;
	margin: 1.5rem 0;
}

.ratgeber-content .fogel-table {
	width: 100%;
	border-collapse: collapse;
}

.ratgeber-content .fogel-table thead {
	background: var(--color-heading, #1d2551);
	color: #fff;
}

.ratgeber-content .fogel-table th,
.ratgeber-content .fogel-table td {
	padding: 0.95rem 1rem;
	text-align: left;
}

@media (max-width: 768px) {
	.ratgeber-hero-main {
		grid-template-columns: 1fr;
	}

	.ratgeber-hero-image {
		justify-content: flex-start;
	}

	.ratgeber-meta {
		flex-direction: column;
	}

	.ratgeber-meta-block {
		justify-items: start;
	}

	.ratgeber-title {
		hyphens: auto;
		word-break: break-word;
	}

	.ratgeber-toc {
		padding: 20px 18px 8px 18px;
		margin: 36px 0;
	}

	.ratgeber-toc a {
		font-size: 17px !important;
	}
}
