/* Burgstein 1b · Studentenzimmer Ilmenau
   Layout: a signposted exposé. Left-aligned 12-column grid (max 1200px). The hero sets the
   headline left and the room photo right, with a German bike signpost (Radwegweiser) planted
   on the photo. Then the six rooms as cards (each with its own page), the house in photo rows, the exposé
   sheet, location + bike rental, FAQ, a blue contact band. Boldness lives in the signpost; the blue enamel
   house-number plates give each room its number. Everything else stays quiet. */

@font-face{font-family:'BSC Fallback';font-weight:700;src:local('Arial Bold'),local('Arial-BoldMT'),local('Liberation Sans Bold'),local('LiberationSans-Bold');size-adjust:83.8%;ascent-override:119.3%;descent-override:23.9%;line-gap-override:0%}
@font-face{font-family:'BSC Fallback';font-weight:600;src:local('Arial Bold'),local('Arial-BoldMT'),local('Liberation Sans Bold'),local('LiberationSans-Bold');size-adjust:82.5%;ascent-override:121.2%;descent-override:24.2%;line-gap-override:0%}
@font-face{font-family:'BSC Fallback R';font-weight:700;src:local('Roboto Bold'),local('Roboto-Bold');size-adjust:88.9%;ascent-override:112.5%;descent-override:22.5%;line-gap-override:0%}
@font-face{font-family:'BSC Fallback R';font-weight:600;src:local('Roboto Bold'),local('Roboto-Bold');size-adjust:87.4%;ascent-override:114.4%;descent-override:22.9%;line-gap-override:0%}
@font-face{font-family:'Fira Fallback';font-weight:400;src:local('Arial'),local('ArialMT'),local('Liberation Sans'),local('LiberationSans');size-adjust:101.7%;ascent-override:92%;descent-override:26.1%;line-gap-override:0%}
@font-face{font-family:'Fira Fallback R';font-weight:400;src:local('Roboto'),local('Roboto-Regular');size-adjust:102.4%;ascent-override:91.3%;descent-override:25.9%;line-gap-override:0%}
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/barlow-semi-condensed-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/barlow-semi-condensed-600-ext.woff2) format('woff2');unicode-range:U+0100-017F,U+0218-021B}
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/barlow-semi-condensed-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/barlow-semi-condensed-700-ext.woff2) format('woff2');unicode-range:U+0100-017F,U+0218-021B}
@font-face{font-family:'Fira Sans';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/fira-sans-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Fira Sans';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/fira-sans-400-ext.woff2) format('woff2');unicode-range:U+0100-017F,U+0218-021B}

:root {
  /* colour: cool signal-white ground, navy ink, RAL 5017 traffic blue, RAL 3020 traffic red for signs only */
  --paper: #F2F5F7;
  --paper-2: #E4EAF0;
  --card: #FFFFFF;
  --ink: #13202D;
  --muted: #4A5A69;
  --line: #CBD5DE;
  --accent: #005387;
  --btn: #005387;
  --btn-ink: #FFFFFF;
  --btn-hover: #00426C;
  --ghost-hover: #DDE5EC;
  --sign: #FFFFFF;
  --sign-red: #C1121C;
  --sign-ink: #FFFFFF;
  --pole-a: #75818D;
  --pole-b: #C9D1D8;
  --clamp: #4E5964;
  --important-bg: #FBEEEF;
  --band: #005387;
  --band-ink: #FFFFFF;
  --band-muted: #D2E2EF;
  --on-photo: #FFFFFF;
  --scrim: rgba(9, 17, 26, 0.7);
  --lb-bg: rgba(8, 13, 19, 0.97);
  --lb-ink: #F2F5F7;
  --lb-btn: rgba(255, 255, 255, 0.14);
  --lb-btn-hover: rgba(255, 255, 255, 0.26);
  --shadow: rgba(19, 32, 45, 0.16);
  --focus: #005387;
  --radweg-blue: #005387;
  --radweg-rim: #FFFFFF;
  --plate: #005387;
  --plate-ink: #FFFFFF;

  /* type: Barlow Semi Condensed = signage voice (headlines, numbers, signs); Fira Sans = reading */
  --font-display: "Barlow Semi Condensed", "BSC Fallback", "BSC Fallback R", "Arial Narrow", sans-serif;
  --font-body: "Fira Sans", "Fira Fallback", "Fira Fallback R", "Segoe UI", sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.875rem, 1.4rem + 1.7vw, 2.625rem);
  --step-4: clamp(2.375rem, 1.45rem + 3.6vw, 4rem);

  /* layout */
  --maxw: 1200px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --space-section: clamp(64px, 8vw, 120px);
  --r-photo: 4px;
  --r-card: 10px;
  --r-btn: 6px;
  --header-h: 64px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0D1620;
    --paper-2: #14212D;
    --card: #182634;
    --ink: #E7EDF3;
    --muted: #A1B1C0;
    --line: #2C3C4C;
    --accent: #8CC4F4;
    --btn: #8CC4F4;
    --btn-ink: #0B1520;
    --btn-hover: #B3D9F8;
    --ghost-hover: #22344A;
    --sign: #ECF0F3;
    --sign-red: #C1121C;
    --sign-ink: #FFFFFF;
    --pole-a: #56616C;
    --pole-b: #94A0AB;
    --clamp: #2E3842;
    --important-bg: #2B1C21;
    --band: #0F2B44;
    --band-ink: #E7EDF3;
    --band-muted: #A9C2D8;
    --shadow: rgba(0, 0, 0, 0.45);
    --focus: #8CC4F4;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0D1620;
  --paper-2: #14212D;
  --card: #182634;
  --ink: #E7EDF3;
  --muted: #A1B1C0;
  --line: #2C3C4C;
  --accent: #8CC4F4;
  --btn: #8CC4F4;
  --btn-ink: #0B1520;
  --btn-hover: #B3D9F8;
  --ghost-hover: #22344A;
  --sign: #ECF0F3;
  --sign-red: #C1121C;
  --sign-ink: #FFFFFF;
  --pole-a: #56616C;
  --pole-b: #94A0AB;
  --clamp: #2E3842;
  --important-bg: #2B1C21;
  --band: #0F2B44;
  --band-ink: #E7EDF3;
  --band-muted: #A9C2D8;
  --shadow: rgba(0, 0, 0, 0.45);
  --focus: #8CC4F4;
  color-scheme: dark;
}

