/* =========================================================
   Volksschule St. Anton i. M. — Konzeptentwurf
   Fraunces (Überschriften, Zahlen) · Jost (Text, Bedienung)
   ========================================================= */

@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-italic.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fonts/jost.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --ink: #13211a;
  --pine: #0f2318;
  --pine-2: #163223;
  --pine-3: #1e3f2c;
  --moss: #3d5c47;
  --paper: #f5f2e9;
  --paper-2: #ebe5d5;
  --paper-3: #fbfaf5;
  --white: #fffefa;
  --sun: #fded04;
  --sun-2: #fff38a;
  --citron: #c2ce07;
  --lime: #7fb71e;
  --leaf: #049636;
  --leaf-d: #0a6b2d;
  --muted: #56645a;
  --line: rgba(19, 33, 26, .13);
  --line-2: rgba(19, 33, 26, .26);
  --line-inv: rgba(245, 242, 233, .15);
  --line-inv-2: rgba(245, 242, 233, .3);
  --muted-inv: rgba(245, 242, 233, .68);

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Futura', 'Avenir Next', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);

  --gutter: clamp(16px, 4.2vw, 64px);
  --maxw: 1440px;
  --hdr-h: 76px;
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip; font-synthesis: none;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
i { font-style: normal; }
svg { fill: currentColor; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ol, ul, dl, dd, dt, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
b, strong { font-weight: 600; }
::selection { background: var(--sun-2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; }
[data-theme="dark"] :focus-visible, .hero :focus-visible { outline-color: var(--sun); }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); 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 { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 2px; transition: top .2s; }
.skip:focus { top: 16px; }

/* ---------- Type ---------- */
.h2 { font-family: var(--serif); font-weight: 450; line-height: 1.04; letter-spacing: -.018em; text-wrap: balance; font-variation-settings: 'opsz' 96; }
.h2 em { font-style: italic; font-weight: 400; letter-spacing: -.012em; }
.h-label { display: inline-flex; align-items: center; gap: 14px; color: var(--muted); }
.h-label::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.h-label--inv { color: var(--muted-inv); }
.h-label--inv::before { background: var(--sun); opacity: .9; }
.fine { font-size: 13px; line-height: 1.5; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 22px 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: .01em; white-space: nowrap;
  border: 1px solid transparent; position: relative; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease), background-color .45s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover::after { transform: translateY(0); }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun::after { background: var(--sun-2); }
.btn--dark { background: var(--pine); color: var(--paper); }
.btn--dark::after { background: var(--leaf-d); }
.btn--line { border-color: currentColor; }
.btn--line::after { background: currentColor; }
.btn--line:hover { color: var(--ink); }
.btn--line-dark { border-color: var(--line-2); color: var(--ink); }
.btn--line-dark::after { background: var(--ink); }
.btn--line-dark:hover { color: var(--paper); border-color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: gap .4s var(--ease); }
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { gap: 16px; }
.dot { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #8fd36b; flex: none; }
.dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: rgba(143, 211, 107, .55); animation: pulse 2.4s infinite; }
.dot.is-closed { background: #d9826b; }
.dot.is-closed::after { background: rgba(217, 130, 107, .5); }
.dot.is-off::after { animation-play-state: paused; }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 70%, 100% { transform: scale(3.6); opacity: 0; } }

/* segmented control with a sliding pill */
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(19, 33, 26, .06); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { position: relative; z-index: 1; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; transition: color .4s var(--ease); }
.seg button small { font-size: 12px; opacity: .6; margin-left: 4px; }
.seg button[aria-selected="true"] { color: var(--paper); }
.seg__pill { position: absolute; z-index: 0; top: 4px; left: 0; height: 38px; width: 0; border-radius: 999px; background: var(--pine); transition: transform .55s var(--ease), width .55s var(--ease); }
.seg--inv { background: rgba(245, 242, 233, .08); box-shadow: inset 0 0 0 1px var(--line-inv); }
.seg--inv button { color: var(--paper); }
.seg--inv button[aria-selected="true"] { color: var(--ink); }
.seg--inv .seg__pill { background: var(--sun); }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--hdr-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter); color: var(--paper);
  transition: color .5s var(--ease), transform .6s var(--ease), height .5s var(--ease), box-shadow .5s;
}
.hdr::before { content: ''; position: absolute; inset: 0; z-index: -1; background: transparent; transition: background-color .5s var(--ease); }
.hdr.is-solid { --hdr-h: 64px; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.hdr.is-solid::before { background: rgba(245, 242, 233, .92); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.hdr.is-solid.on-dark { color: var(--paper); box-shadow: 0 1px 0 var(--line-inv); }
.hdr.is-solid.on-dark::before { background: var(--hdr-dark, rgba(15, 35, 24, .88)); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr:not(.is-solid) { text-shadow: 0 1px 14px rgba(0, 0, 0, .3); }
.hdr__brand { display: flex; align-items: center; gap: 12px; flex: none; transition: opacity .6s var(--ease); }
.hdr.has-crest .hdr__brand { opacity: 0; pointer-events: none; }
.hdr__mark { width: 34px; height: 34px; }
.hdr__word { font-family: var(--serif); font-size: 21px; line-height: 1; font-weight: 500; letter-spacing: -.01em; display: grid; gap: 4px; }
.hdr__word small { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; opacity: .75; }
.hdr__nav { display: flex; gap: clamp(18px, 2.2vw, 36px); font-size: 14.5px; font-weight: 500; transition: opacity .4s var(--ease); }
.hdr__nav a { position: relative; padding: 6px 0; opacity: .92; }
.hdr__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.hdr__nav a:hover::after, .hdr__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.hdr__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.hdr__cta { --h: 42px; font-size: 14px; padding: 0 18px 0 20px; font-variant-numeric: lining-nums; }
.hdr__cta svg { width: 15px; height: 15px; }
.hdr__menu { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 4px 0 10px; font-size: 14px; font-weight: 500; }
.hdr__burger { width: 26px; height: 10px; position: relative; display: block; }
.hdr__burger i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.hdr__burger i:first-child { top: 0; }
.hdr__burger i:last-child { top: 8.5px; }
.menu-open .hdr__burger i:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-open .hdr__burger i:last-child { top: 4.25px; transform: rotate(-45deg); }
.menu-open .hdr { color: var(--paper); }
.menu-open .hdr::before { background: var(--pine) !important; backdrop-filter: none !important; }
.menu-open .hdr.is-solid { box-shadow: none; }
.menu-open .hdr__nav { opacity: 0; pointer-events: none; }
.menu-open .hdr__brand { opacity: 1; pointer-events: auto; }
@media (max-width: 1180px) { .hdr__nav { display: none; } }
@media (max-width: 719px) {
  :root { --hdr-h: 66px; }
  .hdr.is-solid { --hdr-h: 58px; }
  .hdr__cta { display: none; }
  .hdr__mark { width: 30px; height: 30px; }
  .hdr__word { font-size: 18px; }
  .hdr__menu-label { display: none; }
  .hdr__menu { width: 44px; justify-content: center; padding: 0; }
}

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--pine); color: var(--paper);
  display: grid; grid-template-columns: 1fr 1.25fr; grid-template-rows: 1fr auto;
  padding: calc(var(--hdr-h) + 24px) var(--gutter) 28px; gap: 0 6vw; clip-path: inset(0 0 100% 0);
}
.menu[hidden] { display: none; }
.menu__media { position: relative; grid-row: 1 / 3; overflow: hidden; border-radius: var(--r); }
.menu__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.menu__media img.is-on { opacity: 1; transform: scale(1); }
.menu__nav { align-self: center; }
.menu__nav li { overflow: hidden; border-bottom: 1px solid var(--line-inv); }
.menu__nav a { display: grid; grid-template-columns: 52px 1fr auto; align-items: baseline; gap: 12px; padding: 14px 0; font-family: var(--serif); font-weight: 450; font-size: clamp(1.9rem, 2.7vw, 2.9rem); line-height: 1.08; letter-spacing: -.015em; transition: color .4s, padding .5s var(--ease); }
.menu__nav a:hover { padding-left: 14px; color: var(--sun); }
.menu__no { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; color: var(--muted-inv); font-weight: 500; }
.menu__nav em { font-family: var(--sans); font-style: normal; font-size: 13px; letter-spacing: .02em; color: var(--muted-inv); text-align: right; }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; font-size: 15px; padding-top: 24px; }
.menu__foot a:not(.btn) { display: inline-flex; align-items: center; gap: 10px; }
.menu__foot svg { width: 18px; height: 18px; }
.menu__foot .btn { margin-left: auto; }
@media (max-width: 899px) {
  .menu { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; padding-top: calc(var(--hdr-h) + 8px); overflow-y: auto; overscroll-behavior: contain; }
  .menu__media { grid-row: auto; height: 16vh; min-height: 110px; }
  .menu__nav a { grid-template-columns: 34px 1fr; font-size: clamp(1.7rem, 7.4vw, 2.3rem); padding: 11px 0; }
  .menu__nav em { grid-column: 2; text-align: left; margin-top: -2px; }
  .menu__foot { padding-top: 16px; gap: 10px 22px; }
  .menu__foot .btn { margin-left: 0; width: 100%; }
}

