/* ============================================================
   DS-ITS — styles.css
   Palette aus dem Logo: Anthrazit-Schwarz, Emerald, Bordeaux
   ============================================================ */

/* --- Fonts -------------------------------------------------- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/fraunces.woff2') format('woff2-variations'),
       url('fonts/fraunces.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter.woff2') format('woff2-variations'),
       url('fonts/inter.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/jetbrains-mono.woff2') format('woff2-variations'),
       url('fonts/jetbrains-mono.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Theme tokens ------------------------------------------- */
:root {
  --font-display: 'Fraunces', 'Iowan Old Style', 'Apple Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1180px;
  --container-pad: clamp(20px, 4vw, 40px);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --t: 240ms;
}

/* Dark (default) */
[data-theme='dark'] {
  --bg: #0E1413;
  --bg-elev: #141A18;
  --bg-soft: #111715;
  --text: #E6E2D8;
  --text-strong: #F4F1E8;
  --text-muted: #8B928E;
  --text-subtle: #5C625F;
  --border: #1F2522;
  --border-strong: #2A322E;
  --accent: #36A079;
  --accent-strong: #43B68B;
  --accent-soft: rgba(54, 160, 121, 0.12);
  --accent-2: #A24257;
  --accent-2-soft: rgba(162, 66, 87, 0.14);
  --shadow: 0 1px 0 rgba(255,255,255,0.03), 0 30px 60px -30px rgba(0,0,0,0.6);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --selection-bg: rgba(54, 160, 121, 0.35);
  --selection-fg: #F4F1E8;
}

/* Light */
[data-theme='light'] {
  --bg: #F2EFE8;
  --bg-elev: #FFFFFF;
  --bg-soft: #F7F4ED;
  --text: #15191B;
  --text-strong: #0A0D0E;
  --text-muted: #5B6260;
  --text-subtle: #8B928F;
  --border: #E0DBCF;
  --border-strong: #C9C2B2;
  --accent: #207A5A;
  --accent-strong: #1A6A4D;
  --accent-soft: rgba(32, 122, 90, 0.10);
  --accent-2: #7A2738;
  --accent-2-soft: rgba(122, 39, 56, 0.08);
  --shadow: 0 1px 0 rgba(255,255,255,0.6), 0 24px 50px -28px rgba(20, 20, 18, 0.18);
  --shadow-sm: 0 1px 2px rgba(20,20,18,0.06);
  --selection-bg: rgba(32, 122, 90, 0.20);
  --selection-fg: #0A0D0E;
}

/* --- Reset & base ------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv02', 'cv03', 'cv11';
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease);
}

::selection { background: var(--selection-bg); color: var(--selection-fg); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 { margin: 0; color: var(--text-strong); font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #fff; padding: 10px 14px;
  border-radius: var(--radius-sm); z-index: 1000;
}
.skip-link:focus { left: 16px; top: 16px; }

/* --- Display type ------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: 'opsz' 96, 'SOFT' 50;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  font-variation-settings: 'opsz' 96, 'SOFT' 80;
}
/* Optische Korrektur: wenn die kursive Zeile direkt nach einem
   Zeilenumbruch beginnt (Warum-H2, Kontakt-H2), schräge Buchstaben
   wie V/W minimal nach links ziehen, damit sie mit dem Text darüber
   bündig wirken. */
.display br + em {
  margin-inline-start: -0.06em;
}

.eyebrow,
.section-marker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--text-muted);
  margin: 0 0 18px;
}
.eyebrow .bracket,
.section-marker {
  color: var(--accent);
}
.section-marker::before, .section-marker::after { content: ''; }

