/* ============ Harder Bedachung GmbH ============ */

/* ---------- Lokale Schriften (DSGVO-konform, kein Google-Server) ---------- */
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/poppins-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/poppins-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('fonts/poppins-800.woff2') format('woff2');
}

:root {
  --blue: #1caee4;          /* Logo-Cyan */
  --blue-dark: #128ab8;
  --ink: #1b262e;           /* fast schwarz */
  --ink-soft: #46555f;
  --bg: #ffffff;
  --bg-alt: #f2f6f8;
  --bg-dark: #131a20;
  --bg-dark-2: #1b2530;
  --line: #dde6ea;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(19, 38, 51, .10);
  --shadow-strong: 0 18px 45px rgba(19, 38, 51, .18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}

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

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: .6em; }
h3 { font-size: 1.15rem; }

a { color: var(--blue-dark); text-decoration: none; }

.container { max-width: 1150px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 820px; }
.center { text-align: center; }

.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }

.section-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: .5rem;
}

.lead { font-size: 1.06rem; color: var(--ink-soft); max-width: 780px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .8rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(28, 174, 228, .35); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-ghost-dark { border-color: var(--ink); color: var(--ink); margin-top: 1.5rem; }
.btn-ghost-dark:hover { background: var(--ink); color: #fff; }
.btn-small { padding: .55rem 1.2rem; font-size: .85rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(19, 26, 32, .55);
  backdrop-filter: blur(10px);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 2px 18px rgba(0,0,0,.08);
}

.nav-inner {
  max-width: 1150px;
  margin: 0 auto;
  padding: .55rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: flex; align-items: center; gap: .6rem; }
.brand-logo { width: 44px; height: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.02rem; color: #fff; transition: color .25s ease; }
.brand-text small { font-size: .68rem; letter-spacing: .06em; color: #cfd8dd; transition: color .25s ease; }
.site-header.scrolled .brand-text strong { color: var(--ink); }
.site-header.scrolled .brand-text small { color: var(--ink-soft); }

.main-nav { display: flex; align-items: center; gap: 1.4rem; }
.main-nav a {
  color: #e8eef1;
  font-size: .92rem;
  font-weight: 500;
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--blue); }
.site-header.scrolled .main-nav a { color: var(--ink); }
.site-header.scrolled .main-nav a:hover { color: var(--blue-dark); }

.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: .5rem 1.2rem;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--blue-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: .4rem;
}
.nav-toggle span {
  width: 26px; height: 3px;
  border-radius: 2px;
  background: #fff;
  transition: background .25s ease;
}
.site-header.scrolled .nav-toggle span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10, 18, 24, .88) 15%, rgba(10, 18, 24, .55) 55%, rgba(10, 18, 24, .35) 100%);
}
.hero-content {
  position: relative;
  max-width: 1150px;
  width: 100%;
  margin: 0 auto;
  padding: 7rem 1.25rem 4rem;
}
.hero-kicker {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
}
.hero .accent { color: var(--blue); }
.hero-sub { max-width: 560px; font-size: 1.05rem; color: #dbe4e9; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.2rem; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem; font-size: .9rem; color: #cfd8dd; }
.hero-scroll {
  position: absolute;
  left: 50%; bottom: 1.5rem;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.5rem;
  animation: bob 2s infinite ease-in-out;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0);} 50% { transform: translate(-50%, 8px);} }

