/*
Theme Name:        Reggaelution
Theme URI:         https://takt.reggaelution.de
Author:            Reggaelution – powered by TakT
Author URI:        https://takt.reggaelution.de
Description:       Klassisches, barrierearmes WordPress-Theme für die Roots-Reggae-Band Reggaelution. Freundlich, responsive, mit Sidebar, Footer-Widgets, Mitmach-Box und Infoseiten rund um Reggae und friedliches Zusammenleben. Überschriftenschrift Anton lokal eingebunden – keine externen Schriften oder Skripte (DSGVO-freundlich).
Version:           1.2.0
Requires at least: 6.0
Tested up to:      6.7
Requires PHP:      7.4
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       reggaelution
Tags:              blog, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, footer-widgets, accessibility-ready, translation-ready, threaded-comments, sticky-post
*/

/* ==========================================================================
   0. Schrift (lokal eingebunden, keine Verbindung zu Google – DSGVO-freundlich)
   Anton © The Anton Project Authors, SIL Open Font License 1.1 (assets/fonts/Anton-OFL.txt)
   ========================================================================== */
@font-face {
	font-family: "Anton";
	src: url("assets/fonts/anton-latin.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   1. Variablen
   ========================================================================== */
:root {
	--rg-red:        #c62a1e;
	--rg-red-dark:   #9e1f15;
	--rg-gold:       #f2b705;
	--rg-gold-soft:  #fde9a8;
	--rg-green:      #1d7a38;
	--rg-green-dark: #155c2a;
	--rg-maroon:     #4a1622;
	--rg-maroon-2:   #2e0d15;
	--rg-ink:        #22160f;
	--rg-text:       #2f241c;
	--rg-muted:      #5c4c3f;
	--rg-cream:      #fbf5e8;
	--rg-paper:      #fffdf7;
	--rg-line:       #e6d9bd;

	--rg-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
	--rg-font-head: "Anton", "Arial Narrow", "Roboto Condensed", Impact, "Helvetica Neue", sans-serif;
	--rg-font-serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;

	--rg-radius: 14px;
	--rg-radius-sm: 8px;
	--rg-shadow: 0 2px 0 rgba(74, 22, 34, .08), 0 10px 30px -12px rgba(74, 22, 34, .25);
	--rg-wrap: 1180px;
	--rg-gap: clamp(1.25rem, 3vw, 2.5rem);
	--rg-stripe: linear-gradient(to bottom, var(--rg-red) 0 33.33%, var(--rg-gold) 33.33% 66.66%, var(--rg-green) 66.66% 100%);
	--rg-stripe-h: linear-gradient(to right, var(--rg-red) 0 33.33%, var(--rg-gold) 33.33% 66.66%, var(--rg-green) 66.66% 100%);
}

/* ==========================================================================
   2. Basis
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

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

body {
	margin: 0;
	font-family: var(--rg-font-body);
	font-size: 1.0625rem; /* 17px */
	line-height: 1.7;
	color: var(--rg-text);
	background-color: var(--rg-cream);
	background-image:
		radial-gradient(circle at 15% 10%, rgba(242, 183, 5, .10), transparent 40%),
		radial-gradient(circle at 85% 30%, rgba(29, 122, 56, .07), transparent 45%),
		radial-gradient(circle at 50% 90%, rgba(198, 42, 30, .06), transparent 50%);
	background-attachment: fixed;
}

img, video, iframe, svg { max-width: 100%; height: auto; }
img { display: block; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--rg-font-head);
	font-weight: 700;
	line-height: 1.15;
	color: var(--rg-maroon);
	letter-spacing: .02em;
	margin: 1.6em 0 .5em;
	font-stretch: condensed;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); }
h3 { font-size: clamp(1.35rem, 2.6vw, 1.65rem); }
h4 { font-size: 1.25rem; }
h5, h6 { font-size: 1.1rem; }

p, ul, ol, dl, blockquote, figure, table, pre { margin: 0 0 1.25em; }

a {
	color: var(--rg-green-dark);
	text-decoration: underline;
	text-decoration-thickness: .08em;
	text-underline-offset: .2em;
	transition: color .2s ease, background-color .2s ease;
}
a:hover { color: var(--rg-red-dark); text-decoration-thickness: .14em; }

