/* ==========================================================================
   DachWerk Wien — main.css
   Layout law: every band is a rounded card of max 1422px floating 9px from the
   viewport edge on a cool light ground. Typographic sections sit on the ground
   with no card. Footer is the only full-bleed block.
   ========================================================================== */

/* --- tokens ------------------------------------------------------------- */
:root {
  --page: #F1F2F9;
  --surf: #CDD1E0;
  --surf-hi: #DEE1EB;
  --paper: #FFFFFF;
  --ink: #3A3E4A;
  --ink-2: #262930;
  --ink-3: #12141A;
  --body: #4C515C;
  --muted: #6E7480;
  --accent: #FA8901;
  --accent-d: #D97600;
  --accent-soft: #FDEBD2;
  --line: #C2C7D7;
  --line-soft: #DFE2EC;
  --line-dark: #4C515F;

  --r-card: 27px;
  --r-img: 14px;
  --r-s: 10px;
  --r-pill: 999px;
  --shadow: 0 5px 10px rgba(18, 20, 26, .10);
  --shadow-l: 0 14px 34px rgba(18, 20, 26, .13);

  --gut: 9px;
  --hdr-inset: 26px;
  --wrap: 1422px;
  --pad: 78px;
  --gap: 22px;
  --bar: 78px;
  --dur: 300ms;

  --ff: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --t-display: clamp(34px, 6.4vw, 90px);
  --t-h1: clamp(26px, 3.3vw, 45px);
  --t-h2: clamp(23px, 2.5vw, 36px);
  --t-h3: clamp(18px, 1.55vw, 22.5px);
  --t-lead: clamp(16px, 1.2vw, 18px);
  --t-body: clamp(14.5px, 1.06vw, 15.8px);
  --t-small: clamp(13px, .95vw, 14.2px);
}

/* --- reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  max-width: 1920px;
  min-width: 375px;
  margin: 0 auto;
  overflow-x: clip;
  background: var(--page);
  color: var(--body);
  font-family: var(--ff);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.12;
}

p { margin: 0; }

ul, ol { list-style: none; margin: 0; padding: 0; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }

strong, b { font-weight: 500; color: var(--ink-2); }

button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #fff; }

/* --- shared layout primitives ------------------------------------------- */
.dw-band,
.dw-open {
  width: min(calc(100% - var(--gut) * 2), var(--wrap));
  margin-inline: auto;
}

.dw-band {
  border-radius: var(--r-card);
  padding: clamp(30px, 4.4vw, 64px);
  overflow: hidden;
}

.dw-band--surf { background: var(--surf); }
.dw-band--ink { background: var(--ink); color: #D8DBE4; }

.dw-band--ink h2,
.dw-band--ink h3,
.dw-band--ink h4,
.dw-band--ink strong,
.dw-band--ink b { color: #fff; }

.dw-sp { height: var(--gap); }
.dw-sp--l { height: clamp(38px, 5vw, 74px); }
.dw-sp--xl { height: clamp(56px, 8vw, 118px); }

/* headline pill badge — orange dot + label, the recurring section marker */
.dw-tag {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 22px 11px 16px;
  border: 1px solid var(--accent);
  border-radius: var(--r-pill);
  color: var(--ink);
  font-size: var(--t-small);
  letter-spacing: .01em;
  white-space: nowrap;
}

.dw-tag::before {
  content: '';
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.dw-tag--light { border-color: rgba(250, 137, 1, .75); color: #EDEFF6; }

/* centred typographic intro that sits on the ground, no card */
.dw-intro { text-align: center; max-width: 980px; margin-inline: auto; }
.dw-intro h2 { font-size: var(--t-h1); margin: 26px 0 0; }
.dw-intro .dw-lead { margin-top: 22px; }

.dw-lead {
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--body);
}

.dw-display { font-size: var(--t-display); line-height: .84; letter-spacing: -.05em; }

/* buttons */
.dw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border: 0;
  border-radius: var(--r-pill);
  font-size: var(--t-lead);
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--dur) linear, color var(--dur) linear, transform var(--dur) linear;
}

.dw-btn img { flex: none; }
.dw-btn--acc { background: var(--accent); color: var(--ink-3); }
.dw-btn--acc:hover { background: var(--accent-d); }
.dw-btn--ink { background: var(--ink); color: #fff; }
.dw-btn--ink:hover { background: var(--ink-2); }
.dw-btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.dw-btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.dw-btn--light { background: var(--page); color: var(--ink-2); }
.dw-btn--light:hover { background: #fff; }

/* ==========================================================================
   HEADER — two floating pills, sticky over any background
   ========================================================================== */
.dw-hdr {
  position: sticky;
  top: 0;
  z-index: 900;
  padding: 14px 0 6px;
  overflow-x: clip;
}

/* the two pills sit inset from the band edge, not flush with it */
.dw-hdr__in {
  width: min(calc(100% - (var(--gut) + var(--hdr-inset)) * 2), calc(var(--wrap) - var(--hdr-inset) * 2));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dw-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px 10px 12px;
  background: var(--paper);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow);
}

.dw-brand__mark {
  position: relative;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 12px;
  background: var(--ink);
}

.dw-brand__mark img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 21px;
  height: 21px;
}

.dw-brand__txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.dw-brand__name { font-size: 17px; color: var(--ink-2); letter-spacing: -.02em; }
.dw-brand__name em { font-style: normal; color: var(--accent); }
.dw-brand__sub { font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }

.dw-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 7px 7px 20px;
  background: var(--paper);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow);
}

.dw-nav a {
  padding: 10px 14px;
  border-radius: var(--r-pill);
  font-size: 15px;
  color: var(--ink);
  transition: background var(--dur) linear;
}

.dw-nav a:hover { background: var(--page); }

.dw-nav__tel {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: 8px;
  padding: 12px 22px;
  background: var(--accent);
  border-radius: var(--r-pill);
  color: var(--ink-3);
  font-size: 15px;
  white-space: nowrap;
  transition: background var(--dur) linear;
}