/* ---------- Hero: the school crest over the Schulhaus ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-top: var(--hdr-h);
  overflow: hidden; color: var(--paper); isolation: isolate; background: #0b1a12;
  overflow-anchor: none; /* the console fills in after load; a reload must not drift with it */
}
.hero__scene { position: absolute; inset: 0; }
.hero__scene picture { position: absolute; inset: 0; }
.hero__fg { position: absolute; inset: 0 0 auto; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transform-origin: 50% 30%; will-change: transform; }
/* the building's own lettering sits below the crest, between the place line and the console */
@media (min-width: 720px) { .hero__fg { height: 150%; } }
.hero__shade { position: absolute; inset: 0; z-index: 3; pointer-events: none; background:
  radial-gradient(44% 36% at 50% var(--crest-y, 40%), rgba(6, 16, 10, .66), rgba(6, 16, 10, .3) 60%, rgba(6, 16, 10, 0) 100%),
  linear-gradient(180deg, rgba(8, 20, 13, .74) 0%, rgba(8, 20, 13, .36) 20%, rgba(8, 20, 13, .3) 44%, rgba(8, 20, 13, .42) 62%, rgba(8, 20, 13, .78) 82%, rgba(8, 20, 13, .94) 100%); }
.crest {
  position: relative; z-index: 4; flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: clamp(10px, 3svh, 40px) 16px clamp(22px, 4.6svh, 52px); color: #f7f3e8;
}
.crest__mark { display: block; overflow: visible; width: clamp(110px, 18svh, 190px); height: auto; aspect-ratio: 820 / 815; filter: drop-shadow(0 14px 34px rgba(0, 0, 0, .42)); }
.crest__draw { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.crest__glow { opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; }
.crest__club { margin-top: clamp(14px, 2.4svh, 26px); font-size: 12.5px; font-weight: 600; letter-spacing: .5em; text-indent: .5em; text-transform: uppercase; color: var(--sun); text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.crest__name { margin-top: 4px; padding: 0 .05em .08em; overflow: hidden; font-family: var(--serif); font-weight: 450; font-size: clamp(3.2rem, 5.8vw, 6rem); line-height: 1.04; letter-spacing: -.012em; white-space: nowrap; text-shadow: 0 2px 30px rgba(0, 0, 0, .45); font-variation-settings: 'opsz' 144; }
.crest__name span { display: inline-block; }
.crest__since { margin-top: 14px; display: flex; align-items: center; gap: 16px; font-size: 11px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: rgba(247, 243, 232, .92); text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.crest__since span { padding-left: .32em; }
.crest__since i { width: 40px; height: 1px; background: rgba(253, 237, 4, .7); }
.js .crest__draw { stroke-dashoffset: 1; }
.js .hero__fg, .js .hero__shade, .js .crest__sun, .js .crest__club, .js .crest__name, .js .crest__since { opacity: 0; }
.no-anim .crest__draw, .is-static .crest__draw { stroke-dashoffset: 0 !important; }
.no-anim .crest__sun, .no-anim .crest__club, .no-anim .crest__name, .no-anim .crest__since, .no-anim .hero__fg, .no-anim .hero__shade,
.is-static .crest__sun, .is-static .crest__club, .is-static .crest__name, .is-static .crest__since, .is-static .hero__fg, .is-static .hero__shade { opacity: 1 !important; }

/* Week console */
.week {
  position: relative; z-index: 5; width: calc(100% - 2 * var(--gutter)); max-width: var(--maxw); margin: 0 auto clamp(18px, 3vh, 30px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, auto) minmax(150px, auto) minmax(250px, auto); grid-template-rows: auto auto;
  background: rgba(248, 245, 236, .97); color: var(--ink); border-radius: var(--r); overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .5) inset;
}
.week > div:not(.week__info) { padding: 16px 22px 18px; border-right: 1px solid var(--line); min-width: 0; }
.week > .week__go { border-right: 0; }
.week__lab { display: block; color: var(--muted); margin-bottom: 10px; white-space: nowrap; }
.week__chips { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; margin: 0 -2px; padding: 2px; }
.week__chips::-webkit-scrollbar { display: none; }
.chip {
  position: relative; flex: 1 0 56px; display: grid; justify-items: center; gap: 3px; padding: 8px 4px 7px; border-radius: 3px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .55); transition: background-color .35s, color .35s, border-color .35s, transform .4s var(--ease);
}
.chip:hover { border-color: var(--line-2); transform: translateY(-2px); }
.chip svg { width: 22px; height: 22px; color: var(--moss); transition: color .35s; }
.chip__t { font-family: var(--serif); font-size: 1.12rem; line-height: 1; font-weight: 500; font-variant-numeric: lining-nums; }
.chip__flag { position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); }
.chip.is-free { background: rgba(253, 237, 4, .16); border-color: rgba(194, 206, 7, .55); }
.chip.is-free .chip__flag { background: var(--citron); }
.chip[aria-checked="true"] { background: var(--pine); color: var(--paper); border-color: var(--pine); }
.chip[aria-checked="true"] svg { color: var(--sun); }
.chip[aria-checked="true"] .chip__flag { background: var(--sun); }
.week__val { font-family: var(--serif); font-size: 1.6rem; line-height: 1.1; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: lining-nums; }
.week__sub { margin-top: 6px; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.week__val.is-free { color: var(--leaf-d); }
.week__go { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.week__count { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; line-height: 1; white-space: nowrap; }
.week__count span { font-size: 13px; color: var(--muted); }
.week__count strong { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; letter-spacing: -.01em; font-variant-numeric: lining-nums; }
.week__btn { --h: 46px; width: 100%; }
.week__info { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 10px 28px; flex-wrap: wrap; padding: 11px 22px 12px; border-top: 1px solid var(--line); background: rgba(235, 229, 213, .7); font-size: 13.5px; }
.week__notes { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.week__notes li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.week__notes svg { width: 17px; height: 17px; color: var(--moss); flex: none; }
.week__notes b { font-weight: 600; font-variant-numeric: tabular-nums; }
.week__notes .is-flag, .week__notes .is-flag svg { color: var(--leaf-d); }
.week__more { display: flex; gap: 6px 20px; flex-wrap: wrap; }
.week__more a { color: var(--muted); border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s; }
.week__more a:hover { color: var(--ink); border-color: var(--ink); }
.js .week { opacity: 0; }
.no-anim .week, .is-static .week { opacity: 1 !important; }

@media (max-width: 1180px) {
  .week { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); }
  .week__days { grid-column: 1 / -1; border-right: 0 !important; border-bottom: 1px solid var(--line); }
}
@media (max-width: 719px) {
  .hero__shade { background:
    radial-gradient(80% 30% at 50% var(--crest-y, 34%), rgba(6, 16, 10, .66), rgba(6, 16, 10, .3) 62%, rgba(6, 16, 10, 0) 100%),
    linear-gradient(180deg, rgba(8, 20, 13, .82) 0%, rgba(8, 20, 13, .5) 20%, rgba(8, 20, 13, .42) 44%, rgba(8, 20, 13, .62) 62%, rgba(8, 20, 13, .86) 80%, rgba(8, 20, 13, .95) 100%); }
  .crest { padding: clamp(6px, 2svh, 22px) 16px clamp(16px, 3svh, 32px); }
  .crest__mark { width: clamp(92px, min(32vw, 16svh), 150px); }
  .crest__club { margin-top: clamp(12px, 2svh, 20px); font-size: 11.5px; letter-spacing: .46em; text-indent: .46em; }
  .crest__name { font-size: clamp(2.6rem, 13vw, 3.4rem); }
  .crest__since { margin-top: 10px; gap: 12px; font-size: 10px; letter-spacing: .28em; }
  .crest__since span { padding-left: .28em; }
  .crest__since i { width: 24px; }
  .week { width: auto; margin: 0 10px 10px; display: flex; flex-wrap: wrap; }
  .week > div:not(.week__info) { border: 0 !important; }
  .week__days { flex: 0 0 100%; padding: 12px 12px 6px !important; }
  .week__opt { flex: 1 1 0; padding: 6px 12px 8px !important; }
  .week__opt + .week__opt { border-left: 1px solid var(--line) !important; }
  .week__go { flex: 0 0 100%; flex-direction: row !important; align-items: center; padding: 8px 12px 12px !important; }
  .week__lab { margin-bottom: 6px; }
  .chip { flex: 1 0 44px; padding: 6px 2px 5px; }
  .chip svg { width: 19px; height: 19px; }
  .chip__t { font-size: 1rem; }
  .week__val { font-size: 1.3rem; }
  .week__sub { font-size: 12px; margin-top: 3px; }
  .week__count { flex-direction: column; align-items: flex-start; gap: 4px; }
  .week__count span { font-size: 11.5px; }
  .week__count strong { font-size: 1.5rem; }
  .week__btn { --h: 46px; width: auto; flex: 1; padding: 0 14px 0 18px; font-size: 14.5px; }
  .week__info { padding: 8px 12px; font-size: 12px; }
  .week__notes { flex-wrap: nowrap; overflow: hidden; gap: 14px; }
  .week__notes li { min-width: 0; }
  .week__notes li > span { overflow: hidden; text-overflow: ellipsis; }
  .week__notes li:nth-child(n+3) { display: none; }
  .week__notes svg { width: 15px; height: 15px; }
  .week__more { display: none; }
}

/* ---------- Heute: board ---------- */
.today { background: var(--pine); color: var(--paper); position: relative; overflow: hidden; }
.today::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 60% at 15% 0%, rgba(61, 92, 71, .45), transparent 65%); }
.today .wrap { position: relative; }
.today__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 16px 6vw; align-items: end; }
.today__lead { color: var(--muted-inv); max-width: 42ch; justify-self: end; }
.today__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: stretch; }
.board { background: #f3eedd; color: #13211a; border-radius: 3px; overflow: hidden; margin: 11px;
  box-shadow: 0 0 0 10px #173326, 0 0 0 11px rgba(253, 237, 4, .32), 0 50px 90px -40px rgba(0, 0, 0, .7); }
.board__top { display: flex; align-items: center; gap: 18px; padding: 12px 22px; background: #173a27; color: #f6f1de; }
.board__title { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.board__date { color: rgba(246, 241, 222, .8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board__clock { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; font-variant-numeric: lining-nums tabular-nums; }
.brow { border-bottom: 1px solid rgba(23, 58, 39, .16); }
.brow__head { width: 100%; display: grid; grid-template-columns: 112px minmax(0, 1fr) 24px; align-items: center; gap: 16px; padding: 10px 18px 10px 22px; text-align: left; transition: background-color .3s; }
.brow__head:hover { background: rgba(23, 58, 39, .05); }
.brow__lab { color: #173a27; }
.brow__plates { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, auto); gap: 6px; min-width: 0; }
.plate {
  position: relative; display: flex; align-items: center; min-height: 42px; padding: 7px 14px; overflow: hidden; min-width: 0; line-height: 1.15;
  background: #fffdf6; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(19, 33, 26, .13), inset 0 -3px 0 rgba(19, 33, 26, .06), 0 2px 3px rgba(19, 33, 26, .09);
  font-family: var(--serif); font-weight: 500; font-size: 1.08rem; letter-spacing: .04em; text-transform: uppercase; font-variant-numeric: lining-nums tabular-nums;
}
.plate > span { display: inline-block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plate--side { justify-content: center; text-align: center; color: var(--leaf-d); }
.brow__ico { width: 20px; height: 20px; color: #173a27; transition: transform .5s var(--ease); justify-self: end; }
.brow.is-open .brow__ico { transform: rotate(45deg); }
.brow__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.brow.is-open .brow__more { grid-template-rows: 1fr; }
.brow__in { overflow: hidden; padding: 0 22px 0 calc(22px + 112px + 16px); visibility: hidden; transition: visibility 0s .6s; }
.brow.is-open .brow__in { padding-bottom: 16px; visibility: visible; transition-delay: 0s; }
.brow__txt { line-height: 1.55; color: #3a463e; max-width: 58ch; margin-bottom: 10px; }
.brow__in .link-arrow { color: #173a27; }
.fc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fc li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 0 10px; align-items: center; padding: 4px 14px 4px 0; }
.fc li + li { padding-left: 14px; border-left: 1px solid rgba(23, 58, 39, .15); }
.fc svg { grid-row: 1 / 3; width: 28px; height: 28px; color: #173a27; }
.fc b { color: #173a27; }
.fc span { color: #3a463e; font-variant-numeric: tabular-nums; }
.evl { display: grid; margin-bottom: 12px; }
.evl li { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 8px 0; border-bottom: 1px dashed rgba(23, 58, 39, .2); align-items: baseline; }
.evl li b { font-family: var(--serif); font-weight: 500; color: var(--leaf-d); font-variant-numeric: lining-nums; white-space: nowrap; }
.board__foot { padding: 10px 22px; font-size: 12px; color: #5a665d; background: rgba(23, 58, 39, .05); }
.yearbar { margin: 4px 0 12px; max-width: 560px; }
.yearbar__track { position: relative; height: 12px; border-radius: 6px; background: rgba(23, 58, 39, .12); overflow: hidden; }
.yearbar__track i { position: absolute; top: 0; bottom: 0; }
.yearbar__track .yb-done { left: 0; background: var(--lime); }
.yearbar__track .yb-free { background: var(--sun); opacity: .9; }
.yearbar__track .yb-now { width: 2px; background: #13211a; }
.yearbar__labels { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: #5a665d; }

/* sun arc */
.sky { display: flex; flex-direction: column; }
.sky__frame { position: relative; flex: 1; min-height: 220px; overflow: hidden; border-radius: 3px; box-shadow: 0 0 0 1px var(--line-inv-2), 0 40px 80px -40px rgba(0, 0, 0, .7); }
.sky__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sky__live { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(11, 26, 18, .55); }
.sky__temp { position: absolute; top: 14px; right: 18px; text-align: right; }
.sky__temp b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 4.4vw, 3.6rem); line-height: 1; font-variant-numeric: lining-nums; }
.sky__temp span { color: var(--muted-inv); }
.sky__cap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; color: var(--muted-inv); }
.sky__cap span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.sky__cap svg { width: 18px; height: 18px; color: var(--sun); }
.sky__cap b { color: var(--paper); font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .today__grid { grid-template-columns: 1fr; } .sky { display: none; } }
@media (max-width: 719px) {
  .today__head { grid-template-columns: 1fr; }
  .board { margin: 7px; box-shadow: 0 0 0 7px #173326, 0 0 0 8px rgba(253, 237, 4, .32), 0 40px 80px -40px rgba(0, 0, 0, .7); }
  .board__top { padding: 9px 12px; gap: 10px; }
  .board__title { font-size: 1.08rem; letter-spacing: .1em; }
  .board__clock { font-size: 1.2rem; }
  .brow__head { grid-template-columns: minmax(0, 1fr) 24px; gap: 5px 10px; padding: 8px 12px 9px 14px; }
  .brow__lab { grid-column: 1; grid-row: 1; }
  .brow__ico { grid-column: 2; grid-row: 1; }
  .brow__plates { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
  .plate { min-height: 34px; padding: 4px 9px; font-size: .86rem; letter-spacing: .02em; }
  .board__date { display: none; }
  .brow__in { padding: 0 14px; }
  .fc { grid-template-columns: 1fr; }
  .fc li, .fc li + li { padding: 6px 0; border-left: 0; border-top: 1px solid rgba(23, 58, 39, .12); }
  .evl li { grid-template-columns: 78px 1fr; }
}

/* ---------- Termine: year calendar ---------- */
.year { background: var(--paper); }
.year__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.year__count { display: flex; align-items: baseline; gap: 14px; margin-top: clamp(12px, 2.4svh, 26px); }
.year__count b { font-family: var(--serif); font-weight: 400; font-size: clamp(3.4rem, min(6vw, 10svh), 5.6rem); line-height: .9; letter-spacing: -.03em; color: var(--leaf-d); font-variant-numeric: lining-nums; }
.year__count span { max-width: 18ch; color: var(--muted); line-height: 1.35; }
.year__seg { margin-top: clamp(14px, 2.6svh, 28px); }
.ylist { margin-top: clamp(10px, 1.8svh, 18px); border-top: 1px solid var(--line); min-height: calc(5 * 49px); }
.ylist li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ylist li.is-past { opacity: .45; }
.ylist__d { font-family: var(--serif); font-weight: 500; font-variant-numeric: lining-nums; white-space: nowrap; }
.ylist__t { min-width: 0; }
.ylist__t small { display: block; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.ylist__k { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); white-space: nowrap; }
.ylist__k::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--leaf)); }
.ylist__empty { color: var(--muted); padding: 14px 0; }
.k-schule { --c: var(--pine); }
.k-ferien { --c: #e8d700; }
.k-feiertag { --c: var(--lime); }
.year__cta { display: flex; align-items: center; gap: 16px 20px; flex-wrap: wrap; margin-top: clamp(14px, 2.4svh, 26px); }
.year__cta .fine { max-width: 30ch; }
.year__cal { align-self: center; }
.cal__nav { display: none; }
.months { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2.4svh, 26px) clamp(14px, 1.8vw, 28px); }
.mon { border-radius: var(--r); padding: 10px 10px 8px; transition: background-color .4s var(--ease), box-shadow .4s var(--ease); cursor: pointer; text-align: left; }
.mon:hover { background: rgba(255, 255, 255, .6); }
.mon.is-sel { background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 20px 40px -24px rgba(19, 33, 26, .35); }
.mon__name { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font-family: var(--serif); font-weight: 500; font-size: 1.05rem; }
.mon__name small { color: var(--muted); }
.mon__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.mon__grid i { position: relative; aspect-ratio: 1; border-radius: 2px; font-style: normal; font-size: 0; }
.d-school { background: rgba(19, 33, 26, .12); }
.d-wkend { background: transparent; box-shadow: inset 0 0 0 1px rgba(19, 33, 26, .06); }
.d-ferien { background: var(--sun); }
.d-feiertag { background: var(--lime); }
.d-event::after { content: ''; position: absolute; inset: 28%; border-radius: 50%; background: var(--pine); }
.d-today { box-shadow: 0 0 0 2px var(--leaf-d); z-index: 1; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: clamp(12px, 2.2svh, 22px); padding: 0 10px; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 12px; height: 12px; border-radius: 2px; position: relative; }
.lg--school { background: rgba(19, 33, 26, .12); }
.lg--ferien { background: var(--sun); }
.lg--feiertag { background: var(--lime); }
.lg--event { background: rgba(19, 33, 26, .12); }
.lg--event::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--pine); }
.lg--today { box-shadow: 0 0 0 2px var(--leaf-d); }
@media (max-width: 899px) {
  .year__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .year__side { display: contents; }
  .year__side > .h-label { order: 0; }
  .year__side > .h2 { order: 1; }
  .year__count { order: 2; }
  .year__cal { order: 3; }
  .ylist { order: 4; }
  .year__cta { order: 5; margin-top: 0; }
  .cal__nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
  .cal__now { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; }
  .cal__arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); }
  .cal__arrow svg { width: 18px; height: 18px; }
  .cal__arrow:disabled { opacity: .3; }
  .months { display: block; }
  .mon { display: none; padding: 0; cursor: default; }
  .mon.is-sel { display: block; background: none; box-shadow: none; }
  .mon__name { display: none; }
  .mon__grid { gap: 3px; }
  .mon__grid i { aspect-ratio: 1.9; font-size: 11px; display: grid; place-items: center; color: rgba(19, 33, 26, .55); font-variant-numeric: tabular-nums; }
  .mon__grid i.d-event::after { inset: auto 50% 3px auto; width: 5px; height: 5px; transform: translateX(50%); }
  .mon__grid i.d-ferien, .mon__grid i.d-feiertag { color: var(--ink); }
  .legend { padding: 0; gap: 6px 14px; margin-top: 8px; }
  .year .h2 { margin-bottom: 0; }
  .year__count { margin-top: -4px; }
  .year__count b { font-size: 2.6rem; }
  .year__grid { gap: 10px; }
  .ylist { margin-top: 0; }
  .ylist { min-height: 0; }
  .ylist li { grid-template-columns: 74px minmax(0, 1fr); padding: 9px 0; }
  .ylist__k { display: none; }
  .ylist li:nth-child(n+4) { display: none; }
  .year__seg { display: none; }
  .year__cta .fine { display: none; }
}

/* ---------- Klassen ---------- */
.cls { background: var(--paper-3); }
.cls__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 96px); align-items: center; }
.cls__lead { margin-top: clamp(12px, 2svh, 22px); color: var(--muted); max-width: 40ch; }
.stufen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(16px, 2.8svh, 30px); }
.stufen button { height: 48px; min-width: 56px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; font-weight: 500; transition: background-color .35s, color .35s, border-color .35s, transform .4s var(--ease); }
.stufen button:hover { border-color: var(--ink); transform: translateY(-2px); }
.stufen button[aria-checked="true"] { background: var(--pine); border-color: var(--pine); color: var(--paper); }
.cls__answer { margin-top: clamp(14px, 2.4svh, 24px); max-width: 44ch; font-family: var(--serif); font-size: clamp(1.25rem, min(1.7vw, 2.8svh), 1.55rem); line-height: 1.3; }
.cls__answer b { font-weight: 500; color: var(--leaf-d); }
.ccard { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 50px 90px -50px rgba(19, 33, 26, .45); }
.ccard__fig { position: relative; min-height: clamp(320px, 62svh, 560px); overflow: hidden; background: var(--paper-2); }
.ccard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.ccard__img.is-on { opacity: 1; }
.ccard__badge { position: absolute; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 2px; padding: 12px 16px; border-radius: 3px; background: rgba(15, 35, 24, .84); color: var(--paper); }
.ccard__badge span { color: var(--sun); }
.ccard__badge b { font-weight: 500; }
.ccard__body { padding: clamp(18px, 3svh, 32px) clamp(18px, 2.2vw, 32px); display: flex; flex-direction: column; min-width: 0; }
.ccard__lab { color: var(--muted); }
.ccard__name { margin-top: 6px; font-family: var(--serif); font-weight: 450; letter-spacing: -.01em; }
.ccard__subj { margin-top: 4px; color: var(--muted); }
.ccard__h { margin-top: clamp(14px, 2.6svh, 26px); padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--muted); }
.ccard__team li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.ccard__team img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.ccard__team b { display: block; font-weight: 500; }
.ccard__team span { display: block; color: var(--muted); line-height: 1.35; }
.ccard__meta { margin-top: auto; padding-top: clamp(12px, 2svh, 20px); display: grid; gap: 10px; }
.ccard__meta dt { color: var(--muted); }
.ccard__meta dd { font-weight: 500; }
@media (max-width: 899px) {
  .cls__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ccard { grid-template-columns: 112px minmax(0, 1fr); }
  .ccard__fig { min-height: 0; }
  .ccard__badge { display: none; }
  .ccard__body { padding: 14px 16px; }
  .ccard__h { margin-top: 10px; }
  .ccard__team li { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding: 6px 0; }
  .ccard__team img { width: 36px; height: 36px; }
  .ccard__meta { padding-top: 10px; gap: 6px; }
  .stufen { gap: 6px; margin-top: 12px; }
  .stufen button { height: 42px; min-width: 0; flex: 1 0 auto; padding: 0 12px; }
  .cls__lead { display: none; }
  .cls__answer { margin-top: 10px; font-size: 1.1rem; }
}

/* ---------- Schulhaus ---------- */
.place { background: var(--pine); color: var(--paper); }
.place__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.place__stage { position: relative; height: clamp(320px, var(--scr-h), 760px); overflow: hidden; border-radius: var(--r); background: #0b1a12; }
.place__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.place__img.is-on { opacity: 1; }
.place__ctrl { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(11, 26, 18, .66); }
.place__arrow { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--paper); border: 1px solid var(--line-inv-2); transition: background-color .3s, color .3s; }
.place__arrow:hover { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.place__arrow svg { width: 18px; height: 18px; }
.place__no { padding: 0 10px; font-variant-numeric: tabular-nums; color: var(--muted-inv); }
.place__no b { color: var(--paper); font-weight: 500; }
.place__text { margin-top: clamp(14px, 2.6svh, 28px); min-height: 7.2em; }
.place__t { font-family: var(--serif); font-weight: 450; color: var(--sun); }
.place__d { margin-top: 8px; color: var(--muted-inv); max-width: 44ch; }
.place__nums { display: flex; gap: clamp(18px, 2.6vw, 40px); margin-top: clamp(14px, 2.6svh, 28px); padding-top: clamp(12px, 2svh, 20px); border-top: 1px solid var(--line-inv); }
.place__nums b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, min(3vw, 5svh), 3rem); line-height: 1; font-variant-numeric: lining-nums; }
.place__nums span { color: var(--muted-inv); }
.place__rooms { margin-top: clamp(14px, 2.6svh, 26px); }
.place__lab { display: block; color: var(--muted-inv); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-inv-2); white-space: nowrap; }
.place__nb { margin-top: 12px; color: var(--muted-inv); line-height: 1.5; }
.place__nb .place__lab { display: inline; margin: 0 6px 0 0; }
@media (max-width: 899px) {
  .place__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .place__stage { height: clamp(190px, 30svh, 320px); order: 2; }
  .place__panel { display: contents; }
  .place__panel > .h-label { order: 0; }
  .place__panel > .h2 { order: 1; }
  .place__text { order: 3; margin-top: 0; min-height: 0; }
  .place__nums { order: 4; margin-top: 0; padding-top: 10px; }
  .place__rooms { order: 5; margin-top: 0; }
  .place__nb { display: none; }
  .place__ctrl { left: 10px; bottom: 10px; }
}
@media (max-width: 719px) {
  .place__rooms { display: none; }
  .place__d { font-size: var(--t-body); }
  .place__arrow { width: 40px; height: 40px; }
}

