/**
 * Code Credits
 * Project: Schilderdienst Griedelbach
 * Owner: Torsten Nixdorf
 * Coding Brand: Nixdorf Media
 * Purpose: Visual system for the public website MVP.
 *
 * Rules:
 * - UTF-8 with German umlauts
 * - no secrets in source code
 */

:root {
  --ink: #171717;
  --muted: #65635f;
  --paper: #f7f5ef;
  --surface: #fffdf8;
  --line: rgba(23, 23, 23, 0.12);
  --line-strong: rgba(23, 23, 23, 0.2);
  --accent: #b3372d;
  --accent-dark: #76251f;
  --blue: #245d73;
  --green: #4f6b4f;
  --shadow: 0 24px 70px rgba(27, 24, 20, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --space-xs: 0.5rem;
  --space-sm: 0.9rem;
  --space-md: 1.35rem;
  --space-lg: 1.75rem;
  --space-xl: 2.4rem;
  --space-2xl: 3.2rem;
  --section-gap: 30px;
  --section-pad: clamp(4.3rem, 5.8vw, 4.8rem);
  --topbar-height: 70px;
  --topbar-status-gap: 24px;
  --topbar-status-height: 36px;
  --topbar-top-offset: 10px;
  --topbar-band-width: min(100% - 32px, 1180px);
  --topbar-total-height: calc(var(--topbar-height) + var(--topbar-status-gap) + var(--topbar-status-height));
  --header-section-height: 200px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", "Geist", "Segoe UI", system-ui, sans-serif;
  line-height: 1.62;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.96;
  background:
    linear-gradient(140deg, #fffcf3 0%, #f7f5ef 42%, #f3f1e8 100%);
}

.header-section {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-section-height);
  z-index: 25;
  background: #0f0f0f;
}

main,
header,
footer,
section,
.cookie-banner {
  position: relative;
  z-index: 1;
}

main {
  --betrieb-status-offset: calc(var(--topbar-total-height) + var(--topbar-top-offset) + 16px);
  padding-top: var(--betrieb-status-offset);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  background: var(--ink);
  color: var(--surface);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  transition: top 300ms var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: var(--topbar-top-offset);
  z-index: 30;
  left: 50%;
  transform: translateX(-50%);
  width: var(--topbar-band-width);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--topbar-height);
  padding: 0.2rem 1.05rem;
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.94);
  box-shadow: 0 18px 60px rgba(24, 22, 18, 0.12);
  backdrop-filter: blur(18px);
  transition: background 220ms var(--ease), backdrop-filter 220ms var(--ease);
}

.site-header[data-theme="dark"] {
  background: rgba(16, 16, 16, 0.98);
  box-shadow: 0 20px 62px rgba(24, 22, 18, 0.14);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.2rem 0.95rem 0.2rem 0.4rem;
}

.brand-logo {
  width: min(182px, 48vw);
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav a,
.ghost-button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  padding: 0.92rem 1.02rem;
  font-size: clamp(1.02rem, 1.45vw, 1.1rem);
  line-height: 1.2;
  cursor: pointer;
  transition: color 500ms var(--ease), background 500ms var(--ease), transform 500ms var(--ease);
}

.site-nav a:focus-visible,
.ghost-button:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(35, 104, 132, 0.45);
  outline-offset: 2px;
}

.site-nav a[aria-current="page"] {
  background: rgba(23, 23, 23, 0.08);
  color: white;
  font-weight: 800;
}

.site-header[data-theme="dark"] .site-nav a,
.site-header[data-theme="dark"] .ghost-button {
  color: rgba(255, 255, 255, 0.84);
}

.site-header[data-theme="dark"] .site-nav a:hover,
.site-header[data-theme="dark"] .site-nav a:focus-visible,
.site-header[data-theme="dark"] .ghost-button:hover,
.site-header[data-theme="dark"] .ghost-button:focus-visible {
  color: white;
  background: rgba(255, 255, 255, 0.18);
}

