/* Nüchter Wintergarten, Auftritt Berlin und Brandenburg. Gestaltungsentwurf von UKMedia.
   Farbwelt: Glas (kühles Nebelgrün), Aluminium (Grau), Petrol aus dem Logo, Lampenlicht (Bernstein) nur im Anfrageteil. */
:root {
  --ink: #1b1b19;
  --petrol: #1d6a82;
  --petrol-deep: #103a47;
  --night: #0b2a34;
  --mist: #e7eeec;
  --paper: #f7f9f8;
  --white: #ffffff;
  --alu: #5d676b;
  --line: #c3cecd;
  --amber: #f2b33d;
  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --head-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--petrol-deep); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.12; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.9rem); font-stretch: 114%; font-weight: 340; letter-spacing: -0.012em; }
h3 { font-size: clamp(1.4rem, 2.3vw, 2rem); font-stretch: 110%; font-weight: 480; letter-spacing: -0.008em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }

/* ---------- Kopf ---------- */
.top {
  height: var(--head-h);
  display: flex; align-items: center; gap: 32px;
  padding-inline: var(--gut);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 52px; height: auto; flex: none; }
.brand__mark .m1 { fill: var(--petrol-deep); }
.brand__mark .m2 { fill: var(--petrol); }
.brand__text { display: grid; line-height: 1; }
.brand__name { font-size: 1.42rem; font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.01em; }
.brand__sub { font-size: 0.8rem; font-stretch: 118%; font-weight: 500; color: var(--petrol); letter-spacing: 0.115em; margin-top: 3px; }
.top__nav { margin-left: auto; display: flex; gap: clamp(16px, 2.2vw, 32px); }
.top__nav a { color: var(--ink); text-decoration: none; font-size: 0.98rem; padding: 8px 0; border-bottom: 2px solid transparent; }
.top__nav a:hover { border-bottom-color: var(--petrol); }
.top__tel { display: grid; text-decoration: none; line-height: 1.15; text-align: right; color: var(--ink); padding-left: clamp(16px, 2.2vw, 32px); border-left: 1px solid var(--line); }
.top__tel-label { font-size: 0.78rem; color: var(--alu); }
.top__tel-num { font-size: 1.2rem; font-weight: 650; font-stretch: 108%; color: var(--petrol-deep); }