.dw-nav__tel:hover { background: var(--accent-d); }

.dw-burger {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  background: var(--paper);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.dw-burger span {
  display: block;
  width: 20px;
  height: 1.6px;
  margin: 4.4px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur) linear, opacity var(--dur) linear;
}

.dw-burger.is-on span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.dw-burger.is-on span:nth-child(2) { opacity: 0; }
.dw-burger.is-on span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* drawer */
.dw-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
  width: min(340px, 88vw);
  height: 100%;
  padding: 24px;
  background: var(--ink);
  transform: translateX(105%);
  transition: transform var(--dur) linear;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.dw-drawer.is-on { transform: none; }

.dw-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-dark);
  color: #fff;
  font-size: 15px;
}

.dw-drawer__x {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, .09);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.dw-drawer__nav { display: flex; flex-direction: column; padding: 14px 0; }

.dw-drawer__nav a {
  padding: 13px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: #D8DBE4;
  font-size: 16px;
}

.dw-drawer__nav a:hover { color: var(--accent); }

.dw-drawer__foot { margin-top: auto; padding-top: 18px; display: grid; gap: 10px; }

.dw-drawer__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  background: var(--accent);
  border-radius: var(--r-pill);
  color: var(--ink-3);
}

.dw-drawer__note { font-size: 12.5px; color: #9DA3B2; text-align: center; }

.dw-scrim {
  position: fixed;
  inset: 0;
  z-index: 990;
  background: rgba(18, 20, 26, .5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) linear, visibility var(--dur) linear;
}

.dw-scrim.is-on { opacity: 1; visibility: visible; }

/* ==========================================================================
   1 — HERO
   ========================================================================== */
.dw-hero {
  position: relative;
  margin-top: -74px;
  padding: 108px clamp(26px, 4vw, 62px) clamp(30px, 3.4vw, 46px);
  background: var(--ink);
  border-radius: var(--r-card);
  color: #C9CDD8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  align-items: end;
  gap: 20px;
  min-height: 660px;
  overflow: hidden;
}

.dw-hero::after {
  content: '';
  position: absolute;
  right: -8%;
  top: -18%;
  width: 62%;
  height: 88%;
  background: radial-gradient(ellipse at center, rgba(250, 137, 1, .16), transparent 66%);
  pointer-events: none;
}

.dw-hero__copy { position: relative; z-index: 2; max-width: 640px; }

.dw-hero h1 {
  margin: 26px 0 0;
  color: #fff;
  font-size: var(--t-display);
  line-height: .86;
  letter-spacing: -.05em;
}

.dw-hero h1 span {
  display: block;
  margin-top: 18px;
  font-size: var(--t-h3);
  line-height: 1.3;
  letter-spacing: -.01em;
  color: #B6BBC8;
}

.dw-hero__slog {
  margin-top: 26px;
  color: var(--accent);
  font-size: var(--t-lead);
  letter-spacing: .01em;
}

.dw-hero__lead { margin-top: 12px; max-width: 480px; color: #B6BBC8; }

.dw-hero__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.dw-hero__fig {
  position: relative;
  z-index: 1;
  align-self: center;
  margin: 0;
}

.dw-hero__fig img { width: 100%; }

/* thin fact strip pinned to the hero foot */
.dw-hero__facts {
  grid-column: 1 / -1;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px 30px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
}

.dw-hero__facts div { min-width: 0; }
.dw-hero__facts b { display: block; color: #fff; font-size: clamp(20px, 2vw, 27px); font-weight: 400; letter-spacing: -.03em; }
.dw-hero__facts span { font-size: var(--t-small); color: #9DA3B2; }

/* ==========================================================================
   2 — KONTEXT (open typographic section)
   ========================================================================== */
.dw-ctx { text-align: center; max-width: 1060px; margin-inline: auto; }
.dw-ctx h2 { margin: 28px 0 0; font-size: var(--t-h1); }
.dw-ctx__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 54px; margin-top: 40px; text-align: left; }
.dw-ctx__body p { font-size: var(--t-lead); line-height: 1.6; }

/* ==========================================================================
   3 — VERTRAUEN / Marken & Qualität
   ========================================================================== */
.dw-trust { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: clamp(30px, 4vw, 64px); }
.dw-trust h2 { font-size: var(--t-h2); }
.dw-trust__num { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }

.dw-trust__i {
  padding: 20px 22px;
  background: rgba(255, 255, 255, .55);
  border-radius: var(--r-img);
  min-width: 0;
}

.dw-trust__i b { display: block; font-size: clamp(22px, 2.2vw, 30px); font-weight: 400; color: var(--ink-2); letter-spacing: -.03em; }
.dw-trust__i span { font-size: var(--t-small); color: var(--body); }

.dw-trust__txt p + p { margin-top: 16px; }

.dw-trust__marks { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }

.dw-trust__marks li {
  padding: 8px 16px;
  background: var(--page);
  border-radius: var(--r-pill);
  font-size: var(--t-small);
  color: var(--ink);
}

/* ==========================================================================
   4 — LEISTUNGEN (the signature stacked rows)
   ========================================================================== */
.dw-lst { display: grid; gap: 27px; }

.dw-lst__row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: 20px;
  min-height: 268px;
  padding: 34px clamp(26px, 3vw, 46px);
  border-radius: var(--r-card);
  overflow: hidden;
}

.dw-lst__row--line { background: var(--page); box-shadow: inset 0 0 0 1px var(--line); }
.dw-lst__row--surf { background: var(--surf); }
.dw-lst__row--acc { background: var(--accent); }
.dw-lst__row--acc h3, .dw-lst__row--acc p, .dw-lst__row--acc .dw-lst__no { color: var(--ink-3); }
.dw-lst__row--acc .dw-lst__no { border-color: rgba(18, 20, 26, .4); }
.dw-lst__row--acc .dw-lst__kw li { background: rgba(255, 255, 255, .58); color: var(--ink-3); }

.dw-lst__no {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 15px;
}

.dw-lst__body { min-width: 0; max-width: 560px; }
.dw-lst__body h3 { margin: 20px 0 0; font-size: var(--t-h2); }
.dw-lst__body p { margin-top: 12px; }

.dw-lst__kw { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }

.dw-lst__kw li {
  padding: 7px 14px;
  background: rgba(255, 255, 255, .72);
  border-radius: var(--r-pill);
  font-size: 13.4px;
  color: var(--ink);
}

.dw-lst__row--surf .dw-lst__kw li { background: rgba(255, 255, 255, .62); }

.dw-lst__fig { margin: 0; align-self: stretch; display: flex; align-items: center; justify-content: flex-end; }
.dw-lst__fig img { width: min(100%, 420px); }

/* ==========================================================================
   5 — DACHTYPEN (material comparison)
   ========================================================================== */
.dw-typ { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.dw-typ__card {
  position: relative;
  padding: 30px 26px 26px;
  background: var(--page);
  border-radius: var(--r-card);
  box-shadow: inset 0 0 0 1px var(--line);
  min-width: 0;
}

.dw-typ__ic {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--surf);
}

.dw-typ__ic img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 24px; height: 24px; }

.dw-typ__card h3 { margin: 20px 0 10px; font-size: var(--t-h3); }
.dw-typ__card p { font-size: var(--t-small); }

.dw-typ__card dl { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line-soft); display: grid; gap: 9px; }
.dw-typ__card dl > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.6px; }
.dw-typ__card dt { color: var(--muted); }
.dw-typ__card dd { margin: 0; color: var(--ink-2); text-align: right; }

