/* Schusterkind – Stylesheet
   Farben: Terracotta #DB7463 (Hausfarbe), dunkles Braun als Schrift, Creme als Grund. */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --terra: #DB7463;
  --terra-dunkel: #A94A39;   /* Text/Links auf hellem Grund, Kontrast 5,2:1 */
  --terra-hell: #F6DDD5;
  --ink: #2A201C;
  --ink-2: #4A3B34;
  --muted: #6B5850;
  --cream: #FBF6F1;
  --sand: #F3E8DE;
  --line: #E6D6C9;
  --white: #FFFFFF;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(42, 32, 28, .06), 0 12px 40px -12px rgba(42, 32, 28, .18);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(17px, 0.3vw + 16px, 19px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--terra-dunkel); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--terra-dunkel); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--terra); color: var(--ink); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 4.6vw + 1rem, 4.75rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 2.6vw + 1rem, 3.25rem); }
h3 { font-size: clamp(1.3rem, .6vw + 1.1rem, 1.6rem); letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--terra-dunkel); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
.lead { font-size: clamp(1.1rem, .5vw + 1rem, 1.3rem); color: var(--ink-2); max-width: 38em; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.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; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--sand { background: var(--sand); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75em;
  font-family: var(--sans); font-weight: 600; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--terra-dunkel);
  margin: 0 0 1.25rem;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--terra); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .8em 1.5em;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: .02em;
  color: var(--fg); background: var(--bg);
  border: 2px solid var(--bg); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(169, 74, 57, .55); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); box-shadow: none; }
.btn--dark { --bg: var(--ink); --fg: var(--cream); }
.btn--dark:hover { color: var(--cream); }
.btn--light { --bg: var(--cream); --fg: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--terra); padding-bottom: 2px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--terra-dunkel); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
/* Weichzeichner auf eigener Ebene: backdrop-filter direkt am Header würde das fixierte Handy-Menü in die Kopfzeile sperren */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(251, 246, 241, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
}
.site-header[data-open="true"]::before { background: var(--cream); }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(42, 32, 28, .4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a {
  position: relative; font-weight: 500; font-size: .86rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: 8px 0;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--terra-dunkel); }
.header-cta { min-height: 44px; padding: .5em 1.1em; font-size: .92rem; }
.menu-toggle { display: none; }

@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  .brand img { height: 38px; }
  .header-cta { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    min-height: 44px; padding: 0 14px; margin-right: -8px;
    background: none; border: 0; cursor: pointer;
    font: 600 .82rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  }
  .burger { position: relative; width: 22px; height: 14px; }
  .burger span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
  .burger span:nth-child(1) { top: 0; }
  .burger span:nth-child(2) { top: 6px; }
  .burger span:nth-child(3) { top: 12px; }
  .site-header[data-open="true"] .burger span:nth-child(1) { top: 6px; transform: rotate(45deg); }
  .site-header[data-open="true"] .burger span:nth-child(2) { opacity: 0; }
  .site-header[data-open="true"] .burger span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 40px;
    background: var(--cream);
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .site-header[data-open="true"] .nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav a { font-family: var(--serif); font-size: clamp(1.6rem, 6vw, 2.2rem); font-weight: 400; letter-spacing: -0.01em; text-transform: none; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .nav-cta { margin-top: 28px; font-family: var(--sans); font-size: 1.05rem; font-weight: 600; border: 0; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 1081px) { .nav .nav-cta { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { margin-bottom: 2rem; }
.hero-media { position: relative; }
.arch { position: relative; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); box-shadow: var(--shadow); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -28px; bottom: 36px;
  width: 148px; height: 148px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--terra); color: var(--ink);
  box-shadow: var(--shadow);
  font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.25;
}
.hero-badge strong { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 600; letter-spacing: -0.02em; text-transform: none; line-height: 1; margin-bottom: 4px; }
.hero-status { margin-top: 28px; }

.lace { position: absolute; pointer-events: none; z-index: 0; color: var(--terra); opacity: .35; }
.hero > .wrap { position: relative; z-index: 1; }
.hero .lace { left: -5%; right: -5%; bottom: 4%; width: 110%; height: auto; }

/* Öffnungsstatus */
.status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .95rem; font-weight: 500; color: var(--ink-2); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #9A8B83; flex: none; }
.status[data-open="true"] .status-dot { background: #3E8E5A; box-shadow: 0 0 0 0 rgba(62, 142, 90, .5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(62, 142, 90, .45); } 70% { box-shadow: 0 0 0 10px rgba(62, 142, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 142, 90, 0); } }

/* ---------- Vertrauensleiste ---------- */
.facts { border-block: 1px solid var(--line); background: var(--white); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 26px 20px; display: flex; align-items: center; gap: 14px; font-weight: 500; line-height: 1.3; color: var(--ink-2); }
.facts li + li { border-left: 1px solid var(--line); }
.facts svg { width: 30px; height: 30px; color: var(--terra); flex: none; }
.facts b { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--ink); }

/* ---------- Abschnittskopf ---------- */
.head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 64px); }
.head h2 { margin: 0; max-width: 16em; }
.head p { margin: 0; max-width: 30em; color: var(--muted); }
.head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }

/* ---------- Zwei Türen ---------- */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); }
.door { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; min-height: clamp(420px, 44vw, 600px); color: var(--cream); text-decoration: none; isolation: isolate; }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.door::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(42, 32, 28, 0) 30%, rgba(42, 32, 28, .82) 100%); }
.door:hover img { transform: scale(1.04); }
/* Bildausschnitt aus der Verwaltung: wichtigste Stelle (--fx/--fy) und Zoom (--z). scale statt transform, damit der Hover-Zoom der Kacheln bleibt */
img[data-feld] { object-position: var(--fx, 50%) var(--fy, 50%); scale: var(--z, 1); transform-origin: var(--fx, 50%) var(--fy, 50%); }
.door-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 3vw, 44px); }
.door .tag { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; background: var(--terra); color: var(--ink); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.door h3 { color: var(--cream); font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem); margin-bottom: .3em; }
.door p { margin: 0 0 1.1em; max-width: 28em; color: rgba(251, 246, 241, .88); }
.door .more { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; border-bottom: 2px solid var(--terra); padding-bottom: 2px; }
.door .more svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.door:hover .more svg { transform: translateX(5px); }
.door:hover { color: var(--cream); }

/* ---------- Leistungen ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .services { grid-template-columns: repeat(3, 1fr); } }
.services h3 { hyphens: auto; }
.service {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px 26px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service .icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--terra-hell); color: var(--terra-dunkel); }
.service .icon svg { width: 28px; height: 28px; }
.service h3 { font-size: 1.25rem; margin: 0; }
.service p { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.55; }

/* ---------- Text + Bild ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media { position: relative; }
.frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--sand); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 3 / 2; }
.frame--square { aspect-ratio: 1; }
.media-stack { position: relative; padding: 0 12% 14% 0; }
.media-stack .frame--small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 8px solid var(--cream); }
.section--sand .media-stack .frame--small { border-color: var(--sand); }

.quote { position: relative; margin: 2rem 0 0; padding: 0 0 0 28px; border-left: 3px solid var(--terra); font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, .8vw + 1rem, 1.5rem); line-height: 1.45; color: var(--ink); }
.quote cite { display: block; margin-top: .8em; font-family: var(--sans); font-style: normal; font-size: .9rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.checks { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 38px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%;
  background: var(--terra-hell) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A94A39' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checks b { color: var(--ink); }

/* ---------- Ablauf ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); counter-reset: step; }
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--terra); margin-bottom: 18px; }
.step::after { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--terra); }
.step h3 { font-size: 1.3rem; margin-bottom: .4em; }
.step p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Marken ---------- */
.brands { overflow: hidden; padding-block: clamp(40px, 5vw, 64px); border-block: 1px solid var(--line); background: var(--white); }
.brands-label { text-align: center; margin: 0 0 22px; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.marquee { display: flex; width: max-content; }
.marquee ul { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; flex: none; }
.marquee li { display: flex; align-items: center; font-family: var(--serif); font-size: clamp(1.5rem, 1.6vw + 1rem, 2.3rem); color: var(--ink); white-space: nowrap; }
.marquee li::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--terra); margin-inline: clamp(24px, 3vw, 44px); }
@media (prefers-reduced-motion: no-preference) {
  .marquee { animation: marquee 48s linear infinite; }
  .brands:hover .marquee { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { width: auto; }
  .marquee ul { flex: 1 1 auto; flex-wrap: wrap; justify-content: center; row-gap: 12px; padding-inline: var(--gutter); }
  .marquee ul[aria-hidden="true"] { display: none; }
}
.brand-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
/* Markenlogos: einfarbig und ruhig, beim Zeigen in ihren eigenen Farben */
.brand-logo { display: block; height: calc(clamp(24px, 1.2vw + 14px, 34px) * var(--f, 1)); width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1) brightness(.55); opacity: .75; transition: filter .3s ease, opacity .3s ease; }
.marquee li:hover .brand-logo, .brand-grid li:hover .brand-logo { filter: none; opacity: 1; }
.brand-grid .brand-logo { height: calc(34px * var(--f, 1)); max-width: 75%; }
.brand-grid li { display: grid; place-items: center; min-height: 92px; padding: 16px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--serif); font-size: 1.3rem; }
@media (max-width: 600px) { .brand-grid { grid-template-columns: repeat(2, 1fr); } .brand-grid li { min-height: 76px; padding: 12px; } }