/* ---------- Cards ---------- */
.cards {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.6rem;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.card-img { height: 190px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-body p { color: var(--ink-soft); font-size: .93rem; flex: 1; }
.card-link { color: var(--blue-dark); font-weight: 600; font-size: .9rem; }

/* ---------- Feature-Sektionen ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.feature-rev .feature-grid .feature-img { order: 2; }
.feature-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.feature-text p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.checklist { list-style: none; display: grid; gap: .45rem; }
.checklist li { padding-left: 1.7rem; position: relative; font-size: .95rem; }
.checklist li::before {
  content: "✔";
  position: absolute; left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* ---------- Dunkle Sektion / Simulator ---------- */
.section.dark {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: #eef3f6;
}
.section.dark .lead { color: #b7c4cc; }
.section.dark .section-kicker { color: var(--blue); }

.sim-label {
  display: block;
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .15em;
  color: #93a4ae;
  margin-bottom: .55rem;
  font-weight: 600;
}
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
  color: #e8eef1;
  border-radius: 999px;
  padding: .42rem .95rem;
  font-size: .85rem;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.chip:hover { border-color: var(--blue); }
.chip.active { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.chip.mat.active { outline: 2px solid #fff3; }
.chip:disabled { opacity: .35; cursor: not-allowed; }
.chip .swatch {
  display: inline-block;
  width: .8em; height: .8em;
  border-radius: 50%;
  margin-right: .4em;
  vertical-align: -1px;
  border: 1px solid rgba(255,255,255,.4);
}

/* ---------- 3D-Konfigurator ---------- */
#simulator .container { max-width: 1420px; }

.sim3d-wrap {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 1.5rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.sim3d-stage {
  position: relative;
  min-height: 560px;
  border-radius: 12px;
  overflow: hidden;
  background: #b8d4e8;
}

@media (min-width: 1500px) {
  .sim3d-stage { min-height: 680px; }
  .sim3d-controls { max-height: 780px; }
}
.sim3d-stage canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  touch-action: none;
  cursor: grab;
}
.sim3d-stage canvas:active { cursor: grabbing; }

.sim3d-hud {
  position: absolute;
  top: .8rem; left: .8rem; right: .8rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}
.sim3d-badge {
  background: rgba(15, 22, 28, .82);
  color: #eef3f6;
  border-radius: 10px;
  padding: .5rem .9rem;
  font-size: .85rem;
  backdrop-filter: blur(4px);
}
.sim3d-badge strong { color: var(--blue); font-size: 1.05rem; }
.sim3d-viewbtns { display: flex; gap: .4rem; pointer-events: auto; }
.hud-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 0;
  background: rgba(15, 22, 28, .82);
  color: #eef3f6;
  font-size: 1.15rem;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background .15s ease, color .15s ease;
}
.hud-btn:hover { background: rgba(15,22,28,.95); }
.hud-btn.active { background: var(--blue); color: #fff; }

.sim3d-hint {
  position: absolute;
  bottom: .7rem; left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 22, 28, .7);
  color: #cfd8dd;
  font-size: .75rem;
  padding: .3rem .9rem;
  border-radius: 999px;
  pointer-events: none;
  white-space: nowrap;
}

.sim3d-controls {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-height: 660px;
  overflow-y: auto;
  padding-right: .4rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.25) transparent;
}

.slider-row { margin-bottom: .75rem; }
.slider-row label {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  color: #dbe4e9;
  margin-bottom: .3rem;
}
.slider-row output { color: var(--blue); font-weight: 600; }
.slider-row input[type="range"] {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,.18);
  outline: none;
  cursor: pointer;
}
.slider-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
  cursor: grab;
}
.slider-row input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
  cursor: grab;
}

.sim3d-note {
  font-size: .78rem;
  color: #93a4ae;
  margin: .5rem 0 .2rem;
  line-height: 1.5;
}
.sim3d-note strong { color: var(--blue); }