/* ---------- Bewegung ---------- */
.move { background: var(--paper); }
.move__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 96px); align-items: center; }
.move__fig { position: relative; height: clamp(320px, var(--scr-h), 720px); }
.move__big { position: absolute; inset: 0 14% 0 0; overflow: hidden; border-radius: var(--r); }
.move__big img { width: 100%; height: 100%; object-fit: cover; }
.move__plate { position: absolute; right: 0; bottom: 8%; width: 42%; overflow: hidden; border-radius: var(--r); box-shadow: 0 0 0 8px var(--paper), 0 40px 70px -30px rgba(19, 33, 26, .5); transform: rotate(2deg); }
.move__plate img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.move__lead { margin-top: clamp(12px, 2svh, 22px); color: var(--muted); max-width: 44ch; }
.move__list { margin-top: clamp(14px, 2.6svh, 28px); border-top: 1px solid var(--line); }
.move__list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: clamp(10px, 1.8svh, 16px) 0; border-bottom: 1px solid var(--line); }
.move__no { font-family: var(--serif); color: var(--leaf-d); font-variant-numeric: lining-nums; padding-top: 2px; }
.move__list h3 { font-family: var(--serif); font-weight: 450; }
.move__list p { color: var(--muted); margin-top: 2px; }
.move__list a { color: var(--leaf-d); border-bottom: 1px solid currentColor; }
@media (max-width: 899px) {
  .move__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .move__fig { height: clamp(150px, 22svh, 240px); order: 2; }
  .move__big { right: 30%; }
  .move__plate { width: 36%; bottom: 10%; box-shadow: 0 0 0 5px var(--paper), 0 30px 50px -24px rgba(19, 33, 26, .5); }
  .move__text { display: contents; }
  .move__text > .h-label { order: 0; }
  .move__text > .h2 { order: 1; }
  .move__lead { display: none; }
  .move__list { order: 3; margin-top: 0; }
  .move__list li { grid-template-columns: 32px minmax(0, 1fr); gap: 8px; padding: 8px 0; }
}