/* ---------- Öffnungszeiten / Kontakt ---------- */
.visit { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 3.4vw, 48px); }
.hours { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours th { font-weight: 600; width: 38%; }
.hours td { color: var(--ink-2); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--terra-dunkel); }
.hours tr.is-today th::after { content: "heute"; margin-left: 10px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; background: var(--terra-hell); color: var(--terra-dunkel); padding: 3px 8px; border-radius: 999px; vertical-align: 2px; }
.hours .closed { color: var(--muted); }
.hours .uhr { display: inline-block; min-width: 5ch; text-align: right; }
/* Urlaubshinweis über der Tabelle (Verwaltung: Urlaub von/bis) */
.hours-urlaub { display: flex; gap: 12px; align-items: flex-start; margin: 8px 0 4px; padding: 14px 16px; border-radius: var(--radius); background: var(--terra-hell); color: var(--ink); font-size: .95rem; line-height: 1.5; }
.hours-urlaub .icon { flex: none; width: 22px; height: 22px; color: var(--terra-dunkel); margin-top: 1px; }
.hours-urlaub .icon svg { width: 100%; height: 100%; }
.hours-urlaub b { color: var(--terra-dunkel); }
.footer-hours .urlaub { color: var(--terra); }

.contact-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--terra-hell); color: var(--terra-dunkel); }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list a { color: var(--ink); font-weight: 500; text-decoration: none; font-size: 1.1rem; }
.contact-list a:hover { color: var(--terra-dunkel); text-decoration: underline; }
.visit-media { border-radius: var(--radius-lg); overflow: hidden; min-height: 360px; position: relative; }
.visit-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- CTA-Band ---------- */
.cta { position: relative; overflow: hidden; background: var(--terra); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 88px); display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; isolation: isolate; }
.cta h2 { margin: 0 0 .3em; max-width: 14em; }
.cta h2 em { color: var(--cream); }
.cta p { margin: 0; max-width: 32em; font-size: 1.1rem; color: var(--ink); }
.cta .lace { right: -10%; top: -20%; width: 70%; color: var(--cream); opacity: .3; z-index: -1; }
.cta .btn-row { justify-content: flex-end; }

/* ---------- Unterseiten-Kopf ---------- */
.page-hero { position: relative; padding-block: clamp(48px, 7vw, 104px) clamp(40px, 5vw, 72px); overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 14em; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .lace { right: -20%; top: 10%; width: 75%; opacity: .25; }
.page-banner { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 8; box-shadow: var(--shadow); }
.page-banner img { width: 100%; height: 100%; object-fit: cover; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 28px 0 0; padding: 0; }
.pills li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 500; font-size: .95rem; }