/* --- Header ------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-row {
  display: flex; align-items: center; gap: 24px;
  padding-block: 16px;
}
.brand { display: inline-flex; align-items: center; }
.brand-mark { height: 32px; width: auto; }

.site-nav {
  margin-left: auto;
  display: flex; gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.site-nav a {
  position: relative;
  padding: 6px 2px;
  transition: color var(--t) var(--ease);
}
.site-nav a:hover { color: var(--text-strong); }
.site-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.site-nav a:hover::after { transform: scaleX(1); }

.theme-toggle {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text-muted);
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.theme-toggle:hover { color: var(--text-strong); border-color: var(--border-strong); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme='light'] .theme-toggle .icon-sun { display: block; }
[data-theme='light'] .theme-toggle .icon-moon { display: none; }

/* --- Buttons ------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-weight: 500; font-size: 15px;
  line-height: 1;
  border: 1px solid transparent;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease);
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #F4F1E8;
}
[data-theme='light'] .btn-primary { color: #FFFFFF; }
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { color: var(--text-strong); border-color: var(--text-muted); background: var(--bg-soft); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* --- Hero --------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(72px, 12vw, 140px) clamp(72px, 10vw, 120px);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: -10% -10% auto auto;
  width: 70vw; max-width: 720px; aspect-ratio: 1;
  background: radial-gradient(circle at 70% 30%, var(--accent-soft), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: auto auto -20% -10%;
  width: 60vw; max-width: 560px; aspect-ratio: 1;
  background: radial-gradient(circle at 30% 70%, var(--accent-2-soft), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-text { max-width: 640px; }
.hero h1.display {
  font-size: clamp(40px, 6.2vw, 76px);
  margin: 0 0 24px;
}
.lede {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--text-muted);
  max-width: 56ch;
  line-height: 1.6;
}
.hero-cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 32px;
}

/* hero data card */
.hero-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.hero-card::before {
  content: '[ DS ]';
  position: absolute; top: 16px; right: 20px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--text-subtle);
}
.data-list {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.data-list > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.data-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.data-list dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-subtle);
  text-transform: uppercase;
}
.data-list dd {
  margin: 0;
  font-size: 15px;
  color: var(--text-strong);
  font-weight: 500;
}
.data-list dd a { transition: color var(--t) var(--ease); }
.data-list dd a:hover { color: var(--accent); }
.hero-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Section heads ------------------------------------------ */
.section-head {
  max-width: 720px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head h2.display {
  font-size: clamp(32px, 4.6vw, 56px);
  margin: 0 0 18px;
}
.section-sub {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--text-muted);
  max-width: 56ch;
  line-height: 1.6;
}

/* --- Services (numbered editorial list) --------------------- */
.services { padding-block: clamp(64px, 7vw, 100px); border-top: 1px solid var(--border); }
.service-list {
  list-style: none;
  margin: 0; padding: 0;
}
.service {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: clamp(20px, 4vw, 56px);
  padding-block: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--border);
  transition: background var(--t) var(--ease);
}
.service:first-child { border-top: 1px solid var(--border-strong); }
.service:last-child { border-bottom: 1px solid var(--border-strong); }
.service:hover { background: var(--bg-soft); }
.service-num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--accent);
  padding-top: 8px;
  white-space: nowrap;
}
.service-body { max-width: 760px; }
.service h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--text-strong);
}
.service > .service-body > p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 60ch;
}
.service-points {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 32px;
  font-size: 14.5px;
}
.service-points li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.55;
}
.service-points li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.65em;
  width: 8px; height: 1px;
  background: var(--accent);
}

.service-cta {
  margin-top: clamp(36px, 4vw, 56px);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.service-cta p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.4;
  color: var(--text-strong);
  max-width: 38ch;
  margin: 0;
}
.service-cta .btn { flex-shrink: 0; }

/* --- Why --------------------------------------------------- */
.why { padding-block: clamp(64px, 7vw, 100px); border-top: 1px solid var(--border); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.why-item {
  background: var(--bg);
  padding: clamp(28px, 3.5vw, 40px);
  transition: background var(--t) var(--ease);
}
.why-item:hover { background: var(--bg-soft); }
.why-item h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 24px);
  margin: 0 0 12px;
  color: var(--text-strong);
}
.why-item p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* --- Contact ----------------------------------------------- */
.contact { padding-block: clamp(64px, 7vw, 100px); border-top: 1px solid var(--border); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-info {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow);
}
.contact-info h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 24px;
}
.contact-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid; gap: 18px;
}
.contact-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-subtle);
  text-transform: uppercase;
}
.contact-value {
  font-size: 15px;
  color: var(--text-strong);
  font-weight: 500;
  line-height: 1.55;
}
a.contact-value { transition: color var(--t) var(--ease); }
a.contact-value:hover { color: var(--accent); }
.contact-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}
.contact-note strong { color: var(--text-strong); font-weight: 600; }

