/* ==========================================================================
   Kohler Eck – Stylesheet
   ========================================================================== */

/* ---------- Schriften (lokal, DSGVO) ----------------------------------------
   Dateien liegen in /fonts/. Optional als .woff2 konvertieren (kleiner) und
   dann jeweils url("…woff2") format("woff2") vor der .ttf-Angabe ergänzen.  */
@font-face {
  font-family: "Handlee";
  src: url("../fonts/Handlee-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Biryani";
  src: url("../fonts/Biryani-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Biryani";
  src: url("../fonts/Biryani-SemiBold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Biryani";
  src: url("../fonts/Biryani-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Farben & Grundwerte ------------------------------------------- */
:root {
  --color-primary: #5A0403;
  --color-secondary: #F7F4F3;
  --color-accent: #004e5c;
  --color-bg: #F7F7F7;
  --color-text: #383A3D;

  /* abgeleitete Töne – nur Mischungen der Palette */
  --tint-primary: color-mix(in srgb, var(--color-primary) 8%, transparent);
  --tint-accent: color-mix(in srgb, var(--color-accent) 9%, transparent);
  --line: color-mix(in srgb, var(--color-text) 13%, transparent);
  --shadow-sm: 0 1px 2px color-mix(in srgb, var(--color-text) 8%, transparent), 0 4px 14px color-mix(in srgb, var(--color-text) 7%, transparent);
  --shadow-md: 0 2px 4px color-mix(in srgb, var(--color-text) 8%, transparent), 0 14px 36px color-mix(in srgb, var(--color-text) 12%, transparent);

  --font-heading: "Handlee", "Segoe Print", "Bradley Hand", "Comic Neue", cursive;
  --font-body: "Biryani", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --header-h: 76px;
  --gutter: clamp(20px, 4vw, 48px);
  --max: 1240px;
}

/* ---------- Basis --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--color-accent); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--color-primary); }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--color-primary) 18%, transparent); }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-primary);
  margin: 0 0 .45em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
address { font-style: normal; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -120px; z-index: 100;
  background: var(--color-primary); color: var(--color-secondary);
  padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--color-secondary); }

.kicker {
  font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-accent); margin: 0 0 .9em;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); max-width: 62ch; }

/* ---------- Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .8em 1.6em .7em;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--color-primary); color: var(--color-secondary); }
.btn-primary:hover { background: var(--color-accent); color: var(--color-secondary); }
.btn-accent { background: var(--color-accent); color: var(--color-secondary); }
.btn-accent:hover { background: var(--color-primary); color: var(--color-secondary); }
.btn-outline { border-color: var(--color-accent); color: var(--color-accent); background: transparent; }
.btn-outline:hover { background: var(--color-accent); color: var(--color-secondary); }
.btn-light { background: var(--color-secondary); color: var(--color-primary); }
.btn-light:hover { background: var(--color-bg); color: var(--color-accent); }
.btn-lg { min-height: 60px; padding: 1em 2.1em .9em; font-size: 1.125rem; box-shadow: var(--shadow-md); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.tag {
  display: inline-flex; align-items: center; min-height: 28px; padding: .25em .9em .15em;
  border-radius: 999px; font-size: .8125rem; font-weight: 600;
  background: var(--tint-accent); color: var(--color-accent);
}
.tag-primary { background: var(--tint-primary); color: var(--color-primary); }

/* ---------- Header -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--color-secondary) 94%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px color-mix(in srgb, var(--color-text) 6%, transparent); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex: none; border-radius: 10px; }
.brand img { height: 50px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  display: block; padding: .55em .95em .45em; border-radius: 999px;
  color: var(--color-text); text-decoration: none; font-weight: 600; font-size: .975rem;
  transition: background-color .2s, color .2s;
}
.site-nav ul a:hover { background: var(--tint-primary); color: var(--color-primary); }
.site-nav ul a[aria-current="page"] { color: var(--color-primary); background: var(--tint-primary); }
.nav-cta[aria-current="page"] { box-shadow: 0 0 0 3px var(--color-secondary), 0 0 0 5px var(--color-primary); }
.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 999px; border: 0;
  background: var(--tint-primary); color: var(--color-primary); cursor: pointer; place-items: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 2.5px; border-radius: 2px; background: currentColor;
  transition: transform .25s, opacity .2s; content: "";
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; top: -7px; left: 0; }
.nav-toggle-bars::after { position: absolute; top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: grid; }
  .site-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px var(--gutter) 28px;
    background: var(--color-secondary);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .25s, visibility 0s .25s;
  }
  .site-header.nav-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .25s; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav ul a { font-size: 1.125rem; padding: .8em 1em .7em; }
  .nav-cta { align-self: flex-start; }
}
@media (max-width: 480px) {
  :root { --header-h: 68px; }
  .brand img { height: 42px; }
}

/* ---------- Scroll-Gericht (Startseite) ---------------------------------- */
.dish { position: relative; background: var(--color-secondary); }
.dish-stage { position: relative; }
.dish-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 72px); align-items: start;
  padding-block: clamp(40px, 6vw, 80px);
}
.dish-text { position: relative; display: grid; align-content: start; }
.station { max-width: 34rem; padding-block: 0 clamp(48px, 8vw, 96px); }
.station:last-child { padding-bottom: 0; }
.station h2 { font-size: clamp(2.1rem, 3.8vw, 3.4rem); }
.station .display { font-size: clamp(3.4rem, 7.5vw, 6.4rem); margin-bottom: .1em; line-height: 1; }
.station .claim {
  font-family: var(--font-heading); font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.2; color: var(--color-accent); margin-bottom: .9em;
}
.station p { font-size: 1.0625rem; }
.station .btn-row { margin-top: 1.4em; }
.scroll-hint { display: none; }

.dish-figure {
  position: relative; margin: 0; justify-self: center;
  width: min(100%, 640px); aspect-ratio: 1;
  position: sticky; top: calc(var(--header-h) + 24px);
}
.dish-figure::before {
  content: ""; position: absolute; inset: 2%;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-accent) 7%, var(--color-secondary));
  transform: translate(3%, 4%);
}
.dish-svg { position: relative; display: block; width: 100%; height: 100%; overflow: visible; }
.dish-progress { display: none; }

/* Animierter Modus (nur mit JS und ohne reduzierte Bewegung) */
.motion .dish { height: var(--dish-length, 520vh); }
.motion .dish-stage {
  position: sticky; top: var(--header-h);
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  overflow: hidden;
}
.motion .dish-grid { height: 100%; align-items: center; padding-block: 24px 88px; }
.motion .dish-text { display: grid; }
.motion .station {
  grid-area: 1 / 1; padding: 0;
  opacity: 0; visibility: hidden; transform: translateY(26px);
  transition: opacity .45s ease, transform .6s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .6s;
}
.motion .station.is-active {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .55s ease .12s, transform .7s cubic-bezier(.2, .8, .2, 1) .12s, visibility 0s;
}
.motion .dish-figure {
  position: relative; top: auto;
  width: min(100%, calc(100svh - var(--header-h) - 150px), 700px);
}
.motion .dish-item:not(#teller) { opacity: 0; }
.motion .dish-shadow { opacity: 0; }
.motion .scroll-hint {
  display: flex; align-items: center; gap: 12px; margin-top: 2em;
  font-size: .9375rem; font-weight: 600; color: var(--color-accent);
}
.scroll-hint-dot {
  width: 26px; height: 40px; border-radius: 999px; border: 2px solid currentColor; position: relative; flex: none;
}
.scroll-hint-dot::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: currentColor; animation: hint 1.8s ease-in-out infinite;
}
@keyframes hint { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(12px); opacity: 0; } }