/* ---------- Kunst ---------- */
.art { background: var(--paper-2); overflow: hidden; }
.art__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 16px 6vw; align-items: end; }
.art__lead { color: var(--muted); max-width: 46ch; justify-self: end; }
.art__hint { display: block; margin-top: 6px; color: var(--ink); }
.art__side { display: grid; gap: 16px; justify-items: end; }
.art__nav { display: flex; gap: 8px; }
.art__nav button { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background-color .3s, color .3s, border-color .3s; }
.art__nav button:hover { background: var(--pine); color: var(--paper); border-color: var(--pine); }
.art__nav button:disabled { opacity: .3; cursor: default; }
.art__nav button:disabled:hover { background: none; color: inherit; border-color: var(--line-2); }
.art__nav svg { width: 18px; height: 18px; }
.art__rail { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); margin-top: clamp(18px, 3.6svh, 44px); padding: 26px max(var(--gutter), calc((100% - var(--maxw)) / 2)) 30px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; cursor: grab; }
.art__rail::-webkit-scrollbar { display: none; }
.art__rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.work { flex: none; scroll-snap-align: center; text-align: left; transition: transform .6s var(--ease); }
.work:nth-child(odd) { transform: rotate(-1.2deg); }
.work:nth-child(even) { transform: rotate(1deg) translateY(10px); }
.work:hover { transform: rotate(0) translateY(-6px); }
.work__frame { display: block; padding: clamp(10px, 1.2vw, 16px); background: var(--white); border-radius: 2px; box-shadow: 0 1px 0 rgba(19, 33, 26, .06), 0 30px 50px -30px rgba(19, 33, 26, .55); position: relative; }
.work__frame::before { content: ''; position: absolute; top: -9px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff8a7a, #c0392b 70%); box-shadow: 0 3px 4px rgba(0, 0, 0, .25); }
.work img { height: clamp(200px, 40svh, 400px); width: auto; max-width: none; object-fit: cover; border-radius: 1px; }
.work__cap { display: block; margin-top: 12px; padding: 0 4px; }
@media (max-width: 899px) {
  .art__head { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .art__lead { justify-self: start; }
  .art__side { justify-items: start; }
  .art__nav { display: none; }
  .art__rail { padding: 22px 16px 26px; gap: 18px; margin-top: 4px; scroll-snap-type: x mandatory; }
  .work img { height: clamp(220px, 44svh, 400px); }
}
@media (max-width: 719px) { .art__lead > :not(.art__hint) { display: none; } .art__lead { font-size: 0; } .art__hint { margin-top: 0; } }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(9, 20, 13, .94); padding: 64px 72px; }
.lb[hidden] { display: none; }
.lb__fig { display: grid; justify-items: center; gap: 14px; color: var(--paper); max-height: 100%; }
.lb__fig img { max-width: min(1200px, 100%); max-height: calc(100svh - 160px); width: auto; height: auto; border-radius: 2px; }
.lb__close, .lb__arrow { position: absolute; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--paper); border: 1px solid var(--line-inv-2); background: rgba(9, 20, 13, .5); }
.lb__close { top: 16px; right: 16px; }
.lb__arrow--prev { left: 16px; top: 50%; margin-top: -24px; }
.lb__arrow--next { right: 16px; top: 50%; margin-top: -24px; }
.lb svg { width: 20px; height: 20px; }
@media (max-width: 719px) { .lb { padding: 64px 12px 80px; } .lb__arrow { top: auto; bottom: 16px; margin-top: 0; } }