.site-header[data-theme="dark"] .site-nav a[aria-current="page"] {
  color: white;
  background: rgba(255, 255, 255, 0.2);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.ghost-button:hover,
.ghost-button:focus-visible {
  color: white;
  background: rgba(23, 23, 23, 0.07);
}

.site-nav a:active,
.ghost-button:active,
.btn:active {
  transform: translateY(1px) scale(0.99);
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--ink);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  position: relative;
}

.site-header[data-theme="dark"] .nav-toggle {
  background: white;
}

.nav-toggle span:not(.sr-only) {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  background: white;
  transition: transform 500ms var(--ease), opacity 500ms var(--ease);
}

.nav-toggle span:first-child {
  top: 16px;
}

.nav-toggle span:nth-child(2) {
  top: 24px;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

.betrieb-status-strip {
  position: fixed;
  top: calc(var(--topbar-top-offset) + var(--topbar-height) + var(--topbar-status-gap));
  left: 50%;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: var(--topbar-band-width);
  transform: translateX(-50%);
  min-height: var(--topbar-status-height);
  padding: 0.32rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 12px 32px rgba(24, 22, 18, 0.12);
  transition: background 280ms var(--ease), border-color 280ms var(--ease), color 280ms var(--ease);
}

.betrieb-status-strip[data-state="open"] {
  background: #edf7ef;
  border-color: rgba(52, 112, 48, 0.24);
  color: #25472b;
}

.betrieb-status-strip[data-state="closed"] {
  background: #f4f6f7;
  border-color: rgba(58, 64, 79, 0.21);
  color: #393f45;
}

.betrieb-status-strip[data-state="vacation"] {
  background: #fdecec;
  border-color: rgba(156, 56, 47, 0.26);
  color: #5e2620;
}

.status-dot {
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
}

.betrieb-status-strip[data-state="open"] .status-dot {
  background: #1f7f3b;
}

.betrieb-status-strip[data-state="closed"] .status-dot {
  background: #657286;
}

.betrieb-status-strip[data-state="vacation"] .status-dot {
  background: #b43e34;
}

.status-text {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  font-size: 0.92rem;
  line-height: 1.4;
}

.status-label {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.72;
}

.status-text strong {
  font-size: 0.98rem;
}

.hero {
  background-color: #0b0b0b;
  min-height: clamp(780px, 88dvh, 940px);
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: #1e1d1a;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 11, 10, 0.92) 0%, rgba(12, 11, 10, 0.74) 38%, rgba(12, 11, 10, 0.25) 72%, rgba(12, 11, 10, 0.1) 100%),
    linear-gradient(0deg, rgba(12, 11, 10, 0.66) 0%, rgba(12, 11, 10, 0) 38%);
}

.hero-content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 5.4rem 0 2.45rem;
  color: white;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 var(--space-md);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
  color: color-mix(in srgb, currentColor 70%, transparent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0 0 var(--space-md);
  margin-top: 0;
}

h1 {
  max-width: 660px;
  margin-bottom: 1.1rem;
  font-size: clamp(2rem, 4.5vw, 3.05rem);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: normal;
}

h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: var(--space-md);
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

p {
  line-height: 1.68;
}

h2 + p,
p + p {
  margin-top: var(--space-xs);
}

.hero-copy {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 1.75vw, 1.18rem);
  line-height: 1.64;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.45rem 0.45rem 0.45rem 1.2rem;
  font-weight: 800;
  transition: transform 600ms var(--ease), background 600ms var(--ease), border 600ms var(--ease);
}

.btn span:last-child {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  transition: transform 600ms var(--ease), background 600ms var(--ease);
}

