/*
Theme Name: Schüßler & Sohn
Theme URI: https://naturstein-schuessler.de
Author: 2FOX4 – Oliver Deppe
Author URI: https://2fox4.de
Description: Individuelles Theme für den Steinmetz-Meisterbetrieb Schüßler & Sohn GmbH, Lauenhagen.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: schuessler
*/

/* ------------------------------------------------------------ Schrift (lokal) */
@font-face {
	font-family: "Inter";
	src: url("assets/fonts/inter-var.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* ------------------------------------------------------------ Grundwerte */
:root {
	--ink: #1a1511;
	--ink-2: #3a322b;
	--ink-soft: #5c5248;
	--ink-faint: #8a7f74;
	--sand: #e8dccb;
	--bg: #ffffff;
	--bg-sand: #f7f3ed;
	--linie: #e4ddd3;
	--akzent: #a65b25;
	--akzent-d: #87481a;
	--dunkel: #26201b;
	--dunkel-2: #1d1814;
	--blau: #174aa0;
	--radius: 6px;
	--schatten: 0 1px 2px rgba(38, 32, 27, .06), 0 8px 24px rgba(38, 32, 27, .08);
	--wrap: 1200px;
	--rand: clamp(16px, 4vw, 40px);
	--abstand: clamp(56px, 8vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
	margin: 0;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink-2);
	background: var(--bg);
	font-feature-settings: "cv11", "ss01";
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--akzent-d); text-underline-offset: 3px; }
a:hover { color: var(--akzent); }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.wrap--text { max-width: calc(780px + 2 * var(--rand)); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { left: 8px; }

.dachzeile { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--akzent); margin: 0 0 .8em; }
.dachzeile--hell { color: var(--sand); }
.dachzeile--hell::after { content: ""; display: block; width: 48px; height: 2px; background: var(--akzent); margin-top: 14px; }
.titel-2 { font-size: clamp(28px, 3.4vw, 42px); }
.titel-3 { font-size: 22px; }
.gross { font-size: 19px; color: var(--ink-2); }

/* ------------------------------------------------------------ Knöpfe */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: 11px 22px; border-radius: var(--radius);
	font: inherit; font-weight: 650; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
	border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.btn--gross { min-height: 54px; padding: 13px 26px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--akzent { background: var(--akzent); color: #fff; }
.btn--akzent:hover { background: var(--akzent-d); color: #fff; }
.btn--linie { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--linie:hover { background: var(--ink); color: #fff; }
.btn--linie-hell { border-color: rgba(255, 255, 255, .85); color: #fff; background: rgba(0, 0, 0, .08); }
.btn--linie-hell:hover { background: #fff; color: var(--ink); }

/* ------------------------------------------------------------ Topbar & Kopf */
.topbar { background: var(--dunkel); color: #c4b8aa; font-size: 14px; }
.topbar__in { display: flex; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.topbar p { margin: 0; }
.topbar a { color: #c4b8aa; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__tel { color: var(--sand) !important; font-weight: 700; }
.topbar span[aria-hidden] { color: #786c60; margin: 0 .4em; }

.kopf { background: #fff; border-bottom: 1px solid var(--linie); position: sticky; top: 0; z-index: 50; }
.admin-bar .kopf { top: 32px; }
.kopf__in { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.logo img { width: 244px; height: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__liste { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.nav__liste a { color: var(--ink-2); font-weight: 600; font-size: 16.5px; text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav__liste a:hover, .nav__liste .current-menu-item > a, .nav__liste .current-menu-ancestor > a, .nav__liste .current-page-ancestor > a { color: var(--ink); border-bottom-color: var(--akzent); }
.nav__liste .sub-menu { display: none; }
.nav__tel { display: none; }
.nav-toggle { display: none; }

@media (max-width: 1000px) {
	.topbar__zeiten { display: none; }
	.topbar__in { justify-content: center; }
	.kopf__in { min-height: 68px; }
	.logo img { width: 190px; }
	.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; margin-right: -10px; }
	.nav-toggle__balken, .nav-toggle__balken::before, .nav-toggle__balken::after { display: block; width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
	.nav-toggle__balken::before, .nav-toggle__balken::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__balken::before { top: -8px; }
	.nav-toggle__balken::after { top: 8px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__balken { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__balken::before { transform: translateY(8px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__balken::after { transform: translateY(-8px) rotate(-45deg); }
	.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--linie); box-shadow: var(--schatten); padding: 8px var(--rand) 24px; flex-direction: column; align-items: stretch; gap: 16px; }
	.nav.is-offen { display: flex; }
	.nav__liste { flex-direction: column; gap: 0; }
	.nav__liste a { display: block; padding: 14px 0; border-bottom: 1px solid var(--linie); font-size: 18px; }
	.nav__liste a:hover, .nav__liste .current-menu-item > a { border-bottom-color: var(--linie); color: var(--akzent-d); }
	.nav__tel { display: block; text-align: center; font-weight: 650; color: var(--ink); }
}
@media (max-width: 480px) { .topbar { display: none; } }

/* ------------------------------------------------------------ Hero */
.hero { position: relative; background: var(--dunkel-2); color: #fff; overflow: hidden; }
.hero__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(22, 18, 15, .92) 0%, rgba(22, 18, 15, .78) 38%, rgba(22, 18, 15, .25) 70%, rgba(22, 18, 15, .05) 100%); }
.hero__in { position: relative; z-index: 2; min-height: clamp(520px, 72vh, 700px); display: flex; flex-direction: column; justify-content: center; padding-top: 72px; padding-bottom: 80px; }
.hero__titel { color: #fff; font-size: clamp(42px, 6.2vw, 76px); letter-spacing: -.03em; line-height: 1.02; max-width: 11ch; margin-bottom: .35em; }
.hero__text { font-size: clamp(18px, 1.6vw, 21px); color: #e6dccf; max-width: 36em; margin-bottom: 1.8em; }
.hero__knoepfe { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }

@media (max-width: 700px) {
	.hero::before { background: linear-gradient(180deg, rgba(22, 18, 15, .15) 0%, rgba(22, 18, 15, .55) 38%, rgba(22, 18, 15, .94) 70%); }
	.hero__bild img { object-position: 60% 30%; }
	.hero__in { min-height: 620px; justify-content: flex-end; padding-bottom: 40px; }
	.hero__knoepfe .btn { flex: 1 1 100%; }
}

/* ------------------------------------------------------------ Vertrauensleiste */
.vertrauen { background: var(--dunkel); color: #cbbfb1; }
.vertrauen__liste { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 22px; padding-bottom: 22px; font-size: 14.5px; line-height: 1.4; }
.vertrauen__liste li { border-left: 2px solid var(--akzent); padding-left: 14px; }
.vertrauen__liste strong { display: block; color: #fff; font-size: 17px; }
@media (max-width: 800px) { .vertrauen__liste { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------ Abschnitte */
.abschnitt { padding: var(--abstand) 0; }
.abschnitt--sand { background: var(--bg-sand); }
.abschnitt--eng { padding-top: 0; padding-bottom: var(--abstand); }
.kopfzeile { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }

.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.karte-l { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.karte-l:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(38, 32, 27, .06), 0 16px 40px rgba(38, 32, 27, .12); color: inherit; }
.karte-l__bild { aspect-ratio: 40 / 27; overflow: hidden; background: var(--sand); }
.karte-l__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.karte-l:hover .karte-l__bild img { transform: scale(1.04); }
.karte-l__text { display: flex; flex-direction: column; padding: 22px 24px 24px; flex: 1; }
.karte-l__titel { font-size: 23px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.karte-l__beschr { color: var(--ink-soft); font-size: 16px; margin-bottom: 14px; }
.karte-l__mehr { margin-top: auto; color: var(--akzent-d); font-weight: 650; }
@media (max-width: 900px) { .karten { grid-template-columns: 1fr; } .karte-l { flex-direction: row; } .karte-l__bild { flex: 0 0 38%; aspect-ratio: auto; } }
@media (max-width: 520px) { .karte-l { flex-direction: column; } .karte-l__bild { flex: none; aspect-ratio: 40 / 24; } .karte-l__beschr { margin-bottom: 10px; } }

.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.zweispaltig__bild img { border-radius: var(--radius); box-shadow: var(--schatten); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 900px) { .zweispaltig { grid-template-columns: 1fr; } }

.punkte { list-style: none; padding: 0; margin: 1.4em 0 1.8em; }
.punkte li { padding: 10px 0 10px 28px; border-top: 1px solid var(--linie); position: relative; }
.punkte li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 10px; height: 10px; background: var(--akzent); transform: rotate(45deg); }
.punkte strong { color: var(--ink); }

.haken { list-style: none; padding: 0; margin: 0 0 1.4em; }
.haken li { position: relative; padding-left: 26px; margin-bottom: 6px; }
.haken li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; background: var(--akzent); transform: rotate(45deg); }

/* ------------------------------------------------------------ Galerie */
.galerie { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.galerie--start { grid-template-columns: repeat(3, 1fr); }
.galerie__item[hidden] { display: none; }
.galerie__link { display: block; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sand); aspect-ratio: 4 / 3; }
.galerie__link img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.galerie__link:hover img { transform: scale(1.05); }
.galerie__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: 14px; line-height: 1.3; color: #fff; background: linear-gradient(0deg, rgba(22, 18, 15, .85), rgba(22, 18, 15, 0)); opacity: 0; transition: opacity .2s; }
.galerie__link:hover .galerie__cap, .galerie__link:focus-visible .galerie__cap { opacity: 1; }
@media (hover: none) { .galerie__cap { opacity: 1; } }
@media (max-width: 640px) { .galerie, .galerie--start { grid-template-columns: 1fr 1fr; gap: 8px; } .galerie__cap { font-size: 12.5px; padding: 20px 8px 6px; } }

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.filter__btn { font: inherit; font-weight: 600; font-size: 15px; padding: 9px 18px; min-height: 44px; border-radius: 999px; border: 1.5px solid var(--linie); background: #fff; color: var(--ink-2); cursor: pointer; }
.filter__btn:hover { border-color: var(--ink); }
.filter__btn.is-aktiv { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Lightbox */
.lightbox { border: 0; padding: 0; max-width: none; max-height: none; width: 100vw; height: 100vh; background: rgba(15, 12, 10, .94); color: #fff; }
.lightbox::backdrop { background: rgba(15, 12, 10, .94); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox__fig { margin: 0; padding: 60px 72px; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lightbox__fig img { max-width: 100%; max-height: calc(100vh - 170px); width: auto; border-radius: 4px; }
.lightbox__fig figcaption { margin-top: 14px; font-size: 15px; color: #d8cec2; text-align: center; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 32px; line-height: 1; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .25); }
.lightbox__zu { top: 16px; right: 16px; }
.lightbox__zurueck { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__vor { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox__fig { padding: 64px 8px 90px; } .lightbox__zurueck, .lightbox__vor { top: auto; bottom: 18px; transform: none; } .lightbox__zurueck { left: calc(50% - 64px); } .lightbox__vor { right: calc(50% - 64px); } }

/* ------------------------------------------------------------ CTA */
.cta { background: var(--dunkel); color: #d8cec2; padding: clamp(48px, 6vw, 80px) 0; }
.cta .titel-2 { color: #fff; }
.cta__in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.cta__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 900px) { .cta__in { grid-template-columns: 1fr; } .cta__knoepfe { justify-content: flex-start; } }

/* ------------------------------------------------------------ Unterseiten */
.seitenkopf { background: var(--bg-sand); padding: clamp(36px, 5vw, 64px) 0 clamp(32px, 4vw, 52px); border-bottom: 1px solid var(--linie); position: relative; }
.seitenkopf__titel { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.025em; margin-bottom: .3em; }
.seitenkopf__text { font-size: 19px; max-width: 42em; color: var(--ink-soft); margin: 0; }
.seitenkopf--bild { background: var(--dunkel-2); color: #fff; overflow: hidden; border: 0; padding: clamp(80px, 12vw, 150px) 0 clamp(40px, 5vw, 64px); }
.seitenkopf__bild { position: absolute; inset: 0; }
.seitenkopf__bild img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.seitenkopf--bild .wrap { position: relative; }
.seitenkopf--bild .seitenkopf__titel { color: #fff; }
.seitenkopf--bild .seitenkopf__text { color: #e6dccf; }
.seitenkopf--bild .brotkrumen, .seitenkopf--bild .brotkrumen a { color: #d8cec2; }

.brotkrumen { font-size: 14px; color: var(--ink-faint); margin-bottom: 14px; }
.brotkrumen a { color: var(--ink-soft); }
.brotkrumen span[aria-hidden] { margin: 0 .35em; }

.inhalt { padding-top: clamp(36px, 5vw, 60px); padding-bottom: clamp(48px, 6vw, 80px); }
.inhalt h2 { font-size: 28px; margin-top: 1.4em; }
.inhalt h3 { font-size: 21px; margin-top: 1.3em; }
.inhalt ul { padding-left: 1.2em; }
.inhalt li { margin-bottom: .35em; }
.inhalt figure { margin: 2em 0; }
.inhalt figure img { border-radius: var(--radius); }
.inhalt .zweispaltig { margin: 2.2em 0; }
.inhalt > :first-child { margin-top: 0; }
.inhalt .wp-block-image img { border-radius: var(--radius); }
.inhalt .wp-block-columns { display: flex; gap: 28px; flex-wrap: wrap; margin: 2em 0; }
.inhalt .wp-block-column { flex: 1 1 280px; }

.leistung { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.leistung__box { margin-top: clamp(36px, 5vw, 60px); background: var(--bg-sand); border: 1px solid var(--linie); border-radius: var(--radius); padding: 26px; position: sticky; top: 110px; }
.leistung__box h2 { font-size: 20px; }
.leistung__box p { font-size: 15.5px; }
@media (max-width: 900px) { .leistung { grid-template-columns: 1fr; } .leistung__box { position: static; margin-top: 0; margin-bottom: 48px; } }

.bereiche { padding: clamp(40px, 6vw, 72px) 0; display: grid; gap: clamp(48px, 7vw, 88px); }
.bereich { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.bereich--rechts .bereich__bild { order: 2; }
.bereich__bild img { border-radius: var(--radius); box-shadow: var(--schatten); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.bereich h2 a { color: inherit; text-decoration: none; }
@media (max-width: 900px) { .bereich { grid-template-columns: 1fr; } .bereich--rechts .bereich__bild { order: 0; } }

.faq { padding: clamp(48px, 6vw, 80px) 0 24px; }
.faq h2 { font-size: 30px; }
.faq__item { border-top: 1px solid var(--linie); }
.faq__item:last-of-type { border-bottom: 1px solid var(--linie); }
.faq__item summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 650; color: var(--ink); font-size: 18px; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 26px; font-weight: 400; color: var(--akzent); }
.faq__item[open] summary::after { content: "–"; }
.faq__antwort { padding: 0 0 12px; color: var(--ink-soft); }

.weitere { padding: 24px 0 clamp(56px, 7vw, 96px); }
.weitere h2 { font-size: 22px; }
.weitere ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.weitere a { display: inline-block; padding: 12px 20px; border: 1.5px solid var(--linie); border-radius: var(--radius); text-decoration: none; font-weight: 650; color: var(--ink); }
.weitere a:hover { border-color: var(--ink); }

/* ------------------------------------------------------------ Kontakt */
.kontakt { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 64px); padding-top: clamp(36px, 5vw, 60px); padding-bottom: clamp(40px, 5vw, 64px); align-items: start; }
.kontakt__box { background: var(--bg-sand); border: 1px solid var(--linie); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 24px; }
.kontakt__box h3 { font-size: 17px; margin-top: 1.2em; }
.kontakt__tel a { font-size: 24px; font-weight: 700; color: var(--ink); text-decoration: none; }
@media (max-width: 900px) { .kontakt { grid-template-columns: 1fr; } }

.zeiten { margin: 0; font-size: 15.5px; }
.zeiten div { display: flex; gap: 12px; padding: 3px 0; }
.zeiten dt { min-width: 64px; font-weight: 650; color: var(--ink); }
.zeiten dd { margin: 0; }

.formular { display: grid; gap: 16px; }
.formular__reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .formular__reihe { grid-template-columns: 1fr; } }
.feld { display: grid; gap: 6px; font-weight: 600; font-size: 15px; color: var(--ink); }
.feld input, .feld select, .feld textarea { font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); padding: 12px 14px; min-height: 48px; border: 1.5px solid #cfc5b8; border-radius: var(--radius); background: #fff; width: 100%; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--akzent); box-shadow: 0 0 0 3px rgba(166, 91, 37, .18); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--akzent); flex: none; }
.formular__fuss { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--ink-faint); margin: 0; }
.formular__honig { position: absolute; left: -9999px; }
.hinweis { padding: 14px 18px; border-radius: var(--radius); margin: 0; }
.hinweis--ok { background: #e7f1e5; color: #1f4d1b; }
.hinweis--fehler { background: #f8e4de; color: #7a2410; }

.karte { border-radius: var(--radius); overflow: hidden; background: var(--bg-sand); border: 1px solid var(--linie); min-height: 380px; display: grid; }
.karte iframe { width: 100%; height: 440px; border: 0; display: block; }
.karte__platzhalter { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 40px 24px; background: repeating-linear-gradient(135deg, #f3ede5 0 18px, #efe8df 18px 36px); }
.karte__platzhalter p { max-width: 34em; }
.karte__knoepfe { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ------------------------------------------------------------ Fuß */
.fuss { background: var(--dunkel-2); color: #b6aa9d; font-size: 15.5px; padding-top: clamp(48px, 6vw, 72px); }
.fuss a { color: #e3d8ca; text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss__raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.fuss__marke img { width: 220px; margin-bottom: 18px; }
.fuss__klein { font-size: 13.5px; color: #8f8377; }
.fuss__titel { color: #fff; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1em; }
.fuss__links { list-style: none; padding: 0; margin: 0; }
.fuss__links li { margin-bottom: 6px; }
.fuss .zeiten dt { color: #e3d8ca; }
.fuss__unten { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; position: relative; padding-top: 20px; padding-bottom: 28px; font-size: 14px; }
.fuss__unten::before { content: ""; position: absolute; top: 0; left: var(--rand); right: var(--rand); border-top: 1px solid #3a322b; }
.fuss__unten p { margin: 0; }
.fuss__recht { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
@media (max-width: 900px) { .fuss__raster { grid-template-columns: 1fr 1fr; } .fuss__marke { grid-column: 1 / -1; } }
@media (max-width: 520px) { .fuss__raster { grid-template-columns: 1fr; } }

/* Mobile Schnellkontakt */
.aktionsleiste { display: none; }
@media (max-width: 700px) {
	.aktionsleiste { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(29, 24, 20, .96); backdrop-filter: blur(6px); }
	.aktionsleiste .btn { min-height: 46px; font-size: 15.5px; padding: 8px 10px; }
	body { padding-bottom: 72px; }
}

/* Zeitleiste (Der Betrieb) */
.inhalt .zeitleiste { list-style: none; padding: 0; margin: 1.2em 0 1.6em; border-left: 2px solid var(--linie); }
.inhalt .zeitleiste li { position: relative; padding: 0 0 18px 26px; margin: 0; }
.inhalt .zeitleiste li::before { content: ""; position: absolute; left: -7px; top: 7px; width: 12px; height: 12px; background: var(--akzent); transform: rotate(45deg); }
.inhalt .zeitleiste strong { display: block; color: var(--ink); font-size: 18px; }
.inhalt figcaption { font-size: 14px; color: var(--ink-faint); margin-top: 8px; }
.inhalt .hinweis { margin-bottom: 1.6em; }

/* Grabmal-Nummern (für Telefonanfragen) */
.galerie__nr { position: absolute; top: 10px; left: 10px; z-index: 1; background: #fff; color: var(--ink); font-weight: 750; font-size: 15px; line-height: 1; padding: 7px 10px; border-radius: 4px; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .galerie__nr { top: 6px; left: 6px; font-size: 13.5px; padding: 6px 8px; } }
.nr-hinweis { margin: 18px 0 0; padding: 12px 16px; background: #fff; border-left: 3px solid var(--akzent); border-radius: 0 var(--radius) var(--radius) 0; font-size: 15.5px; max-width: 760px; }
.abschnitt--sand .nr-hinweis { background: #fff; }

/* Referenzen: Abstand oben zum Seitenkopf und unten zum Footer */
.referenzen { padding-top: clamp(28px, 4vw, 44px); padding-bottom: var(--abstand); }