/* ---------- Bücherei ---------- */
.lib { background: var(--paper); }
.lib__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 96px); align-items: center; }
.lib__fig { position: relative; height: clamp(320px, var(--scr-h), 720px); overflow: hidden; border-radius: var(--r); }
.lib__fig img { width: 100%; height: 100%; object-fit: cover; }
.lib__fig figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(245, 242, 233, .92); }
.open { margin-top: clamp(16px, 3svh, 32px); padding: clamp(14px, 2.4svh, 22px) 22px; border-radius: var(--r); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.open__state { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 450; }
.open__next { margin-top: 4px; color: var(--muted); }
.wk { margin-top: clamp(14px, 2.6svh, 26px); }
.wk__scale { display: grid; grid-template-columns: 34px repeat(4, minmax(0, 1fr)); padding-left: 0; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.wk__scale span:first-child { grid-column: 2; }
.wk__days li { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 0; height: clamp(28px, 4.2svh, 38px); }
.wk__days b { font-weight: 500; }
.wk__bar { position: relative; height: 12px; border-radius: 6px; background: rgba(19, 33, 26, .07); }
.wk__open { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: var(--leaf); }
.wk__open span { position: absolute; left: 0; top: -19px; font-size: 12px; white-space: nowrap; color: var(--ink); font-variant-numeric: tabular-nums; }
.wk__now { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: #c0392b; border-radius: 1px; }
.wk__days li.is-today b { color: var(--leaf-d); }
.lib__extra { margin-top: clamp(12px, 2svh, 20px); color: var(--muted); }
.lib__extra a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
@media (max-width: 899px) {
  .lib__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .lib__fig { height: clamp(150px, 24svh, 260px); order: 2; }
  .lib__text { display: contents; }
  .lib__text > .h-label { order: 0; }
  .lib__text > .h2 { order: 1; }
  .open { order: 3; margin-top: 0; padding: 12px 16px; }
  .wk { order: 4; margin-top: 4px; }
  .lib__extra { order: 5; margin-top: 0; }
}

/* ---------- Team ---------- */
.team { background: var(--pine); color: var(--paper); overflow: hidden; }
.team__head { display: flex; justify-content: space-between; align-items: end; gap: 16px 40px; flex-wrap: wrap; }
.people { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(18px, 3.4svh, 40px); }
.person { transition: opacity .5s var(--ease), filter .5s var(--ease); }
.person.is-dim { opacity: .22; filter: grayscale(1); }
.person__img { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 1 / 1.08; max-height: calc((var(--scr-h) - 310px) / 2); width: 100%; background: var(--pine-3); }
.person__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.person:hover .person__img img { transform: scale(1.05); }
.person__mono { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 2.4rem; color: var(--sun); background: radial-gradient(90% 70% at 50% 100%, rgba(4, 150, 54, .35), transparent 70%), var(--pine-3); }
.person__n { margin-top: 10px; font-family: var(--serif); font-weight: 450; line-height: 1.2; }
.person__r { margin-top: 2px; color: var(--muted-inv); line-height: 1.35; }
@media (max-width: 1100px) { .people { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .people { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; }
  .people::-webkit-scrollbar { display: none; }
  .person { flex: 0 0 min(42vw, 190px); scroll-snap-align: start; }
  .person.is-dim { display: none; }
  .person__img { max-height: none; }
  .team__seg button { padding: 0 12px; font-size: 13px; }
}

/* ---------- Dorf ---------- */
.town { position: relative; color: var(--paper); overflow: hidden; background: #0b1a12; isolation: isolate; }
.town__bg { position: absolute; inset: -9% 0 0; width: 100%; height: 118%; object-fit: cover; object-position: 50% 30%; z-index: -2; }
.town::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 20, 13, .55) 0%, rgba(8, 20, 13, .5) 40%, rgba(8, 20, 13, .86) 100%); }
.town__in { display: flex; flex-direction: column; justify-content: center; }
.names { --names: clamp(3rem, min(8.4vw, 13svh), 8.6rem); margin-top: clamp(18px, 4svh, 48px); min-height: calc(var(--names) * 2.1 + 4em); }
.names__y { color: var(--sun); font-variant-numeric: lining-nums; }
.names__n { margin-top: 6px; font-family: var(--serif); font-weight: 400; font-size: var(--names); line-height: 1.02; letter-spacing: -.025em; overflow: hidden; padding-bottom: .06em; font-variation-settings: 'opsz' 144; text-wrap: balance; }
.names__n span { display: inline-block; }
.names__t { margin-top: 10px; color: var(--muted-inv); }
.names__steps { display: flex; gap: 8px; margin-top: clamp(18px, 3svh, 32px); }
.names__steps button { position: relative; flex: 1; max-width: 190px; padding: 12px 0 0; text-align: left; color: var(--muted-inv); border-top: 2px solid var(--line-inv-2); transition: color .4s; }
.names__steps button::before { content: ''; position: absolute; left: 0; top: -2px; height: 2px; width: 100%; background: var(--sun); transform: scaleX(0); transform-origin: left; }
.names__steps button[aria-current="true"] { color: var(--paper); }
.names__steps button[aria-current="true"]::before { transform: scaleX(var(--p, 1)); }
.names__steps button.is-done::before { transform: scaleX(1); opacity: .45; }
.town__nums { display: flex; flex-wrap: wrap; gap: 14px clamp(24px, 4vw, 64px); margin-top: clamp(22px, 4.4svh, 52px); padding-top: clamp(14px, 2.4svh, 24px); border-top: 1px solid var(--line-inv); }
.town__nums b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, min(3vw, 5svh), 3rem); line-height: 1; font-variant-numeric: lining-nums; }
.town__nums li > span { color: var(--muted-inv); }
@media (max-width: 719px) {
  .names { --names: clamp(2.3rem, 10.5vw, 3rem); }
  .names__steps button { padding-top: 8px; letter-spacing: .08em; }
  .town__nums { gap: 10px 22px; }
  .town__nums li { flex: 1 1 40%; }
}