@media (min-width: 720px) {
  :root {
    --gutter-l: max(32px, env(safe-area-inset-left, 0px));
    --gutter-r: max(32px, env(safe-area-inset-right, 0px));
    --header-h: 72px;
  }
}

/* ------------------------------------------------------------ base */
[hidden] { display: none !important; }
html:not(.js) .js-only { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  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;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* paints the band under a phone's status bar, so content never scrolls visibly behind it */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}
p { margin: 0; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
:lang(de) p, :lang(de) dd, :lang(de) li { hyphens: auto; -webkit-hyphens: auto; }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter-l) + var(--gutter-r));
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.section { padding-block: var(--space-section) 0; }
.section-head { display: grid; gap: 16px; max-width: 46rem; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2, .h2 { font-size: var(--step-3); }
.intro { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 40em; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: var(--gutter-l);
  top: calc(env(safe-area-inset-top, 0px) + 8px);
  z-index: 100;
  padding: 10px 16px;
  background: var(--btn);
  color: var(--btn-ink);
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--r-btn);
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: var(--r-btn);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--btn); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--ghost-hover); border-color: var(--muted); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 1.0625rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 559px) {
  .btn-row > .btn { flex: 1 1 100%; }
}

/* ------------------------------------------------------------ language hint (floats, never shifts the page) */
.suggest {
  position: fixed;
  z-index: 70;
  left: var(--gutter-l);
  right: var(--gutter-r);
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  max-width: 34rem;
  padding: 14px 10px 14px 18px;
  border-radius: var(--r-card);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 12px 32px var(--shadow);
  --focus: var(--paper);
}
.suggest p { flex: 1 1 14rem; font-size: 0.9375rem; line-height: 1.4; }
.btn-invert { background: var(--paper); color: var(--ink); }
.btn-invert:hover { background: var(--paper-2); }
.suggest button {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}
.suggest button:hover { background: rgba(127, 127, 127, 0.25); }
.suggest button svg { width: 18px; height: 18px; }
body.has-suggest .mbar { transform: translateY(110%); }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.hdr { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}
.brand-mark { width: 40px; height: 40px; }
.bm-tile { fill: var(--btn); }
.bm-fill { fill: var(--btn-ink); }
.bm-cut { fill: var(--btn); }
.brand-text { display: grid; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; letter-spacing: 0.005em; }
.brand-sub { font-size: 0.8125rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: var(--r-btn);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
}
.nav a:hover { background: var(--ghost-hover); }
.hdr-end { display: flex; align-items: center; gap: 12px; }
.lang {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}
.lang a {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  min-height: 34px;
  padding: 0 6px;
  border-radius: 5px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-decoration: none;
}
.lang a:hover { color: var(--ink); background: var(--ghost-hover); }
.lang a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.nav a[aria-current="page"] { color: var(--accent); }
.nav-extra { display: none; }