.btn:hover span:last-child,
.btn:focus-visible span:last-child {
  transform: translateX(2px) translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary span:last-child {
  background: rgba(255, 255, 255, 0.16);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-secondary span:last-child {
  background: rgba(255, 255, 255, 0.12);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1040px, 100%);
  gap: 1px;
  margin: 1.5rem 0 0;
  background: rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-facts div {
  padding: 1.05rem 1.15rem;
  background: rgba(10, 10, 9, 0.34);
}

.hero-fact-term {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0;
}

.hero-fact-value {
  margin: 0.35rem 0 0;
  font-weight: 800;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: var(--section-pad) 0;
  display: grid;
  gap: var(--space-2xl);
  border-radius: var(--radius-lg);
  content-visibility: auto;
  contain-intrinsic-size: 960px;
}

main > :is(.hero, .section) + .section {
  margin-top: var(--section-gap);
}

.section-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fffef8;
  box-shadow: 0 24px 50px rgba(24, 22, 18, 0.08);
  padding: 1.7rem;
}

.section :where(p, li) {
  max-width: 65ch;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 3.2rem;
}

.split > div:first-child {
  position: sticky;
  top: 120px;
  align-self: start;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.service-grid article,
.info-grid article,
.detail-band,
.story-grid article,
.contact-strip {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.service-grid article,
.info-grid article,
.story-grid article {
  padding: 1.75rem;
}

.line-icon {
  display: block;
  width: 38px;
  height: 10px;
  margin-bottom: var(--space-md);
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--ink);
}

.service-grid p,
.info-grid p,
.material-copy p,
.detail-list p,
.contact-intro p,
.story-grid p,
.contact-meta,
.form-note {
  color: var(--muted);
}

.info-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 1rem;
}

.info-grid article {
  min-height: 280px;
}

.material-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 1.6rem;
}

.material-copy,
.process-rail,
.material-gallery {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 12px 38px rgba(24, 22, 18, 0.08);
}

.material-copy {
  padding: 1.5rem;
}

.material-band > * {
  background: transparent;
}

.material-entries {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.material-entries li {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.62rem 0.75rem;
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 12px;
  background: #fffef9;
  color: var(--muted);
  line-height: 1.5;
}

.material-entries li::before {
  content: ">";
  color: var(--accent);
  line-height: 1.2;
  font-size: 0.95rem;
  font-weight: 800;
  transform: translateY(0.04rem);
}

.process-rail {
  padding: 1.25rem;
  display: grid;
  gap: 0.58rem;
  align-self: start;
}

.process-list {
  margin: 0;
  padding: 0 0 0 0.2rem;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.process-list li {
  margin: 0;
  position: relative;
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 12px;
  background: #fffef9;
  color: var(--muted);
  line-height: 1.32;
  font-size: 0.92rem;
  padding: 0.72rem 0.75rem 0.72rem 2.8rem;
}

.process-list li::before {
  content: counter(process-step);
  counter-increment: process-step;
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.3rem;
  height: 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #efebe0;
  font-weight: 800;
  font-size: 0.72rem;
  color: var(--ink);
  line-height: 1;
}

.process-rail {
  counter-reset: process-step;
}

.material-gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  padding: 1.2rem;
}

.material-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #f8f7f2;
}

.material-gallery img {
  width: 100%;
  height: 192px;
  object-fit: cover;
  transition: transform 420ms var(--ease), opacity 260ms var(--ease);
  background: #f5f4ef;
}

.material-gallery figure:hover img,
.material-gallery figure:focus-within img {
  transform: scale(1.05);
  opacity: 0.95;
}