/* ---------- Kontakt ---------- */
.contact { background: var(--paper-3); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.contact__fig { position: relative; height: clamp(320px, var(--scr-h), 640px); overflow: hidden; border-radius: var(--r); }
.contact__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.contact__fig figcaption { position: absolute; left: 14px; bottom: 14px; display: grid; padding: 10px 16px; border-radius: 3px; background: rgba(15, 35, 24, .84); color: var(--paper); }
.contact__fig figcaption b { font-family: var(--serif); font-weight: 450; }
.contact__lines { margin-top: clamp(16px, 3svh, 30px); border-top: 1px solid var(--line); }
.contact__lines li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: clamp(9px, 1.6svh, 14px) 0; border-bottom: 1px solid var(--line); }
.contact__lab { color: var(--muted); }
.contact__lines a { display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line-2); transition: border-color .3s; overflow-wrap: anywhere; }
.contact__lines a:hover { border-color: var(--ink); }
.contact__lines svg { width: 14px; height: 14px; flex: none; }
.contact__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: clamp(16px, 3svh, 28px); }
.form { padding: clamp(18px, 3svh, 30px) clamp(18px, 2vw, 28px); border-radius: var(--r); background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px rgba(19, 33, 26, .45); position: relative; }
.form__title { font-family: var(--serif); font-weight: 450; margin-bottom: clamp(10px, 2svh, 18px); }
.field { display: grid; gap: 6px; margin-bottom: clamp(8px, 1.6svh, 14px); }
.field span { color: var(--muted); }
.field input, .field textarea { width: 100%; border: 1px solid var(--line-2); border-radius: 3px; background: var(--paper-3); padding: 10px 12px; transition: border-color .3s, background-color .3s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--leaf); background: var(--white); }
.field textarea { resize: vertical; min-height: 84px; }
.form__btn { width: 100%; margin-top: 4px; }
.form__done { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; background: rgba(255, 254, 250, .97); border-radius: var(--r); }
.form__done[hidden] { display: none; }
.form__done b { display: block; font-family: var(--serif); font-weight: 450; font-size: 1.6rem; }
.form__done small { display: block; margin-top: 6px; color: var(--muted); }
@media (max-width: 1100px) { .contact__grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); } .form { grid-column: 1 / -1; } }
@media (max-width: 899px) {
  .contact__grid { grid-template-columns: 104px minmax(0, 1fr); gap: 14px 16px; align-items: start; }
  .contact__fig { height: 130px; grid-row: 1; margin-top: 4px; }
  .contact__fig figcaption { display: none; }
  .contact__main { display: contents; }
  .contact__main > .h-label { grid-column: 2; grid-row: 1; align-self: start; }
  .contact__main > .h2 { grid-column: 2; grid-row: 1; align-self: end; }
  .contact__lines, .contact__cta { grid-column: 1 / -1; margin-top: 0; }
  .contact__lines li { grid-template-columns: 88px minmax(0, 1fr); }
  .contact__cta .btn { flex: 1 1 0; padding-inline: 12px; }
  .form { display: none; }
}

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--paper); padding: clamp(64px, 8vw, 120px) 0 calc(28px + env(safe-area-inset-bottom)); overflow: hidden; }
.foot__big { display: flex; align-items: center; gap: .2em; font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 9.4vw, 11.4rem); line-height: .95; letter-spacing: -.03em; white-space: nowrap; font-variation-settings: 'opsz' 144; }
.foot__big em { font-style: italic; color: var(--sun); }
.foot__mark { width: .7em; height: .7em; flex: none; margin-right: .04em; }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(48px, 6vw, 96px); padding-top: 32px; border-top: 1px solid var(--line-inv); }
.foot__cols h4 { color: var(--muted-inv); margin-bottom: 14px; }
.foot__cols a, .foot__cols p { display: block; padding: 3px 0; color: rgba(245, 242, 233, .86); }
.foot__cols a:hover { color: var(--sun); }
.foot__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; font-size: 13px; color: var(--muted-inv); }
.foot__base a { border-bottom: 1px solid var(--line-inv-2); }
@media (max-width: 719px) { .foot__cols { grid-template-columns: 1fr 1fr; } .foot__big { flex-wrap: wrap; white-space: normal; font-size: clamp(2.6rem, 13vw, 4.4rem); row-gap: .05em; } .foot__big em { flex-basis: 100%; } }