/* menu button: below 1100px the navigation folds into a panel under the header */
.menu-btn {
  display: none;
  place-items: center;
  width: 44px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}
.menu-btn:hover { background: var(--ghost-hover); }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .i-close, .menu-btn.is-open .i-open { display: none; }
.menu-btn.is-open .i-close { display: block; }
@media (max-width: 1099px) {
  .site-header .hdr { position: relative; }
  html.js .menu-btn { display: grid; }
  .nav { display: none; }
  .nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 8px var(--gutter-r) 16px var(--gutter-l);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 24px var(--shadow);
  }
  .nav.is-open ul { flex-direction: column; gap: 0; max-width: 32rem; margin-left: auto; }
  .nav.is-open a {
    display: flex;
    min-height: 50px;
    padding: 0 12px;
    font-size: var(--step-1);
    border-radius: 0;
  }
  .nav.is-open li + li a { border-top: 1px solid var(--line); }
}
@media (max-width: 719px) {
  .hdr { gap: 12px; }
  .hdr-end { gap: 8px; }
  .hdr-end .hdr-cta { display: none; }
  .nav-extra { display: list-item; }
  .brand-sub { display: none; }
  .brand-mark { width: 36px; height: 36px; }
}
@media (max-width: 400px) {
  .brand { gap: 9px; }
  .brand-name { font-size: 1.25rem; }
  .lang a { min-width: 33px; padding: 0 4px; }
}
@media (max-width: 359px) {
  .brand-text { display: none; }
}