:focus-visible {
	outline: 3px solid var(--rg-maroon);
	outline-offset: 3px;
	box-shadow: 0 0 0 6px var(--rg-gold);
	border-radius: 3px;
}

blockquote {
	margin-left: 0;
	padding: 1.1rem 1.4rem;
	border-left: 6px solid var(--rg-green);
	background: var(--rg-paper);
	border-radius: 0 var(--rg-radius-sm) var(--rg-radius-sm) 0;
	font-family: var(--rg-font-serif);
	font-size: 1.15rem;
	font-style: italic;
}
blockquote cite { display: block; margin-top: .5rem; font-size: .95rem; font-style: normal; color: var(--rg-muted); }

hr {
	border: 0;
	height: 6px;
	background: var(--rg-stripe-h);
	border-radius: 3px;
	margin: 2.5rem auto;
	max-width: 180px;
}

code, kbd, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }
pre { overflow-x: auto; padding: 1rem; background: var(--rg-maroon-2); color: #fff; border-radius: var(--rg-radius-sm); }

table { width: 100%; border-collapse: collapse; }
th, td { padding: .6rem .75rem; border-bottom: 1px solid var(--rg-line); text-align: left; }
th { background: var(--rg-paper); color: var(--rg-maroon); }

mark { background: var(--rg-gold-soft); color: var(--rg-ink); padding: 0 .2em; }

/* ==========================================================================
   3. Barrierefreiheit
   ========================================================================== */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: var(--rg-paper);
	clip: auto !important;
	clip-path: none;
	color: var(--rg-maroon);
	display: block;
	font-size: 1rem;
	font-weight: 700;
	height: auto;
	left: 1rem;
	padding: 1rem 1.5rem;
	text-decoration: none;
	top: 1rem;
	width: auto;
	z-index: 100000;
	border-radius: var(--rg-radius-sm);
	box-shadow: var(--rg-shadow);
}

.skip-link { position: absolute; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

/* ==========================================================================
   4. Layout
   ========================================================================== */
.rg-wrap {
	width: 100%;
	max-width: var(--rg-wrap);
	margin-inline: auto;
	padding-inline: clamp(1rem, 4vw, 2rem);
}

.rg-stripe {
	height: 8px;
	background: var(--rg-stripe-h);
}

.site-content { padding-block: var(--rg-gap) calc(var(--rg-gap) * 1.5); }

.rg-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--rg-gap);
}

@media (min-width: 960px) {
	.rg-layout.has-sidebar { grid-template-columns: minmax(0, 1fr) 320px; }
}

/* ==========================================================================
   5. Header
   ========================================================================== */
.site-header {
	background: var(--rg-paper);
	border-bottom: 1px solid var(--rg-line);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding-block: 1rem;
	flex-wrap: wrap;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-width: 0;
}

.site-branding a { text-decoration: none; }

.site-logo img,
.custom-logo {
	width: auto;
	max-height: 96px;
	max-width: min(340px, 70vw);
}

.site-title {
	margin: 0;
	font-family: var(--rg-font-head);
	font-size: clamp(1.6rem, 4vw, 2.2rem);
	line-height: 1;
	color: var(--rg-maroon);
}
.site-title a { color: inherit; }

.site-description {
	margin: .3rem 0 0;
	font-size: .95rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--rg-muted);
}

.header-cta {
	display: none;
}
@media (min-width: 720px) {
	.header-cta { display: inline-flex; }
}

/* ==========================================================================
   6. Navigation
   ========================================================================== */
.main-navigation {
	background: var(--rg-maroon);
	color: #fff;
	position: relative;
}

.main-navigation .rg-wrap { position: relative; }

.menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	margin: .6rem 0;
	padding: .65rem 1rem;
	font: inherit;
	font-weight: 700;
	color: #fff;
	background: transparent;
	border: 2px solid rgba(255, 255, 255, .55);
	border-radius: 999px;
	cursor: pointer;
	min-height: 44px;
}
.menu-toggle:hover { background: rgba(255, 255, 255, .1); }
.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	position: relative;
	transition: transform .2s ease;
}
.menu-toggle__icon::before,
.menu-toggle__icon::after { content: ""; position: absolute; left: 0; }
.menu-toggle__icon::before { top: -6px; }
.menu-toggle__icon::after  { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after  { transform: translateY(-6px) rotate(-45deg); }

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation .menu { display: none; padding-bottom: .75rem; }
.main-navigation.is-open .menu { display: block; }

.main-navigation a {
	display: block;
	padding: .75rem 1rem;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	border-radius: var(--rg-radius-sm);
}
.main-navigation a:hover,
.main-navigation a:focus-visible { background: rgba(255, 255, 255, .12); color: var(--rg-gold); }

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-ancestor > a {
	color: var(--rg-gold);
	box-shadow: inset 0 -3px 0 var(--rg-gold);
}

.main-navigation .sub-menu { padding-left: 1rem; }

.submenu-toggle {
	position: absolute;
	right: .25rem;
	top: .25rem;
	width: 44px;
	height: 44px;
	background: transparent;
	color: #fff;
	border: 0;
	border-radius: var(--rg-radius-sm);
	cursor: pointer;
}
.submenu-toggle::before {
	content: "";
	display: inline-block;
	width: 9px;
	height: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform .2s ease;
}
.submenu-toggle[aria-expanded="true"]::before { transform: rotate(-135deg) translate(-2px, -2px); }

.main-navigation li { position: relative; }
.main-navigation .menu-item-has-children > .sub-menu { display: none; }
.main-navigation .menu-item-has-children.is-open > .sub-menu { display: block; }

@media (min-width: 960px) {
	.menu-toggle { display: none; }
	.main-navigation .menu {
		display: flex;
		flex-wrap: wrap;
		gap: .25rem;
		padding: 0;
	}
	.main-navigation .menu > li > a { padding: 1rem 1.1rem; border-radius: 0; }
	.main-navigation .menu > .menu-item-has-children > a { padding-right: 2.6rem; }
	.submenu-toggle { top: 50%; transform: translateY(-50%); width: 36px; height: 36px; }
	.main-navigation .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 230px;
		padding: .5rem;
		background: var(--rg-maroon-2);
		border-radius: 0 0 var(--rg-radius-sm) var(--rg-radius-sm);
		box-shadow: var(--rg-shadow);
		z-index: 50;
	}
	.main-navigation .sub-menu .submenu-toggle { top: .4rem; transform: none; }
	.main-navigation .sub-menu .sub-menu { top: 0; left: 100%; border-radius: var(--rg-radius-sm); }
	.main-navigation .menu-item-has-children:hover > .sub-menu,
	.main-navigation .menu-item-has-children:focus-within > .sub-menu { display: block; }
}

/* ==========================================================================
   7. Buttons
   ========================================================================== */
.rg-button,
.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-height: 48px;
	padding: .7rem 1.4rem;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
	background: var(--rg-green-dark);
	border: 2px solid var(--rg-green-dark);
	border-radius: 999px;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, transform .15s ease, color .2s ease;
}
.rg-button:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
	background: var(--rg-maroon);
	border-color: var(--rg-maroon);
	color: #fff;
	transform: translateY(-1px);
}