.material-gallery figcaption {
  border-top: 1px solid var(--line);
  padding: 0.85rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.detail-band {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 1.6rem;
}

.detail-copy,
.detail-list {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.detail-copy {
  padding: 1.25rem;
}

.detail-copy p + p {
  margin-top: 0.75rem;
}

.detail-list {
  display: grid;
  gap: 1rem;
  padding: 1.05rem;
}

.detail-list article {
  margin: 0;
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 12px;
  background: #fffef9;
  padding: 0.7rem 0.85rem;
  line-height: 1.52;
}

.detail-list article h3 {
  margin-bottom: 0.3rem;
  line-height: 1.15;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 1.6rem;
}

.google-presence {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 1.6rem;
}

.google-presence-copy,
.google-presence-panel,
.google-review-summary,
.google-review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.google-presence-copy,
.google-review-summary {
  padding: 1.4rem;
}

.google-presence-panel {
  padding: 1.05rem;
  display: grid;
  gap: 1rem;
}

.google-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.google-inline-link {
  margin-top: 0.35rem;
}

a[data-consent-link].is-disabled {
  opacity: 0.55;
  cursor: pointer;
}

.google-summary-kicker,
.google-review-meta {
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.google-rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.7rem;
  margin: 0.6rem 0 0.8rem;
}

.google-rating-row strong {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1;
}

.google-rating-row span,
.google-meta-text {
  color: var(--muted);
}

.google-map-embed {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.google-map-embed iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
}

.contact-map-frame {
  position: relative;
}

.consent-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 0.85rem;
  padding: 1.4rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(247, 245, 239, 0.98));
}

.consent-placeholder p {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
}

.consent-placeholder-button,
.footer-settings-button {
  color: var(--muted);
}

.google-map-embed[data-embed-consent="granted"] .consent-placeholder,
.contact-map-frame[data-embed-consent="granted"] .consent-placeholder {
  display: none;
}

.google-review-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.google-review-card {
  padding: 1rem;
}

.google-review-card h3 {
  margin-bottom: 0.42rem;
}

.google-review-card p:last-child {
  margin-bottom: 0;
}

.google-review-card--placeholder {
  grid-column: 1 / -1;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.35rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  position: relative;
  margin: 0;
  padding: 0.72rem 0.8rem 0.72rem 1.8rem;
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 12px;
  background: #fffef9;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0.82rem;
  top: 1.14rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.contact-intro,
.request-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.contact-intro {
  padding: 1.4rem;
  align-self: start;
}

.request-form {
  padding: 1.55rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

label {
  display: grid;
  gap: 0.45rem;
  margin-bottom: var(--space-md);
  font-weight: 800;
}

label small {
  color: var(--muted);
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  color: var(--ink);
  padding: 0.9rem 1rem;
  outline: none;
  transition: border 500ms var(--ease), box-shadow 500ms var(--ease);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(179, 55, 45, 0.11);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 1.35rem;
}

.owner-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  color: var(--ink);
  display: grid;
  grid-template-columns: minmax(220px, 0.74fr) minmax(0, 1fr);
  align-items: start;
  gap: 1.15rem;
  padding: 1.75rem;
}

.owner-card p {
  color: var(--muted);
}

.owner-card h2 {
  color: var(--ink);
}

.owner-card-portrait {
  margin-bottom: 0;
  width: min(220px, 100%);
}

.owner-card-photo {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: calc(var(--radius-lg) - 8px);
  background: #f8f4eb;
}

.owner-card-photo-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 0;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: calc(var(--radius-lg) - 8px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(247, 244, 236, 0.96)),
    #f8f4eb;
  text-align: center;
  padding: 1rem;
}

.owner-card-photo-placeholder span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.owner-card-copy {
  display: grid;
  align-content: start;
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.18rem;
  font-weight: 800;
}

.contact-final {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.92fr);
  gap: 1.4rem;
}

.contact-final-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  overflow: hidden;
}

.contact-map-card {
  display: grid;
  gap: 0;
}

.contact-map-frame iframe {
  display: block;
  width: 100%;
  min-height: 280px;
  border: 0;
}

.contact-map-copy,
.contact-hours-card {
  padding: 1.45rem;
}

.contact-hours-card {
  display: grid;
  align-content: start;
}

.hours-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
}

.hours-list div {
  display: grid;
  grid-template-columns: minmax(112px, 0.48fr) minmax(0, 1fr);
  gap: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(23, 23, 23, 0.08);
}

.hours-list div:first-child {
  padding-top: 0;
  border-top: 0;
}

.hours-list dt,
.hours-list dd {
  margin: 0;
}

.hours-list dt {
  font-weight: 800;
}

.hours-list dd {
  color: var(--muted);
}