/* ------------------------------------------------------------ hero */
.hero { padding-block: clamp(24px, 4vw, 56px) 0; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}
.hero-text { display: grid; gap: 22px; align-content: center; }
.hero h1 { font-size: var(--step-4); line-height: 0.98; max-width: 12em; }
.hero h1 > span { display: block; }
.kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-1);
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.lead { font-size: var(--step-1); line-height: 1.5; max-width: 32em; }
.price { display: grid; gap: 2px; }
.price-label { font-size: var(--step--1); color: var(--muted); }
.price-main { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem, 1.35rem + 1.3vw, 2.375rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.price-note { color: var(--muted); }
.hero .btn-row { margin-top: 6px; }

.hero-media { position: relative; }
.hero-photo {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 100%;
  border-radius: var(--r-photo);
  overflow: hidden;
  background: var(--paper-2);
  color: var(--on-photo);
  text-decoration: none;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 92%; }
.hero-chip {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px 0 16px;
  border-radius: 999px;
  background: var(--scrim);
  color: var(--on-photo);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1;
}
.hero-chip svg { width: 18px; height: 18px; transition: transform 0.15s ease; }
.hero-photo:hover .hero-chip { background: rgba(9, 17, 26, 0.86); }
.hero-photo:hover .hero-chip svg { transform: translateX(3px); }

@media (min-width: 600px) and (max-width: 939px) {
  .hero-photo { aspect-ratio: 4 / 3; }
  .hero-photo img { object-position: 50% 78%; }
}
@media (min-width: 940px) {
  .hero-grid {
    grid-template-columns: minmax(0, 12fr) minmax(0, 10fr);
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
  }
  .hero-photo { width: 100%; }
}

/* the signpost: plates swing out from the pole */
.sign {
  position: absolute;
  left: 14px;
  bottom: 0;
  margin: 0;
  padding: 18px 0 30px 16px;
}
.sign::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0;
  bottom: 0;
  width: 10px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, var(--pole-a), var(--pole-b) 45%, var(--pole-a));
  box-shadow: 1px 0 3px var(--shadow);
}
.plates {
  display: grid;
  width: max-content;
  max-width: calc(100vw - 72px);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  perspective: 900px;
  filter: drop-shadow(0 3px 5px var(--shadow));
}
.plates li { position: relative; }
.plates li::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 30%;
  width: 18px;
  height: 40%;
  border-radius: 2px;
  background: var(--clamp);
}
.plate {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 6px 34px 6px 12px;
  background: var(--sign);
  color: var(--sign-red);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.1;
  white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
  border-radius: 3px 0 0 3px;
  transform-origin: 0 50%;
}
.plate svg { width: 30px; height: 19px; }
.plate .km { padding-left: 14px; font-variant-numeric: tabular-nums; }
@media (max-width: 479px) {
  .sign { left: 10px; padding-bottom: 22px; }
  .plate { min-height: 38px; font-size: 1rem; padding-right: 28px; gap: 8px; }
  .plates { gap: 6px; }
  .plate svg { width: 26px; height: 16px; }
  .plate .km { padding-left: 8px; }
}
@media (min-width: 940px) {
  .sign { left: -40px; padding-bottom: 44px; }
  .plates { max-width: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .plate { animation: swing 1s cubic-bezier(0.2, 0.75, 0.25, 1.15) both; }
  .plates li:nth-child(1) .plate { animation-delay: 0.15s; }
  .plates li:nth-child(2) .plate { animation-delay: 0.27s; }
  .plates li:nth-child(3) .plate { animation-delay: 0.39s; }
}
@keyframes swing {
  from { transform: rotateY(-62deg); }
  65% { transform: rotateY(7deg); }
  to { transform: rotateY(0deg); }
}

/* ------------------------------------------------------------ house-number plate (blue enamel, white rim line) */
.hnr {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  min-width: 40px;
  height: 40px;
  padding: 1px 9px 0;
  border-radius: 6px;
  background: var(--plate);
  color: var(--plate-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 0 0 3px var(--plate), inset 0 0 0 4.5px var(--plate-ink), 0 2px 6px rgba(0, 0, 0, 0.28);
}
.hnr.sm { min-width: 32px; height: 32px; padding-inline: 7px; font-size: 1.1875rem; border-radius: 5px;
  box-shadow: inset 0 0 0 2.5px var(--plate), inset 0 0 0 3.75px var(--plate-ink), 0 2px 5px rgba(0, 0, 0, 0.28); }
.hnr.lg { min-width: 54px; height: 54px; padding-inline: 12px; font-size: 2.125rem; border-radius: 8px;
  box-shadow: inset 0 0 0 4px var(--plate), inset 0 0 0 6px var(--plate-ink), 0 3px 8px rgba(0, 0, 0, 0.22); }

/* ------------------------------------------------------------ room cards */
.rooms {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rc {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 10px 14px 10px 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.rc:hover { border-color: var(--muted); box-shadow: 0 8px 22px var(--shadow); }
.rc-photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--r-photo); background: var(--paper-2); }
.rc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.rc:hover .rc-photo img { transform: scale(1.035); }
.rc-photo .hnr { position: absolute; left: 7px; top: 7px; min-width: 30px; height: 30px; padding-inline: 6px; font-size: 1.125rem; border-radius: 5px;
  box-shadow: inset 0 0 0 2.5px var(--plate), inset 0 0 0 3.75px var(--plate-ink), 0 2px 5px rgba(0, 0, 0, 0.28); }
.rc-body { display: grid; gap: 4px; min-width: 0; }
.rc-title { font-size: var(--step-2); }
.rc-link { color: var(--ink); text-decoration: none; }
.rc-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-card); }
.rc-link:focus-visible { outline: none; }
.rc-link:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 3px; }
.rc-sum { color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }
.rc-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin-top: 2px; color: var(--muted); font-size: var(--step--1); }
.rc-count, .rc-go { display: inline-flex; align-items: center; gap: 6px; }
.rc-count svg { width: 16px; height: 16px; }
.rc-go { color: var(--accent); font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; }
.rc-go svg { width: 18px; height: 18px; transition: transform 0.15s ease; }
.rc:hover .rc-go svg { transform: translateX(3px); }
@media (max-width: 559px) {
  .rc-go-text { display: none; }
}
@media (min-width: 560px) {
  .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .rc { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: stretch; gap: 0; padding: 0; }
  .rc-photo { border-radius: calc(var(--r-card) - 1px) calc(var(--r-card) - 1px) 0 0; }
  .rc-photo .hnr { left: 14px; top: 14px; min-width: 40px; height: 40px; padding-inline: 9px; font-size: 1.5rem; border-radius: 6px;
    box-shadow: inset 0 0 0 3px var(--plate), inset 0 0 0 4.5px var(--plate-ink), 0 2px 6px rgba(0, 0, 0, 0.28); }
  .rc-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
  .rc-meta { margin-top: auto; padding-top: 8px; }
}
@media (min-width: 940px) {
  .rooms { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

/* ------------------------------------------------------------ photo rows: equal height on wide screens, one strip on phones */
.house { margin-top: clamp(56px, 7vw, 96px); }
.house-intro { max-width: 40em; margin: -4px 0 18px; color: var(--muted); }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 14px; }
.group-head h3 { font-size: var(--step-2); }
.group-head .count { color: var(--muted); font-size: var(--step--1); }
.rg { --rowh: min(300px, 74vw); display: grid; gap: 12px; min-width: 0; }
.rg-row { display: flex; gap: 12px; min-width: 0; }
.ph {
  position: relative;
  display: block;
  flex: 0.75 1 0;
  min-width: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--r-photo);
  background: var(--paper-2);
  color: var(--on-photo);
  text-decoration: none;
  cursor: zoom-in;
}
.ph.l { flex-grow: 1.3333; aspect-ratio: 4 / 3; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 36px 12px 10px;
  background: linear-gradient(180deg, transparent, var(--scrim));
  color: var(--on-photo);
  font-size: 0.875rem;
  line-height: 1.35;
}
.ph:hover .cap { background: linear-gradient(180deg, transparent, var(--scrim) 30%); }
@media (max-width: 719px) {
  .rg {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    margin-left: calc(-1 * var(--gutter-l));
    margin-right: calc(-1 * var(--gutter-r));
    padding-left: var(--gutter-l);
    padding-right: var(--gutter-r);
    scroll-padding-inline: var(--gutter-l) var(--gutter-r);
    scrollbar-width: none;
  }
  .rg::-webkit-scrollbar { display: none; }
  .rg-row { display: contents; }
  .ph, .ph.l {
    flex: 0 0 auto;
    height: var(--rowh);
    width: calc(var(--rowh) * 0.75);
    aspect-ratio: auto;
    scroll-snap-align: start;
  }
  .ph.l { width: min(calc(var(--rowh) * 1.3333), calc(100vw - 48px)); }
}