/* dark variant — declared after the base rules so it actually wins */
.dw-typ__card--hi { background: var(--ink); box-shadow: none; }
.dw-typ__card--hi .dw-typ__ic { background: rgba(255, 255, 255, .12); }
.dw-typ__card--hi h3 { color: #fff; }
.dw-typ__card--hi p { color: #B6BBC8; }
.dw-typ__card--hi dl { border-top-color: var(--line-dark); }
.dw-typ__card--hi dt { color: #9DA3B2; }
.dw-typ__card--hi dd { color: #fff; }

/* ==========================================================================
   6 — PANORAMA band
   ========================================================================== */
.dw-shot { position: relative; border-radius: var(--r-img); overflow: hidden; aspect-ratio: 21 / 8; }
.dw-shot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.dw-shot__cap {
  position: absolute;
  left: clamp(20px, 3vw, 44px);
  bottom: clamp(18px, 2.4vw, 34px);
  max-width: 520px;
  padding: 16px 24px;
  background: rgba(18, 20, 26, .58);
  backdrop-filter: blur(7px);
  border-radius: var(--r-img);
  color: #EDEFF6;
  font-size: var(--t-small);
  line-height: 1.5;
}

/* ==========================================================================
   7 — PROBLEME
   ========================================================================== */
.dw-prob__head { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 30px 54px; align-items: end; }
.dw-prob__head h2 { font-size: var(--t-h1); margin-top: 24px; }

.dw-prob__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }

.dw-prob__card {
  padding: 28px 26px;
  background: var(--paper);
  border-radius: var(--r-card);
  min-width: 0;
}

.dw-prob__sig { display: flex; align-items: center; gap: 11px; color: var(--accent); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.dw-prob__card h3 { margin: 14px 0 10px; font-size: var(--t-h3); }
.dw-prob__card p { font-size: var(--t-small); }

.dw-prob__fix {
  position: relative;
  margin-top: 16px;
  padding: 14px 16px 14px 46px;
  background: var(--page);
  border-radius: var(--r-s);
  font-size: 13.6px;
  color: var(--ink-2);
}

.dw-prob__fix img { position: absolute; top: 15px; left: 16px; width: 18px; height: 18px; }

/* ==========================================================================
   8 — ABLAUF (split process card)
   ========================================================================== */
.dw-flow { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1fr); gap: clamp(30px, 4vw, 70px); align-items: start; }
.dw-flow__side { display: flex; flex-direction: column; height: 100%; }
.dw-flow__side h2 { font-size: var(--t-display); line-height: .86; letter-spacing: -.05em; }
.dw-flow__side p { margin-top: 22px; max-width: 380px; }

.dw-flow__fig { margin: 34px 0 0; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 5; }
.dw-flow__fig > img { width: 100%; height: 100%; object-fit: cover; }

.dw-flow__list { display: grid; }
.dw-flow__list li { padding: 26px 0; border-top: 1px solid rgba(58, 62, 74, .18); }
.dw-flow__list li:first-child { border-top: 0; padding-top: 0; }
.dw-flow__list h3 { margin: 16px 0 9px; font-size: var(--t-h2); }
.dw-flow__list p { max-width: 560px; }

.dw-flow__no {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 14.5px;
}

/* ==========================================================================
   9 — PREISE
   ========================================================================== */
.dw-price__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px; }
.dw-price__head h2 { font-size: var(--t-h1); margin-top: 24px; }
.dw-price__wrap { margin-top: 40px; overflow-x: auto; border-radius: var(--r-card); background: var(--paper); }

.dw-price table { width: 100%; min-width: 720px; border-collapse: collapse; }

.dw-price th {
  padding: 20px 26px;
  background: var(--ink);
  color: #fff;
  font-weight: 400;
  font-size: var(--t-small);
  text-align: left;
  letter-spacing: .02em;
}

.dw-price th:last-child, .dw-price td:last-child { text-align: right; }
.dw-price td { padding: 18px 26px; border-top: 1px solid var(--line-soft); font-size: var(--t-small); vertical-align: top; }
.dw-price tbody tr:hover { background: var(--page); }
.dw-price td:first-child { color: var(--ink-2); }
.dw-price td b { white-space: nowrap; color: var(--ink-2); }
.dw-price__unit { display: block; font-size: 12.6px; color: var(--muted); }

.dw-price__note {
  position: relative;
  margin-top: 22px;
  padding: 18px 22px 18px 54px;
  background: var(--accent-soft);
  border-radius: var(--r-img);
  font-size: var(--t-small);
  color: var(--ink-2);
}

.dw-price__note img { position: absolute; top: 19px; left: 20px; width: 20px; height: 20px; }

/* ==========================================================================
   10 — KOSTENFAKTOREN
   ========================================================================== */
.dw-fact__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }

.dw-fact__card {
  padding: 26px;
  background: var(--page);
  border-radius: var(--r-card);
  box-shadow: inset 0 0 0 1px var(--line);
  min-width: 0;
}

.dw-fact__sign {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 12.6px;
  letter-spacing: .02em;
}

.dw-fact__sign--up { background: var(--accent-soft); color: #8A4B00; }
.dw-fact__sign--down { background: #DCE9DA; color: #3E5B38; }
.dw-fact__card h3 { margin: 16px 0 9px; font-size: var(--t-h3); }
.dw-fact__card p { font-size: var(--t-small); }

/* ==========================================================================
   11 — RECHNER
   ========================================================================== */
.dw-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: clamp(28px, 3.6vw, 58px); align-items: start; }
.dw-calc h2 { font-size: var(--t-h1); margin-top: 24px; }
.dw-calc__form { display: grid; gap: 18px; margin-top: 32px; }
.dw-calc__field { display: grid; gap: 8px; min-width: 0; }
.dw-calc__field label { font-size: 13.4px; color: var(--muted); }

.dw-calc__field select,
.dw-calc__field input {
  width: 100%;
  padding: 15px 44px 15px 18px;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  color: var(--ink-2);
  font-size: var(--t-small);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A3E4A' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 9 6.5 6.5L18.5 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 17px 17px;
}

.dw-calc__field input { background-image: none; padding-right: 18px; }
.dw-calc__field select:focus, .dw-calc__field input:focus { outline: 0; border-color: var(--ink); }
.dw-calc__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.dw-calc__out { padding: 32px; background: var(--ink); border-radius: var(--r-card); color: #C9CDD8; }
.dw-calc__out h3 { color: #fff; font-size: var(--t-h3); }
.dw-calc__sum { margin: 22px 0 0; display: grid; gap: 12px; }
.dw-calc__sum li { display: flex; justify-content: space-between; gap: 16px; font-size: var(--t-small); }
.dw-calc__sum li span:last-child { color: #fff; white-space: nowrap; }

.dw-calc__total {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.dw-calc__total span { font-size: var(--t-small); }
.dw-calc__total b { color: #fff; font-size: clamp(23px, 2.4vw, 32px); font-weight: 400; letter-spacing: -.03em; white-space: nowrap; }
.dw-calc__hint { margin-top: 16px; font-size: 12.8px; color: #9DA3B2; }
.dw-calc__out .dw-btn { width: 100%; margin-top: 22px; }

/* ==========================================================================
   12 — PLANUNG + CHECKLISTE
   ========================================================================== */
.dw-plan { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 4vw, 66px); align-items: start; }
.dw-plan h2 { font-size: var(--t-h1); margin-top: 24px; }
.dw-plan__txt p { margin-top: 18px; font-size: var(--t-lead); line-height: 1.6; }

.dw-plan__box { padding: 34px; background: var(--paper); border-radius: var(--r-card); }
.dw-plan__box h3 { font-size: var(--t-h3); }
.dw-plan__box ul { margin-top: 20px; display: grid; gap: 14px; }

.dw-plan__box li {
  position: relative;
  padding-left: 38px;
  font-size: var(--t-small);
  line-height: 1.55;
}

.dw-plan__box li img { position: absolute; top: 2px; left: 0; width: 20px; height: 20px; }

/* ==========================================================================
   13 — OBJEKTE
   ========================================================================== */
.dw-obj { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.dw-obj__card {
  position: relative;
  padding: 34px 32px;
  background: var(--paper);
  border-radius: var(--r-card);
  min-width: 0;
}

.dw-obj__card:nth-child(2), .dw-obj__card:nth-child(3) { background: var(--surf-hi); }
.dw-obj__ic { position: relative; width: 46px; height: 46px; border-radius: 13px; background: var(--ink); }
.dw-obj__ic img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 22px; height: 22px; }
.dw-obj__card h3 { margin: 20px 0 10px; font-size: var(--t-h3); }
.dw-obj__card p + p { margin-top: 12px; }
.dw-obj__card p { font-size: var(--t-small); }

.dw-obj__where { display: block; margin-top: 16px; font-size: 13px; color: var(--muted); }

/* ==========================================================================
   14 — VORHER / NACHHER
   ========================================================================== */
.dw-ba { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }

.dw-ba__card { background: var(--paper); border-radius: var(--r-card); overflow: hidden; min-width: 0; }
.dw-ba__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--paper); }
.dw-ba__half { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.dw-ba__half > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.dw-ba__flag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(18, 20, 26, .66);
  color: #fff;
  font-size: 11.6px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.dw-ba__flag--after { background: var(--accent); color: var(--ink-3); }
.dw-ba__body { padding: 24px 26px 28px; }
.dw-ba__body h3 { font-size: var(--t-h3); }
.dw-ba__body p { margin-top: 10px; font-size: var(--t-small); }
.dw-ba__body span { display: block; margin-top: 14px; font-size: 12.8px; color: var(--muted); }

/* ==========================================================================
   15 — REFERENZEN
   ========================================================================== */
.dw-ref { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.dw-ref__card { background: var(--page); border-radius: var(--r-card); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.dw-ref__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.dw-ref__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dw-ref__body { padding: 26px 28px 30px; }
.dw-ref__loc { display: inline-flex; align-items: center; gap: 8px; font-size: 12.8px; color: var(--accent); letter-spacing: .03em; }
.dw-ref__body h3 { margin: 12px 0 10px; font-size: var(--t-h3); }
.dw-ref__body p { font-size: var(--t-small); }
.dw-ref__facts { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); display: grid; gap: 8px; }
.dw-ref__facts div { display: flex; justify-content: space-between; gap: 14px; font-size: 13.2px; }
.dw-ref__facts span:first-child { color: var(--muted); }
.dw-ref__facts span:last-child { color: var(--ink-2); text-align: right; }

/* ==========================================================================
   16 — GARANTIE
   ========================================================================== */
.dw-gar { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 4vw, 66px); align-items: center; }
.dw-gar h2 { font-size: var(--t-h1); margin-top: 24px; }
.dw-gar p { margin-top: 20px; }
.dw-gar__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.dw-gar__i {
  position: relative;
  padding: 26px 24px 26px 24px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-img);
  min-width: 0;
}

.dw-gar__i img { width: 24px; height: 24px; }
.dw-gar__i h3 { margin: 16px 0 8px; font-size: var(--t-h3); color: #fff; }
.dw-gar__i p { margin: 0; font-size: var(--t-small); color: #B6BBC8; }

/* ==========================================================================
   17 — HÄUFIGE FEHLER
   ========================================================================== */
.dw-err__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 44px; margin-top: 44px; }

.dw-err__item {
  position: relative;
  padding: 0 0 22px 60px;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}

.dw-err__item img { position: absolute; top: 3px; left: 0; width: 22px; height: 22px; }
.dw-err__item h3 { font-size: var(--t-h3); margin-bottom: 8px; }
.dw-err__item p { font-size: var(--t-small); }

/* ==========================================================================
   18 — WARUM WIR
   ========================================================================== */
.dw-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }

.dw-why__i {
  position: relative;
  padding: 30px 28px;
  background: var(--page);
  border-radius: var(--r-card);
  min-width: 0;
}

.dw-why__no { font-size: 12.6px; color: var(--accent); letter-spacing: .1em; }
.dw-why__i h3 { margin: 14px 0 10px; font-size: var(--t-h3); }
.dw-why__i p { font-size: var(--t-small); }

/* ==========================================================================
   19 — GEBIET
   ========================================================================== */
.dw-geo { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(30px, 4vw, 62px); align-items: start; }
.dw-geo h2 { font-size: var(--t-h1); margin-top: 24px; }
.dw-geo p { margin-top: 20px; }

.dw-geo__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 40px; }

/* the two lists are <details>: open and non-interactive on desktop,
   collapsed accordions from 768px down (toggled in main.js) */
.dw-geo__col > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  cursor: default;
  pointer-events: none;
}

.dw-geo__col > summary::-webkit-details-marker { display: none; }
.dw-geo__col h3 { font-size: 15px; letter-spacing: .02em; color: var(--muted); }
.dw-geo__n { display: none; }
.dw-geo__chev { display: none; }
.dw-geo__col ul { margin-top: 14px; display: grid; gap: 1px; }

.dw-geo__col li {
  position: relative;
  padding: 9px 0 9px 24px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.8px;
  color: var(--ink-2);
}

.dw-geo__col li::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 4px;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.dw-geo__col li em { font-style: normal; color: var(--muted); }
.dw-geo__more { margin-top: 24px; font-size: var(--t-small); color: var(--body); }

/* ==========================================================================
   20 — TEAM
   ========================================================================== */
.dw-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.dw-team__card { padding: 26px; background: var(--paper); border-radius: var(--r-card); min-width: 0; }
.dw-team__ph { border-radius: var(--r-img); overflow: hidden; aspect-ratio: 1 / 1; }
.dw-team__ph > img { width: 100%; height: 100%; object-fit: cover; }
.dw-team__card h3 { margin: 20px 0 4px; font-size: var(--t-h3); }
.dw-team__role { font-size: 13.2px; color: var(--accent); }
.dw-team__card p { margin-top: 12px; font-size: var(--t-small); }

/* ==========================================================================
   21 — ÜBER UNS
   ========================================================================== */
.dw-abo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .86fr); gap: clamp(30px, 4vw, 64px); align-items: center; }
.dw-abo h2 { font-size: var(--t-h1); margin-top: 24px; }
.dw-abo__txt p { margin-top: 18px; }
.dw-abo__fig { margin: 0; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 3; }
.dw-abo__fig > img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   22 — BEWERTUNGEN
   ========================================================================== */
.dw-rev { display: block; }
.dw-rev__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px; }
.dw-rev__head h2 { margin-top: 24px; font-size: var(--t-h1); }
.dw-rev__score { display: flex; align-items: center; gap: 12px; font-size: var(--t-small); }
.dw-rev__score b { font-size: clamp(24px, 2.4vw, 32px); font-weight: 400; color: var(--ink-2); letter-spacing: -.03em; }
.dw-rev__stars { color: var(--accent); letter-spacing: .12em; }
.dw-rev__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }

.dw-rev__card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  background: var(--page);
  border-radius: var(--r-card);
  box-shadow: inset 0 0 0 1px var(--line);
  min-width: 0;
}

.dw-rev__q { color: var(--accent); }
.dw-rev__txt { margin: 16px 0 22px; font-size: var(--t-small); line-height: 1.6; color: var(--ink-2); }
.dw-rev__foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; gap: 14px; }

.dw-rev__ava {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
}

.dw-rev__who { min-width: 0; }
.dw-rev__who h3 { font-size: 15.6px; }
.dw-rev__who span { display: block; font-size: 12.8px; color: var(--muted); }
.dw-rev__rate { margin-left: auto; text-align: right; flex: none; }
.dw-rev__rate span { display: block; font-size: 11.8px; color: var(--muted); }
.dw-rev__all { display: inline-flex; align-items: center; gap: 10px; margin-top: 34px; font-size: var(--t-small); color: var(--ink); }
.dw-rev__all:hover { color: var(--accent); }

/* ==========================================================================
   23 — RATGEBER
   ========================================================================== */
.dw-blog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.dw-blog__card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-card); overflow: hidden; min-width: 0; transition: transform var(--dur) linear; }
.dw-blog__card:hover { transform: translateY(-3px); }
.dw-blog__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.dw-blog__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dw-blog__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 28px; }
.dw-blog__tag { align-self: flex-start; padding: 5px 13px; background: var(--accent-soft); border-radius: var(--r-pill); font-size: 12px; color: #8A4B00; }
.dw-blog__body h3 { margin: 14px 0 10px; font-size: var(--t-h3); }
.dw-blog__body p { font-size: var(--t-small); }
.dw-blog__go { margin-top: auto; padding-top: 18px; font-size: 13.6px; color: var(--accent); }
.dw-blog__all { display: inline-flex; align-items: center; gap: 10px; margin-top: 34px; font-size: var(--t-small); color: var(--ink); }
.dw-blog__all:hover { color: var(--accent); }

/* ==========================================================================
   24b — CTA split card
   ========================================================================== */
.dw-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: stretch;
  background: var(--surf);
  border-radius: var(--r-card);
  overflow: hidden;
}

