:root {
	--khaki: #c3a995;
	--blue-munsell: #388697;
	--folly: #ff1053;
	--dark-purple: #1e152a;
	--rose-ebony: #593d3b;
	--space-cadet: #283044;
}


body {
	font-size: 16px;
	font-family: "Gentleman400", Georgia;
    background-color: #f9fbfd;
    background-image: radial-gradient(#e1e6ef 1px, transparent 1px);
    background-size: 20px 20px;
    animation: uni_ai_chat_bg9-de9b661e 40s linear infinite;
}

h1, h2, h3, h4, h5, h6, strong {
	font-family: "Gentleman600", Georgia; 
}
h1, h2, h3, h4, h5, h6, strong, span, a, p, button {
	text-shadow: 0px 1px 4px #e1e1e1;
}

.uk-navbar-left {
	gap: 10px;
}

.uk-notification {
	box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

.uk-notification-message {
	font-size: 0.8rem;
}

.uk-notification-message {
	background: rgba(255, 255, 255, 0.7);
}

#heading-image {
	background-image: url('/img/gaming1.webp');
	height: 350px;
}

#heading-image span,
#heading-image [uk-parallax] {
	display: block;
	background-color: rgba(255, 255, 255, 0.8);
	color:#333;
	padding: 15px;
	border-radius: 10px;
	box-shadow: rgba(51, 153, 255, 0.5) 0px 2px 8px 0px;
	filter: blur(0px);
	-webkit-filter: blur(0px);
}

#heading-image .heading-brand {
	font-size: 2.5rem;
	font-weight: bold;
	line-height: 1.1;
}

#heading-image .heading-tagline {
	font-size: 1rem;
	margin-top: 6px;
}

#statusbar .uk-navbar-container:not(.uk-navbar-transparent) {
	background-color: #222;
	padding: 0 16px 0 16px;
}

#statusbar span {
	color: white;
	text-shadow: none !important;
}

.scroll-top {
	position: fixed;
	width: 40px;
	height: 40px;
	font-size: 33px;
	text-align: center;
	background-color: #d3d3d3;
	z-index: 9999;
	bottom: 25px;
	left: 25px;
	opacity: 0.5;
	cursor: pointer;
}

.no-break {
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.uk-padding-xs {
	padding: 5px;
}

td span {
	text-shadow: 0px 1px 4px #e1e1e1;
}

td.games-lib-img {
    min-width: 80px;
	text-align: center;
}

.btn-add-to-library, 
.btn-rem-from-library {
	padding: 5px 15px;
	min-width: 50px;
}

.game-not-owned .game-owned-tag {
	display: none;
}

.game-title {
	min-height: 50px;
	max-height: 50px;
	overflow: hidden;
}

.game-owned .game-title {
	font-weight:  bold;
}

.game-not-owned
a.btn-add-to-library {
	display: none;
}

.game-owned
a.btn-rem-from-library {
	display: none;
}

a.btn-loading-library {
	display: none;
}

.game-ownership-loading
a.btn-loading-library {
	display: inline;
}

.game-ownership-loading
a.btn-add-to-library {
	display: none;
}

.game-ownership-loading
a.btn-rem-from-library {
	display: none;
}

.header-image {
	/*background: center center no-repeat url('/img/gaming1.webp');*/
	/*background-size: cover;*/
}

.header-image .uk-navbar-transparent
.uk-navbar-nav > li > a,
.uk-navbar .uk-input {
	color: #283044 !important;
}

.uk-navbar .uk-input {
	border-color: #593d3b !important;
}

.uk-sticky-fixed {
	opacity: 0.8;
}

.uk-card, .uk-table, .uk-navbar-dropdown {
	border-radius: 10px;
	overflow: hidden;
}

.uk-button {
	border-radius: 10px;
}

.uk-card, .uk-button-default, .uk-button:hover {
	background-color: #fdfdfd;
	transition: all 0.2s linear;
}

.uk-card:hover, .uk-button:hover {
	/*box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;*/
	box-shadow: rgba(51, 153, 255, 0.5) 0px 2px 8px 0px;
}

.uk-button-primary {
	color: #333 !important;
	text-shadow: none !important;
	box-shadow: rgba(51, 153, 255, 0.5) 0px 2px 8px 0px;
}

.sort-dir-icon {
	margin-left: 4px;
}

.games-lib-img img {
	transition: all 0.2s linear;
	box-shadow: rgba(51, 153, 255, 0.2) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 9px 3px;
}

.games-lib-img img:hover {
	box-shadow: rgba(51, 153, 255, 0.2) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.uk-badge {
	background-color: #283044;

}

#footer .uk-background-cover {
	/*background-image: url('/img/sebastian-svenson-35hyf3T1-14-unsplash-sm.jpg');*/
	/*background-image: url('/img/sebastian-svenson-LpbyDENbQQg-unsplash-sm.jpg');*/
	/*background-image: url('/img/sebastian-svenson-d2w-_1LJioQ-unsplash-sm.jpg');*/
}

#bottom-footer {
	border-top: 1px solid #e1e1e1;
}