.rg-button--gold {
	background: var(--rg-gold);
	border-color: var(--rg-gold);
	color: var(--rg-maroon-2);
}
.rg-button--gold:hover { background: #fff; border-color: #fff; color: var(--rg-maroon-2); }

.rg-button--outline {
	background: transparent;
	color: var(--rg-maroon);
	border-color: var(--rg-maroon);
}
.rg-button--outline:hover { background: var(--rg-maroon); color: #fff; }

.rg-button--light {
	background: transparent;
	color: #fff;
	border-color: #fff;
}
.rg-button--light:hover { background: #fff; color: var(--rg-maroon); border-color: #fff; }

/* ==========================================================================
   8. Startseite: Hero & Sektionen
   ========================================================================== */
.rg-hero {
	position: relative;
	overflow: hidden;
	background:
		repeating-conic-gradient(from 0deg at 50% 115%, rgba(242, 183, 5, .18) 0 6deg, transparent 6deg 12deg),
		linear-gradient(180deg, #fff8e3 0%, var(--rg-cream) 100%);
	border-bottom: 1px solid var(--rg-line);
}

.rg-hero__inner {
	display: grid;
	gap: 2rem;
	align-items: center;
	padding-block: clamp(2rem, 6vw, 4.5rem);
}

@media (min-width: 860px) {
	.rg-hero__inner { grid-template-columns: 1.1fr .9fr; }
}

.rg-hero__kicker {
	display: inline-block;
	margin: 0 0 .75rem;
	padding: .3rem .9rem;
	font-weight: 700;
	font-size: .9rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--rg-maroon-2);
	background: var(--rg-gold);
	border-radius: 999px;
}

.rg-hero__title {
	margin: 0 0 1rem;
	font-size: clamp(2.4rem, 6.5vw, 4.2rem);
	line-height: 1.02;
}
.rg-hero__title span { color: var(--rg-red); }

.rg-hero__text { font-size: 1.15rem; max-width: 38em; }

.rg-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

.rg-hero__logo { justify-self: center; max-width: 440px; width: 100%; }
.rg-hero__logo img { width: 100%; filter: drop-shadow(0 18px 24px rgba(74, 22, 34, .22)); }

.rg-section { padding-block: clamp(2.5rem, 6vw, 4rem); }
.rg-section--paper { background: var(--rg-paper); border-block: 1px solid var(--rg-line); }
.rg-section--dark  { background: var(--rg-maroon); color: #fff; }
.rg-section--dark h2, .rg-section--dark h3 { color: var(--rg-gold); }
.rg-section--dark a:not(.rg-button) { color: var(--rg-gold-soft); }

.rg-section__head { text-align: center; max-width: 46rem; margin: 0 auto 2.25rem; }
.rg-section__head h2 { margin-top: 0; }
.rg-section__head h2::after {
	content: "";
	display: block;
	width: 90px;
	height: 6px;
	margin: .75rem auto 0;
	background: var(--rg-stripe-h);
	border-radius: 3px;
}

.rg-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
	list-style: none;
	padding: 0;
	margin: 0;
}

.rg-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--rg-paper);
	border: 1px solid var(--rg-line);
	border-radius: var(--rg-radius);
	box-shadow: var(--rg-shadow);
	overflow: hidden;
	color: var(--rg-text);
}
.rg-card__body { padding: 1.4rem 1.5rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.rg-card__body > :last-child { margin-bottom: 0; }
.rg-card h3 { margin-top: 0; }
.rg-card__icon {
	width: 56px;
	height: 56px;
	display: grid;
	place-items: center;
	margin-bottom: 1rem;
	border-radius: 50%;
	background: var(--rg-gold-soft);
	color: var(--rg-maroon);
}
.rg-card__icon svg { width: 30px; height: 30px; }
.rg-card::before {
	content: "";
	display: block;
	height: 6px;
	background: var(--rg-stripe-h);
}
.rg-card__more { margin-top: auto; padding-top: .5rem; font-weight: 700; }

/* Mitmachen-Box */
.rg-join {
	display: grid;
	gap: 2rem;
	align-items: center;
}
@media (min-width: 860px) { .rg-join { grid-template-columns: 1.2fr .8fr; } }

.rg-instruments {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: .75rem;
	list-style: none;
	padding: 0;
	margin: 1.25rem 0 1.5rem;
}
.rg-instruments li {
	display: flex;
	align-items: center;
	gap: .6rem;
	padding: .6rem .9rem;
	font-family: var(--rg-font-head);
	font-size: 1.15rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: var(--rg-radius-sm);
}
.rg-instruments li::before {
	content: "";
	flex: 0 0 auto;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--rg-gold);
	box-shadow: 0 0 0 3px var(--rg-green);
}

.rg-join__flyer {
	justify-self: center;
	max-width: 340px;
	transform: rotate(2deg);
	border: 6px solid #fff;
	border-radius: var(--rg-radius-sm);
	box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .5);
}