.section > .section-shell.material-band,
.section > .section-shell.detail-band,
.section > .section-shell.google-presence,
.section > .section-shell.contact-layout,
.section.contact-final {
  padding-inline: clamp(1rem, 2.2vw, 1.65rem);
}

.contact-links {
  display: grid;
  gap: 0.55rem;
}

.contact-links a {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.2rem;
  font-weight: 800;
}

.contact-link-label {
  min-width: 5.5rem;
  color: var(--muted);
}

.contact-meta {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 1rem;
}

.footer-settings-button {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.legal-page {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 12% 8%, rgba(179, 55, 45, 0.12), transparent 32rem),
    var(--paper);
}

.memorial-page {
  min-height: 100dvh;
  background: #24201c;
  color: white;
}

body.memorial-page::before {
  display: none;
}

.memorial-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 4.4rem 0 2.3rem;
}

.memorial-page .back-link {
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.memorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.72fr);
  gap: 2.2rem;
  align-items: start;
  align-content: start;
  margin-bottom: 0;
}

.memorial-visual-stack {
  display: grid;
  justify-items: center;
  align-items: start;
  gap: 1rem;
  width: min(500px, 100%);
  justify-self: end;
}

.memorial-copy,
.memorial-photo-card {
  min-width: 0;
  align-self: start;
}

.memorial-copy {
  max-width: 100%;
}

.memorial-copy p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.memorial-logo {
  width: min(210px, 60vw);
  height: auto;
  display: block;
}

.memorial-logo-under-photo {
  margin-top: 0.45rem;
  display: block;
  width: min(84%, 390px);
  max-width: min(84%, 390px);
  margin-inline: auto;
  justify-self: center;
}

.memorial-photo-card {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  width: 100%;
  justify-self: end;
  padding: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
}

.memorial-photo-card img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  height: auto;
  border-radius: calc(var(--radius-lg) - 10px);
  background: rgba(255, 255, 255, 0.08);
}

.memorial-photo-card figcaption {
  display: grid;
  gap: 0.2rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  font-weight: 800;
}

.memorial-photo-card figcaption small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 700;
}

.legal-shell {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 6rem 0;
}

.legal-shell h1 {
  color: var(--ink);
  font-size: clamp(3rem, 7vw, 5rem);
}

.legal-shell h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.legal-shell section {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

.legal-warning,
.back-link {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 0.65rem 0.9rem;
}

.legal-warning {
  display: block;
  border-radius: var(--radius-md);
  color: var(--accent-dark);
  background: rgba(179, 55, 45, 0.08);
}

.back-link {
  margin-bottom: 2rem;
  color: var(--muted);
  font-weight: 800;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  box-sizing: border-box;
  display: flex;
  max-width: 420px;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow);
  padding: 0.72rem 0.8rem;
  backdrop-filter: blur(14px);
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.consent-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 39;
  background: rgba(15, 15, 15, 0.46);
  backdrop-filter: blur(4px);
}

.consent-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.consent-modal[hidden],
.consent-modal-backdrop[hidden] {
  display: none;
}

.consent-modal-card {
  width: min(620px, calc(100% - 16px));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.98);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.consent-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(23, 23, 23, 0.08);
}

.consent-switch {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  justify-items: end;
  font-weight: 700;
}

.consent-switch input {
  width: 20px;
  height: 20px;
}

.consent-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

body.consent-modal-open {
  overflow: hidden;
}

.btn.is-loading {
  opacity: 0.75;
  cursor: progress;
}

.btn.is-loading span:last-child::after {
  content: "...";
}

.btn[disabled] {
  cursor: not-allowed;
}