.dw-cta__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 4vw, 62px); }
.dw-cta__copy h2 { font-size: var(--t-h1); max-width: 15ch; }
.dw-cta__copy p { margin-top: 20px; max-width: 52ch; font-size: var(--t-lead); line-height: 1.55; }
.dw-cta__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.dw-cta__fig { position: relative; margin: 0; min-height: 300px; }
.dw-cta__fig > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   24 — FAQ
   ========================================================================== */
.dw-faq { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(30px, 4vw, 66px); align-items: start; }
.dw-faq__side h2 { font-size: var(--t-h1); margin-top: 24px; }
.dw-faq__side p { margin-top: 18px; }
.dw-faq__side .dw-btn { margin-top: 26px; }
.dw-faq__list { display: grid; }
.dw-faq__item { border-bottom: 1px solid var(--line-soft); }

.dw-faq__item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: var(--t-h3);
  line-height: 1.35;
}

.dw-faq__item summary::-webkit-details-marker { display: none; }
.dw-faq__item summary img { flex: none; margin-top: 4px; transition: transform var(--dur) linear; }
.dw-faq__item[open] summary img { transform: rotate(180deg); }
.dw-faq__item[open] summary { color: var(--accent); }
.dw-faq__item > div { padding: 0 0 26px; max-width: 780px; }
.dw-faq__item p + p { margin-top: 12px; }

