/* ==========================================================================
   Plan F Tübingen, static site stylesheet
   Layout: CSS flexbox throughout. No frameworks, no JavaScript.
   ========================================================================== */

/* ---------- Fonts (same weight mapping as the WordPress theme) ---------- */
@font-face { font-family: "Roboto"; src: url("../fonts/roboto-thin.woff2") format("woff2"); font-weight: 100; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../fonts/roboto-light.woff2") format("woff2"); font-weight: 200; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../fonts/roboto-regular.woff2") format("woff2"); font-weight: 300 500; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../fonts/roboto-medium.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../fonts/roboto-black.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --c-accent: #582531;
  --c-accent-hover: #ad6879;
  --c-text: #444950;
  --c-light: #f7f4f3;
  --c-dark: #1f2124;
  --c-muted: #959fad;
  --sidebar-w: 247px;
  --font: "Roboto", system-ui, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 17px/24px var(--font);
  color: var(--c-text);
  background: #fff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, iframe, video, audio { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote { margin: 0; }
p { margin-bottom: 14.4px; }   /* Elementor keeps this margin on the last paragraph too */
ul, ol { margin: 0 0 14.4px; }
a { color: var(--c-accent); font-weight: 900; text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-accent-hover); }
b, strong { font-weight: 700; }
hr { border: 0; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 1000; background: var(--c-accent); color: #fff; padding: 8px 16px; }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--c-accent-hover); outline-offset: 2px; }

/* ---------- Typography presets (from the Elementor global styles) ---------- */
.t-topic {   /* section headings, e.g. "WER SIND WIR?" */
  font: 200 var(--fs, 36px)/var(--lh, 37px) var(--font);   /* Light, bold parts in Black */
  letter-spacing: var(--ls, normal);
  text-transform: uppercase;
  color: var(--c-accent);
}
.t-label {   /* small bold kicker, e.g. "PLAN F FIRMIERT SEIT …" */
  font: 700 var(--fs, 16px)/var(--lh, 18px) var(--font);
  letter-spacing: var(--ls, .3px);
  text-transform: uppercase;
  color: var(--c-accent);
}
.t-sub {
  font: 500 var(--fs, 22px)/var(--lh, 22px) var(--font);
  letter-spacing: var(--ls, normal);
  text-transform: uppercase;
  color: var(--c-accent);
}
.t-light {   /* large light display headings on banners */
  font: 200 var(--fs, 60px)/var(--lh, 1) var(--font);
  letter-spacing: var(--ls, normal);
  text-transform: uppercase;
  color: var(--c-accent);
}
.t-light b, .t-light strong { font-weight: 600; }
.nocase { text-transform: none; }
.inv, .inv a { color: #fff; }
.center { text-align: center; }
.right { text-align: right; }
:is(h1, h2, h3, h4, p).t-topic a, :is(h1, h2, h3, h4, p).t-label a { color: inherit; font-weight: inherit; }

/* Heading spacing: eyebrow label + heading form one <hgroup> (7px apart);
   any heading followed by content sits 14px above it (20px container gap - 6px). */
hgroup { display: flex; flex-direction: column; gap: 7px; margin: 0; }
hgroup > p { margin: 0; }
.head { margin-bottom: -6px; }

/* ==========================================================================
   Page shell: fixed sidebar + content column
   ========================================================================== */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  width: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 21px 0 20px;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox: still scrollable on short screens, but no visible scrollbar */
  background: linear-gradient(90deg, #141618 0%, #2b2f35 100%);
  box-shadow: 6px 0 14px rgba(0, 0, 0, .29);
}
.sidebar::-webkit-scrollbar { display: none; } /* same for older Chrome/Edge and Safari */
.sidebar .logo img { width: 181px; }
.menu-btn, .menu-close { display: none; }

/* Navigation list (desktop: always visible inside the sidebar) */
.nav { display: block; position: static; width: 100%; margin: 0; padding: 7px 0 15px; border: 0; background: none; color: inherit; overflow: visible; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.nav a {
  position: relative;
  display: block;
  padding: 6px 37px;
  font: 500 15px/18px var(--font);
  letter-spacing: 1px;
  color: #d8d8d8;
  isolation: isolate;
}
/* the accent bar grows in from the left, like Elementor's "background" hover effect */
.nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav a:hover, .nav a:focus-visible, .nav a[aria-current] { color: #fff; }
.nav a:hover::before, .nav a:focus-visible::before, .nav a[aria-current]::before { transform: none; }

.side-cta { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.wa { display: flex; padding: 8px; border-radius: 50%; color: #8f8f8f; transition: background-color .2s, color .2s; }
.wa svg { width: 36px; height: 36px; fill: currentColor; }
.wa:hover, .wa:focus-visible { background: #25d366; color: #fff; }

main { margin-left: var(--sidebar-w); display: flex; flex-direction: column; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border: 3px solid transparent;   /* background shows through the border */
  border-radius: 3px;
  background: var(--c-accent);
  color: #fff;
  font: 400 14px/24px var(--font);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover, .btn:focus-visible { background: var(--c-accent-hover); color: #fff; }
.btn svg { width: 14px; height: 14px; fill: currentColor; }
.btn-tel { padding: 6px 12px 4px; border-width: 2px; line-height: 18px; }
.w-btn { display: flex; }
.w-btn.center { justify-content: center; }
.w-btn.right { justify-content: flex-end; }

/* ==========================================================================
   Content layout (generated from the Elementor containers)
   Each section/box is a flex column; .row switches to a flex row.
   Per-element values are passed as CSS custom properties:
   --pad --gap --jc --ai --minh --basis --cw --bg --ov --ov-o --shadow --border --radius
   ========================================================================== */
/* Layout variables only apply to the element that sets them: every child of a
   section/box starts from the defaults again (otherwise custom properties inherit). */
.sec > *, .box > *, .inner > * {
  --pad: initial; --pad-m: initial; --gap: initial; --jc: initial; --ai: initial;
  --minh: initial; --basis: initial; --cw: initial; --bg: initial; --shadow: initial;
  --border: initial; --radius: initial; --wp: initial; --fs: initial; --lh: initial;
  --ls: initial; --img-pos: initial; --img-size: initial;
}
.sec, .box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: var(--jc, flex-start);
  align-items: var(--ai, stretch);
  gap: var(--gap, 20px);
  min-height: var(--minh, 0);
  padding: var(--pad, 10px);
  background-color: var(--bg, transparent);
  border: var(--border, 0);
  border-radius: var(--radius, 0);
  box-shadow: var(--shadow, none);
}
.row { flex-direction: row; }
.sec, .box { width: var(--cw, auto); }
.mx-auto { margin-inline: auto; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.row { flex-wrap: nowrap; }
.row.wrap { flex-wrap: wrap; }   /* only grids meant to wrap, e.g. the team cards */
.row > .box { flex: 0 1 var(--basis, 100%); min-width: 0; }
.inner { display: flex; flex-direction: column; gap: inherit; width: 100%; max-width: 1140px; margin-inline: auto; }
.bg-light { background-color: var(--c-light); }
.bg-white { background-color: #fff; }

/* background images + overlay */
.has-img {
  background-size: var(--img-size, cover);
  background-position: var(--img-pos, center);
  background-repeat: no-repeat;
}
.ov::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ov);
  opacity: var(--ov-o, 1);
  border-radius: inherit;
  pointer-events: none;
}
.ov > *, .has-slides > * { position: relative; z-index: 1; }

/* ---------- Hero slideshow: pure CSS Ken Burns cross-fade ----------
   3 slides × 5 s, 0.5 s fade, slow zoom-in (as in the Elementor original). */
.has-slides { overflow: hidden; }
.has-slides > .slides { position: absolute; inset: 0; z-index: 0; }
.slides > div {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  animation: kenburns 15s linear infinite backwards;
}
.slides > div:nth-child(1) { animation-delay: -.5s; }
.slides > div:nth-child(2) { animation-delay: 4.5s; }
.slides > div:nth-child(3) { animation-delay: 9.5s; }
@keyframes kenburns {
  0%     { opacity: 0; transform: scale(1); }
  3.33%  { opacity: 1; }
  36.67% { opacity: 1; }
  40%    { opacity: 0; transform: scale(1.3); }
  100%   { opacity: 0; transform: scale(1.3); }
}
.fade-in > * { animation: fade-in 1.2s ease both; }
@keyframes fade-in { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slides > div { animation: none; }
  .slides > div:first-child { opacity: 1; }
  .fade-in > *, .nav a::before { animation: none; transition: none; }
}

/* ---------- Widgets ---------- */
/* headings inside body text: theme defaults (Hello Elementor reset) */
.text :is(h1, h2, h3, h4, h5, h6) { margin: .5rem 0 1rem; font-weight: 500; line-height: 1.2; color: inherit; }
.text h1 { font-size: 2.5rem; }
.text h2 { font-size: 2rem; }
.text h3 { font-size: 1.75rem; }
.text h4 { font-size: 1.5rem; }
.text h5 { font-size: 1.25rem; }
.text h6 { font-size: 1rem; }
.sp { padding: var(--wp); }  /* per-widget spacing from the original layout */
.text :is(ul, ol) { padding-left: 40px; }
.fs-body { font-size: 17px; }
.text a { font-weight: 900; }

.w-img { display: flex; flex-direction: column; align-items: flex-start; }
.w-img.center { align-items: center; }
.w-img.right { align-items: flex-end; }
.w-img img {
  border: var(--img-border, 0);
  border-radius: var(--img-radius, 0);
  box-shadow: var(--img-shadow, none);
}
.w-img figcaption { margin-top: 8px; font-size: 14px; text-align: center; }

.w-video, .w-map { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #222; }
.w-map { aspect-ratio: auto; height: var(--h, 300px); }
.w-video.sp, .w-map.sp { width: auto; padding: 0; margin: var(--wp); }   /* inset as margin so the frame keeps its size */
.w-video iframe, .w-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.w-icon { display: flex; }
.w-icon.center { justify-content: center; }
.w-icon a { color: var(--ic, #8f8f8f); }
.w-icon svg { width: var(--icon, 36px); height: var(--icon, 36px); fill: currentColor; }
.inv .w-icon a, .ov .w-icon a { color: var(--ic, #fff); }

.divider {
  width: var(--w, 100%);
  margin-block: var(--sp, 15px);
  border-top: var(--t, 1px) solid var(--c, #c8c8c8);
}
.divider.center { margin-inline: auto; }

.spacer { height: var(--h); }

.testimonial { font-style: italic; }
.testimonial footer { display: flex; flex-direction: column; margin-top: 18px; padding-left: 14px; font-style: normal; }
.testimonial cite { font-style: normal; font-weight: 600; line-height: 1.5; color: var(--c-accent); }

.w-audio { width: 100%; max-width: 480px; }
.w-booking iframe { width: 100%; height: 1028px; border: 0; }
.frame-note { margin: 8px 0 0; font-size: 14px; }

/* gallery with CSS-only lightbox */
.gallery { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery a { flex: 0 0 calc((100% - (var(--cols, 4) - 1) * 10px) / var(--cols, 4)); overflow: hidden; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.05); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(0, 0, 0, .88);
}
.lightbox:target { display: flex; }
.lightbox img { position: relative; max-height: 100%; width: auto; object-fit: contain; }
.lb-close { position: absolute; inset: 0; cursor: zoom-out; }
.lb-close::after { content: "×"; position: absolute; top: 10px; right: 20px; font: 300 44px/1 var(--font); color: #fff; }

/* blog cards */
.cards { display: flex; flex-wrap: wrap; gap: 35px 30px; }
.card {
  flex: 0 1 calc((100% - 60px) / 3);   /* 3 per row, like the original grid */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--c-light);
  border: 1px solid #d3d3d3;
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .15);
}
.card-img { display: block; aspect-ratio: 5 / 4; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { flex: 1; padding: 28px 30px 0; }
.card-body h3 { margin-bottom: 10px; font: var(--ct-fw, 700) var(--ct-fs, 16px)/var(--ct-lh, 18px) var(--font); letter-spacing: var(--ct-ls, .3px); text-transform: uppercase; color: var(--c-accent); }
.card-body h3 a { font-weight: inherit; color: inherit; }
.card-body p { margin-bottom: 25px; }
.card-meta { padding: 15px 30px; border-top: 1px solid #d3d3d3; }

/* legal pages (Impressum, Datenschutz) */
.legal { max-width: 900px; }
.legal h2 { margin: 36px 0 12px; font: 700 16px/18px var(--font); letter-spacing: .3px; text-transform: uppercase; color: var(--c-accent); scroll-margin-top: 20px; }
.legal h3 { margin: 22px 0 8px; font: 600 17px/24px var(--font); color: var(--c-accent); }
.legal > :first-child { margin-top: 0; }
.legal a { font-weight: 600; }
.legal .toc ol { margin: 0 0 14.4px; padding-left: 40px; columns: 2; column-gap: 40px; }
.legal .notice { margin: 8px 0 14.4px; padding: 16px 20px; background: var(--c-light); border-left: 3px solid var(--c-accent); }
.legal .notice p { margin: 0; }
/* open items that need the site owner's input; delete the <mark> once filled in */
.todo { background: #ffe58a; color: #3a2f00; padding: 0 3px; }

/* posts */
.classic { display: flex; flex-direction: column; gap: 14px; }
.classic img { margin-block: 10px; }
.post-date time { font-weight: 900; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; padding: 0 16px; }
.post-nav a { font: 500 14px/1.4 var(--font); letter-spacing: 1px; text-transform: uppercase; color: var(--c-text); }
.post-nav a:hover { color: var(--c-accent); }
.post-nav .prev::before { content: "‹ "; }
.post-nav .next::after { content: " ›"; }

/* forms */
.form { display: flex; flex-direction: column; gap: 23px; }
.form label { display: flex; }
.form input:not([type=checkbox]), .form textarea {
  width: 100%;
  padding: 8px 16px;
  font: inherit;
  color: var(--c-text);
  background: var(--c-light);
  border: 1px solid #cacaca;
  border-radius: 0;
}
.form textarea { resize: vertical; }
.form ::placeholder { color: #999; }
.form .check { gap: 10px; align-items: flex-start; font-weight: 400; color: #999; }
.form .check input { margin-top: 7px; accent-color: var(--c-accent); }   /* centred on the x-height of the first text line */
.form .btn { padding: 6px 13px 6px 12px; border-width: 2px; }

/* ---------- Footer ---------- */
.site-footer {
  margin-left: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 50px 20px 30px;
  text-align: center;
}
.site-footer .logo img { width: 167px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.site-footer li + li::before { content: "|"; color: #5f5f5f; }
.site-footer nav a {
  display: inline-block;
  padding: 10px;
  font: 600 14px/16.8px var(--font);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #5f5f5f;
}
.site-footer nav a:hover, .site-footer nav a[aria-current] { color: var(--c-accent); }
.fb { display: flex; padding: 7px; background: #3b5998; color: #fff; }
.fb svg { width: 37px; height: 37px; fill: currentColor; }
.fb:hover { color: #fff; background: #2d4373; }
.copy { color: var(--c-muted); }

/* ---------- Newsletter dialog (Unternehmen) ---------- */
.newsletter {
  width: min(640px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  border: 0;
  overflow: auto;
  background: #fff;
  box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, .2);
}
.newsletter::backdrop { background: rgba(0, 0, 0, .8); }
.newsletter[open] { animation: fade-in .6s ease both; }
.nl-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
}
.nl-close svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.nl-close:hover { color: #d8d8d8; }
.nl-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.nl-top {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 21px;
  padding: 22px 38px 30px;
  background: url("../img/dsc-3977.webp") center / cover no-repeat;
  text-align: center;
}
.nl-top::before { content: ""; position: absolute; inset: 0; background: #000; opacity: .78; }
.nl-top > * { position: relative; }
.nl-top img { width: min(281px, 70%); }
.nl-lead { max-width: 492px; margin: 0 0 13px; color: #fff; }
.nl-lead strong { font-weight: 700; }
.nl-legal { font-size: 11px; line-height: 14px; color: #afafaf; }
.nl-legal p { margin: 0 0 14px; }
.nl-legal p:last-child { margin-bottom: 0; }
.nl-legal a { font-weight: 600; color: #fff; }
.nl-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 278px;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  padding: 56px 0 47px;
}
.nl-form label { align-self: flex-start; font: 600 14px/21px var(--font); color: #333; }
.nl-form input {
  width: 100%;
  margin-bottom: 14px;
  padding: 8px 16px;
  font: 400 16px/24px var(--font);
  color: #000;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
}
.nl-form input:focus-visible { outline: 2px solid var(--c-accent-hover); outline-offset: 0; border-color: transparent; }
.nl-form .btn { padding: 0 22px; border: 0; border-radius: 4px; font-size: 15px; line-height: 32px; letter-spacing: normal; text-transform: none; }
@media (prefers-reduced-motion: reduce) { .newsletter[open] { animation: none; } }
@media (max-width: 480px) {
  .nl-close { top: 12px; right: 12px; }
  .nl-top { padding: 40px 20px 24px; }
}

/* ---------- Hyphenation ----------
   German compound words get hyphenated in body text where columns are narrow;
   headings keep whole words on desktop. On phones all content text hyphenates.
   (Needs lang="de" on <html>; the browser uses its German dictionary.) */
main { hyphenate-limit-chars: 6 3 3; }   /* inherited: only words of 6+ letters, 3+ letters on each side of the break */
.row > .box :is(.text, blockquote),
.card-body p, .testimonial {
  -webkit-hyphens: auto;
  hyphens: auto;
}
a[href^="mailto:"], a[href^="tel:"], a[href^="http"], .btn { -webkit-hyphens: manual; hyphens: manual; }

/* ---------- Responsive helpers ---------- */
.only-m { display: none !important; }

/* ==========================================================================
   Tablet & mobile (≤ 1024px): sidebar becomes a slim top bar with a
   popover menu (native HTML popover, no JavaScript).
   ========================================================================== */
@media (max-width: 1024px) {
  .only-m { display: flex !important; }
  .sidebar {
    position: sticky;
    inset: 0 0 auto;
    width: auto;
    height: 52px;
    flex-direction: row;
    justify-content: center;
    padding: 6px 16px;
    overflow: visible;
    background: #fff;
    box-shadow: none;
  }
  .sidebar .logo, .side-cta { display: none; }
  .menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 0;
    border-radius: 3px;
    background: #eee;
    color: var(--c-dark);
    cursor: pointer;
  }
  .menu-btn svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

  .nav { display: revert; } /* hand visibility back to the popover */
  .nav:popover-open {
    position: fixed;
    inset: 52px 0 auto;
    width: 100%;
    max-height: calc(100vh - 52px);
    overflow-y: auto;
    padding: 0;
    background: linear-gradient(90deg, #141618 0%, #2b2f35 100%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .3);
  }
  .nav::backdrop { background: rgba(0, 0, 0, .3); }
  .nav a { padding: 12px 24px; text-align: center; }

  main, .site-footer { margin-left: 0; }
  .sec.has-slides { align-items: stretch; }
  .card { flex-basis: calc((100% - 30px) / 2); }
  .t-light { font-size: min(var(--fs, 60px), 44px); line-height: 1.05; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  main { -webkit-hyphens: auto; hyphens: auto; }   /* everything is narrow on phones */
  .row { flex-direction: column; }
  .row > .box { flex: 1 1 auto; }
  .sec, .box { width: auto; }
  .sec, .box { padding: var(--pad-m, 10px); }
  .sec:not([style*="--pad:0"]) { --pad-m: 40px 20px; }
  .sec .box:not([style*="--pad:0"]) { --pad-m: 10px 0; }
  .t-topic { font-size: min(var(--fs, 36px), 28px); line-height: 1.15; }
  .t-light { font-size: min(var(--fs, 60px), 32px); }
  .has-img, .has-slides { min-height: min(var(--minh, 0px), 320px); }
  .lightbox { padding: 10px; }
  .sp { padding-inline: 0; }
  .w-video.sp, .w-map.sp { margin-inline: 0; }
  .card { flex-basis: 100%; }
  .legal .toc ol { columns: 1; padding-left: 24px; }
  .site-footer ul { gap: 0 4px; }
  .site-footer li + li::before { content: none; }
  .gallery { --cols: 2 !important; }
}