.motion .dish-progress {
  display: block; position: absolute; left: 0; right: 0; bottom: 22px; z-index: 2;
}
.dish-progress ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.dish-progress button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px;
  padding: .45em 1em .35em .5em; border-radius: 999px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--color-secondary) 85%, transparent);
  color: var(--color-text); font: 600 .8125rem/1 var(--font-body); cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.dish-progress button .num {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--tint-primary); color: var(--color-primary); font-size: .75rem; padding-top: 2px;
}
.dish-progress button:hover { border-color: var(--color-primary); }
.dish-progress button[aria-current="step"] { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-secondary); }
.dish-progress button[aria-current="step"] .num { background: var(--color-secondary); color: var(--color-primary); }
.dish-progress button.is-done .num { background: var(--color-accent); color: var(--color-secondary); }

@media (max-width: 767px) {
  .dish-grid { grid-template-columns: 1fr; gap: 28px; }
  .dish-figure { order: -1; position: relative; top: auto; width: min(100%, 460px); }
  .motion .dish { height: var(--dish-length, 420vh); }
  .motion .dish-grid {
    grid-template-rows: auto minmax(0, 1fr); align-items: start; align-content: start;
    gap: 14px; padding-block: 14px 64px;
  }
  .motion .dish-figure { width: min(82vw, 42svh, 420px); }
  .motion .station h2 { font-size: 1.85rem; }
  .motion .station .display { font-size: 3.2rem; }
  .motion .station .claim { font-size: 1.35rem; margin-bottom: .5em; }
  .motion .station p { font-size: .975rem; line-height: 1.55; margin-bottom: .6em; }
  .motion .station .btn-row { margin-top: .8em; }
  .motion .scroll-hint { margin-top: .8em; }
  .motion .dish-progress { bottom: 14px; }
  .dish-progress ol { justify-content: center; }
  .dish-progress button { padding: 0; border: 0; background: transparent; min-height: 44px; min-width: 36px; justify-content: center; }
  .dish-progress button .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .dish-progress button[aria-current="step"] { background: transparent; }
  .dish-progress button[aria-current="step"] .num { background: var(--color-primary); color: var(--color-secondary); }
}
@media (max-width: 767px) and (max-height: 640px) {
  .motion .dish-figure { width: min(70vw, 36svh); }
}