/* ------------------------------------------------------------ exposé sheet */
.sheet {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.sheet-col { padding: 26px 22px 10px; min-width: 0; }
.sheet-col + .sheet-col { border-top: 1px solid var(--line); }
.sheet-col h3 { font-size: var(--step-2); margin-bottom: 10px; }
.sheet dl { margin: 0; }
.fact { padding: 14px 0 16px; border-top: 1px solid var(--line); }
.fact dt { font-size: var(--step--1); color: var(--muted); margin-bottom: 3px; }
.fact dd { margin: 0; }
.fact .v { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.3125rem; line-height: 1.25; }
.fact .s { display: block; margin-top: 4px; color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
.fact.is-important {
  margin-inline: -12px;
  padding-inline: 12px;
  border-top-color: transparent;
  border-radius: 6px;
  background: var(--important-bg);
}
.fact.is-important + .fact { border-top-color: transparent; }
.tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px 2px;
  border-radius: 3px;
  background: var(--sign-red);
  color: var(--sign-ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  vertical-align: 1px;
}
@media (min-width: 940px) {
  .sheet { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sheet-col { padding: 30px 28px 14px; }
  .sheet-col + .sheet-col { border-top: 0; border-left: 1px solid var(--line); }
}

/* ------------------------------------------------------------ location + bike */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
.split-text { display: grid; gap: 18px; align-content: start; min-width: 0; }
.split-text p { max-width: 36em; }
.ph-wide {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--r-photo);
  background: var(--paper-2);
  cursor: zoom-in;
}
.ph-wide img { width: 100%; height: 100%; object-fit: cover; }
.dist { display: grid; margin: 6px 0 0; padding: 0; list-style: none; }
.dist li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  column-gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.dist li:last-child { border-bottom: 1px solid var(--line); }
.dist .ico {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--accent);
}
.dist .ico svg { width: 22px; height: 22px; }
.dist .name { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; line-height: 1.3; }
.dist .note { font-family: var(--font-body); }
.dist .note { display: block; color: var(--muted); font-size: 0.9375rem; font-weight: 400; }
.dist .km { font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bike { margin-top: clamp(56px, 7vw, 104px); }
.radweg { width: 64px; height: 64px; }
.radweg-rim { fill: var(--radweg-rim); }
.radweg-disc { fill: var(--radweg-blue); }
.radweg-bike { stroke: var(--radweg-rim); }
.bike h3 { font-size: var(--step-3); }
.bike-price { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.bike-min { margin-top: -8px; font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); color: var(--muted); }
@media (min-width: 940px) {
  .split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 80px); }
  .split.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .split.flip .split-media { order: 2; }
}