.exposition ul {
	height: 500px;
}

.floating {
	animation: float 10s ease-in-out infinite;
}

@keyframes float {
	0% {
		box-shadow: 0 0px 0px 0px rgba(0,0,0,0.6);
		transform: translate(0px, 0px);
	}
	50% {
		box-shadow: 0 6px 15px 0px rgba(0,0,0,0.2);
		transform: translate(-2px, -2px);

	}
	100% {
		box-shadow: 0 0px 0px 0px rgba(0,0,0,0.6);
		transform: translate(0px, 0px);
	}
}

.game-desc {
	cursor: pointer;
}

.transparent-light {
	background: rgb(248, 248, 248, 0.85);
}

.game-card .game-bar {
	position: absolute;
	top: 5px;
	right: 5px;
	z-index: 10;
}

.game-card .game-info {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 10;
	background: rgba(250, 250, 250, 0.7);
	border-radius: 2px;
}

.game-card .game-info span {
	padding: 5px;
}

.game-card .game-bar .uk-button {
	padding: 5px 12px;
	min-width: 35px;
	margin: 3px;
	background: rgba(250, 250, 250, 0.7);
}

.game-card .game-img {
	max-height: 220px !important;
	min-height: 220px !important;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.game-card .game-title {
	font-size: 0.875rem;
	font-weight: 900;
	color: #555;
	padding-bottom: 10px;
}

.game-card .game-card-meta {
	font-size: 0.75rem;
	color: #999;
	margin: 0;
	padding: 0;
}

.game-card .game-card-meta p {
	margin: 0;
	padding: 5px 0 0 0;
}

.game-card .game-info {
    display: flex;
    align-items: center;
    gap: 4px;
}

.game-rating {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.65rem;
    line-height: 1;
    color: #f5a623;
    padding: 2px 3px;
}

.game-rating--unrated {
    color: #bbb;
}

.game-rating-display {
    display: inline-flex;
    gap: 1px;
    min-width: 10px;
    min-height: 10px;
    padding: 10px;
    font-size: 16px;
}

.game-rating-display .fa-heart {
    color: #e05;
}

/* Rating-Modal */
#rating-modal .uk-modal-body {
    padding: 24px;
}

#rating-modal .rating-modal-title {
    font-size: 0.85rem;
    color: #888;
    margin: 0 0 14px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: none;
}

.rating-modal-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-modal-star-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
}

.rating-modal-star-row .rating-modal-btn {
    flex: 1;
    padding: 0 4px;
    min-width: 0;
}

@media (max-width: 639px) {
    .rating-modal-star-row {
        flex-wrap: wrap;
    }
    .rating-modal-star-row .rating-modal-btn {
        width: calc((100% - 24px) / 5);
        flex: none;
    }
    .rating-modal-star-row .rating-modal-btn:last-child {
        width: 100%;
    }
}

.rating-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 14px;
    font-size: 14px;
    border-radius: 8px;
    color: #333 !important;
    text-shadow: none !important;
    text-decoration: none !important;
    background: #f0f0f0;
    cursor: pointer;
    border: none;
    transition: background 0.15s;
}