/* ---------- Bühne: 3D-Planer ---------- */
.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 396px;
  height: calc(100svh - var(--head-h));
  min-height: 660px;
  max-height: 920px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.stage__view { position: relative; overflow: hidden; background: #cfe2ee; min-width: 0; }
.stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.stage__canvas.is-dragging { cursor: grabbing; }
.stage__canvas:focus-visible { outline: 3px solid var(--ink); outline-offset: -5px; }
.stage__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.stage__head {
  position: absolute; left: 0; top: 0;
  max-width: min(440px, 78%);
  background: var(--paper);
  padding: 22px 26px 20px var(--gut);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stage__head h1 { font-size: clamp(1.55rem, 2.25vw, 2.1rem); font-stretch: 112%; font-weight: 560; letter-spacing: -0.012em; }
.stage__head p { margin: 10px 0 0; font-size: 0.98rem; line-height: 1.45; color: var(--alu); }
.stage__tools { position: absolute; left: var(--gut); bottom: 20px; right: 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; pointer-events: none; }
.stage__tools > * { pointer-events: auto; }
.viewswitch { display: flex; background: var(--paper); border: 1px solid var(--ink); }
.viewswitch button {
  font: inherit; font-size: 0.95rem; font-weight: 500; color: var(--ink);
  background: transparent; border: 0; padding: 10px 16px; min-height: 44px; cursor: pointer;
}
.viewswitch button.is-on { background: var(--ink); color: #fff; }
.stage__hint { margin: 0; font-size: 0.85rem; color: var(--ink); background: rgba(247, 249, 248, 0.86); padding: 5px 10px; }

.panel { display: flex; flex-direction: column; gap: 0; padding: 22px 28px 22px; border-left: 1px solid var(--line); overflow-y: auto; background: var(--paper); margin: 0; }
.panel__only3d { display: grid; gap: 20px; }
.panel__fallback { display: none; font-size: 0.98rem; }
.panel__fallback ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.f { border: 0; margin: 0; padding: 0; min-width: 0; }
.f legend, .f--light > label { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; padding: 0; margin-bottom: 9px; font-weight: 650; font-stretch: 108%; font-size: 1rem; }
.f output { white-space: nowrap; font-weight: 400; font-stretch: 100%; color: var(--alu); font-size: 0.95rem; text-align: right; }
.f__note { margin: 9px 0 0; font-size: 0.86rem; line-height: 1.42; color: var(--alu); }

.types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.type { position: relative; display: block; cursor: pointer; }
.type input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.type > span { display: grid; gap: 2px; height: 100%; padding: 10px 12px 11px; background: var(--white); border: 1px solid var(--line); border-radius: 2px; }
.type b { font-weight: 600; font-size: 0.97rem; line-height: 1.2; }
.type i { font-style: normal; font-size: 0.82rem; line-height: 1.3; color: var(--alu); }
.type:hover > span { border-color: var(--alu); }
.type input:checked + span { border-color: var(--petrol-deep); box-shadow: inset 0 0 0 1px var(--petrol-deep), inset 5px 0 0 var(--petrol); padding-left: 16px; }
.type input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }

.swatches { display: flex; gap: 10px; }
.sw { position: relative; flex: 1; cursor: pointer; }
.sw input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.sw > span { display: block; height: 44px; background: var(--c); border: 1px solid rgba(27, 27, 25, 0.35); border-radius: 2px; box-shadow: inset 0 10px 12px -8px rgba(255, 255, 255, 0.35); }
.sw input:checked + span { outline: 2px solid var(--petrol-deep); outline-offset: 3px; }
.sw input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }

.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 650; font-stretch: 108%; min-height: 32px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { flex: none; width: 50px; height: 28px; border-radius: 14px; background: #aeb9b8; position: relative; transition: background 0.2s; }
.switch__track::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.switch input:checked + .switch__track { background: var(--petrol); }
.switch input:checked + .switch__track::after { transform: translateX(22px); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--ink); outline-offset: 3px; }
.switch input:disabled + .switch__track { opacity: 0.4; }
.switch input:disabled ~ .switch__text { color: var(--alu); }

.f--light input[type='range'] {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 30px; margin: 0; background: transparent; cursor: pointer;
}
.f--light input[type='range']::-webkit-slider-runnable-track { height: 10px; border-radius: 5px; background: linear-gradient(90deg, #86bbe6 0%, #bcd9ea 28%, #f3d595 55%, #e8996a 78%, #1b2947 100%); }
.f--light input[type='range']::-moz-range-track { height: 10px; border-radius: 5px; background: linear-gradient(90deg, #86bbe6 0%, #bcd9ea 28%, #f3d595 55%, #e8996a 78%, #1b2947 100%); }
.f--light input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.f--light input[type='range']::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
.f--light input[type='range']:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.f__ends { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--alu); margin-top: 2px; }

.panel__cta { margin-top: auto; padding-top: 18px; }
.panel__only3d + .panel__fallback + .panel__cta { border-top: 1px solid var(--line); margin-top: 20px; }
.panel__sum { margin: 0 0 10px; font-size: 0.95rem; }
.panel__tel { margin: 10px 0 0; font-size: 0.95rem; color: var(--alu); }
.panel__tel a { font-weight: 650; color: var(--petrol-deep); }

.btn {
  display: block; width: 100%; text-align: center; text-decoration: none; cursor: pointer;
  font: inherit; font-weight: 650; font-stretch: 106%; font-size: 1.02rem; line-height: 1.25;
  color: #fff; background: var(--petrol); border: 0; border-radius: 2px; padding: 15px 18px;
}
.btn:hover { background: var(--petrol-deep); color: #fff; }
.btn--light { background: var(--amber); color: var(--ink); width: auto; padding-inline: 28px; }
.btn--light:hover { background: #ffc85c; color: var(--ink); }

/* ohne WebGL oder JavaScript */
.stage.no-3d .stage__canvas, .stage.no-3d .stage__tools, .stage.no-3d .panel__only3d { display: none; }
.stage.no-3d .stage__photo, .stage.no-3d .panel__fallback { display: block; }
.stage.no-3d .panel__sum { display: none; }

/* ---------- Abschnitte ---------- */
.sec { padding-block: clamp(64px, 9vw, 128px); }

.promise__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.slogan { font-size: clamp(2.3rem, 6vw, 5.1rem); font-weight: 230; font-stretch: 125%; line-height: 1; letter-spacing: -0.03em; color: var(--petrol-deep); margin-bottom: clamp(28px, 4vw, 56px); }
.promise__lead p { font-size: 1.12rem; }
.promise__lead p { max-width: 34em; }
.facts { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.facts li { border-top: 1px solid var(--line); padding: 17px 0 16px; display: grid; grid-template-columns: minmax(150px, 13.5em) 1fr; gap: 6px 24px; line-height: 1.4; }
.facts b { font-weight: 650; font-stretch: 108%; font-size: 1.12rem; }

.kinds { background: var(--paper); border-block: 1px solid var(--line); }
.kinds h2 { max-width: 23em; margin-bottom: clamp(48px, 7vw, 96px); }
.kind { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); align-items: center; }
.kind + .kind { margin-top: clamp(56px, 8vw, 112px); }
.kind__fig { margin: 0; grid-row: 1; }
.kind__fig img { width: 100%; }
.kind__fig figcaption, .steps__fig figcaption { margin-top: 9px; font-size: 0.86rem; color: var(--alu); }
.kind__body { grid-row: 1; }
.kind__body p { max-width: 33em; }
.kind h3 small { font-size: 0.62em; font-weight: 400; color: var(--alu); white-space: nowrap; }
.kind__winter { margin: 16px 0 18px; padding: 10px 0; border-block: 1px solid var(--line); font-weight: 600; }
.kind__winter span { font-weight: 400; color: var(--alu); margin-right: 0.45em; }
.kind__aside { font-size: 0.95rem; color: var(--alu); padding-left: 16px; border-left: 2px solid var(--line); }
.kind--a .kind__fig { grid-column: 1 / span 5; }
.kind--a .kind__body { grid-column: 7 / span 6; }
.kind--b .kind__fig { grid-column: 6 / span 7; }
.kind--b .kind__body { grid-column: 1 / span 4; }
.kind--c .kind__fig { grid-column: 2 / span 5; }
.kind--c .kind__body { grid-column: 8 / span 5; }
.kind--d .kind__fig { grid-column: 7 / span 6; }
.kind--d .kind__body { grid-column: 2 / span 4; }
.link { font: inherit; font-weight: 600; color: var(--petrol); background: none; border: 0; border-bottom: 2px solid var(--petrol); padding: 4px 0 3px; cursor: pointer; }
.link:hover { color: var(--petrol-deep); border-bottom-color: var(--petrol-deep); }

.steps__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.steps h2 { max-width: 15em; margin-bottom: clamp(32px, 4vw, 56px); }
.flow { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.flow li { counter-increment: s; position: relative; padding: 0 0 26px 68px; }
.flow li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 40px; height: 40px;
  display: grid; place-items: center; font-weight: 650; font-stretch: 112%; font-size: 1.05rem;
  background: var(--mist); border: 1.5px solid var(--ink); border-radius: 2px;
}
.flow li::after { content: ''; position: absolute; left: 19.5px; top: 40px; bottom: 0; width: 1.5px; background: var(--ink); }
.flow li:last-child { padding-bottom: 0; }
.flow li:last-child::after { display: none; }
.flow h3 { font-size: 1.22rem; font-weight: 650; font-stretch: 108%; letter-spacing: 0; line-height: 1.3; }
.flow p { margin: 3px 0 0; max-width: 36em; }
.steps__note { margin: 34px 0 0; max-width: 38em; padding-top: 18px; border-top: 1px solid var(--line); }
.steps__fig { margin: 0; }

.range { background: var(--paper); border-block: 1px solid var(--line); }
.range__lede { margin: 14px 0 0; max-width: 36em; color: var(--alu); }
.range__list { margin: clamp(28px, 4vw, 48px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); }
.range__list > div { border-top: 1.5px solid var(--ink); padding: 14px 0 30px; }
.range__list dt { font-weight: 650; font-stretch: 108%; font-size: 1.12rem; }
.range__list dd { margin: 4px 0 0; color: var(--alu); line-height: 1.45; }

.voices h2 { margin-bottom: clamp(32px, 5vw, 64px); }
.voices__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 44px); }
.voice { margin: 0; grid-column: span 4; border-top: 1px solid var(--line); padding-top: 18px; }
.voice blockquote { margin: 0; }
.voice blockquote p { margin: 0; }
.voice figcaption { margin-top: 12px; font-weight: 650; font-stretch: 108%; }
.voice--lead { grid-column: 1 / span 10; border-top: 0; padding-top: 0; }
.voice--lead blockquote p { font-size: clamp(1.3rem, 2.3vw, 1.95rem); font-weight: 330; font-stretch: 108%; line-height: 1.34; letter-spacing: -0.008em; color: var(--petrol-deep); hyphens: manual; }
.voices__src { margin: 40px 0 0; font-size: 0.86rem; color: var(--alu); }

/* ---------- Anfrage ---------- */
.contact { background: var(--petrol-deep); color: #eaf2f1; padding-block: clamp(64px, 9vw, 120px); }
.contact :focus-visible { outline-color: var(--amber); }
.contact a { color: #fff; }
.contact__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact h2 { color: #fff; margin-bottom: 0.6em; }
.contact__lead p { max-width: 30em; }
.contact__tel { margin: 28px 0 10px; display: grid; gap: 4px; }
.contact__tel > a { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 280; font-stretch: 122%; line-height: 1.05; letter-spacing: -0.02em; text-decoration: none; color: var(--amber); }
.contact__tel > a:hover { color: #ffd27a; }
.contact__mail a { overflow-wrap: anywhere; }
.contact__place { color: #b9cdd0; font-size: 0.95rem; margin-top: 22px; }
.inq { display: grid; gap: 16px; }
.inq__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inq label { display: grid; gap: 6px; font-size: 0.95rem; font-weight: 500; }
.inq input, .inq select, .inq textarea {
  font: inherit; font-size: 1.05rem; color: var(--ink); background: #fff; border: 1px solid #fff; border-radius: 2px; padding: 12px 13px; width: 100%; min-height: 50px;
}
.inq textarea { resize: vertical; }
.inq__taken { margin: -6px 0 0; font-size: 0.9rem; color: var(--amber); }
.inq .btn { justify-self: start; }
.inq__demo { margin: 0; font-size: 0.88rem; color: #b9cdd0; }
.inq__done { margin: 0; padding: 14px 16px; background: #fff; color: var(--ink); border-left: 5px solid var(--amber); border-radius: 2px; }
.inq__done.is-error { border-left-color: #c63a2b; }

/* ---------- Fuß ---------- */
.foot { background: var(--night); color: #b9cdd0; font-size: 0.92rem; padding-block: 36px 40px; }
.foot a { color: #fff; }
.foot :focus-visible { outline-color: var(--amber); }
.foot p { margin: 0; }
.foot__grid { display: grid; grid-template-columns: 1.2fr 1.4fr 0.8fr 1.6fr; gap: 24px clamp(20px, 3vw, 44px); align-items: start; }
.foot__name { font-weight: 800; font-stretch: 125%; text-transform: uppercase; color: #fff; font-size: 1.02rem; }
.foot__note { color: #8ea6aa; }

/* ---------- kleinere Breiten ---------- */
@media (max-width: 1080px) {
  .top__nav { display: none; }
  .top__tel { margin-left: auto; border-left: 0; padding-left: 0; }
  .stage { grid-template-columns: 1fr; height: auto; min-height: 0; max-height: none; }
  .stage__view { height: min(66vw, 560px); min-height: 330px; }
  .stage__head { position: static; order: -1; max-width: none; border-right: 0; padding: 20px var(--gut) 18px; }
  .stage__view { display: flex; flex-direction: column; height: auto; min-height: 0; background: var(--paper); }
  .stage__canvas, .stage__photo { position: relative; inset: auto; height: min(70vw, 560px); min-height: 320px; flex: none; }
  .stage__tools { bottom: 12px; left: 12px; right: 12px; }
  .panel { border-left: 0; padding: 22px var(--gut) 28px; overflow: visible; }
  .panel__cta { margin-top: 22px; border-top: 1px solid var(--line); }
  .types { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .promise__grid, .steps__grid, .contact__grid { grid-template-columns: 1fr; }
  .steps__fig { max-width: 520px; }
  .kind { display: block; }
  .kind__fig { margin-bottom: 22px; max-width: 560px; }
  .kind--a .kind__fig { max-width: 400px; }
  .range__list { grid-template-columns: 1fr 1fr; }
  .voice, .voice--lead { grid-column: 1 / -1; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .types { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  :root { --head-h: 60px; }
  .brand__mark { width: 40px; }
  .brand__name { font-size: 1.12rem; }
  .brand__sub { font-size: 0.66rem; letter-spacing: 0.1em; }
  .top { gap: 12px; }
  .top__tel-label { font-size: 0.7rem; }
  .top__tel-num { font-size: 1.02rem; }
  .stage__canvas, .stage__photo { height: 84vw; min-height: 300px; }
  .stage__hint { display: none; }
  .facts li { grid-template-columns: 1fr; }
  .range__list { grid-template-columns: 1fr; }
  .inq__row--2 { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .flow li { padding-left: 56px; }
  .inq .btn { justify-self: stretch; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .switch__track, .switch__track::after { transition: none; }
}