/* ------------------------------------------------------------ FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 48px; }
.faq-side { display: grid; gap: 14px; align-content: start; }
.faq-side .section-head { margin-bottom: 8px; }
.faq-side p { color: var(--muted); max-width: 26em; }
.faq-side .btn { justify-self: start; }
.faq { max-width: 52rem; min-width: 0; }
@media (min-width: 940px) {
  .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .faq-side { position: sticky; top: calc(var(--header-h) + 32px); }
}
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-1);
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.pm {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  color: var(--ink);
  transition: transform 0.2s ease;
}
.pm svg { width: 18px; height: 18px; }
.faq details[open] .pm { transform: rotate(45deg); }
.answer { padding: 0 52px 22px 0; max-width: 44rem; }

/* ------------------------------------------------------------ contact band */
.contact {
  margin-top: var(--space-section);
  background: var(--band);
  color: var(--band-ink);
  padding-block: var(--space-section);
  --focus: var(--band-ink);
}
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.contact-intro { display: grid; gap: 18px; min-width: 0; }
.contact-intro > p { color: var(--band-muted); font-size: var(--step-1); line-height: 1.5; max-width: 30em; }
.card {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--r-card);
  padding: clamp(20px, 3vw, 30px);
  --focus: var(--accent);
  min-width: 0;
}
.landlord { display: grid; gap: 18px; margin-top: 10px; }
.who { display: flex; align-items: center; gap: 14px; }
.monogram {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--btn);
  color: var(--btn-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}