/* Werte-Liste */
.rg-values {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.rg-values li {
	padding: 1.1rem 1.25rem;
	background: var(--rg-paper);
	border-radius: var(--rg-radius);
	border-left: 6px solid var(--rg-green);
	box-shadow: var(--rg-shadow);
}
.rg-values li:nth-child(3n+2) { border-left-color: var(--rg-gold); }
.rg-values li:nth-child(3n+3) { border-left-color: var(--rg-red); }
.rg-values strong { display: block; font-family: var(--rg-font-head); font-size: 1.3rem; color: var(--rg-maroon); letter-spacing: .03em; }

/* ==========================================================================
   9. Beiträge & Seiten
   ========================================================================== */
.rg-main > article,
.rg-entry {
	background: var(--rg-paper);
	border: 1px solid var(--rg-line);
	border-radius: var(--rg-radius);
	box-shadow: var(--rg-shadow);
	overflow: hidden;
	margin-bottom: var(--rg-gap);
}

.entry-thumbnail img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.entry-inner { padding: clamp(1.25rem, 4vw, 2.5rem); }

.entry-header { margin-bottom: 1.25rem; }
.entry-title { margin: 0 0 .5rem; }
.entry-title a { color: inherit; text-decoration: none; }
.entry-title a:hover { color: var(--rg-red-dark); text-decoration: underline; }

.entry-meta, .entry-footer {
	font-size: .92rem;
	color: var(--rg-muted);
	display: flex;
	flex-wrap: wrap;
	gap: .25rem 1rem;
}
.entry-meta a, .entry-footer a { color: var(--rg-muted); }
.entry-footer { margin-top: 2rem; padding-top: 1rem; border-top: 1px dashed var(--rg-line); }

.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content ul li::marker { color: var(--rg-green); }
.entry-content ol li::marker { color: var(--rg-red); font-weight: 700; }

.sticky .entry-inner { border-top: 6px solid var(--rg-gold); }
.rg-badge {
	display: inline-block;
	padding: .15rem .6rem;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--rg-maroon-2);
	background: var(--rg-gold);
	border-radius: 999px;
}

.more-link { font-weight: 700; }

.page-header {
	margin-bottom: var(--rg-gap);
	padding: 1.5rem 1.75rem;
	background: var(--rg-paper);
	border-radius: var(--rg-radius);
	border-left: 8px solid var(--rg-gold);
	box-shadow: var(--rg-shadow);
}
.page-title { margin: 0; }
.archive-description { margin-top: .5rem; color: var(--rg-muted); }
.archive-description > :last-child { margin-bottom: 0; }

/* WordPress-Kernklassen */
.alignleft  { float: left;  margin: .3rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide, .alignfull { clear: both; }
@media (max-width: 600px) {
	.alignleft, .alignright { float: none; margin: 0 0 1rem; }
}
.wp-caption, figure { max-width: 100%; }
.wp-caption-text, figcaption, .wp-element-caption {
	font-size: .9rem;
	color: var(--rg-muted);
	text-align: center;
	margin-top: .5rem;
}
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.gallery-item { margin: 0; }
.bypostauthor > .comment-body .comment-author .fn::after { content: " ★"; color: var(--rg-gold); }

/* Pagination */
.navigation.pagination, .post-navigation, .comment-navigation { margin-block: var(--rg-gap); }
.nav-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.post-navigation .nav-links { justify-content: space-between; }
.page-numbers,
.post-navigation a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: .5rem .9rem;
	background: var(--rg-paper);
	border: 1px solid var(--rg-line);
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
}
.page-numbers.current { background: var(--rg-maroon); color: #fff; border-color: var(--rg-maroon); }
.post-navigation a { flex-direction: column; align-items: flex-start; border-radius: var(--rg-radius-sm); max-width: 48%; }
.post-navigation .nav-next a { align-items: flex-end; text-align: right; margin-left: auto; }
.post-navigation .meta-nav { font-size: .85rem; font-weight: 400; color: var(--rg-muted); }

/* ==========================================================================
   10. Formulare
   ========================================================================== */
label { font-weight: 600; display: inline-block; margin-bottom: .3rem; }

input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="number"], input[type="tel"], input[type="date"],
textarea, select {
	width: 100%;
	min-height: 48px;
	padding: .65rem .9rem;
	font: inherit;
	color: var(--rg-ink);
	background: #fff;
	border: 2px solid #9c8a75;
	border-radius: var(--rg-radius-sm);
}
input:focus-visible, textarea:focus-visible, select:focus-visible {
	border-color: var(--rg-maroon);
}
textarea { min-height: 160px; resize: vertical; }