/* ==========================================================================
   25 — KONTAKT
   ========================================================================== */
.dw-kon { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(30px, 4vw, 62px); align-items: start; }
.dw-kon__bg { position: absolute; inset: 0; z-index: 0; }
.dw-kon__bg > img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.dw-kon__info { position: relative; z-index: 2; }
.dw-kon__info h2 { margin-top: 24px; font-size: var(--t-h1); color: #fff; }
.dw-kon__info > p { margin-top: 20px; color: #C0C5D1; }

.dw-kon__hint {
  position: relative;
  margin-top: 24px;
  padding: 16px 20px 16px 54px;
  background: rgba(250, 137, 1, .14);
  border: 1px solid rgba(250, 137, 1, .4);
  border-radius: var(--r-img);
  font-size: var(--t-small);
  color: #E8EAF1;
  line-height: 1.55;
}

.dw-kon__hint img { position: absolute; top: 17px; left: 19px; width: 20px; height: 20px; }
.dw-kon__hint b { color: #fff; }

.dw-kon__list { margin-top: 26px; display: grid; gap: 14px; }

.dw-kon__list li {
  position: relative;
  padding-left: 34px;
  font-size: var(--t-small);
  color: #C0C5D1;
  line-height: 1.5;
}

.dw-kon__list li img { position: absolute; top: 1px; left: 0; width: 20px; height: 20px; }
.dw-kon__list a { color: #fff; }
.dw-kon__list a:hover { color: var(--accent); }

/* light panel inside the dark band — every colour has to be restated here */
.dw-kon__panel { position: relative; z-index: 2; padding: clamp(26px, 3vw, 40px); background: var(--page); border-radius: var(--r-card); color: var(--body); }
.dw-kon__panel h3 { color: var(--ink); font-size: var(--t-h3); }
.dw-kon__panel label, .dw-kon__panel p { color: var(--body); }
.dw-kon__panel > form { display: grid; gap: 14px; margin-top: 22px; }
.dw-kon__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dw-kon__f { min-width: 0; }

.dw-kon__f input,
.dw-kon__f textarea {
  width: 100%;
  padding: 15px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  color: var(--ink-2);
  font-size: var(--t-small);
  line-height: 1.45;
  resize: vertical;
}

.dw-kon__f input::placeholder, .dw-kon__f textarea::placeholder { color: #939AA8; }
.dw-kon__f input:focus, .dw-kon__f textarea:focus { outline: 0; border-color: var(--ink); }
.dw-kon__f input:-webkit-autofill,
.dw-kon__f input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink-2);
  -webkit-box-shadow: 0 0 0 40px var(--paper) inset;
}
.dw-kon__err { margin-top: 6px; font-size: 12.4px; color: #C0392B; }

.dw-kon__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 26px;
  background: var(--accent);
  border: 0;
  border-radius: var(--r-pill);
  color: var(--ink-3);
  font-size: var(--t-lead);
  cursor: pointer;
  transition: background var(--dur) linear;
}

.dw-kon__submit:hover { background: var(--accent-d); }
.dw-kon__ok { padding: 15px 18px; background: #DCE9DA; border-radius: var(--r-s); font-size: var(--t-small); color: #33502D; }
.dw-kon__small { margin-top: 4px; font-size: 12.4px; color: var(--muted); }

/* ==========================================================================
   26 — SEO TEXT
   ========================================================================== */
.dw-seo { max-width: 1000px; margin-inline: auto; }
.dw-seo h2 { font-size: var(--t-h2); }
.dw-seo h3 { margin: 38px 0 12px; font-size: var(--t-h3); }
.dw-seo p { margin-top: 14px; }
.dw-seo p:first-of-type { margin-top: 22px; }

.dw-seo__box { margin: 34px 0; padding: 30px 32px; background: var(--surf-hi); border-radius: var(--r-card); }
.dw-seo__box h4 { font-size: var(--t-h3); }
.dw-seo__box ul { margin-top: 18px; display: grid; gap: 11px; }
.dw-seo__box li { position: relative; padding-left: 32px; font-size: var(--t-small); }
.dw-seo__box li img { position: absolute; top: 2px; left: 0; width: 19px; height: 19px; }

.dw-seo__box--dark { background: var(--ink); }
.dw-seo__box--dark h4 { color: #fff !important; }
.dw-seo__box--dark p { color: #C0C5D1 !important; }
.dw-seo__box--dark strong, .dw-seo__box--dark b { color: #fff !important; }
.dw-seo__box--dark a { color: var(--accent) !important; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   FOOTER — the only full-bleed block
   ========================================================================== */
.dw-foot { margin-top: clamp(40px, 5vw, 76px); padding: clamp(40px, 4.4vw, 66px) 0 26px; background: var(--ink); color: #A9AFBC; }
.dw-foot__in { width: min(calc(100% - var(--gut) * 2), var(--wrap)); margin-inline: auto; }
.dw-foot__top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; padding-bottom: 40px; }
.dw-foot__col { min-width: 0; }
.dw-foot__col h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #8B92A1; }
.dw-foot__links { margin-top: 18px; display: grid; gap: 10px; }
.dw-foot__links a { font-size: var(--t-small); color: #C6CAD5; }
.dw-foot__links a:hover { color: var(--accent); }
.dw-foot__col p { margin-top: 18px; font-size: var(--t-small); line-height: 1.6; }

.dw-foot__ci { position: relative; padding-left: 30px; font-size: var(--t-small); color: #C6CAD5; line-height: 1.5; }
.dw-foot__ci + .dw-foot__ci { margin-top: 12px; }
.dw-foot__ci img { position: absolute; top: 1px; left: 0; width: 18px; height: 18px; }
.dw-foot__ci a:hover { color: var(--accent); }

.dw-foot__regions { padding: 26px 0; border-top: 1px solid var(--line-dark); }
.dw-foot__regions span { font-size: 12.6px; letter-spacing: .05em; color: #8B92A1; }
.dw-foot__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.dw-foot__region {
  padding: 8px 15px;
  background: rgba(255, 255, 255, .07);
  border-radius: var(--r-pill);
  font-size: 13.2px;
  color: #C6CAD5;
  transition: background var(--dur) linear;
}

.dw-foot__region:hover { background: var(--accent); color: var(--ink-3); }

/* giant wordmark — the footer's signature move */
.dw-foot__mark {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  padding: clamp(26px, 3vw, 46px) 0 clamp(22px, 2.6vw, 38px);
  border-top: 1px solid var(--line-dark);
}

.dw-foot__mark img { width: clamp(46px, 6.4vw, 96px); height: auto; flex: none; }

.dw-foot__mark b {
  color: #fff;
  font-weight: 400;
  font-size: clamp(38px, 9.4vw, 132px);
  line-height: .82;
  letter-spacing: -.055em;
  white-space: nowrap;
}

.dw-foot__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 12.8px; }
.dw-foot__legal { display: flex; gap: 22px; }
.dw-foot__legal a:hover { color: var(--accent); }

/* fixed call button */
.dw-fab { position: fixed; right: 22px; bottom: 22px; z-index: 950; }

.dw-fab a {
  position: relative;
  display: grid;
  place-items: center;
  width: 65px;
  height: 65px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(250, 137, 1, .4);
}

.dw-fab a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: dw-pulse 2.2s ease-out infinite;
}

@keyframes dw-pulse {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* reveal on scroll */
.dw-rise { opacity: 0; transform: translateY(16px); transition: opacity 620ms ease, transform 620ms ease; }
.dw-rise.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dw-rise { opacity: 1; transform: none; transition: none; }
  .dw-fab a::after { animation: none; }
}

/* ==========================================================================
   RESPONSIVE — 1920 … 375
   ========================================================================== */

/* --- large screens ------------------------------------------------------ */
@media (max-width: 1200px) {
  :root { --pad: 60px; --bar: 72px; --hdr-inset: 20px; }

  .dw-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); min-height: 600px; padding-top: 96px; }
  .dw-nav a { padding: 10px 11px; font-size: 14.4px; }
  .dw-nav { padding-left: 15px; }
  .dw-typ { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dw-prob__grid,
  .dw-fact__grid,
  .dw-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dw-lst__row { min-height: 240px; }
  .dw-lst__fig img { width: min(100%, 340px); }
  .dw-foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 26px; }
}

/* --- tablet landscape: header collapses to burger ----------------------- */
@media (max-width: 1024px) {
  :root { --pad: 52px; --gap: 18px; --hdr-inset: 14px; }

  .dw-nav,
  .dw-nav__tel { display: none; }

  .dw-burger { display: block; }

  .dw-hero {
    grid-template-columns: minmax(0, 1fr);
    margin-top: -70px;
    padding-top: 92px;
    min-height: 0;
  }

  .dw-hero__copy { max-width: none; }
  .dw-hero__fig { order: 3; margin-top: 26px; text-align: center; }
  .dw-hero__fig img { width: min(100%, 520px); margin-inline: auto; }
  .dw-hero__facts { order: 4; }
  .dw-hero__lead { max-width: none; }

  .dw-ctx__body,
  .dw-trust,
  .dw-flow,
  .dw-calc,
  .dw-plan,
  .dw-gar,
  .dw-geo,
  .dw-abo,
  .dw-faq,
  .dw-kon,
  .dw-prob__head { grid-template-columns: minmax(0, 1fr); }

  .dw-flow__fig { aspect-ratio: 16 / 9; max-height: 420px; }
  .dw-flow__side p { max-width: none; }
  .dw-abo__fig { aspect-ratio: 16 / 9; }
  .dw-ba,
  .dw-ref,
  .dw-team,
  .dw-rev__grid,
  .dw-blog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dw-cta { grid-template-columns: minmax(0, 1fr); }
  .dw-cta__fig { min-height: 0; aspect-ratio: 16 / 9; }
  .dw-obj { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dw-kon__bg > img { opacity: .22; }
}

/* --- tablet portrait ---------------------------------------------------- */
@media (max-width: 768px) {
  :root { --pad: 42px; --r-card: 22px; --hdr-inset: 8px; }

  .dw-band { padding: 30px 22px; }

  .dw-hero { padding: 84px 22px 30px; margin-top: -66px; }
  .dw-hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
  .dw-hero__act .dw-btn { flex: 1 1 auto; }

  .dw-lst__row {
    grid-template-columns: minmax(0, 1fr);
    padding: 28px 22px;
    min-height: 0;
  }

  .dw-lst__fig { justify-content: center; margin-top: 22px; }
  .dw-lst__fig img { width: min(100%, 380px); }
  .dw-lst__body { max-width: none; }

  .dw-typ,
  .dw-prob__grid,
  .dw-fact__grid,
  .dw-why,
  .dw-err__list,
  .dw-obj,
  .dw-ref,
  .dw-team,
  .dw-rev__grid,
  .dw-blog__grid { grid-template-columns: minmax(0, 1fr); }

  .dw-ba { grid-template-columns: minmax(0, 1fr); }
  .dw-geo__cols { grid-template-columns: minmax(0, 1fr); gap: 10px; }

  .dw-geo__col {
    background: var(--paper);
    border-radius: var(--r-img);
    padding: 0 18px;
  }

  .dw-geo__col > summary { cursor: pointer; pointer-events: auto; padding: 16px 0; }
  .dw-geo__col h3 { font-size: 16px; color: var(--ink); }

  .dw-geo__n {
    display: inline-block;
    padding: 3px 10px;
    background: var(--page);
    border-radius: var(--r-pill);
    font-size: 12.4px;
    color: var(--muted);
  }

  .dw-geo__chev { display: block; margin-left: auto; transition: transform var(--dur) linear; }
  .dw-geo__col[open] .dw-geo__chev { transform: rotate(180deg); }
  .dw-geo__col ul { margin-top: 0; padding-bottom: 12px; }
  .dw-geo__col li:last-child { border-bottom: 0; }
  .dw-trust__num { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .dw-trust__i { padding: 18px; }
  .dw-gar__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dw-calc__row { grid-template-columns: minmax(0, 1fr); }
  .dw-shot { aspect-ratio: 4 / 3; }
  .dw-shot__cap { left: 16px; right: 16px; bottom: 16px; max-width: none; padding: 14px 18px; }

  .dw-foot__mark b { font-size: clamp(30px, 11vw, 60px); }
  .dw-foot__top { gap: 26px 20px; }
  .dw-foot__bottom { flex-direction: column; align-items: flex-start; }
}

/* --- phones ------------------------------------------------------------- */
@media (max-width: 480px) {
  :root { --gut: 8px; --pad: 34px; --r-card: 20px; --hdr-inset: 4px; }

  .dw-band { padding: 26px 18px; }
  .dw-hero { padding: 78px 18px 26px; }
  .dw-hero h1 span { margin-top: 14px; }
  .dw-hero__act { gap: 10px; }
  .dw-hero__act .dw-btn { width: 100%; }

  .dw-tag { padding: 9px 16px 9px 13px; font-size: 12.6px; gap: 9px; }
  .dw-tag::before { width: 9px; height: 9px; }

  .dw-brand { padding: 8px 16px 8px 8px; gap: 10px; }
  .dw-brand__mark { width: 34px; height: 34px; border-radius: 10px; }
  .dw-brand__mark img { width: 18px; height: 18px; }
  .dw-brand__name { font-size: 15.5px; }
  .dw-brand__sub { font-size: 10.5px; }
  .dw-burger { width: 46px; height: 46px; }

  .dw-lst__row { padding: 24px 18px; }
  .dw-lst__fig img { width: min(100%, 300px); }
  .dw-lst__kw li { font-size: 12.6px; padding: 6px 12px; }

  .dw-flow__list li { padding: 22px 0; }
  .dw-flow__fig { aspect-ratio: 3 / 2; }
  .dw-plan__box { padding: 24px 20px; }
  .dw-obj__card { padding: 26px 22px; }
  .dw-calc__out { padding: 24px 20px; }
  .dw-kon__panel { padding: 22px 18px; }
  .dw-kon__row { grid-template-columns: minmax(0, 1fr); }
  .dw-seo__box { padding: 24px 20px; }
  .dw-gar__grid { grid-template-columns: minmax(0, 1fr); }
  .dw-trust__num { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .dw-trust__i { padding: 16px 18px; }
  .dw-trust__i b { font-size: 20px; }
  .dw-trust__marks li { padding: 7px 13px; font-size: 12.8px; }
  .dw-geo__col li { font-size: 13.2px; padding-left: 22px; }

  .dw-rev__foot { flex-wrap: wrap; gap: 10px; }
  .dw-rev__rate { margin-left: 0; text-align: left; }

  /* footer keeps two columns on phones — never a single stack */
  .dw-foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .dw-foot__col--wide { grid-column: 1 / -1; }
  .dw-foot__links a { font-size: 13.2px; }
  .dw-foot__mark { gap: 12px; }
  .dw-foot__mark b { font-size: clamp(26px, 10vw, 44px); }

  .dw-fab { right: 14px; bottom: 14px; }
  .dw-fab a { width: 55px; height: 55px; }
  .dw-fab a img { width: 24px; height: 24px; }
}

/* --- small phones (iPhone SE) ------------------------------------------- */
@media (max-width: 375px) {
  .dw-band { padding: 22px 15px; }
  .dw-hero { padding: 74px 15px 22px; }
  .dw-hero__facts { gap: 14px 16px; padding-top: 20px; }
  .dw-lst__row { padding: 22px 15px; }
  .dw-brand__sub { display: none; }
  .dw-typ__card { padding: 24px 20px; }
  .dw-price th, .dw-price td { padding: 14px 18px; }
}

/* --- small layout helpers used in single places ------------------------- */
.dw-price__intro { max-width: 520px; }
.dw-calc__lead { margin-top: 18px; }