/* ---------- Sektionen ----------------------------------------------------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { max-width: 42rem; margin-bottom: clamp(28px, 4vw, 48px); }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.info-card {
  background: var(--color-secondary); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
}
.info-card h2, .info-card h3 { font-size: 1.75rem; }
.info-card p:last-child { margin-bottom: 0; }
.info-card .big-link { font-size: 1.35rem; font-weight: 700; color: var(--color-primary); text-decoration: none; }
.info-card .big-link:hover { color: var(--color-accent); text-decoration: underline; }

.hours { display: grid; grid-template-columns: auto 1fr; gap: .35em 1.2em; margin: 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } }
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 10px; min-height: 230px;
  padding: 28px 26px 24px; border-radius: var(--radius-lg);
  background: var(--color-secondary); border: 1px solid var(--line);
  color: var(--color-text); text-decoration: none;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s;
}
.tile::before {
  content: ""; position: absolute; z-index: -1; width: 150px; height: 150px; right: -50px; top: -50px;
  border-radius: 50%; background: var(--tint-primary); transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.tile:nth-child(even)::before { background: var(--tint-accent); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; color: var(--color-text); }
.tile:hover::before { transform: scale(1.35); }
.tile .num { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; color: var(--color-accent); }
.tile h3 { margin: 0; font-size: 2rem; }
.tile p { margin: 0; flex: 1; }
.tile .go { font-weight: 700; color: var(--color-primary); display: inline-flex; gap: .4em; align-items: center; }
.tile:hover .go { color: var(--color-accent); }

.visit { background: var(--color-secondary); color: var(--color-text); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.washed { border-radius: var(--radius-lg); overflow: hidden; }
.washed img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) contrast(.96) brightness(1.03); }
.visit .washed { aspect-ratio: 3 / 2; }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } }

/* ---------- Unterseiten ---------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 104px) clamp(36px, 5vw, 56px); background: var(--color-secondary); }
.page-hero::after {
  content: ""; position: absolute; z-index: 0; width: clamp(220px, 32vw, 440px); aspect-ratio: 1;
  right: calc(var(--gutter) * -1 - 60px); top: 50%; transform: translateY(-45%);
  border-radius: 50%; background: var(--tint-primary);
}
.page-hero.accent::after { background: var(--tint-accent); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 16ch; }

.widget {
  position: relative; width: 100%;
  border-radius: var(--radius-lg); background: var(--color-secondary);
  border: 1px solid var(--line);
  padding: clamp(20px, 3vw, 40px); min-height: 320px;
  color: var(--color-text); font-family: var(--font-body);
}
.widget.is-loaded { min-height: 0; }
.widget-target { width: 100%; }
.widget-target > * { max-width: 100%; }
.widget-target iframe { display: block; width: 100%; max-width: 100%; border: 0; border-radius: var(--radius-sm); }
/* gastronovi: Höhe wächst mit dem Inhalt (per Nachricht vom Widget); bis dahin eine großzügige Mindesthöhe */
.widget-target iframe[id^="gastronaviChannel"] { min-height: 85vh; transition: height .2s; }
.widget-target iframe[id^="gastronaviChannel"].is-sized { min-height: 0; }
.widget-target a { color: var(--color-accent); }
.widget-target button, .widget-target input, .widget-target select, .widget-target textarea { font-family: inherit; }
.consent-box {
  display: grid; justify-items: start; gap: 12px; max-width: 36rem;
  padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-md);
  background: var(--color-bg); border: 1px dashed color-mix(in srgb, var(--color-accent) 45%, transparent);
}
.consent-box p { margin: 0; }
.consent-title { font-weight: 700; color: var(--color-accent); }
.widget-note {
  margin: 0; padding: 18px 22px; border-radius: var(--radius-md);
  background: var(--tint-primary); color: var(--color-primary); font-weight: 600;
}
.widget-note a { color: var(--color-primary); }
.widget-target + .widget-note { margin-top: 16px; }

.aside-contact { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 24px; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 20px; }
.map-box { aspect-ratio: 1 / 1; min-height: 0; display: grid; align-content: center; }
.consent-box[hidden] { display: none; }
.map-box.is-loaded { position: relative; display: block; padding: 0; overflow: hidden; }
.map-box.is-loaded .widget-target { position: absolute; inset: 0; }
.map-box.is-loaded iframe { height: 100%; }
.map-box.is-loaded iframe { border-radius: 0; }