.search-form { display: flex; gap: .5rem; }
.search-form label { flex: 1; margin: 0; }
.search-form .search-submit { flex: 0 0 auto; }

/* ==========================================================================
   11. Sidebar & Widgets
   ========================================================================== */
.widget-area .widget {
	background: var(--rg-paper);
	border: 1px solid var(--rg-line);
	border-radius: var(--rg-radius);
	box-shadow: var(--rg-shadow);
	padding: 1.4rem 1.4rem 1.5rem;
	margin-bottom: 1.5rem;
	font-size: 1rem;
}
.widget-area .widget > :last-child { margin-bottom: 0; }

.widget-title, .widget .wp-block-heading {
	margin: 0 0 1rem;
	font-size: 1.45rem;
	padding-bottom: .5rem;
	background: var(--rg-stripe-h) left bottom / 70px 4px no-repeat;
}

.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: .45rem 0; border-bottom: 1px dashed var(--rg-line); }
.widget li:last-child { border-bottom: 0; }
.widget li ul { margin-top: .4rem; padding-left: 1rem; }

.widget_rg_join {
	background: var(--rg-maroon) !important;
	color: #fff;
	border-color: var(--rg-maroon) !important;
}
.widget_rg_join .widget-title { color: var(--rg-gold); }
.widget_rg_join a:not(.rg-button) { color: var(--rg-gold-soft); }
.widget_rg_join .rg-instruments { grid-template-columns: 1fr 1fr; gap: .5rem; margin: .75rem 0 1rem; }
.widget_rg_join .rg-instruments li { font-size: 1rem; padding: .45rem .6rem; border-bottom: 1px solid rgba(255,255,255,.25); }
.widget_rg_join .rg-button { width: 100%; }

.rg-contact-list { list-style: none; margin: 0; padding: 0; }
.rg-contact-list li { display: flex; gap: .6rem; align-items: flex-start; padding: .45rem 0; }
.rg-contact-list svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: .25rem; color: var(--rg-green); }
.widget_rg_join .rg-contact-list svg { color: var(--rg-gold); }

.rg-quote-widget blockquote { margin: 0; font-size: 1.05rem; }

/* ==========================================================================
   12. Kommentare
   ========================================================================== */
.comments-area {
	background: var(--rg-paper);
	border: 1px solid var(--rg-line);
	border-radius: var(--rg-radius);
	padding: clamp(1.25rem, 4vw, 2.5rem);
	box-shadow: var(--rg-shadow);
}
.comments-title, .comment-reply-title { margin-top: 0; }
.comment-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.comment-list .children { list-style: none; padding-left: clamp(1rem, 4vw, 2.5rem); }
.comment-body {
	padding: 1rem 0;
	border-bottom: 1px dashed var(--rg-line);
}
.comment-author { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.comment-author .avatar { border-radius: 50%; }
.comment-metadata { font-size: .85rem; }
.comment-metadata a { color: var(--rg-muted); }
.reply a { font-size: .9rem; font-weight: 700; }
.comment-form p { margin-bottom: 1rem; }
.comment-form-cookies-consent { display: flex; gap: .5rem; align-items: flex-start; }
.comment-form-cookies-consent input { margin-top: .4rem; }
.comment-form-cookies-consent label { font-weight: 400; }

/* ==========================================================================
   13. Footer
   ========================================================================== */
.site-footer {
	background: var(--rg-maroon-2);
	color: #f4ead5;
	font-size: 1rem;
}
.site-footer a { color: var(--rg-gold-soft); }
.site-footer a:hover { color: #fff; }

.footer-widgets {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	padding-block: clamp(2.5rem, 6vw, 3.5rem);
}
.footer-widgets .widget-title { color: var(--rg-gold); background-image: var(--rg-stripe-h); }
.footer-widgets .widget li { border-bottom-color: rgba(255, 255, 255, .15); }
.footer-widgets .rg-contact-list svg { color: var(--rg-gold); }

.footer-brand img { max-width: 220px; margin-bottom: 1rem; }

.site-info {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.5rem;
	justify-content: space-between;
	align-items: center;
	padding-block: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, .15);
	font-size: .92rem;
}
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }

.rg-one-love {
	font-family: var(--rg-font-head);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--rg-gold);
}

/* ==========================================================================
   14. 404 & leere Zustände
   ========================================================================== */
.rg-empty { text-align: center; }
.rg-empty__logo { max-width: 260px; margin: 0 auto 1.5rem; }
.rg-empty .search-form { max-width: 520px; margin: 1.5rem auto; }

/* ==========================================================================
   15. Block-Editor-Feinschliff
   ========================================================================== */
.has-rg-red-color { color: var(--rg-red) !important; }
.has-rg-gold-color { color: var(--rg-gold) !important; }
.has-rg-green-color { color: var(--rg-green) !important; }
.has-rg-maroon-color { color: var(--rg-maroon) !important; }
.has-rg-cream-color { color: var(--rg-cream) !important; }
.has-rg-red-background-color { background-color: var(--rg-red) !important; }
.has-rg-gold-background-color { background-color: var(--rg-gold) !important; }
.has-rg-green-background-color { background-color: var(--rg-green) !important; }
.has-rg-maroon-background-color { background-color: var(--rg-maroon) !important; }
.has-rg-cream-background-color { background-color: var(--rg-cream) !important; }

.wp-block-pullquote { border-block: 6px solid var(--rg-gold); }
.wp-block-separator { border: 0; }
.wp-block-group.has-background { padding: 1.5rem; border-radius: var(--rg-radius); }
.wp-block-cover { border-radius: var(--rg-radius); overflow: hidden; }

/* ==========================================================================
   16. Druck
   ========================================================================== */
@media print {
	.site-header, .main-navigation, .widget-area, .site-footer, .comments-area,
	.post-navigation, .navigation, .rg-stripe { display: none !important; }
	body { background: #fff; color: #000; }
	.rg-main > article, .rg-entry { box-shadow: none; border: 0; }
	a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}

/* ==========================================================================
   17. Ergänzungen
   ========================================================================== */
.rg-front .site-content { padding-top: 0; }
.rg-front .rg-layout { padding-bottom: 0; }
.rg-section--dark .rg-contact-list svg { color: var(--rg-gold); }
.rg-section--dark .rg-contact-list a { color: #fff; }
#content:focus { outline: none; }
.site-logo { display: inline-block; line-height: 0; }
.page-links { margin-top: 1.5rem; font-weight: 700; display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.rg-hero__actions:empty { display: none; }
.rg-main section > h2:first-child { margin-top: 0; }
.no-js .main-navigation .menu { display: block; }
.no-js .menu-toggle { display: none; }
.no-js .main-navigation .sub-menu { display: block; }

/* Zitate: Schriftfarbe immer passend zum Hintergrund */
blockquote { color: var(--rg-text); }
.site-footer blockquote,
.rg-section--dark blockquote,
.widget_rg_join blockquote {
	background: rgba(255, 255, 255, .08);
	color: #fff;
	border-left-color: var(--rg-gold);
}
.site-footer blockquote cite,
.rg-section--dark blockquote cite { color: var(--rg-gold-soft); }
blockquote > :last-child { margin-bottom: 0; }

/* Anton gibt es nur in einer (kräftigen) Stärke: kein künstliches Fettdrucken */
h1, h2, h3, h4, h5, h6,
.site-title, .widget-title, .rg-values strong, .rg-instruments li, .rg-one-love {
	font-weight: 400;
	font-stretch: normal;
	letter-spacing: .03em;
	line-height: 1.12;
}
h1, .rg-hero__title { letter-spacing: .02em; }
.rg-hero__title { line-height: 1.05; }
h3 { letter-spacing: .04em; }