/* ---------- Dock (phones) ---------- */
.dock { display: none; }
@media (max-width: 899px) {
  .dock {
    display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50;
    padding: 6px; border-radius: 999px; background: rgba(15, 35, 24, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55); transform: translateY(140%); transition: transform .6s var(--ease);
  }
  .dock.is-on { transform: none; }
  .dock__main { flex: 1; display: grid; place-items: center; height: 48px; border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 600; font-size: 15px; }
  .dock__call { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--paper); border: 1px solid var(--line-inv-2); }
  .dock__call svg { width: 20px; height: 20px; }
  .dock__note { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-inv-2); }
  .dock__note i { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(253, 237, 4, .18); }
  .menu-open .dock { transform: translateY(140%); }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ---------- Concept note ---------- */
.note { position: fixed; left: max(10px, calc(var(--gutter) / 2 - 14px)); top: 50%; z-index: 52; font-size: 14px; opacity: 0; visibility: hidden; transform: translate(-6px, -50%); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s; }
.note.is-shown, .note.is-open { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.note__btn { display: inline-flex; align-items: center; gap: 10px; writing-mode: vertical-rl; transform: rotate(180deg); width: 28px; padding: 14px 0 12px; border-radius: 999px; background: rgba(15, 35, 24, .8); color: var(--paper); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 0 1px var(--line-inv); }
.note__btn i { width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }
.note__panel { position: absolute; left: 40px; top: 50%; transform: translateY(-50%); width: min(340px, calc(100vw - 32px)); background: var(--paper-3); color: var(--ink); border-radius: var(--r); padding: 22px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .45), 0 0 0 1px var(--line); display: grid; gap: 10px; line-height: 1.5; }
.note__panel[hidden] { display: none; }
.note__panel b { font-family: var(--serif); font-weight: 450; font-size: 1.25rem; }
.note__panel .btn { --h: 44px; margin-top: 6px; justify-self: start; }
.note__fine { font-size: 12px; line-height: 1.45; color: var(--muted); }
.note__fine a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 899px) {
  .note { left: 12px; right: 12px; top: auto; bottom: calc(76px + env(safe-area-inset-bottom)); transform: translateY(8px); }
  .note.is-open { transform: none; }
  .note.is-shown:not(.is-open) { opacity: 0; visibility: hidden; }
  .note__btn { display: none; }
  .note__panel { position: static; width: auto; transform: none; }
}