/* Themenblöcke auf Unterseiten */
.topic { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.topic + .topic { margin-top: var(--section); }
.topic:nth-child(even) .topic-media { order: 2; }
.topic-num { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--terra-dunkel); margin-bottom: .6rem; display: block; }
.note { display: flex; gap: 16px; align-items: flex-start; margin-top: 1.5rem; padding: 20px 22px; border-radius: var(--radius); background: var(--terra-hell); color: var(--ink); }
.note svg { width: 26px; height: 26px; flex: none; color: var(--terra-dunkel); margin-top: 2px; }
.note p { margin: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.feature { padding: 28px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.feature .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--terra-hell); color: var(--terra-dunkel); margin-bottom: 18px; }
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.2rem; margin-bottom: .35em; }
.feature p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Rechtstexte */
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.4rem, 1vw + 1.1rem, 1.9rem); margin-top: 2.2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-2); }
.prose address { font-style: normal; margin-bottom: 1.1em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(251, 246, 241, .78); padding-top: clamp(64px, 8vw, 104px); margin-top: 0; position: relative; overflow: hidden; }
.site-footer.flush { margin-top: 0; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--terra); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-grid h2 { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--terra); margin: 0 0 18px; }
.footer-grid address { white-space: nowrap; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-logo { width: 220px; margin-bottom: 20px; }
.footer-claim { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--cream); max-width: 16em; line-height: 1.4; }
.footer-hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-variant-numeric: tabular-nums; }
.footer-hours dt { font-weight: 600; color: var(--cream); }
.footer-hours dd { margin: 0; }
.footer-bottom { border-top: 1px solid rgba(251, 246, 241, .14); padding-block: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .9rem; }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom .credit { margin-left: 24px; opacity: .7; }
.footer-bottom .credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(251, 246, 241, .35); }
@media (max-width: 600px) { .footer-bottom .credit { display: block; margin: 6px 0 0; } }
.site-footer .lace { left: -10%; bottom: -60px; width: 120%; color: var(--terra); opacity: .1; }

/* ---------- Mobile Schnellleiste ---------- */
.quickbar { display: none; }
@media (max-width: 760px) {
  .quickbar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 8px; border-radius: 999px; background: rgba(42, 32, 28, .94);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 12px 32px -10px rgba(42, 32, 28, .5);
    transform: translateY(0); transition: transform .35s var(--ease);
  }
  .quickbar.is-hidden { transform: translateY(140%); }
  .quickbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; font-weight: 600; text-decoration: none; color: var(--cream); }
  .quickbar a:first-child { background: var(--terra); color: var(--ink); }
  .quickbar svg { width: 19px; height: 19px; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* ---------- Einblenden beim Scrollen ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .hero-grid, .split, .topic, .visit { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; width: 100%; margin-inline: auto; order: -1; }
  .arch { aspect-ratio: 5 / 5; }
  .hero-badge { left: auto; right: -8px; bottom: -24px; width: 124px; height: 124px; font-size: .7rem; }
  .hero-badge strong { font-size: 2.1rem; }
  .hero .lace { left: -25%; width: 150%; bottom: -10px; }
  .split--reverse .split-media, .topic:nth-child(even) .topic-media { order: 0; }
  .doors { grid-template-columns: 1fr; }
  .head { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .cta .btn-row { justify-content: flex-start; }
  .page-banner { aspect-ratio: 16 / 9; }
  .visit-media { min-height: 280px; }
}
@media (max-width: 560px) {
  .facts ul { grid-template-columns: 1fr; }
  .facts li + li { border-left: 0; border-top: 1px solid var(--line); }
  .facts li { padding: 18px 4px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .btn-row .btn { flex: 1 1 100%; }
  .media-stack { padding: 0 8% 12% 0; }
  .hours th { width: 30%; }
  .hours tr.is-today th::after { display: none; }
}

/* PHP-Fassung: Texte kommen aus der Verwaltung, lange Wörter dürfen trennen */
.service h3, .feature h3, .door h3, .brand-grid li { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.footer-grid address { font-style: normal; }
