@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/fonts/archivo-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: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #fbfbf8;
  --ink: #151515;
  --ink-2: #4c4c47;
  --ink-3: #6b6b65;
  --hair: rgba(21, 21, 21, 0.16);
  --red: #d2302c;
  --red-dark: #ad221f;
  --yellow: #e0a91c;
  --grey: #8d8d88;
  --pad: clamp(20px, 4vw, 56px);
  --sec: clamp(80px, 10vw, 148px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --top-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 24px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  font-stretch: 100%;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--red); }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
html { scrollbar-color: var(--ink) var(--paper); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--paper); border-left: 0.75px solid var(--hair); }
::-webkit-scrollbar-thumb { background: var(--ink); border: 3px solid var(--paper); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip:focus { top: 12px; }

h1, h2 {
  font-weight: 700;
  font-stretch: 86%;
  letter-spacing: -0.03em;
  line-height: 0.98;
  text-wrap: balance;
}
h2 { font-size: clamp(38px, 5vw, 72px); }
h3 { font-size: 20px; line-height: 1.25; font-weight: 650; letter-spacing: -0.005em; }
.intro { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }

/* ---------- Sheet: the whole page is one plan sheet ---------- */
.sheet {
  position: relative;
  margin: 14px;
  border: 1.5px solid var(--ink);
  min-height: calc(100vh - 28px);
}
.sheet::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 0.75px solid var(--ink);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease);
}
.btn:hover { background: #000; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }

/* ---------- Header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--top-h);
  margin: 6px 6px 0;
  padding: 0 calc(var(--pad) - 6px);
  background: var(--paper);
  border-bottom: 0.75px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.top.is-stuck { border-bottom-color: var(--ink); }
.brand { display: flex; align-items: baseline; gap: 6px; text-decoration: none; margin-right: auto; }
.brand-ib { font-weight: 400; font-size: 27px; letter-spacing: -0.02em; font-stretch: 90%; }
.brand-name { font-weight: 750; font-size: 27px; letter-spacing: -0.025em; font-stretch: 86%; }
.brand-sub { font-size: 14px; color: var(--ink-3); margin-left: 8px; }
.nav ul { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav a { font-size: 16px; text-decoration: none; padding: 6px 0; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 1.5px no-repeat; transition: background-size 0.3s var(--ease); }
.nav a:hover, .nav a.is-here { background-size: 100% 1.5px; }
.lang { font-size: 15px; text-decoration: none; display: flex; gap: 6px; color: var(--ink-3); }
.lang .lang-cur { color: var(--ink); font-weight: 650; }
.lang:hover { color: var(--red); }
.top-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 16px; text-decoration: none; padding-left: 24px; border-left: 0.75px solid var(--ink); height: 28px; }
.top-tel:hover { color: var(--red); }
.menu-btn { display: none; }
.menu { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 1; padding: 8px var(--pad) clamp(24px, 3vw, 40px); }
.hero-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(260px, 22vw, 320px);
  gap: clamp(20px, 2.5vw, 40px);
  align-items: stretch;
}
.hero-draw { display: flex; justify-content: center; align-items: flex-start; }
.plan-wrap { position: relative; width: 100%; container-type: inline-size; }
.hero .plan-wrap { width: min(100%, calc((100svh - var(--top-h) - 64px) * 1.359)); }
.plan { display: block; width: 100%; height: auto; overflow: visible; }

.room-text {
  position: absolute;
  left: 13.6%;
  top: 22.2%;
  width: 57%;
  display: flex;
  flex-direction: column;
  gap: 2.2cqw;
}
.room-text h1 { font-size: clamp(34px, 6.9cqw, 96px); }
html[lang='en'] .room-text h1 { font-size: clamp(32px, 6.3cqw, 88px); }
.room-text .lead { font-size: clamp(16px, 1.75cqw, 21px); color: var(--ink-2); max-width: 40ch; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 0.6cqw; }

.strip {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 28px;
  padding: 18px 0 0;
  border-left: 0.75px solid var(--ink);
  padding-left: clamp(16px, 1.6vw, 24px);
}
.strip-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.north { width: 42px; height: auto; }
.north .nt { font-size: 9px; font-weight: 700; }
.scale { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 13px; color: var(--ink-2); }
.scalebar { width: 150px; height: auto; }
.sbt { font-size: 16px; fill: var(--ink-2); font-family: inherit; }
.strip-h { font-size: 13px; font-weight: 650; letter-spacing: 0; font-stretch: 100%; line-height: 1.2; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 0.75px solid var(--ink); }
.legend { display: grid; gap: 10px; font-size: 16px; }
.strip-mid { display: grid; align-content: start; gap: 32px; }
.ticks li { position: relative; padding: 5px 0 5px 26px; font-size: 16px; }
.ticks li::before { content: ''; position: absolute; left: 1px; top: 50%; width: 13px; height: 1.5px; background: var(--ink); transform: rotate(-45deg); }
.ticks a { text-decoration: none; }
.ticks a:hover { color: var(--red); }
.legend li { display: flex; align-items: center; gap: 12px; }
.legend svg { width: 40px; height: 16px; flex: none; }
.sw-a { fill: rgba(224, 169, 28, 0.38); stroke: #b98a0e; stroke-width: 1.5; stroke-dasharray: 5 3; }

/* Title block (Plankopf) */
.kopf { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--ink); background: var(--paper); }
.kopf > div { padding: 10px 12px; border: 0.375px solid var(--ink); min-width: 0; }
.kopf dt { font-size: 12px; color: var(--ink-3); line-height: 1.3; }
.kopf dd { font-size: 15px; line-height: 1.35; }
.kopf .k-office { grid-column: 1 / -1; }
.kopf .k-office dd { font-size: 20px; font-weight: 700; font-stretch: 88%; letter-spacing: -0.015em; }
.kopf .k-tel { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; }
.kopf .k-tel dd { font-size: 21px; font-weight: 700; }
.kopf .k-tel a { text-decoration: none; }
.kopf .k-tel a:hover { color: var(--red); }
.kopf .k-meta { grid-column: 1 / -1; }
.kopf .k-meta dd { font-size: 12px; color: var(--ink-3); }