/* --- Form -------------------------------------------------- */
.contact-form {
  display: grid;
  gap: 18px;
}
.form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: grid; gap: 6px; }
.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}
.field .req { color: var(--accent-2); margin-left: 4px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--text-strong);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-subtle); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
                    linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  align-items: start;
  padding-top: 4px;
}
.consent input[type='checkbox'] {
  width: 16px; height: 16px;
  margin-top: 3px;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent a { color: var(--text-strong); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.consent a:hover { color: var(--accent); }

.btn-spinner {
  display: none;
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-bottom-color: transparent;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn[aria-busy='true'] .btn-spinner { display: inline-block; }
.btn[aria-busy='true'] .btn-label::after { content: ' …'; }

.form-status {
  display: none;
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid var(--border);
}
.form-status.is-shown { display: block; }
.form-status.is-success {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  color: var(--accent-strong);
}
.form-status.is-error {
  background: var(--accent-2-soft);
  border-color: color-mix(in srgb, var(--accent-2) 40%, transparent);
  color: var(--accent-2);
}

/* --- Footer ------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 36px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.footer-row {
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: center; justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-mark { height: 22px; opacity: .9; }
.footer-nav { display: flex; gap: 24px; font-weight: 500; }
.footer-nav a { transition: color var(--t) var(--ease); }
.footer-nav a:hover { color: var(--text-strong); }

/* --- Legal modal ------------------------------------------- */
.legal-modal {
  border: 0; padding: 0;
  background: transparent;
  max-width: 100vw; max-height: 100vh;
  width: 100%; height: 100%;
  margin: 0;
}
.legal-modal[open] {
  display: flex; align-items: flex-start; justify-content: center;
}
.legal-modal::backdrop {
  background: rgba(8, 10, 9, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.legal-modal-inner {
  background: var(--bg-elev);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: min(820px, calc(100% - 32px));
  max-height: calc(100vh - 64px);
  margin-top: 48px;
  margin-bottom: 16px;
  display: grid;
  grid-template-rows: auto 1fr;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.legal-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.legal-modal-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin: 0;
}
.legal-modal-close {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.legal-modal-close:hover { color: var(--text-strong); border-color: var(--border-strong); background: var(--bg); }
.legal-modal-close svg { width: 16px; height: 16px; }

.legal-modal-body {
  padding: 24px 28px 32px;
  overflow-y: auto;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text);
}
.legal-modal-body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  margin: 28px 0 10px;
  color: var(--text-strong);
}
.legal-modal-body h3:first-child { margin-top: 4px; }
.legal-modal-body h4 {
  font-size: 14.5px;
  font-weight: 600;
  margin: 22px 0 8px;
  color: var(--text-strong);
}
.legal-modal-body p { margin: 0 0 12px; color: var(--text); }
.legal-modal-body ul { margin: 0 0 14px; padding-left: 22px; }
.legal-modal-body li { margin-bottom: 6px; }
.legal-modal-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}
.legal-modal-body a:hover { color: var(--accent-strong); }
.legal-modal-body .legal-emphasis {
  font-size: 12.5px;
  color: var(--text-muted);
  background: var(--bg-soft);
  border-left: 2px solid var(--accent);
  padding: 12px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.55;
}
.legal-modal-body .legal-source {
  margin-top: 24px;
  font-size: 12.5px;
  color: var(--text-subtle);
}

body.modal-open { overflow: hidden; }

/* --- Responsive -------------------------------------------- */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { order: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-nav { display: none; }
  .header-row { gap: 12px; }
  .hero { padding-block: 64px 56px; }
  .hero h1.display { font-size: clamp(34px, 9vw, 48px); }
  .service { grid-template-columns: 1fr; gap: 14px; }
  .service-num { padding-top: 0; font-size: 12px; }
  .service-points { grid-template-columns: 1fr; }
  .form-row.two { grid-template-columns: 1fr; }
  .data-list > div { grid-template-columns: 90px 1fr; }
  .contact-list li { grid-template-columns: 90px 1fr; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 18px; }
  .legal-modal-head { padding: 18px 20px; }
  .legal-modal-body { padding: 18px 20px 24px; }
}

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