.who-name { font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); line-height: 1.1; }
.who-role { color: var(--muted); font-size: var(--step--1); }
.contact-line { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line); }
.contact-line .label { color: var(--muted); font-size: var(--step--1); }
.contact-value { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.contact-value .val { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; line-height: 1.25; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; user-select: all; }
.contact-value .val.tel { white-space: nowrap; }
.copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}
.copy:hover { color: var(--ink); border-color: var(--muted); }
.copy svg { width: 16px; height: 16px; }
.copy.is-done { color: var(--accent); border-color: var(--accent); }
.landlord .btn-row .btn { flex: 1 1 auto; }

.inquiry { display: grid; gap: 16px; }
.inquiry h3 { font-size: var(--step-2); }
.inquiry > p { color: var(--muted); }
.fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-family: var(--font-display); font-size: 1rem; font-weight: 600; letter-spacing: 0.01em; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-btn);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 0; }
.field-wide { grid-column: 1 / -1; }
.inquiry .btn-row .btn { flex: 1 1 14rem; }
.inquiry .note { color: var(--muted); font-size: 0.875rem; line-height: 1.5; }
@media (min-width: 560px) {
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 940px) {
  .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 5vw, 72px); }
}

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--paper-2); color: var(--muted); font-size: 0.9375rem; padding-block: 40px; }
.ftr { display: grid; gap: 28px; }
.ftr-brand { display: grid; gap: 6px; }
.ftr-brand strong { color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.ftr ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.ftr a { color: var(--ink); }
.ftr-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
@media (min-width: 720px) {
  .ftr { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .ftr ul { flex-direction: column; }
  .ftr-langs { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------------------ mobile action bar */
.mbar { display: none; }
@media (max-width: 719px) {
  .mbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
    background: var(--card);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px var(--shadow);
    transition: transform 0.25s ease;
  }
  .mbar .btn { min-height: 48px; padding: 0 12px; }
  .mbar.is-hidden { transform: translateY(110%); }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

/* ------------------------------------------------------------ lightbox */
.lb {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--lb-bg);
  color: var(--lb-ink);
  overscroll-behavior: contain;
}
.lb::backdrop { background: var(--lb-bg); }
.lb[open] { display: block; }
.lb-stage {
  position: absolute;
  inset: calc(56px + env(safe-area-inset-top, 0px)) max(64px, env(safe-area-inset-right, 0px)) calc(64px + env(safe-area-inset-bottom, 0px)) max(64px, env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  touch-action: pan-y;
}
.lb-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 2px; user-select: none; -webkit-user-drag: none; }
.lb-bar {
  position: absolute;
  left: max(16px, env(safe-area-inset-left, 0px));
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 14px;
  text-align: center;
  font-size: 0.9375rem;
}
.lb-count { font-family: var(--font-display); font-weight: 600; opacity: 0.75; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--lb-btn);
  color: var(--lb-ink);
  cursor: pointer;
  --focus: var(--lb-ink);
}
.lb-btn:hover { background: var(--lb-btn-hover); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: calc(10px + env(safe-area-inset-top, 0px)); right: max(10px, env(safe-area-inset-right, 0px)); }
.lb-prev { left: max(8px, env(safe-area-inset-left, 0px)); top: 50%; margin-top: -24px; }
.lb-next { right: max(8px, env(safe-area-inset-right, 0px)); top: 50%; margin-top: -24px; }
@media (max-width: 719px) {
  .lb-stage { inset: calc(60px + env(safe-area-inset-top, 0px)) max(8px, env(safe-area-inset-right, 0px)) calc(124px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px)); }
  .lb-prev, .lb-next { top: auto; bottom: calc(52px + env(safe-area-inset-bottom, 0px)); margin-top: 0; }
  .lb-bar { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}
body.lb-open { overflow: hidden; }

/* ------------------------------------------------------------ room page */
.room-page { padding-top: clamp(12px, 2vw, 28px); }
.room-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: clamp(14px, 2vw, 24px);
}
.pager { display: flex; gap: 8px; margin-left: auto; }
.pg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  background: var(--card);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.pg:hover { border-color: var(--muted); background: var(--ghost-hover); }
.pg svg { width: 18px; height: 18px; }
@media (max-width: 459px) {
  .pg-word { display: none; }
  .pg { padding: 0 12px; }
}
.room-head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: clamp(22px, 3vw, 36px); }
.room-title { font-size: var(--step-4); line-height: 1; }
.room-title .kicker { margin-bottom: 12px; }
.rt-main { display: flex; align-items: center; gap: 16px; }
.room-meta { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: var(--step--1); }
.room-meta svg { width: 16px; height: 16px; }
.room-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.room-gallery { min-width: 0; }
.room-gallery .rg { --rowh: min(360px, 80vw); }
.room-card { display: grid; gap: 24px; align-content: start; border: 1px solid var(--line); }
.rc-rent { display: grid; gap: 18px; align-content: start; }
.room-card .price-main { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); }
.room-card .btn-row .btn { flex: 1 1 100%; }
.rc-feat h2 { font-size: var(--step-2); margin-bottom: 8px; }
.features { margin: 0; padding: 0; list-style: none; }
.features li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  line-height: 1.45;
}
.features svg { width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
@media (min-width: 640px) and (max-width: 1023px) {
  .room-card { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
}
@media (min-width: 1024px) {
  .room-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px; }
  .room-card { position: sticky; top: calc(var(--header-h) + 20px); }
}
.others-title { margin-bottom: clamp(20px, 2.5vw, 28px); }
.others {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.oc { display: grid; gap: 8px; color: var(--ink); text-decoration: none; }
.oc-photo { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--r-photo); background: var(--paper-2); }
.oc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.oc:hover .oc-photo img { transform: scale(1.04); }
.oc-photo .hnr { position: absolute; left: 8px; top: 8px; }
.oc-name { margin-top: 4px; font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); line-height: 1.1; }
.oc:hover .oc-name { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.oc-sum { color: var(--muted); font-size: 0.875rem; line-height: 1.4; }
@media (max-width: 719px) {
  .others {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    margin-left: calc(-1 * var(--gutter-l));
    margin-right: calc(-1 * var(--gutter-r));
    padding-left: var(--gutter-l);
    padding-right: var(--gutter-r);
    scroll-padding-inline: var(--gutter-l) var(--gutter-r);
    scrollbar-width: none;
  }
  .others::-webkit-scrollbar { display: none; }
  .others li { flex: 0 0 40vw; scroll-snap-align: start; }
  .oc-sum { display: none; }
}
.room-more { padding-bottom: var(--space-section); }
.ph-wide.still { cursor: default; }

/* ------------------------------------------------------------ articles (Soro) */
.articles-page { padding-block: clamp(32px, 5vw, 64px) var(--space-section); }
.articles-head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: clamp(24px, 3vw, 40px); }
.articles-head h1 { font-size: var(--step-4); line-height: 1; }
.soro { min-height: 50vh; }
.soro-note {
  max-width: 46rem;
  padding: 18px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--r-card);
  background: var(--card);
  color: var(--muted);
}

/* ------------------------------------------------------------ legal + gateway + 404 */
.legal { padding-block: clamp(32px, 5vw, 64px) var(--space-section); }
.legal-body { max-width: 46rem; display: grid; gap: 14px; }
.legal-body h1 { font-size: var(--step-3); margin-bottom: 10px; }
.legal-body h2 { font-size: var(--step-2); margin-top: 26px; }
.legal-body h3 { font-size: var(--step-1); margin-top: 12px; font-weight: 600; }
.legal-body .legal-date, .legal-body .legal-binding { color: var(--muted); font-size: 0.9375rem; }
.legal-label { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; }
.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
}
.back:hover { text-decoration: underline; }
.back svg { width: 18px; height: 18px; }

.gate {
  min-height: 100vh;
  display: grid;
  align-content: center;
  padding-block: 48px;
}
.gate-inner { display: grid; gap: 28px; max-width: 34rem; }
.gate h1 { font-size: var(--step-3); }
.gate-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.gate-list a {
  display: grid;
  gap: 2px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
}
.gate-list a:hover { border-color: var(--accent); }
.gate-list strong { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.1; }
.gate-list span { color: var(--muted); }

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