/* ---------- Plan drawing ---------- */
:is(.plan, .elev, .sect, .legend) pattern rect { fill: var(--paper) !important; stroke: none !important; }
:is(.plan, .elev, .sect, .legend) pattern line { stroke: var(--grey) !important; stroke-width: 1.1 !important; stroke-dasharray: none !important; }
:is(.plan, .elev, .sect) pattern path { stroke: var(--grey) !important; stroke-width: 1 !important; fill: none !important; }
.plan text, .elev text, .sect text { font-family: 'Archivo', system-ui, sans-serif; }
.plan .walls rect { stroke: var(--ink); stroke-width: 1.4; }
.plan .cut { fill: var(--paper); stroke: none !important; }
.plan line, .plan path { stroke: var(--ink); stroke-width: 1.2; fill: none; }
.plan .thin { stroke-width: 0.7; }
.plan .glass { stroke-width: 0.9; }
.plan .leaf { stroke-width: 1.4; }
.plan .swing { stroke-width: 0.7; stroke-dasharray: 3 3; }
.plan .thin-r { fill: none; stroke: var(--ink); stroke-width: 0.8; }
.plan .walk { stroke-width: 0.9; }
.plan .dot { fill: var(--ink); stroke: none; }
.plan .dim { stroke-width: 0.7; }
.plan .tick { stroke-width: 1.3; }
.plan .ext { stroke-width: 0.5; }
.plan .dimt { font-size: 13px; fill: var(--ink); }
.plan .lbl { font-size: 14px; fill: var(--ink-2); }
.plan .lbl-s { font-size: 12px; fill: var(--ink-2); }
.plan .w-a rect, .plan .w-x rect { fill: rgba(224, 169, 28, 0.38); stroke: #b98a0e; stroke-width: 1.4; stroke-dasharray: 6 4; }
.plan .w-n rect { fill: var(--red); stroke: var(--red); }
.plan .mk circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.4; }
.plan .mkt { font-size: 14px; font-weight: 700; fill: var(--ink); }