@media (max-width: 900px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    align-items: start;
    border-radius: 26px;
    top: var(--topbar-top-offset);
    left: 16px;
    right: auto;
    width: min(358px, calc(100% - 32px));
    transform: none;
    height: 66px;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    top: 8px;
    right: 8px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 24px;
    background: rgba(16, 16, 16, 0.98);
    padding: 0.7rem;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .hero-content {
    width: min(358px, calc(100% - 32px));
    margin-left: 16px;
    margin-right: auto;
    padding-top: 4.55rem;
    padding-bottom: 1.4rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(1.95rem, 8vw, 2.8rem);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .hero-copy {
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: 0.97rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-actions .btn {
    justify-content: space-between;
    min-width: 0;
    width: 100%;
  }

  .hero-facts,
  .split,
  .service-grid,
  .info-grid,
  .material-band,
  .material-gallery,
  .detail-band,
  .google-presence,
  .google-review-list,
  .contact-layout,
  .contact-final,
  .story-grid,
  .memorial-layout,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .betrieb-status-strip {
    width: min(358px, calc(100% - 32px));
    padding: 0.34rem 0.74rem;
  }

  .status-text {
    font-size: 0.8rem;
    gap: 0.42rem;
  }

  .status-label {
    font-size: 0.68rem;
  }

  .status-text strong {
    font-size: 0.82rem;
  }

  .material-copy,
  .process-rail,
  .material-gallery {
    padding: 1rem;
  }

  .detail-copy,
  .detail-list,
  .google-presence-copy,
  .google-summary,
  .google-presence-panel {
    padding: 1rem;
  }

  .owner-card {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .owner-card-photo-placeholder {
    aspect-ratio: 4 / 5;
  }

  .detail-list article {
    padding: 0.65rem 0.72rem;
  }

  .process-list li {
    padding: 0.68rem 0.68rem 0.68rem 2.45rem;
    font-size: 0.86rem;
  }

  .process-list li::before {
    width: 1.15rem;
    height: 1.15rem;
    left: 0.62rem;
    font-size: 0.68rem;
  }

  .material-gallery {
    gap: 0.8rem;
    padding: 0.85rem;
  }

  .material-gallery img {
    height: 164px;
  }

  .hero {
    min-height: clamp(680px, 78dvh, 760px);
  }

  .hero-facts {
    margin-top: 1rem;
  }

  .hero-facts div {
    padding: 0.82rem 0.9rem;
  }

  .split > div:first-child {
    position: static;
  }

  .section {
    padding: 3.9rem 0;
    gap: var(--space-xl);
  }

  .memorial-page h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2rem, 8vw, 2.35rem);
    line-height: 1.07;
  }

  .memorial-shell {
    width: min(358px, calc(100% - 32px));
    max-width: 358px;
    margin-left: 16px;
    margin-right: auto;
    padding: 3.8rem 0 1.6rem;
    overflow: hidden;
  }

  .memorial-layout,
  .memorial-copy,
  .memorial-photo-card {
    width: 100%;
    max-width: 100%;
  }

  .memorial-copy p {
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    font-size: 1rem;
  }

  .memorial-visual-stack {
    gap: 0.85rem;
  }

  .memorial-logo-under-photo {
    width: min(82%, 300px);
    max-width: min(82%, 300px);
  }

  .material-band,
  .detail-band,
  .google-presence,
  .contact-layout,
  .contact-final {
    padding-inline: 1rem;
  }

  .section-shell {
    padding: 1rem;
  }

  .contact-layout {
    padding: 1rem;
  }

  .contact-intro,
  .request-form {
    padding: 1rem;
  }

  .contact-final,
  .site-footer,
  .cookie-banner {
    align-items: stretch;
  }

  .site-footer nav,
  .cookie-banner-actions,
  .consent-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .consent-option {
    grid-template-columns: 1fr;
  }

  .consent-switch {
    justify-items: start;
  }

  .cookie-banner {
    right: 12px;
    left: auto;
    bottom: 12px;
    max-width: min(310px, calc(100% - 24px));
    width: min(310px, calc(100% - 24px));
    gap: 0.5rem;
    padding: 0.58rem 0.68rem;
    flex-direction: row;
    align-items: center;
  }

  .cookie-banner .ghost-button {
    align-self: auto;
    text-align: center;
    padding: 0.52rem 0.76rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .cookie-banner p {
    font-size: 0.76rem;
  }

}

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