.rating-modal-btn:hover {
    background: #ddd;
    color: #000 !important;
}

.rating-modal-btn-fav {
    width: 100%;
    color: #e05 !important;
    background: #fff0f3;
}

.rating-modal-btn-fav:hover {
    background: #ffd6de !important;
}

.rating-modal-remove-row {
    display: flex;
    justify-content: flex-end;
}

.rating-modal-btn-remove {
    color: #888 !important;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
}

.rating-modal-btn-remove:hover {
    background: #eee !important;
    color: #444 !important;
}


#uniaichat .uk-button {
	border-radius: 0 !important;
	color: #151515;
}

.uk-navbar-container {
	padding: 0 10px 0 10px;
	border-radius: 10px;
}

.uk-navbar-sticky {
	margin-top: 10px;
}

input::placeholder {

	color: #B5BED4 !important;
}

/* ── Custom Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #c8d0e0; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #3399ff; }
* { scrollbar-width: thin; scrollbar-color: #c8d0e0 transparent; }


/* ── Floating Particles ────────────────────────────────────────── */
#particles {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.p {
    position: absolute;
    color: #3399ff;
    opacity: 0.055;
    animation: float-p linear infinite;
    user-select: none;
    font-style: normal;
}
.p1  { top:  8%; left:  4%; font-size: 13px; animation-duration: 38s; animation-delay:  0s; }
.p2  { top: 22%; left: 87%; font-size: 10px; animation-duration: 51s; animation-delay:  6s; }
.p3  { top: 58%; left: 13%; font-size: 17px; animation-duration: 44s; animation-delay: 13s; }
.p4  { top: 73%; left: 72%; font-size: 11px; animation-duration: 59s; animation-delay:  3s; }
.p5  { top: 42%; left: 48%; font-size: 14px; animation-duration: 36s; animation-delay: 20s; }
.p6  { top: 88%; left: 28%; font-size:  9px; animation-duration: 65s; animation-delay:  9s; }
.p7  { top: 14%; left: 62%; font-size: 15px; animation-duration: 47s; animation-delay: 24s; }
.p8  { top: 50%; left: 93%; font-size: 10px; animation-duration: 54s; animation-delay: 16s; }
.p9  { top: 92%; left: 56%; font-size: 12px; animation-duration: 42s; animation-delay:  7s; }
.p10 { top: 33%; left: 22%; font-size: 16px; animation-duration: 60s; animation-delay: 28s; }
@keyframes float-p {
    0%   { transform: translateY(  0px) rotate(  0deg); opacity: 0.055; }
    25%  { transform: translateY(-22px) rotate(  6deg); opacity: 0.035; }
    50%  { transform: translateY(-38px) rotate( -4deg); opacity: 0.065; }
    75%  { transform: translateY(-20px) rotate(  9deg); opacity: 0.030; }
    100% { transform: translateY(  0px) rotate(  0deg); opacity: 0.055; }
}

/* ── Card Hover Effects ────────────────────────────────────────── */
.game-card:hover {
    z-index: 2;
}
.game-card:hover .uk-card {
    box-shadow: rgba(51,153,255,0.5) 0px 2px 8px 0px, 0 16px 40px rgba(0,0,0,0.12) !important;
}
.game-card .game-img {
    transition: transform 0.38s ease;
}
.game-card:hover .game-img {
    transform: scale(1.07);
}

