/*
 * Rocket Theme – Grund-Styles. Alle Werte kommen als CSS-Variablen aus den
 * Theme-Einstellungen (inline im <head>). Handy-Menü und Geräte-Regeln ebenfalls dort.
 * (c) rocketsuits – GPL-2.0-or-later
 */

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; font-size: var(--rt-body-size); } /* 1rem = Fließtextgröße */
html.rt-smooth { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html.rt-smooth { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--rt-color-bg);
	color: var(--rt-color-text);
	font-family: var(--rt-font-body);
	font-size: 1rem;
	font-weight: var(--rt-body-weight);
	line-height: var(--rt-body-line);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-wrap: break-word;
}
img, svg, video, iframe { max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, h4, h5, h6 { color: var(--rt-color-heading); margin-top: 0; }
p, ul, ol, dl, blockquote, figure, table, pre { margin: 0 0 var(--rt-text-margin); }
:where(p, ul, ol, dl, blockquote, figure, table, pre):last-child { margin-bottom: 0; }
a { color: var(--rt-color-link); text-underline-offset: 0.15em; transition: color 0.15s ease; }
a:hover { color: var(--rt-color-link-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
	outline: 2px solid var(--rt-color-primary);
	outline-offset: 2px;
}
hr { border: 0; border-top: 1px solid var(--rt-color-border); margin: 2em 0; }
blockquote { border-left: 3px solid var(--rt-color-primary); padding: 0.2em 0 0.2em 1.2em; font-size: 1.1em; }
code, kbd, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; }
pre { background: var(--rt-color-bg-alt); padding: 1em; border-radius: var(--rt-radius); overflow: auto; }
table { border-collapse: collapse; width: 100%; }
th, td { border-bottom: 1px solid var(--rt-color-border); padding: 0.6em 0.8em; text-align: left; }
small, .rt-faded { color: var(--rt-color-faded); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.rt-skip-link:focus {
	clip: auto; clip-path: none; width: auto; height: auto; margin: 0;
	top: 8px; left: 8px; z-index: 100000; padding: 0.8em 1.2em;
	background: var(--rt-color-bg); color: var(--rt-color-text); border-radius: 6px; box-shadow: 0 2px 12px rgb(0 0 0 / 0.2);
}

/* WordPress-Ausrichtungen */
.alignleft { float: left; margin: 0.3em 1.5em 1em 0; }
.alignright { float: right; margin: 0.3em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, figcaption { font-size: 0.875em; color: var(--rt-color-faded); margin-top: 0.4em; }

/* ---------- Seiten-Layout ---------- */
.rt-site { min-height: 100vh; display: flex; flex-direction: column; background: var(--rt-color-bg); overflow-x: clip; } /* Überstehendes am Seitenrand abschneiden (fixierter Header bleibt) */
.rt-main { flex: 1 0 auto; outline: none; }
.rt-layout-boxed { background: var(--rt-body-bg, #e8e8ee); }
.rt-layout-boxed .rt-site { max-width: var(--rt-site-width); margin-inline: auto; box-shadow: 0 0 40px rgb(0 0 0 / 0.06); }

.rt-container {
	width: 100%;
	max-width: calc(var(--rt-content-width) + 2 * var(--rt-side-padding));
	margin-inline: auto;
	padding-inline: var(--rt-side-padding);
}
.rt-container.is-full { max-width: none; }
.rt-section { padding-block: var(--rt-space-m); }

/* Builder-Seiten: die Sections regeln Breite und Abstände selbst. */
.rt-content-builder { width: 100%; }
.rt-content-builder::after { content: ""; display: table; clear: both; }
.rt-content-plain { max-width: 820px; }
.rt-content-plain > * + h2, .rt-content-plain > * + h3 { margin-top: 1.6em; }
.rt-content-plain ul, .rt-content-plain ol { padding-left: 1.3em; }

/* Alternativer Bereich (dunkel/farbig) */
.rt-alt { background: var(--rt-color-alt-bg); color: var(--rt-color-alt-text); }
.rt-alt :is(h1, h2, h3, h4, h5, h6) { color: var(--rt-color-alt-heading); }
.rt-alt a:not([class*="btn"]) { color: var(--rt-color-alt-link); }

/* ---------- Buttons ---------- */
.rt-btn, [class*="rt-btn-"]:is(a, button, span),
.wp-element-button, .wp-block-button__link,
.rt-content input[type=submit], .rt-content button[type=submit], .wpcf7-submit, .comment-form .submit, .search-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	border-style: solid;
	background: var(--rt-btn-bg, var(--rt-color-primary));
	color: var(--rt-btn-text, #fff);
	border-color: var(--rt-btn-border, transparent);
	box-shadow: inset 0 0 0 var(--rt-btn-bw, 0px) var(--rt-btn-border, transparent); /* Rand innen: Größe bleibt gleich */
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	font-family: inherit;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
	-webkit-appearance: none;
	appearance: none;
}
/* Zeilenhöhe des Buttons gilt auch, wenn die Beschriftung kleiner gesetzt ist (wie bei Text in einer Zeile). */
:is(.rt-btn, [class*="rt-btn-"]):is(a, button, span) > span { line-height: 1lh; }
:is(.rt-btn, [class*="rt-btn-"]):hover { color: var(--rt-btn-text, #fff); text-decoration: none; }
:is(.rt-btn, [class*="rt-btn-"]):active { transform: translateY(1px); }
/* Builder-Buttons mit Theme-Stil: Größen-Varianten, kein Abdunkeln beim Darüberfahren */
.rb-button[class*="rt-btn-"]:hover, .rb-button[class*="rt-btn-"]:focus-visible { filter: none; }
.rb-button.rb-button-small[class*="rt-btn-"] { font-size: 0.85em; }
.rb-button.rb-button-large[class*="rt-btn-"] { font-size: 1.15em; }
.rb-button.rb-button-full[class*="rt-btn-"] { display: flex; width: 100%; }
/* Menüpunkt als Button (Einstellung am Menüpunkt) */
:is(.rb-menu, .rt-menu) a[class*="rt-btn-"], .rb-menu-horizontal .rb-menu-list a[class*="rt-btn-"] { padding: var(--rt-btn-py) var(--rt-btn-px); color: var(--rt-btn-text, #fff); text-decoration: none; }
:is(.rb-menu, .rt-menu) a[class*="rt-btn-"]:hover, .rb-menu-horizontal .rb-menu-list a[class*="rt-btn-"]:hover { color: var(--rt-btn-text, #fff); }

/* ---------- Formularfelder ---------- */
input:not([type=checkbox], [type=radio], [type=submit], [type=button], [type=reset], [type=range], [type=color], [type=file], [type=image]),
select, textarea {
	width: 100%;
	max-width: 100%;
	min-height: var(--rt-input-height);
	padding: 0 var(--rt-input-padding);
	font: inherit;
	font-size: max(16px, 0.95em);
	color: var(--rt-input-text);
	background: var(--rt-input-bg);
	border: var(--rt-input-border-width) solid var(--rt-input-border);
	border-radius: var(--rt-input-radius);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea { padding-block: calc(var(--rt-input-padding) * 0.75); min-height: 8em; line-height: 1.5; }
select { padding-right: 2.2em; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 1.15em) 52%, calc(100% - 0.8em) 52%; background-size: 0.35em 0.35em; background-repeat: no-repeat; -webkit-appearance: none; appearance: none; }
:is(input, select, textarea):focus { outline: none; border-color: var(--rt-input-focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rt-input-focus) 22%, transparent); }
input[type=checkbox], input[type=radio] { accent-color: var(--rt-color-primary); width: 1.1em; height: 1.1em; vertical-align: -0.15em; }
label { cursor: pointer; }

.rt-searchform { display: flex; gap: 0.5rem; max-width: 560px; }
.rt-searchform .rt-search-field { flex: 1; }

/* ---------- Header ---------- */
.rt-header { position: relative; z-index: 100; background: var(--rt-header-bg); color: var(--rt-header-text); }
.rt-header.has-shadow { box-shadow: 0 1px 0 rgb(0 0 0 / 0.04), 0 6px 24px -12px rgb(0 0 0 / 0.18); }
.rt-header.has-shadow.is-shadow-line { box-shadow: 0 1px 0 rgb(0 0 0 / 0.08); }
/* Header aus einer Vorlage: Inhalt jeder Zeile senkrecht mittig (wichtig bei fester Zeilenhöhe). */
.rt-header-custom > .rb-section { display: flex; flex-direction: column; justify-content: center; }
/* Header-Baukasten: je Bereich drei Zellen nebeneinander (links, Mitte, rechts). Alle Zellen
   teilen sich den Platz, leere Zellen fallen weg. „Mittlere Zelle zentrieren“ (Header-Einstellungen)
   macht linke und rechte Zelle gleich breit, dann steht die Mitte genau in der Mitte. */
.rt-header-custom .rb-row.rt-hb-row { display: flex; flex-wrap: nowrap; align-items: center; column-gap: var(--rt-hb-gap, 1.4rem); margin-inline: 0; }
.rt-hb-row > .rt-hb-cell { width: auto !important; min-width: 0; padding-inline: 0 !important; margin: 0 !important; flex: 1 1 auto; }
.rt-hb-row > .rt-hb-cell:not(:has(> .rb-col-inner > *)) { display: none; }
.rt-hb-cell > .rb-col-inner { display: flex; flex-wrap: nowrap; align-items: center; gap: var(--rt-hb-gap, 1.4rem); height: 100%; }
.rt-hb-center > .rb-col-inner { justify-content: center; }
.rt-hb-right > .rb-col-inner { justify-content: flex-end; }
.rt-hb-cell > .rb-col-inner > .rb-el { margin: 0 !important; flex: 0 1 auto; min-width: 0; }
/* Vollbild-Section direkt unter einem fixierten Header: sichtbare Höhe ohne Header (Wert per Skript gemessen). */
.rt-header-sticky:not(.rt-header-transparent) .rt-main > .rt-entry:first-child > .rt-content-builder > .rb-section.rb-full-height:first-child,
.rt-header-sticky:not(.rt-header-transparent) .rt-main > .rt-entry:first-child > .rt-content-builder > .rb-content:first-child > .rb-section.rb-full-height:first-child { min-height: calc(100vh - var(--rt-header-h, 0px)); min-height: calc(100svh - var(--rt-header-h, 0px)); }
.rt-header-sticky .rt-header { position: sticky; top: 0; }
/* Header mit eigenen Einstellungen (Vorlage): Abstand zur Admin-Leiste, Ausblenden beim Runterscrollen */
.admin-bar { --rt-admin-top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar { --rt-admin-top: 0px; } }
#rt-header.rt-hs { transition: transform 0.3s ease, background-color 0.25s ease, box-shadow 0.25s ease; }
#rt-header.rt-hs.is-hidden { transform: translateY(calc(-100% - 12px)); }
/* Bilder in Header-Zeilen nie höher als die Zeile (auch beim Verkleinern) */
#rt-header.rt-hs [class*="rt-row-"] :is(.rb-logo-img, .rb-image img) { max-height: var(--rt-row-h, none); width: auto; transition: max-height 0.3s ease; }
#rt-header.rt-hs [class*="rt-row-"] { --rb-menu-stretch-h: var(--rt-row-h); }
.rt-header.is-scrolled .rb-logo-img { height: var(--rb-logo-sticky, var(--rb-logo-height)); }
.rt-header .rb-logo-img { transition: height 0.3s ease, max-height 0.3s ease; }
.admin-bar.rt-header-sticky .rt-header { top: var(--wp-admin--admin-bar--height, 32px); }
/* Header mit eigenen Einstellungen: Platzhalter unter dem fixierten Header (Höhe aus den
   Header-Einstellungen), Knopf und Abdunklung für den senkrechten Header auf Tablet/Handy. */
.rt-hs-space { height: 0; }
.rt-hs-show { display: none; position: fixed; z-index: 102; top: 0; right: 0; width: 50px; height: 50px; margin: 15px; padding: 0; border: 0; border-radius: 0.3rem; background: rgba(0,0,0,0.3); color: #fff; cursor: pointer; line-height: 0; }
.rt-hs-show svg { width: 22px; height: 22px; }
.admin-bar .rt-hs-show { top: 56px; }
.rt-hs-open .rt-hs-show { opacity: 0; pointer-events: none; }
.rt-hs-overlay { display: none; position: fixed; z-index: 101; inset: 0; visibility: hidden; pointer-events: none; background: rgba(0,0,0,0); transition: all 0.3s; }
.rt-hs-open .rt-hs-overlay { visibility: visible; pointer-events: auto; background: rgba(0,0,0,0.75); }
.rt-hs-open #rt-header.rt-hs { z-index: 111; }

.rt-topbar { background: var(--rt-topbar-bg); color: var(--rt-topbar-text); font-size: 0.85rem; }
.rt-topbar a { color: inherit; }
.rt-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.rt-topbar-right { display: flex; align-items: center; gap: 1rem; }
.rt-topbar-menu { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; }

.rt-header-inner {
	display: flex;
	align-items: center;
	gap: 2rem;
	height: var(--rt-header-height);
	transition: height 0.25s ease;
}
.rt-header.is-shrunk .rt-header-inner { height: calc(var(--rt-header-height) * 0.75); }
.rt-logo { display: inline-flex; align-items: center; flex-shrink: 0; color: var(--rt-header-text); text-decoration: none; }
.rt-logo:hover { color: var(--rt-header-text); }
.rt-logo-img { display: block; height: var(--rt-logo-height); width: auto; max-width: 260px; object-fit: contain; transition: height 0.25s ease; }
.rt-header.is-shrunk .rt-logo-img { height: calc(var(--rt-logo-height) * 0.8); }
.rt-logo-text { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }
.rt-logo-light { display: none; }

.rt-nav { flex: 1; display: flex; align-items: center; justify-content: flex-end; }
.rt-header-center .rt-nav { justify-content: center; }
.rt-nav-extra { display: none; }
.rt-menu, .rt-menu ul { list-style: none; margin: 0; padding: 0; }
.rt-menu { display: flex; align-items: center; gap: 0.25rem; }
.rt-menu > li { position: relative; display: flex; align-items: center; }
.rt-menu a {
	display: block;
	padding: 0.6em 0.85em;
	color: var(--rt-header-text);
	text-decoration: none;
	font-weight: 500;
	border-radius: 6px;
}
.rt-menu a:hover, .rt-menu .current-menu-item > a, .rt-menu .current-menu-ancestor > a { color: var(--rt-header-hover); }
.rt-sub-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 28px; margin-left: -0.6em; padding: 0;
	border: 0; background: none; color: var(--rt-header-text); cursor: pointer; border-radius: 6px;
}
.rt-sub-toggle svg { transition: transform 0.2s ease; }
.rt-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	padding: 0.5rem;
	background: var(--rt-submenu-bg);
	border-radius: 10px;
	box-shadow: 0 12px 36px -8px rgb(0 0 0 / 0.22), 0 0 0 1px rgb(0 0 0 / 0.04);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
	z-index: 20;
}
.rt-menu .sub-menu li { position: relative; display: flex; align-items: center; flex-wrap: wrap; }
.rt-menu .sub-menu a { flex: 1; color: var(--rt-submenu-text); font-weight: 400; padding: 0.55em 0.8em; }
.rt-menu .sub-menu a:hover { background: var(--rt-color-bg-alt); color: var(--rt-header-hover); }
.rt-menu .sub-menu .sub-menu { top: -0.5rem; left: 100%; }
.rt-menu .sub-menu .rt-sub-toggle { color: var(--rt-submenu-text); margin-left: 0; }
.rt-menu li:hover > .sub-menu, .rt-menu li:focus-within > .sub-menu, .rt-menu li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.rt-menu li.is-open > .rt-sub-toggle svg { transform: rotate(180deg); }

.rt-header-tools { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.rt-icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; padding: 0; border: 0; border-radius: 10px;
	background: none; color: var(--rt-header-text); cursor: pointer;
}
.rt-icon-btn:hover { background: rgb(127 127 127 / 0.12); }
.rt-nav-toggle { display: none; }
.rt-burger { position: relative; width: 22px; height: 16px; }
.rt-burger::before, .rt-burger::after, .rt-burger span { content: ""; position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease; }
.rt-burger::before { top: 0; }
.rt-burger span { top: 7px; }
.rt-burger::after { top: 14px; }
.rt-nav-open .rt-burger::before { top: 7px; transform: rotate(45deg); }
.rt-nav-open .rt-burger span { opacity: 0; }
.rt-nav-open .rt-burger::after { top: 7px; transform: rotate(-45deg); }

.rt-search-panel { background: var(--rt-header-bg); border-top: 1px solid var(--rt-color-border); padding-block: 1rem; }

/* Logo mittig, Menü darunter */
.rt-header-stack .rt-header-inner { flex-wrap: wrap; justify-content: center; height: auto; padding-block: 1rem 0.25rem; row-gap: 0.25rem; }
.rt-header-stack .rt-logo { width: 100%; justify-content: center; }
.rt-header-stack .rt-nav { flex-basis: 100%; justify-content: center; }
.rt-header-stack .rt-header-tools { position: absolute; right: var(--rt-side-padding); top: 1rem; }

/* Transparenter Header über dem ersten Bild */
.rt-header-transparent .rt-header { position: absolute; left: 0; right: 0; top: 0; background: transparent; box-shadow: none; --rt-header-text: var(--rt-header-transparent-text); }
.admin-bar.rt-header-transparent .rt-header { top: var(--wp-admin--admin-bar--height, 32px); }
.rt-header-transparent .rt-header .rt-logo-light { display: block; }
.rt-header-transparent .rt-header .rt-logo-light ~ .rt-logo-default,
.rt-header-transparent .rt-header .rt-logo-default:has(+ .rt-logo-light) { display: none; }
.rt-header-transparent.rt-header-sticky .rt-header { position: fixed; transition: background-color 0.25s ease, box-shadow 0.25s ease; }
.rt-header-transparent.rt-header-sticky .rt-header.is-scrolled { background: var(--rt-header-bg); --rt-header-text: var(--rt-header-text-solid); }
.rt-header-transparent.rt-header-sticky .rt-header.is-scrolled.has-shadow { box-shadow: 0 6px 24px -12px rgb(0 0 0 / 0.18); }
.rt-header-transparent.rt-header-sticky .rt-header.is-scrolled .rt-logo-light { display: none; }
.rt-header-transparent.rt-header-sticky .rt-header.is-scrolled .rt-logo-default { display: block; }

/* Header aus einer Vorlage (Rocket Builder) */
.rt-header-custom { color: var(--rt-header-text); }
.rt-header-custom .rb-section { transition: background-color 0.25s ease, padding 0.25s ease; }
.rt-header-custom.is-shrunk .rb-section { padding-block: 0.35rem !important; }
.rt-header-custom.is-shrunk .rb-logo { --rb-logo-height: 36px; }
/* Elemente nur vor bzw. nach dem Scrollen zeigen (Klasse am Element im Rocket Builder) */
.rt-header:not(.is-scrolled) .rt-show-scrolled, .rt-header.is-scrolled .rt-hide-scrolled { display: none !important; }
/* Transparent: Bereiche ohne eigenen Hintergrund, helle Schrift, helles Logo */
.rt-header-transparent .rt-header-custom:not(.is-scrolled) :is(.rb-section, .rb-row, .rb-col) { background: transparent !important; box-shadow: none !important; }
.rt-header-custom.rb-on-dark { color: var(--rt-header-transparent-text); }
.rt-header-custom.rb-on-dark .rb-menu-horizontal { --rb-menu-color: var(--rt-header-transparent-text) !important; --rb-menu-hover: var(--rt-header-transparent-text) !important; }
.rt-header-custom.rb-on-dark .rb-menu-toggle, .rt-header-custom.rb-on-dark .rb-search-toggle { color: var(--rt-header-transparent-text); }

/* ---------- Titelbereich ---------- */
.rt-titlebar { background: var(--rt-color-bg-alt); padding-block: var(--rt-space-s); }
.rt-page-title { margin: 0; }
.rt-titlebar .rt-meta { margin-top: 0.6rem; }
.rt-archive-desc { margin-top: 0.6rem; color: var(--rt-color-faded); max-width: 760px; }
.rt-header-transparent .rt-titlebar { padding-top: calc(var(--rt-header-height) + var(--rt-space-s)); }

.rt-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4em; font-size: 0.875rem; color: var(--rt-color-faded); }
.rt-meta a { color: inherit; text-decoration: none; }
.rt-meta a:hover { color: var(--rt-color-link-hover); }

/* ---------- Beiträge ---------- */
.rt-entry-image { margin: 0 0 2rem; }
.rt-entry-image img { display: block; width: 100%; border-radius: var(--rt-radius); }
.rt-with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: calc(var(--rt-gap) * 1.5); }
.rt-sidebar-left .rt-with-sidebar { grid-template-columns: 300px minmax(0, 1fr); }
.rt-sidebar-left .rt-with-sidebar .rt-sidebar { order: -1; }
.rt-widget + .rt-widget { margin-top: 2rem; }
.rt-widget-title { font-size: 1.05rem; margin-bottom: 0.8rem; }
.rt-widget ul { list-style: none; padding: 0; }
.rt-widget li + li { margin-top: 0.4em; }

.post-navigation { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--rt-color-border); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.post-navigation .nav-next { text-align: right; grid-column: 2; }
.post-navigation a { display: block; text-decoration: none; }
.rt-nav-label { display: block; font-size: 0.8rem; color: var(--rt-color-faded); text-transform: uppercase; letter-spacing: 0.05em; }
.rt-nav-title { display: block; font-weight: 600; color: var(--rt-color-heading); }

/* Kacheln */
.rt-cards { display: grid; grid-template-columns: repeat(var(--rt-cols, 3), minmax(0, 1fr)); gap: var(--rt-gap); }
.rt-card { display: flex; flex-direction: column; background: var(--rt-color-bg); border: 1px solid var(--rt-color-border); border-radius: var(--rt-radius); overflow: hidden; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.rt-card:hover { box-shadow: 0 14px 34px -16px rgb(0 0 0 / 0.25); transform: translateY(-2px); }
.rt-card-image img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.rt-card-body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.rt-card-title { margin: 0; }
.rt-card-title a { color: var(--rt-color-heading); text-decoration: none; }
.rt-card-title a:hover { color: var(--rt-color-link-hover); }
.rt-card-excerpt { color: var(--rt-color-faded); font-size: 0.95em; }
.rt-card-excerpt p { margin: 0; }

.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 0.6rem; border-radius: 10px; border: 1px solid var(--rt-color-border); text-decoration: none; color: var(--rt-color-text); }
.pagination .page-numbers.current { background: var(--rt-color-primary); border-color: var(--rt-color-primary); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--rt-color-primary); color: var(--rt-color-primary); }

.rt-empty { text-align: center; max-width: 620px; margin-inline: auto; }
.rt-empty .rt-searchform { margin: 1.5rem auto 0; }

/* Kommentare */
.rt-comments { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--rt-color-border); }
.rt-comment-list { list-style: none; padding: 0; }
.rt-comment-list .children { list-style: none; padding-left: 2rem; }
.rt-comment-list .comment-body { padding: 1.2rem 0; border-bottom: 1px solid var(--rt-color-border); }
.rt-comment-list .avatar { border-radius: 50%; float: left; margin-right: 0.8rem; }
.comment-meta { font-size: 0.875rem; color: var(--rt-color-faded); }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; font-weight: 500; margin-bottom: 0.3rem; }

/* 404 */
.rt-404 { text-align: center; padding-block: var(--rt-space-l); }
.rt-404-code { font-size: clamp(5rem, 16vw, 10rem); font-weight: 800; line-height: 1; margin: 0 0 1rem; color: var(--rt-color-bg-alt); -webkit-text-stroke: 2px var(--rt-color-primary); }
.rt-404 .rt-searchform { margin: 1.5rem auto; }

/* ---------- Footer ---------- */
.rt-footer { background: var(--rt-footer-bg); color: var(--rt-footer-text); }
.rt-footer :is(h1, h2, h3, h4, h5, h6, .rt-widget-title) { color: var(--rt-footer-heading); }
.rt-footer a:not([class*="btn"]) { color: var(--rt-footer-link); }
.rt-footer-widgets { padding-block: var(--rt-space-m); }
.rt-footer-cols { display: grid; grid-template-columns: repeat(var(--rt-cols, 3), minmax(0, 1fr)); gap: var(--rt-gap); }
.rt-footer-bottom { background: var(--rt-footer-bottom-bg); font-size: 0.875rem; }
.rt-footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 1.1rem; }
.rt-copyright p { margin: 0; }
.rt-footer-menu { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; list-style: none; margin: 0; padding: 0; }
.rt-footer-menu a { text-decoration: none; }
.rt-footer-menu a:hover { text-decoration: underline; }

/* ---------- Nach oben ---------- */
.rt-to-top {
	position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
	display: inline-flex; align-items: center; justify-content: center;
	width: 46px; height: 46px; border-radius: 50%;
	background: var(--rt-color-primary); color: #fff;
	box-shadow: 0 8px 24px -8px rgb(0 0 0 / 0.35);
	opacity: 0; transform: translateY(10px); pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}
.rt-to-top[hidden] { display: inline-flex; }
.rt-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.rt-to-top:hover { background: var(--rt-color-secondary); color: #fff; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
