/* =========================================================================
   Gärtnerei Ritter — Editorial: FOOTER CSS (v3, kompakt)
   Geladen global. Eigene Custom-Properties, kein Wrapper-Dep.
   ========================================================================= */

.ritter-footer-editorial {
	--f-ink:          #0F2418;
	--f-paper:        #F5F1E7;
	--f-paper-muted:  rgba(245,241,231,.78);
	--f-leaf:         #1A6B3C;
	--f-leaf-soft:    #2f8a55;
	--f-muted:        rgba(245,241,231,.6);
	--f-rule:         rgba(245,241,231,.12);
	--f-font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
	--f-font-body:    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--f-gutter:       clamp(1.25rem, 4vw, 4rem);

	background: var(--f-ink);
	color: var(--f-paper);
	font-family: var(--f-font-body);
	-webkit-font-smoothing: antialiased;
}

.ritter-footer-editorial *,
.ritter-footer-editorial *::before,
.ritter-footer-editorial *::after { box-sizing: border-box; }

.ritter-footer-editorial a { color: inherit; text-decoration: none; }

/* ── Inner ──────────────────────────────────────────────────────────────── */

.ritter-footer-editorial__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: clamp(2.25rem, 4vw, 3.5rem) var(--f-gutter) clamp(1.5rem, 3vw, 2.25rem);
}

/* ── Masthead ───────────────────────────────────────────────────────────── */

.ritter-footer-editorial__masthead {
	display: flex;
	flex-direction: column;
	gap: .35rem;
	margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
	padding-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
	border-bottom: 1px solid var(--f-rule);
}

.ritter-footer-editorial__wordmark {
	font-family: var(--f-font-display);
	font-weight: 280;
	letter-spacing: -.025em;
	font-size: clamp(1.75rem, 3.5vw, 2.8rem);
	font-variation-settings: "opsz" 144, "SOFT" 30;
	line-height: 1;
	margin: 0;
	color: var(--f-paper);
}

.ritter-footer-editorial__tagline {
	font-size: .9rem;
	color: var(--f-paper-muted);
	margin: 0;
	line-height: 1.5;
}

/* ── Info-Grid (4 Spalten Desktop) ──────────────────────────────────────── */

.ritter-footer-editorial__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.ritter-footer-editorial__col {
	display: flex;
	flex-direction: column;
	gap: .55rem;
	min-width: 0;
}

.ritter-footer-editorial__eyebrow {
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--f-muted);
	margin: 0;
}

.ritter-footer-editorial__address-block {
	font-style: normal;
	display: flex;
	flex-direction: column;
	gap: .15rem;
	font-size: .92rem;
	color: var(--f-paper-muted);
	line-height: 1.5;
}

.ritter-footer-editorial__hours-main {
	font-family: var(--f-font-display);
	font-size: 1.15rem;
	font-weight: 320;
	line-height: 1.15;
	letter-spacing: -.01em;
	font-variation-settings: "opsz" 72, "SOFT" 40;
	color: var(--f-paper);
	margin: 0;
}

.ritter-footer-editorial__hours-sub {
	font-size: .85rem;
	color: var(--f-paper-muted);
	margin: 0;
	line-height: 1.45;
}

.ritter-footer-editorial__contact-links {
	display: flex;
	flex-direction: column;
	gap: .25rem;
}

.ritter-footer-editorial__contact-link {
	font-size: .92rem;
	color: var(--f-paper-muted);
	transition: color .2s ease;
	line-height: 1.45;
}

.ritter-footer-editorial__contact-link:hover {
	color: var(--f-paper);
}

.ritter-footer-editorial__saison-text {
	font-size: .9rem;
	color: var(--f-paper-muted);
	margin: 0;
	line-height: 1.55;
}

/* ── Bar (Copyright + Legal + Social) ──────────────────────────────────── */

.ritter-footer-editorial__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .65rem 1.5rem;
	max-width: 1280px;
	margin: 0 auto;
	padding: 1rem var(--f-gutter) 1.25rem;
	border-top: 1px solid var(--f-rule);
	font-size: .8rem;
}

.ritter-footer-editorial__copy {
	margin: 0;
	color: var(--f-muted);
	letter-spacing: .015em;
}

.ritter-footer-editorial__legal {
	display: flex;
	gap: 1.1rem;
	margin-left: auto;
}

.ritter-footer-editorial__legal a {
	color: var(--f-muted);
	transition: color .2s ease;
}

.ritter-footer-editorial__legal a:hover {
	color: var(--f-paper);
}

.ritter-footer-editorial__social-inline {
	display: flex;
	gap: .65rem;
	align-items: center;
}

.ritter-footer-editorial__social-inline a {
	color: var(--f-paper-muted);
	transition: color .2s ease;
	display: inline-flex;
}

.ritter-footer-editorial__social-inline a:hover {
	color: var(--f-paper);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 980px) {
	.ritter-footer-editorial__grid {
		grid-template-columns: 1fr 1fr;
		gap: 1.5rem 1.75rem;
	}
}

@media (max-width: 560px) {
	.ritter-footer-editorial__grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.ritter-footer-editorial__bar {
		flex-direction: column;
		align-items: flex-start;
	}

	.ritter-footer-editorial__legal {
		margin-left: 0;
	}
}

/* ── Print ──────────────────────────────────────────────────────────────── */

@media print {
	.ritter-footer-editorial { background: transparent; color: #111; }
	.ritter-footer-editorial__bar { border-top: 1px solid #ccc; }
	.ritter-footer-editorial__social-inline { display: none; }
}

/* =========================================================================
   Hinweis-Banner (Saison / Info / Urlaub / Warnung)
   ========================================================================= */

.ritter-banner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: .6rem 1.25rem;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: .82rem;
	line-height: 1.4;
	text-align: center;
	position: relative;
	z-index: 200;
}

.ritter-banner--saison  { background: #1A6B3C; color: #F5F1E7; }
.ritter-banner--info    { background: #A04500; color: #F5F1E7; }
.ritter-banner--urlaub  { background: #0F2418; color: rgba(245,241,231,.85); border-bottom: 1px solid rgba(245,241,231,.1); }
.ritter-banner--warnung { background: #8B2210; color: #F5F1E7; }

.ritter-banner__text { margin: 0; flex: 1; }

.ritter-banner__link {
	color: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: .15em;
	margin-left: .5rem;
	white-space: nowrap;
}

.ritter-banner__link:hover { opacity: .8; }

.ritter-banner__close {
	background: none;
	border: none;
	color: inherit;
	font-size: 1.2rem;
	line-height: 1;
	cursor: pointer;
	opacity: .6;
	padding: .25rem .4rem;
	margin-left: auto;
	flex-shrink: 0;
	transition: opacity .15s ease;
}

.ritter-banner__close:hover { opacity: 1; }

@media (max-width: 500px) {
	.ritter-banner { font-size: .78rem; padding: .55rem 1rem; }
	.ritter-banner__link { display: block; margin: .25rem 0 0; }
}