/* ── Score Badge ───────────────────────────────────────────────── */
.score-badge {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff !important;
    text-shadow: none !important;
    letter-spacing: 0.02em;
}
.score-high { background: #43a047; }
.score-mid  { background: #fb8c00; }
.score-low  { background: #90a4ae; }

/* ── Scroll Fade-In ────────────────────────────────────────────── */
.card-hidden {
    opacity: 0 !important;
    transform: translateY(18px) !important;
    transition: opacity 0.45s ease, transform 0.45s ease !important;
}

/* ── Active Nav Indicator ──────────────────────────────────────── */
.uk-navbar-nav a.nav-active {
    position: relative;
    color: #3399ff !important;
}
.uk-navbar-nav a.nav-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    height: 2px;
    background: #3399ff;
    border-radius: 1px;
    transform-origin: left;
    animation: nav-in 0.3s ease forwards;
}
@keyframes nav-in {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

/* ── Sticky Navbar Blur ────────────────────────────────────────── */
nav.uk-navbar-container.uk-navbar-sticky {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background-color: rgba(255, 255, 255, 0.88) !important;
    transition: background-color 0.3s ease;
}

/* ── Scroll-Top Button ─────────────────────────────────────────── */
.scroll-top {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    border-radius: 50%;
    background-color: rgba(51,153,255,0.15);
    backdrop-filter: blur(6px);
    color: #3399ff;
}
.scroll-top--visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.scroll-top:hover {
    background-color: rgba(51,153,255,0.3);
}

/* ── Input Styling ─────────────────────────────────────────────── */
.uk-input[type="text"],
.uk-input[type="search"],
.uk-input[type="email"],
.uk-input {
    border-radius: 10px;
    border-color: #dde2ec;
    padding: 0 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    background: rgba(255,255,255,0.85);
}
.uk-input[type="text"]:focus,
.uk-input[type="search"]:focus,
.uk-input[type="email"]:focus,
.uk-input:focus {
    border-color: #3399ff !important;
    box-shadow: 0 0 0 3px rgba(51,153,255,0.18) !important;
    background: rgba(255,255,255,1);
    outline: none;
}
.uk-input[type="text"]:hover:not(:focus),
.uk-input:hover:not(:focus) {
    border-color: #b0bcd4;
}

/* ── Footer Gradient Line ──────────────────────────────────────── */
.footer-gradient-line {
    height: 2px;
    background: linear-gradient(to right, transparent, #3399ff 25%, #66aaff 50%, #3399ff 75%, transparent);
    opacity: 0.45;
    margin-bottom: 16px;
}

/* ── Reviews Widget ────────────────────────────────────────────── */
.reviews-widget {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.review-card {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background: rgba(255,255,255,0.6);
    border-radius: 8px;
    padding: 6px 10px 6px 6px;
    transition: background 0.2s ease, transform 0.2s ease;
    max-width: 220px;
}
.review-card:hover {
    background: rgba(255,255,255,0.95);
    transform: translateY(-2px);
}
.review-thumb {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.review-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.review-title {
    font-size: 0.75rem;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    display: block;
    text-shadow: none !important;
}
.review-score {
    font-size: 0.68rem;
    color: #3399ff;
    font-weight: 600;
    text-shadow: none !important;
}

/* ── Pagination ────────────────────────────────────────────────── */
.uk-pagination {
    gap: 4px;
    flex-wrap: nowrap;
}
.uk-pagination > li > a,
.uk-pagination > li > span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #555;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
    text-shadow: none !important;
}
.uk-pagination > li > a:hover {
    background: rgba(51, 153, 255, 0.1);
    color: #3399ff;
    transform: translateY(-1px);
}
.uk-pagination > li.uk-active > a {
    background: #3399ff;
    color: #fff !important;
    font-weight: 600;
    box-shadow: rgba(51, 153, 255, 0.4) 0px 2px 8px 0px;
    text-shadow: none !important;
}
@media (max-width: 639px) {
    .uk-pagination {
        gap: 2px;
        justify-content: center;
    }
    .uk-pagination > li > a,
    .uk-pagination > li > span {
        min-width: 26px;
        height: 26px;
        padding: 0 4px;
        font-size: 0.75rem;
        border-radius: 6px;
    }
    /* Nicht-aktive Seitenzahlen ausblenden — nur Pfeile + aktive Seite sichtbar */
    .uk-pagination > li:not(.uk-active) > a:not(:has(span[uk-icon])) {
        display: none;
    }
}








/* ── Statusbar-Avatar ────────────────────────────────────────────────── */
.statusbar-avatar {
    width: 28px;
    height: 28px;
    max-height: 32px;
    border-radius: 50%;
    object-fit: cover;
    vertical-align: middle;
    margin-right: 6px;
    border: 2px solid rgba(255,255,255,.25);
}
.statusbar-profile-link { display: flex; align-items: center; }

/* ── Kompakte Spielkarte ─────────────────────────────────────────────── */
.game-card-compact {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}
.game-card-compact__img {
    width: 96px;
    height: 128px;
    object-fit: cover;
    border-radius: 6px;
    background: #e9ecef;
    flex-shrink: 0;
    display: block;
}
.game-card-compact__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 2px;
}
.game-card-compact__title {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.25;
}
.game-card-compact__platform {
    font-size: 0.72rem;
    color: #888;
}

/* ── Review-Karte (Startseite & Profil) ─────────────────────────────── */
.reviewcard-boxart-link {
    display: block;
    height: 100%;
}
.reviewcard-boxart {
    width: 120px;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 4px 0 0 4px;
}
@media (min-width: 640px) {
    .reviewcard-boxart { width: 180px; }
}

.game-detail-boxart { width: 160px; border-radius: 6px; box-shadow: 0 4px 20px rgba(0,0,0,.25); }
.game-detail-boxart-placeholder { width: 160px; height: 220px; background: #eee; border-radius: 6px; display: flex; align-items: center; justify-content: center; }

@media (max-width: 639px) {
    /* Review-Karte: Bild oben, Teaser ausblenden */
    .reviewcard-grid.uk-grid { flex-direction: column; }
    .reviewcard-grid.uk-grid > .uk-width-auto { width: 100%; }
    .reviewcard-boxart-link { height: auto; }
    .reviewcard-boxart {
        width: 100%;
        height: 180px;
        border-radius: 0;
    }
    .reviewcard-teaser { display: none; }

    /* Game-Detail: Bild oben, zentriert */
    .game-detail-grid.uk-grid { flex-direction: column; }
    .game-detail-grid.uk-grid > .uk-width-auto {
        width: 100%;
        text-align: center;
    }
    .game-detail-boxart {
        width: auto;
        max-width: 140px;
    }
    .game-detail-boxart-placeholder {
        width: 120px;
        margin: 0 auto;
    }
}

/* ── Cookie-Banner ──────────────────────────────────────────────────── */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: #1a1a2e;
    color: #e8e8f0;
    padding: 16px 20px;
    box-shadow: 0 -4px 24px rgba(0,0,0,.35);
    transform: translateY(110%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
}
#cookie-banner.cookie-banner-visible {
    transform: translateY(0);
}
.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-banner-text { flex: 1 1 300px; }
.cookie-banner-text strong { display: block; margin-bottom: 4px; font-size: .95rem; }
.cookie-banner-text p { margin: 0; font-size: .82rem; color: #bbb; line-height: 1.45; }
.cookie-banner-text a { color: #7eb8d4; }
.cookie-banner-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    flex-shrink: 0;
}
.cookie-banner-actions .cookie-settings-link {
    background: none;
    border: none;
    color: #aaa;
    font-size: .82rem;
    padding: 4px 8px;
    cursor: pointer;
    text-decoration: underline;
}
.cookie-banner-actions .cookie-settings-link:hover { color: #e8e8f0; }

@media (max-width: 639px) {
    .cookie-banner-inner    { flex-direction: column; align-items: stretch; gap: 12px; }
    .cookie-banner-actions  { flex-direction: column; }
    .cookie-banner-actions .uk-button { width: 100%; text-align: center; }
    .cookie-banner-actions .cookie-settings-link { text-align: center; }
}

/* ── Cookie-Modal ───────────────────────────────────────────────────── */
#cookie-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9100;
    align-items: center;
    justify-content: center;
}
#cookie-modal.cookie-modal-open {
    display: flex;
}
#cookie-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(3px);
}
.cookie-modal-box {
    position: relative;
    background: #fff;
    border-radius: 10px;
    width: min(540px, 92vw);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 40px rgba(0,0,0,.3);
    display: flex;
    flex-direction: column;
}
.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px 12px;
    border-bottom: 1px solid #eee;
}
.cookie-modal-header h3 { margin: 0; font-size: 1.05rem; font-weight: 700; }
.cookie-modal-x {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: #888;
    line-height: 1;
    padding: 4px 6px;
}
.cookie-modal-x:hover { color: #333; }
.cookie-modal-body { padding: 18px 22px; flex: 1; }
.cookie-modal-footer {
    padding: 14px 22px 18px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.cookie-divider { margin: 16px 0; border-color: #eee; }

.cookie-category { margin-bottom: 4px; }
.cookie-cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
.cookie-cat-header strong { font-size: .9rem; }
.cookie-always-on {
    font-size: .75rem;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
}
.cookie-category p {
    font-size: .82rem;
    color: #555;
    margin: 0 0 6px;
    line-height: 1.5;
}
.cookie-detail {
    font-size: .78rem;
    color: #888;
    margin-bottom: 3px;
}
.cookie-detail code {
    background: #f3f4f6;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: .78rem;
}

/* ── Toggle-Switch ──────────────────────────────────────────────────── */
.cookie-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
.cookie-toggle input[type='checkbox'] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}
.cookie-toggle-track {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    background: #ccc;
    border-radius: 12px;
    transition: background .2s;
}
.cookie-toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,.25);
    transition: left .2s;
}
.cookie-toggle input:checked + .cookie-toggle-track { background: #1e88e5; }
.cookie-toggle input:checked + .cookie-toggle-track .cookie-toggle-thumb { left: 21px; }


/* ── Homepage CTA ────────────────────────────────────────────────── */
.uk-section-secondary {
    background: linear-gradient(135deg, rgba(51,153,255,0.45) 0%, rgba(56,134,151,0.3) 100%);
    box-shadow: 0 6px 28px rgba(51,153,255,0.22), 0 -4px 18px rgba(51,153,255,0.12);
    margin: 2rem 0;
}
.home-cta-headline {
    font-family: "Gentleman600", Georgia;
    font-size: 1.3rem;
    color: #1e2d42;
    margin: 0 0 0.75rem;
    text-align: center;
}
.home-cta-body {
    font-size: 0.95rem;
    line-height: 1.72;
    color: #2e3d52;
    max-width: 60ch;
    margin: 0 auto;
    text-align: left;
}

/* ── SEO Footer-Text (M-31) ──────────────────────────────────────── */
.seo-footer-text {
    padding: 2.5rem 0 2.5rem;
    background: linear-gradient(to bottom, transparent, rgba(56,134,151,0.08));
    border-top: 2px solid rgba(56,134,151,0.22);
}
.seo-footer-text-eyebrow {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #388697;
    margin-top: 0.75rem;
    text-align: right;
}
.seo-footer-text-eyebrow::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 2em;
    font-weight: 400;
    line-height: 0;
    vertical-align: -0.25em;
    margin-right: 0.2em;
    letter-spacing: 0;
}
.seo-footer-text-body {
    color: #4e5a6a;
    font-size: 0.875rem;
    line-height: 1.85;
    padding-left: 1.1rem;
    border-left: 3px solid rgba(56,134,151,0.4);
}
.seo-footer-text-body p + p { margin-top: 0.8em; }

/* ── Site Intro (M-30) ───────────────────────────────────────────── */
.site-intro-block {
    padding-left: 1.1rem;
    border-left: 3px solid rgba(56,134,151,0.4);
}
.site-intro-block p:first-child {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #283044;
    margin-bottom: 0.5rem;
}
.site-intro-block p {
    font-size: 0.9rem;
    line-height: 1.78;
    color: #5a6275;
    margin-top: 0.5rem;
}

/* Bild-Mixin: figure mit Copyright-Zeile */
.cms-figure {
    margin: 0;
}
.cms-figure img {
    box-shadow: rgba(51, 153, 255, 0.5) 0px 2px 8px 0px;
    background-color: rgb(253, 253, 253);
}
.cms-figure-caption {
    font-size: 0.72rem;
    color: #999;
    text-align: right;
    padding: 4px 2px 0;
    line-height: 1.4;
}

/* Homepage nav-cards: a-Tags müssen block + 100% Höhe sein damit uk-grid-match greift */
.uk-grid-match > div > a {
    display: block;
    height: 100%;
}
.uk-grid-match > div > a > .uk-card {
    height: 100%;
}