[data-img-reveal] { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* =========================================================
   Screens: every section (or part of it) fits one viewport.
   Large visuals take the space that is left.
   ========================================================= */
:root {
  --scr-t: calc(var(--hdr-h) + clamp(14px, 3.4svh, 46px));
  --scr-b: clamp(18px, 3.8svh, 50px);
  --scr-h: calc(100svh - var(--scr-t) - var(--scr-b));
  --h2s: clamp(2.1rem, min(3.4vw, 5.4svh), 3.8rem);
}
@media (max-width: 899px) { :root { --scr-b: calc(86px + env(safe-area-inset-bottom)); } }
@media (max-width: 719px) { :root { --scr-t: calc(var(--hdr-h) + 14px); --h2s: clamp(1.95rem, 8.4vw, 2.4rem); } }
main .h2 { font-size: var(--h2s); }
main .h-label { margin-bottom: clamp(10px, 1.8svh, 22px); }
main > section:not(.hero) { padding-top: var(--scr-t); padding-bottom: var(--scr-b); }
@media (min-width: 900px) {
  main > section:not(.hero) { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
}
.today__head { margin-bottom: clamp(14px, 3svh, 40px); }
.today .board__top { padding-block: clamp(8px, 1.3svh, 13px); }
.today .brow__head { padding-block: clamp(4px, .8svh, 11px); }
.today .plate { min-height: clamp(32px, 4.4svh, 42px); padding-block: clamp(4px, .7svh, 7px); }
.board__foot { padding-block: clamp(6px, 1svh, 11px); }
@media (max-width: 719px) {
  .today__head { margin-bottom: 10px; gap: 0; }
  .today__lead, .board__foot { display: none; }
}
@media (min-width: 900px) and (max-height: 800px) {
  .place__nb { display: none; }
  .ylist li { padding-block: 9px; }
  .ylist { min-height: calc(5 * 43px); }
}
@media (min-width: 900px) and (max-height: 760px) {
  .ylist li:nth-child(n+5) { display: none; }
  .ylist { min-height: calc(4 * 43px); }
  .year__count b { font-size: 3.4rem; }
  .year__cta .fine { display: none; }
  .months { row-gap: 8px; }
}
@media (max-width: 719px) and (max-height: 780px) {
  .cls .h-label, .place .h-label, .move .h-label, .lib .h-label { margin-bottom: 6px; }
  .place__nums b, .town__nums b { font-size: 1.7rem; }
  .move__list p { display: none; }
  .ccard__subj { display: none; }
  .wk__days li { height: 28px; }
  .wk { margin-top: 0; }
}

/* =========================================================
   Type system — one voice
   Fraunces: headlines, figures. Jost: text, controls and two label tiers —
   LABEL 600 · .18em (names a block) · CAPTION 500 · .14em (names a value)
   Brand lockups (header, crest, board title, footer word) keep their own set.
   ========================================================= */
:root {
  --t-lab: 11.5px;
  --t-cap: 11px;
  --t-lead: 17px;
  --t-body: 15px;
  --t-small: 14px;
  --h3m: clamp(1.55rem, 2vw, 1.9rem);
  --h3s: clamp(1.2rem, min(1.6vw, 2.7svh), 1.45rem);
}
@media (max-width: 719px) {
  :root { --t-lab: 11px; --t-cap: 10.5px; --t-lead: 15px; --t-body: 14.5px; --t-small: 13.5px; --h3m: 1.45rem; --h3s: 1.15rem; }
}
@media (max-width: 719px) and (max-height: 780px) { :root { --h2s: 1.8rem; --h3s: 1.1rem; } }

/* LABEL */
.h-label, main .h-label, .week__lab, .brow__lab, .ccard__lab, .ccard__h, .place__lab, .foot__cols h4, .names__y, .sky__live, .field span {
  font-family: var(--sans); font-size: var(--t-lab); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-style: normal;
}
/* CAPTION */
.board__date, .chip__d, .fc b, .ccard__meta dt, .ccard__badge span, .contact__lab, .ylist__k, .legend li, .work__cap, .lib__fig figcaption, .place__no, .names__steps button, .mon__name small {
  font-family: var(--sans); font-size: var(--t-cap); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-style: normal;
}
.chip__d { white-space: nowrap; }
.place__nums span, .town__nums li > span, .person__r, .sky__temp span, .week__sub { font-family: var(--sans); font-size: var(--t-small); letter-spacing: 0; text-transform: none; }

/* Headings */
.ccard__name, .form__title, .open__state { font-size: var(--h3m); line-height: 1.12; letter-spacing: -.01em; }
.place__t, .move__list h3, .person__n, .ylist__t, .ccard__team b { font-size: var(--h3s); line-height: 1.2; }
.ccard__team b { font-family: var(--sans); font-size: var(--t-body); font-weight: 500; }
.ylist__t { font-family: var(--sans); font-size: var(--t-body); font-weight: 500; line-height: 1.35; }
.ylist__d { font-size: var(--h3s); }

/* Text */
.today__lead, .cls__lead, .move__lead, .art__lead, .place__d { font-size: var(--t-lead); }
.brow__txt, .contact__lines li, .open__next, .names__t, .lib__extra, .ccard__meta dd, .move__list p, .field input, .field textarea { font-size: var(--t-body); }
.ccard__subj, .ccard__team span, .ylist__t small, .fc span, .evl li, .chips li, .place__nb, .year__count span, .fine, .wk__days b, .art__hint { font-size: var(--t-small); }
.link-arrow { font-size: 15px; }
.brow__in .link-arrow { font-size: 14px; }
.art__hint { font-family: var(--sans); font-weight: 500; }