@container (max-width: 760px) {
  .plan .lbl { font-size: 23px; }
  .plan .lbl-s { font-size: 19px; }
  .plan .dimt { font-size: 21px; }
  .plan .dimt-s { display: none; }
  .plan .mkt { font-size: 21px; }
  .plan .mk circle { r: 18px; }
}

/* States: 1 survey, 2 design, 3 permit, 4 tender, 5 on site, 6 done */
.plan-wrap .plan :is(.w-a, .w-x, .w-n, .door-old, .door-new, .l-old, .l-new, .markers, .dims) { transition: opacity 0.5s var(--ease); }
.plan-wrap .plan .w-a rect, .plan-wrap .plan .w-n rect { transition: fill 0.5s var(--ease), stroke 0.5s var(--ease), stroke-dasharray 0.5s var(--ease); }
.plan-wrap .plan .markers { opacity: 0; }
.plan-wrap .plan .door-new { opacity: 0; }
.plan-wrap .plan .l-old { opacity: 0; }
.plan-wrap .plan .door-old { opacity: 0; }
[data-state='1'] .plan .w-a rect { fill: url(#pp-b); stroke: var(--ink); stroke-dasharray: none; }
[data-state='1'] .plan .w-x, [data-state='1'] .plan .w-n, [data-state='1'] .plan .l-new { opacity: 0; }
[data-state='1'] .plan .l-old, [data-state='1'] .plan .door-old { opacity: 1; }
[data-state='2'] .plan .w-n rect { fill: rgba(210, 48, 44, 0.08); stroke-dasharray: 5 4; stroke-width: 1.4; }
[data-state='4'] .plan .markers { opacity: 1; }
[data-state='5'] .plan .w-a, [data-state='5'] .plan .w-x, [data-state='6'] .plan .w-a, [data-state='6'] .plan .w-x { opacity: 0; }
[data-state='5'] .plan .door-new, [data-state='6'] .plan .door-new { opacity: 1; }
[data-state='6'] .plan .w-n rect { fill: url(#pp-b); stroke: var(--ink); }

/* ---------- Sections ---------- */
section:not(.hero) { position: relative; z-index: 1; border-top: 0.75px solid var(--ink); margin: 0 6px; }
.wrap { max-width: 1340px; margin: 0 auto; padding: var(--sec) var(--pad); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }

/* Fields: one street elevation */
.fields h2 { margin-bottom: clamp(40px, 5vw, 72px); max-width: 14ch; }
.elev-fig { margin: 0 -1%; }
.elev { display: block; width: 100%; height: auto; }
.elev line, .elev path, .elev rect { fill: none; stroke: var(--ink); stroke-width: 1.3; }
.elev .mass { stroke: var(--ink); fill: url(#el-b); }
.elev .timber { fill: var(--paper); }
.elev .board, .elev .thin { stroke-width: 0.6; }
.elev .balc { fill: var(--paper); stroke-width: 1.2; }
.elev .wnd { fill: var(--paper); stroke-width: 1.1; }
.elev .roof { stroke-width: 2.4; stroke-linecap: square; }
.elev .hall { fill: var(--paper); }
.elev .ground { stroke-width: 2; }
.elev .e-n .nl { stroke: var(--red); stroke-width: 1.6; fill: var(--paper); }
.elev .e-n path.nl { fill: none; stroke-width: 2.4; }
.elev .e-n .nlt { stroke: var(--red); stroke-width: 0.7; }
.fields-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 28px; padding-top: 24px; border-top: 0.75px solid var(--ink); }
.fields-list li { display: grid; gap: 8px; align-content: start; padding-right: 8%; }
.fields-list h3 { font-size: clamp(21px, 1.8vw, 26px); font-stretch: 90%; font-weight: 700; letter-spacing: -0.015em; }
.fields-list p { color: var(--ink-2); max-width: 36ch; }

/* Services as a bill of quantities */
.lv { border-top: 1.5px solid var(--ink); }
.lv-group + .lv-group { border-top: 1.5px solid var(--ink); }
.lv-title { display: flex; align-items: baseline; gap: 18px; padding: 22px 0 18px; font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; font-stretch: 88%; letter-spacing: -0.02em; }
.lv-no { width: 64px; flex: none; font-size: 15px; font-weight: 600; letter-spacing: 0; font-stretch: 100%; color: var(--ink-3); }
.lv ul li { display: grid; grid-template-columns: 64px minmax(0, 0.9fr) minmax(0, 1.3fr); gap: 18px; padding: 16px 0 18px; border-top: 0.75px solid var(--hair); align-items: baseline; }
.lv ul li > span:first-child { padding-left: 0; }
.lv-pos { font-size: 15px; color: var(--ink-3); }
.lv-name { font-weight: 650; font-size: 19px; line-height: 1.3; }
.lv-text { color: var(--ink-2); max-width: 54ch; }
.lv-title, .lv ul li { padding-left: 0; }
.lv-title .lv-no + * { flex: 1; }

/* Process: sticky plan that changes state */
.proc { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.proc-fig { position: sticky; top: calc(var(--top-h) + 28px); order: 2; }
.proc-sheet { border: 1.5px solid var(--ink); padding: 3% 3% 1.5%; background: var(--paper); }
.proc-cap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 14px; border: 1.5px solid var(--ink); border-top: 0; font-size: 15px; }
.proc-cap-l { color: var(--ink-3); }
.proc-cap-s { font-weight: 700; margin-right: auto; min-width: 9ch; }
.proc-cap .legend { display: flex; gap: 16px; font-size: 14px; }
.proc-cap .legend li { gap: 8px; }
.proc-cap .legend svg { width: 28px; height: 12px; }
.steps { order: 1; }
.step { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px; min-height: min(50vh, 460px); padding-top: 22px; border-top: 0.75px solid var(--hair); }
.step:first-child { border-top: 1.5px solid var(--ink); }
.step-no { font-size: 30px; font-weight: 700; font-stretch: 88%; color: var(--ink-3); line-height: 1; transition: color 0.4s var(--ease); }
.step h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; font-stretch: 88%; letter-spacing: -0.02em; margin-bottom: 12px; }
.step p { color: var(--ink-2); max-width: 38ch; font-size: 19px; }
.step.is-on .step-no { color: var(--red); }
.step:last-child { padding-bottom: 8px; }

/* Energy */
.energy-grid { display: grid; gap: clamp(32px, 4vw, 56px); }
.sect-fig { max-width: 1120px; margin: 0 auto; width: 100%; }
.sect { display: block; width: 100%; height: auto; }
.sect line, .sect path, .sect rect, .sect circle { fill: none; stroke: var(--ink); stroke-width: 1.3; }
.sect .roof-s, .sect .roof-i { stroke-width: 1.5; }
.sect .mass { fill: url(#se-b); stroke: var(--ink); stroke-width: 1.2; }
.sect .ins { fill: url(#se-i); stroke: var(--ink); stroke-width: 0.8; }
.sect .ins-roof { fill: url(#se-i); stroke: none; }
.sect .blade, .sect .hub { fill: var(--ink); stroke: none; }
.sect .glass { stroke-width: 0.8; }
.sect .cut { fill: var(--paper); stroke: none; }
.sect .frame { stroke-width: 1.2; fill: var(--paper); }
.sect .ground { stroke-width: 2; }
.sect .flow { stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sect .hot rect { fill: var(--ink); stroke: var(--ink); }
.sect .hot .ring { stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 3 3; }
.sect .leader { stroke-width: 0.8; }
.sect .ann { font-size: 17px; fill: var(--ink); stroke: none; }
.sect .ann-r { fill: var(--ink); font-weight: 650; }
.sect .ann-m { fill: var(--ink-3); font-size: 16px; }
.energy-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; border-top: 1.5px solid var(--ink); }
.energy-list > div { padding: 22px 8% 0 0; }
.energy-list dt { font-size: clamp(22px, 2vw, 27px); font-weight: 700; font-stretch: 88%; letter-spacing: -0.015em; margin-bottom: 8px; }
.energy-list dd { color: var(--ink-2); max-width: 50ch; }

/* Office */
.office-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.office-text h2 { margin-bottom: 32px; }
.office-text p { font-size: clamp(19px, 1.5vw, 21px); max-width: 52ch; margin-bottom: 18px; text-wrap: pretty; }
.office-text .values-h { margin-top: 40px; margin-bottom: 14px; font-size: 15px; font-weight: 600; color: var(--ink-3); }
.values { display: grid; max-width: 480px; border-top: 0.75px solid var(--ink); }
.values li { position: relative; padding: 12px 0 12px 34px; border-bottom: 0.75px solid var(--hair); font-weight: 600; font-size: 19px; }
.values li::before { content: ''; position: absolute; left: 2px; top: 50%; width: 18px; height: 1.5px; background: var(--ink); transform: rotate(-45deg); }
.kopf-office { margin-top: 8px; }
.kopf-office > div { padding: 14px 16px; }
.kopf-office dd { font-size: 18px; }
.kopf-office .k-office dd { font-size: 28px; }

/* Contact */
.contact .wrap { padding-bottom: calc(var(--sec) * 0.8); }
.contact h2 { font-size: clamp(42px, 6.4vw, 96px); max-width: 12ch; margin-bottom: 24px; }
.contact .intro { margin-bottom: clamp(40px, 5vw, 64px); }
.kopf-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kopf-contact > div { padding: 18px 20px 20px; }
.kopf-contact dt { font-size: 14px; margin-bottom: 4px; }
.kopf-contact dd { font-size: 19px; }
.kopf-contact .k-big dd { font-size: clamp(26px, 3vw, 44px); font-weight: 700; font-stretch: 88%; letter-spacing: -0.02em; line-height: 1.1; overflow-wrap: anywhere; }
.kopf-contact .k-big a { text-decoration: none; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 3px no-repeat; transition: background-size 0.35s var(--ease); }
.kopf-contact .k-big a:hover { background-size: 100% 3px; }
.ext { display: inline-flex; align-items: center; gap: 4px; }
.ico-s { width: 0.95em; height: 0.95em; stroke-width: 1.8; position: relative; top: 0.04em; }

/* Footer */
.foot { position: relative; z-index: 1; margin: 0 6px 6px; border-top: 0.75px solid var(--ink); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 22px var(--pad); font-size: 14px; color: var(--ink-2); }
.foot ul { display: flex; gap: 24px; }

/* Mobile dock */
.dock { display: none; }

/* Legal */
.legal { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 112px) var(--pad) var(--sec); }
.legal h1 { font-size: clamp(44px, 6vw, 80px); margin-bottom: 40px; }
.legal h2 { font-size: 21px; font-stretch: 100%; letter-spacing: -0.005em; line-height: 1.3; margin: 36px 0 8px; }
.legal p { color: var(--ink-2); margin-bottom: 12px; max-width: 65ch; }
.legal-note { padding: 14px 16px; border: 1.5px solid var(--ink); color: var(--ink) !important; }
.todo { margin-top: 36px; padding: 4px 18px 10px; border: 1.5px dashed var(--ink); }
.todo h2 { margin-top: 14px; }
.todo p { color: var(--ink) !important; }
.notfound .btn { margin: 8px 8px 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border: 1.5px solid var(--ink); background: var(--paper);
    font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer;
  }
  .menu-btn .menu-close { display: none; }
  .menu-btn[aria-expanded='true'] .menu-open { display: none; }
  .menu-btn[aria-expanded='true'] .menu-close { display: inline; }
  .menu:not([hidden]) {
    display: block; position: fixed; z-index: 19; inset: calc(var(--top-h) + 20px) 20px auto 20px; background: var(--paper);
    border: 1.5px solid var(--ink); padding: 12px 20px 20px; box-shadow: 0 18px 40px rgba(21, 21, 21, 0.18);
  }
  .menu ul li a { display: block; padding: 12px 0; font-size: 24px; font-weight: 700; font-stretch: 88%; text-decoration: none; border-bottom: 0.75px solid var(--hair); }
  .menu p { margin-top: 16px; }
  .menu .btn { width: 100%; justify-content: center; }
}

@media (max-width: 1080px) {
  .hero-sheet { grid-template-columns: 1fr; }
  .hero .plan-wrap { width: 100%; }
  .strip { border-left: 0; border-top: 0.75px solid var(--ink); padding: 20px 0 0; grid-template-columns: auto 1fr minmax(0, 1.4fr); grid-template-rows: auto; align-items: start; gap: 24px 32px; }
  .strip-top { flex-direction: column; align-items: flex-start; }
  .sec-head { grid-template-columns: 1fr; }
  .proc { grid-template-columns: 1fr; }
  .proc-fig { order: 0; top: calc(var(--top-h) + 8px); z-index: 2; background: var(--paper); padding-bottom: 8px; }
  .step { min-height: 46vh; }
  .energy-grid, .office-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --top-h: 62px; }
  body { font-size: 17px; }
  .sheet { margin: 8px; }
  .sheet::before { inset: 4px; }
  .top { margin: 4px 4px 0; gap: 14px; }
  .brand-ib, .brand-name { font-size: 24px; }
  .brand-sub, .top-tel { display: none; }
  .hero { padding-top: 20px; }
  .room-text { position: static; width: auto; gap: 18px; margin-bottom: 28px; }
  .room-text h1, html[lang='en'] .room-text h1 { font-size: clamp(40px, 11vw, 64px); }
  .room-text .lead { font-size: 18px; }
  .hero .plan-wrap { display: flex; flex-direction: column; }
  .hero .plan-wrap .plan { order: 2; }
  .hero .plan-wrap .room-text { order: 1; }
  .hero .plan .rooms text[data-hero-hide] { display: none; }
  .strip { grid-template-columns: 1fr; }
  .strip-top { flex-direction: row; align-items: flex-end; }
  section:not(.hero), .foot { margin: 0 4px; }
  .fields-list, .energy-list { grid-template-columns: 1fr; gap: 0; }
  .energy-list > div { padding: 20px 0 22px; border-bottom: 0.75px solid var(--hair); }
  .lv ul li { grid-template-columns: 48px minmax(0, 1fr); gap: 4px 12px; }
  .lv-text { grid-column: 2; }
  .lv-no { width: 48px; }
  .proc-cap .legend { display: none; }
  .step { grid-template-columns: 52px minmax(0, 1fr); min-height: 38vh; }
  .step-no { font-size: 24px; }
  .kopf-contact { grid-template-columns: 1fr; }
  .dock {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; z-index: 30; left: 8px; right: 8px; bottom: 8px;
    padding: 8px; background: var(--paper); border: 1.5px solid var(--ink); box-shadow: 0 10px 30px rgba(21, 21, 21, 0.2);
    transform: translateY(140%); transition: transform 0.4s var(--ease);
  }
  .dock.is-on { transform: none; }
  .dock .btn { justify-content: center; }
  .foot { padding-bottom: 96px; }
}

@media (max-width: 420px) {
  .actions .btn { flex: 1 1 100%; justify-content: center; }
}

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

@media print {
  .top, .dock, .menu { display: none !important; }
  .sheet { margin: 0; }
}