.jobs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.job-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 3vw, 34px); border-radius: var(--radius-lg);
  background: var(--color-secondary); border: 1px solid var(--line);
}
.job-card h3 { margin: 0; }
.job-card .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.job-card ul { margin: 0; padding-left: 1.2em; }
.job-card li { margin-bottom: .3em; }
.job-card .btn { align-self: flex-start; margin-top: auto; }
.apply { background: var(--color-primary); color: var(--color-secondary); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); }
.apply h2 { color: var(--color-secondary); }
.apply a:not(.btn) { color: var(--color-secondary); }

.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.4rem; margin-top: 1.2em; }
.ph {
  background: var(--tint-accent); color: var(--color-accent); padding: .05em .4em; border-radius: 6px;
  font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* ---------- Galerie ------------------------------------------------------- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery-item { aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-secondary); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }
.gallery-item a { display: block; height: 100%; border-radius: inherit; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) contrast(.96) brightness(1.03); transition: transform .5s cubic-bezier(.2,.8,.2,1), filter .3s; }
.gallery-item a:hover img { transform: scale(1.04); filter: none; }
.gallery-ph { height: 100%; display: grid; place-content: center; justify-items: center; gap: 4px; border: 2px dashed var(--line); border-radius: inherit; color: var(--color-accent); font-weight: 600; }
.gallery-ph small { color: var(--color-text); font-weight: 400; }
.lightbox { width: min(96vw, 1200px); max-height: 94vh; padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--color-text); color: var(--color-secondary); overflow: hidden; }
.lightbox::backdrop { background: color-mix(in srgb, var(--color-text) 86%, transparent); }
.lightbox-figure { margin: 0; }
.lightbox-figure img { width: 100%; max-height: 84vh; object-fit: contain; }
.lightbox-figure figcaption { padding: 12px 20px 16px; font-size: .9375rem; }
.lightbox-btn { position: absolute; width: 48px; height: 48px; border-radius: 999px; border: 0; cursor: pointer; background: var(--color-secondary); color: var(--color-primary); font-size: 1.2rem; display: grid; place-items: center; }
.lightbox-btn:hover { background: var(--color-primary); color: var(--color-secondary); }
.lightbox-close { top: 12px; right: 12px; }
.lightbox-prev { left: 12px; top: 40%; }
.lightbox-next { right: 12px; top: 40%; }
.lightbox-btn[hidden] { display: none; }

/* ---------- Footer -------------------------------------------------------- */
.site-footer { background: var(--color-primary); color: var(--color-secondary); padding-top: clamp(56px, 7vw, 88px); }
.site-footer a { color: var(--color-secondary); }
.site-footer a:hover { color: var(--color-secondary); text-decoration-thickness: 2px; }
.site-footer :focus-visible { outline-color: var(--color-secondary); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr 1fr; gap: 36px; }
.footer-grid h2 { color: var(--color-secondary); font-size: 1.5rem; margin-bottom: .5em; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-family: var(--font-heading); font-size: 1.35rem; line-height: 1.25; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  margin-top: clamp(40px, 5vw, 64px); padding-block: 22px;
  border-top: 1px solid color-mix(in srgb, var(--color-secondary) 22%, transparent);
  font-size: .9375rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer-credit { margin: 0 auto; padding-block: 0 22px; text-align: center; font-size: .875rem; opacity: .85; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Eingangsanimationen (nur mit JS, ohne reduzierte Bewegung) ------
   Selektoren identisch zu REVEAL in js/main.js. Animiert werden nur opacity,
   translate und scale – das Layout bleibt unverändert. */
@media screen {
  .reveal-on :is(.page-hero .container > *, .section-head > *, .info-card, .tile, .visit-grid > div:first-child > *, .visit .washed, .gallery-item, .job-card, .apply, .two-col > *, .prose):not(.rv-done) {
    transition: opacity .9s ease var(--rv-delay, 0s), translate 1s cubic-bezier(.2, .8, .2, 1) var(--rv-delay, 0s);
  }
  .reveal-on :is(.page-hero .container > *, .section-head > *, .info-card, .tile, .visit-grid > div:first-child > *, .visit .washed, .gallery-item, .job-card, .apply, .two-col > *, .prose):not(.is-in) { opacity: 0; translate: 0 22px; }
  /* Bilder: sanftes Zurückzoomen im Rahmen */
  .reveal-on :is(.visit .washed, .gallery-item):not(.rv-done) img { transition: scale 1.6s cubic-bezier(.2, .8, .2, 1) var(--rv-delay, 0s); }
  .reveal-on :is(.visit .washed, .gallery-item):not(.is-in) img { scale: 1.07; }
}

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