.linklike {
  background: none;
  border: 0;
  color: var(--blue);
  font-size: .78rem;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.linklike:hover { color: #fff; }

.sel-panel {
  margin-top: .8rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(28, 174, 228, .4);
  border-radius: 10px;
  padding: .9rem 1rem;
}
.sel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .6rem;
}
.sel-head strong { color: var(--blue); font-size: .95rem; }
.sel-actions { display: flex; gap: .35rem; }
.hud-btn.small { width: 32px; height: 32px; font-size: .95rem; border-radius: 8px; background: rgba(255,255,255,.12); }
.hud-btn.small:hover { background: rgba(255,255,255,.22); }
.hud-btn.danger:hover { background: #c0392b; }

.mat-group { margin-bottom: .9rem; }
.mat-group-title {
  display: block;
  font-size: .78rem;
  color: #93a4ae;
  margin-bottom: .4rem;
}
.swatch-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.swatch3d {
  position: relative;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
  cursor: pointer;
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.swatch3d:hover { transform: scale(1.14); border-color: #fff; }
.swatch3d.active {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(28, 174, 228, .35);
  transform: scale(1.1);
}
.swatch3d span {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #0f161c;
  color: #eef3f6;
  font-size: .68rem;
  padding: .15rem .5rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
  z-index: 5;
}
.swatch3d:hover span { opacity: 1; }

/* ---------- Kostenrechner ---------- */
.calc-wrap {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: start;
}
.calc-form {
  display: grid;
  gap: 1.3rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.field label, .field legend { font-weight: 600; font-size: .92rem; margin-bottom: .4rem; display: block; }
.field small { color: var(--ink-soft); font-size: .78rem; }
.field input[type="number"], .field select {
  width: 100%;
  padding: .7rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: #fbfdfe;
  transition: border-color .15s ease;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); }
.extras { border: 0; }
.check {
  display: flex; align-items: center; gap: .6rem;
  font-size: .92rem; font-weight: 400 !important;
  margin-bottom: .45rem; cursor: pointer;
}
.check input { width: 1.05rem; height: 1.05rem; accent-color: var(--blue); cursor: pointer; }
.check .pv-count {
  width: 4.2rem;
  height: auto;
  padding: .25rem .45rem;
  margin: 0 .3rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: .9rem;
  background: #fbfdfe;
}
.extras small { display: block; margin-top: .5rem; color: var(--ink-soft); font-size: .76rem; line-height: 1.5; }

.calc-result {
  background: var(--bg-dark);
  color: #eef3f6;
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-strong);
  position: sticky;
  top: 90px;
}
.calc-result-label {
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .15em;
  color: #93a4ae;
  font-weight: 600;
}
.calc-price {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: var(--blue);
  margin: .3rem 0 .1rem;
}
.calc-per { color: #b7c4cc; font-size: .88rem; margin-bottom: 1rem; }
.calc-breakdown { list-style: none; border-top: 1px solid rgba(255,255,255,.12); padding-top: .9rem; display: grid; gap: .4rem; }
.calc-breakdown li { display: flex; justify-content: space-between; font-size: .88rem; color: #cdd8de; gap: 1rem; }
.calc-breakdown li span:last-child { white-space: nowrap; font-weight: 600; }
.calc-note { font-size: .75rem; color: #93a4ae; margin-top: 1rem; }
.calc-note a { color: var(--blue); }

/* ---------- Über uns ---------- */
.stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 2.2rem;
}
.stat strong { display: block; font-size: 2rem; color: var(--blue-dark); font-weight: 800; }
.stat span { font-size: .85rem; color: var(--ink-soft); max-width: 180px; display: inline-block; }

/* ---------- Kontakt ---------- */
.contact-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}
.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  display: flex; align-items: center; gap: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-strong); }
.contact-ico { font-size: 1.5rem; }
.contact-card strong { font-size: .95rem; }
.contact-card span:last-child { font-size: .9rem; color: var(--ink-soft); }
.contact-card span:last-child strong { color: var(--ink); }

.contact-form { display: grid; gap: .9rem; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: .95rem;
  background: #fbfdfe;
  resize: vertical;
  transition: border-color .15s ease;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); }
.contact-form .btn { justify-self: start; }
.form-note { font-size: .85rem; color: var(--blue-dark); font-weight: 600; }

.map-wrap { margin-top: 3rem; }
.map-wrap h3 { margin-bottom: 1rem; }
.map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Zwei-Klick-Karte (DSGVO) */
.map-consent {
  height: 380px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-alt), #e2ebef);
  border: 1.5px dashed var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 2rem;
}
.map-consent .map-pin { font-size: 2.4rem; }
.map-consent p { max-width: 520px; color: var(--ink-soft); font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #b7c4cc; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 1.25rem 2.5rem;
}
.footer-grid h4 { color: #fff; margin-bottom: .8rem; font-size: 1rem; }
.footer-grid a { display: block; color: #b7c4cc; font-size: .9rem; padding: .18rem 0; }
.footer-grid a:hover { color: var(--blue); }
.footer-grid p { font-size: .9rem; margin-top: 1rem; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: #93a4ae; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  padding: 1.2rem;
  font-size: .8rem;
  color: #7e8f99;
}
.footer-bottom a { color: #aebcc4; }
.footer-bottom a:hover { color: var(--blue); }

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */
.legal-main { padding: 9rem 0 5rem; }
.legal-main h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1.5rem; }
.legal-main h2 { font-size: 1.25rem; margin-top: 2.2rem; }
.legal-main h3 { font-size: 1.05rem; margin-top: 1.4rem; margin-bottom: .4rem; }
.legal-main p, .legal-main li { color: var(--ink-soft); font-size: .95rem; margin-bottom: .7rem; }
.legal-main ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.legal-main address { font-style: normal; color: var(--ink-soft); font-size: .95rem; margin-bottom: .7rem; }
.placeholder {
  background: #fff3cd;
  border: 1px dashed #d4a017;
  border-radius: 6px;
  padding: .05rem .45rem;
  color: #7a5c00;
  font-weight: 600;
  white-space: nowrap;
}
.back-link { display: inline-block; margin-bottom: 2rem; font-weight: 600; }

/* ---------- Scroll-Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .feature-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .feature-rev .feature-grid .feature-img { order: 0; }
  .feature-img img { height: 280px; }
  .sim3d-wrap { grid-template-columns: 1fr; }
  .sim3d-stage { min-height: 380px; }
  .sim3d-controls { max-height: none; overflow: visible; }
  .calc-wrap, .contact-grid { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 3.5rem 0; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(19, 26, 32, .97);
    padding: .5rem 0 1rem;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .8rem 1.5rem; color: #fff !important; }
  .nav-cta { margin: .5rem 1.5rem 0; text-align: center; border-radius: 10px; }
  .site-header.scrolled .main-nav { background: rgba(255,255,255,.98); }
  .site-header.scrolled .main-nav a { color: var(--ink) !important; }
  .site-header.scrolled .nav-cta { color: #fff !important; }
  .hero-badges { flex-direction: column; gap: .4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}
