/*
Theme Name: Sebastian Stiebler IT
Theme URI: https://www.sebastian-stiebler.de/
Author: Sebastian Stiebler IT
Author URI: https://www.sebastian-stiebler.de/
Description: Individuelles, schnelles WordPress-Theme für Sebastian Stiebler IT.
Version: 2.8.0
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: stiebler-it
*/

@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/sora-variable-latin.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/sora-variable-latin.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/fonts/sora-variable-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/inter-variable-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/inter-variable-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/inter-variable-latin.woff2') format('woff2'); }

:root {
  /* Marken-Tokens (Markenkonzept.dc.html) */
  --navy: #0e2a44;
  --terracotta: #c1633b;
  --steel: #3e6b8f;
  --sand: #f7f3ec;
  --ink: #182430;

  /* abgeleitete Töne für Verläufe/Hover/States */
  --navy-deep: #081827;
  --navy-soft: #163a5c;
  --terracotta-dark: #a2522f;
  --terracotta-soft: #f3ddce;
  --steel-soft: #e4ebf0;
  --muted: #5b6672;
  --line: #e7dfd2;
  --white: #ffffff;

  --shadow-sm: 0 12px 24px -14px rgba(14, 42, 68, 0.25);
  --shadow-md: 0 20px 40px -18px rgba(14, 42, 68, 0.3);
  --radius-sm: 12px;
  --radius-md: 12px;
  --radius-lg: 12px;
  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html.menu-open, body.menu-open { overflow: hidden; overscroll-behavior: none; }
body.menu-open { position: fixed; width: 100%; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 14px;
  background: var(--white);
  color: var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 92px 0; }
.section--soft { background: var(--sand); }
.section-heading { max-width: 900px; margin-bottom: 40px; }
.section-heading .lead { max-width: 820px; margin-top: 16px; }
.section-heading--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--navy);
  font-family: Sora, Inter, sans-serif;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 3px; height: 14px; background: var(--terracotta); border-radius: 2px; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); font-family: Sora, Inter, sans-serif; line-height: 1.12; letter-spacing: -0.035em; }
h1 { font-size: clamp(3.2rem, 6vw, 6.5rem); font-weight: 700; }
h2 { font-size: clamp(2.2rem, 3.7vw, 3.65rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 600; }
p { margin: 0; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.24rem); }
.text-blue { color: var(--terracotta); }
.dot-accent { color: var(--terracotta); }
.text-it { color: var(--terracotta) !important; font-weight: 700 !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(231, 223, 210, 0.8);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(14, 42, 68, 0.08); background: rgba(255,255,255,0.97); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 0; min-width: max-content; }
.brand-tick { width: 3px; height: 24px; margin-right: 9px; background: var(--terracotta); border-radius: 2px; flex: 0 0 auto; }
.brand-word { display: inline-flex; align-items: baseline; color: var(--navy); font-family: Sora, sans-serif; font-weight: 800; font-size: clamp(1.08rem, 1.8vw, 1.46rem); letter-spacing: -0.03em; text-transform: lowercase; }
.brand-word .brand-it { color: var(--terracotta); text-transform: uppercase; }
.brand-dot { width: 6px; height: 6px; margin-left: 8px; align-self: center; background: var(--terracotta); border-radius: 50%; flex: 0 0 auto; }
.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav a { color: var(--navy); font-size: 0.95rem; font-weight: 650; transition: color .2s ease; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--terracotta); }
.nav-cta { margin-left: 6px; }
.primary-nav a.nav-cta { color: var(--white); }
.primary-nav a.nav-cta:hover, .primary-nav a.nav-cta:focus-visible { color: var(--white); background: var(--terracotta); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; color: var(--navy); }
.menu-toggle span { display: block; width: 27px; height: 2px; margin: 6px 0; background: currentColor; transition: transform .2s ease, opacity .2s ease; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.96rem;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible { outline: 3px solid rgba(62, 107, 143, .35); outline-offset: 3px; }
/* Primär-Button: Navy-Hintergrund, Creme-Text */
.button--primary { color: var(--sand); background: var(--navy); box-shadow: 0 14px 30px rgba(14, 42, 68, .2); }
.button--primary:hover { background: var(--navy-soft); box-shadow: 0 16px 36px rgba(14, 42, 68, .28); }
/* Akzent/CTA-Button: Terracotta-Hintergrund, weißer Text */
.button--bright { color: var(--white); background: var(--terracotta); box-shadow: 0 14px 30px rgba(193, 99, 59, .28); }
.button--bright:hover { background: var(--terracotta-dark); }
/* Ghost-Button: transparent, 1.5px Navy-Border, Navy-Text */
.button--outline { color: var(--navy); border: 1.5px solid rgba(14, 42, 68, .4); background: transparent; }
.button--outline:hover { border-color: var(--navy); background: var(--steel-soft); }
.button--white { color: var(--navy); background: var(--white); box-shadow: 0 14px 36px rgba(0,0,0,.16); }
.button svg { width: 18px; height: 18px; }

.hero { position: relative; overflow: clip; padding: 46px 0 50px; background: linear-gradient(180deg, #fff 0%, #fdfbf8 100%); }
.hero::before {
  content: "";
  position: absolute;
  inset: auto auto -250px -180px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193,99,59,.09), transparent 67%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); align-items: center; gap: 64px; }
.hero-copy { position: relative; z-index: 2; }
.hero-title { max-width: 720px; font-size: clamp(3rem, 5.1vw, 5.35rem); line-height: 1.03; }
.hero-title-line { display: block; white-space: nowrap; }
.hero-copy .lead { max-width: 720px; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.trust-row { display: flex; flex-wrap: nowrap; align-items: center; gap: 16px; margin-top: 34px; color: var(--muted); font-size: .82rem; font-weight: 650; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.trust-icon { display: grid; place-items: center; flex: 0 0 auto; width: 26px; height: 26px; color: var(--steel); border: 1px solid rgba(62,107,143,.3); border-radius: 50%; background: var(--white); }
.trust-icon svg { width: 14px; height: 14px; }
.hero-visual { position: relative; min-height: 520px; display: grid; align-items: center; justify-items: center; }
.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 525px;
  height: 525px;
  left: 63%;
  top: 57%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,42,68,.09) 0%, rgba(193,99,59,.05) 46%, transparent 72%);
  pointer-events: none;
}
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 390px;
  height: 86px;
  left: 51%;
  bottom: 10px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(14,42,68,.1) 0%, rgba(193,99,59,.06) 42%, transparent 72%);
  filter: blur(8px);
  pointer-events: none;
}
.hero-photo-wrap {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
  height: 510px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 100%;
  filter: drop-shadow(0 22px 24px rgba(14,42,68,.18));
  mix-blend-mode: normal;
}
.hero-note {
  position: absolute;
  z-index: 3;
  right: -4px;
  bottom: 22px;
  max-width: 210px;
  padding: 14px 16px 14px 15px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-left: 3px solid var(--terracotta);
  border-radius: var(--radius-sm);
  box-shadow: 0 14px 34px rgba(14,42,68,.14);
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.5;
}
.hero-note strong { display: block; margin-bottom: 2px; color: var(--navy); font-size: 1rem; }

.intro-strip { padding: 34px 0; border-block: 1px solid var(--line); background: var(--white); }
.intro-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 20px; align-items: center; }
.intro-copy { padding-right: 24px; color: var(--navy); font-weight: 750; font-size: 1.12rem; }
.intro-point { padding-left: 20px; border-left: 1px solid var(--line); }
.intro-point strong { display: block; color: var(--navy); }
.intro-point span { color: var(--muted); font-size: .9rem; }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  padding: 30px;
  min-height: 226px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--sand);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-5px); border-color: rgba(62,107,143,.55); box-shadow: var(--shadow-sm); }
.service-card.service-card--highlight { position: relative; background: linear-gradient(145deg, var(--navy-deep), var(--navy)); color: var(--white); border-color: transparent; }
.service-card.service-card--highlight:hover { border-color: rgba(193,99,59,.5); }
.service-card.service-card--highlight h3 { color: var(--white); }
.service-card.service-card--highlight p { color: rgba(255,255,255,.78); }
.service-card.service-card--highlight .service-icon { color: var(--white); background: var(--terracotta); }
.service-badge { position: absolute; top: 18px; right: 18px; padding: 5px 11px; color: var(--white); background: var(--terracotta); border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.service-icon { width: 52px; height: 52px; margin-bottom: 20px; display: grid; place-items: center; color: var(--steel); background: var(--steel-soft); border-radius: var(--radius-sm); }
.service-icon svg { width: 27px; height: 27px; }
.service-card p { margin-top: 10px; color: var(--muted); font-size: .95rem; }

.business { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(130deg, var(--navy-deep), var(--navy)); }
.business::after { content: ""; position: absolute; width: 620px; height: 620px; right: -300px; top: -300px; border: 1px solid rgba(193,99,59,.28); border-radius: 50%; }
.business-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center; }
.business h2, .business h3 { color: var(--white); }
.business h2 { max-width: 690px; font-size: clamp(2.2rem, 3.35vw, 3.35rem); }
.business .eyebrow { color: var(--terracotta); }
.business .eyebrow::before { background: var(--terracotta); }
.business-copy p { max-width: 630px; margin-top: 20px; color: rgba(255,255,255,.78); }
.business-copy .button { margin-top: 32px; }
.business-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 17px 26px; }
.business-item { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.9); }
.business-check { flex: 0 0 auto; width: 24px; height: 24px; display: grid; place-items: center; color: var(--white); background: var(--terracotta); border-radius: 50%; margin-top: 1px; }
.business-check svg { width: 14px; height: 14px; }

.about-grid { display: grid; grid-template-columns: .68fr 1.32fr; gap: 64px; align-items: center; }
.about-card { position: relative; min-height: 470px; padding: 44px 38px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(155deg, #fdfbf8 0%, var(--sand) 72%); border: 1px solid var(--line); text-align: center; }
.about-card::before { content: ""; position: absolute; width: 260px; height: 260px; left: -150px; top: -150px; border-radius: 50%; background: rgba(62,107,143,.09); }
.about-card::after { content: ""; position: absolute; width: 320px; height: 320px; right: -140px; bottom: -170px; border-radius: 50%; background: var(--steel-soft); }
.about-logo-wrap { position: relative; z-index: 2; width: 128px; height: 128px; display: grid; place-items: center; padding: 12px; border-radius: 26px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 42px rgba(14,42,68,.1); }
.about-logo { width: 100%; border-radius: 18px; }
.about-card-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.about-card-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 13px; color: var(--terracotta); font-family: Sora, sans-serif; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.label-tick { flex: 0 0 auto; width: 3px; height: 14px; background: var(--terracotta); border-radius: 2px; }
.about-quote { max-width: 360px; color: var(--navy); font-family: Sora, sans-serif; font-size: clamp(1.35rem, 2vw, 1.82rem); font-weight: 700; line-height: 1.28; letter-spacing: -.03em; }
.about-card-note { max-width: 330px; margin-top: 16px; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.about-copy h2 { max-width: 760px; }
.about-copy .lead { margin-top: 22px; }
.about-copy p + p { margin-top: 16px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 28px; }
.fact { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--sand); }
.fact strong { display: block; color: var(--navy); font-size: .98rem; }
.fact span { display: block; margin-top: 5px; color: var(--muted); font-size: .86rem; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; }
.process-step { position: relative; padding: 28px 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-step:first-child { border-left: 1px solid var(--line); border-radius: var(--radius-md) 0 0 var(--radius-md); }
.process-step:last-child { border-right: 1px solid var(--line); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.process-step + .process-step { border-left: 1px solid var(--line); }
.process-number { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 24px; color: var(--navy); background: var(--steel-soft); border: 1px solid rgba(62,107,143,.4); border-radius: 50%; font-family: Sora, sans-serif; font-weight: 700; }
.process-step p { margin-top: 11px; color: var(--muted); font-size: .94rem; }
.process-arrow { position: absolute; right: -13px; top: 46px; z-index: 2; width: 26px; height: 26px; display: grid; place-items: center; color: var(--terracotta); background: var(--sand); border: 1px solid var(--line); border-radius: 50%; }
.process-step:last-child .process-arrow { display: none; }

.faq-list { display: grid; gap: 12px; }
.faq-item { padding: 0 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--sand); }
.faq-item + .faq-item { margin-top: 0; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 0;
  color: var(--navy);
  font-family: Sora, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary:hover { color: var(--terracotta); }
.faq-toggle { position: relative; flex: 0 0 auto; width: 22px; height: 22px; }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--terracotta); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.faq-toggle::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-toggle::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-toggle::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }
.faq-item p { max-width: 700px; padding-bottom: 22px; color: var(--muted); font-size: .96rem; line-height: 1.6; }

.contact { position: relative; overflow: hidden; color: var(--white); background: var(--navy-deep); }
.contact::before { content: ""; position: absolute; width: 680px; height: 680px; right: -340px; bottom: -440px; border-radius: 50%; background: radial-gradient(circle, rgba(193,99,59,.22), transparent 70%); }
.contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.contact h2 { max-width: 570px; color: var(--white); font-size: clamp(2.4rem, 4vw, 3.8rem); }
.contact .eyebrow { color: var(--terracotta); }
.contact .eyebrow::before { background: var(--terracotta); }
.contact-copy .lead { max-width: 590px; margin-top: 20px; color: rgba(255,255,255,.76); }
.contact-promises { display: grid; gap: 13px; margin-top: 32px; color: rgba(255,255,255,.9); font-size: .94rem; }
.contact-promises span { display: flex; align-items: center; gap: 11px; }
.contact-promises svg { flex: 0 0 auto; width: 19px; height: 19px; padding: 3px; color: var(--white); background: var(--terracotta); border-radius: 50%; }
.contact-options { padding: 20px; color: var(--ink); background: var(--white); border-radius: var(--radius-md); box-shadow: 0 28px 70px rgba(0,0,0,.22); }
.contact-option { display: grid; grid-template-columns: 52px minmax(0,1fr) 28px; gap: 16px; align-items: center; padding: 20px; border: 1px solid transparent; border-radius: var(--radius-sm); transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.contact-option + .contact-option { margin-top: 8px; }
.contact-option:hover, .contact-option:focus-visible { transform: translateY(-2px); border-color: rgba(62,107,143,.5); background: var(--sand); box-shadow: var(--shadow-sm); outline: none; }
.contact-option-icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--steel); background: var(--steel-soft); border-radius: var(--radius-sm); }
.contact-option-icon svg { width: 25px; height: 25px; }
.contact-option-copy { min-width: 0; display: grid; gap: 2px; }
.contact-option-copy strong { color: var(--navy); font-size: 1.05rem; line-height: 1.3; }
.contact-option-copy small { overflow-wrap: anywhere; color: var(--muted); font-size: .88rem; }
.contact-option-arrow { width: 28px; height: 28px; display: grid; place-items: center; color: var(--navy); }
.contact-option-arrow svg { width: 20px; height: 20px; }
.contact-option--whatsapp .contact-option-icon { color: var(--navy); background: #eaf8f0; }
.contact-options-note { margin: 14px 20px 6px; padding-top: 17px; color: var(--muted); border-top: 1px solid var(--line); font-size: .84rem; text-align: center; }

.site-footer { padding: 46px 0 24px; background: #fff; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .75fr .75fr .85fr; gap: 52px; }
.footer-brand p { max-width: 390px; margin-top: 15px; color: var(--muted); font-size: .93rem; }
.footer-heading { margin-bottom: 14px; color: var(--navy); font-family: Sora, sans-serif; font-size: .92rem; font-weight: 700; }
.footer-links { display: grid; gap: 8px; color: var(--muted); font-size: .91rem; }
.footer-links a:hover { color: var(--terracotta); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }

.page-shell { padding: 90px 0 110px; }
.page-header { max-width: 820px; margin-bottom: 46px; }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr .82fr; gap: 36px; }
  .hero-title { font-size: clamp(3rem, 5.7vw, 4.75rem); }
  .trust-row { gap: 13px; font-size: .81rem; }
  .hero-visual { min-height: 480px; }
  .hero-photo-wrap { width: min(100%, 460px); height: 475px; }
  .hero-photo { height: 100%; }
  .hero-note { right: -2px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid { grid-template-columns: 1fr 1fr; }
  .intro-copy { grid-column: 1 / -1; padding-right: 0; }
  .intro-point:nth-child(2) { border-left: 0; padding-left: 0; }
  .about-grid { gap: 48px; }
  .facts { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .process-step, .process-step:first-child, .process-step:last-child { border: 1px solid var(--line); border-radius: var(--radius-md); }
  .process-step + .process-step { border-left: 1px solid var(--line); }
  .process-arrow { display: none; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 2 / -1; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .menu-toggle { display: block; }
  .primary-nav {
    position: fixed;
    inset: 82px 0 0 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: calc(100dvh - 82px);
    padding: 26px 24px 34px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--white);
    border-top: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .primary-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
  .primary-nav .nav-cta { margin: 20px 0 0; padding: 16px 20px; border-bottom: 0; text-align: center; }
  body.menu-open .site-header { position: fixed; inset: 0 0 auto 0; width: 100%; background: var(--white); backdrop-filter: none; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero { padding: 42px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { text-align: left; }
  .hero-title { max-width: 760px; }
  .trust-row { flex-wrap: wrap; gap: 14px 22px; font-size: .86rem; }
  .hero-visual { min-height: 470px; max-width: 580px; width: 100%; margin-inline: auto; }
  .hero-photo-wrap { width: min(100%, 460px); height: 470px; }
  .hero-photo { height: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .business-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .business-list { grid-template-columns: 1fr; }
  .about-card { min-height: 400px; width: min(100%, 520px); margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :last-child { grid-column: auto; }
}

@media (max-width: 640px) {
  .section { padding: 58px 0; }
  .container { width: min(100% - 32px, var(--container)); }
  .header-inner { min-height: 74px; }
  .brand-tick { height: 20px; }
  .brand-word { font-size: 1.03rem; }
  .primary-nav { inset: 74px 0 0 0; height: calc(100dvh - 74px); padding: 22px 20px 28px; }
  .hero { padding: 34px 0 42px; }
  h1 { font-size: clamp(2.75rem, 15vw, 4.2rem); }
  .hero-title { font-size: clamp(2.65rem, 12.8vw, 3.9rem); }
  .hero-title-line { white-space: normal; }
  .hero-copy .lead { margin-top: 18px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; margin-top: 24px; }
  .button { width: 100%; }
  .trust-row { display: grid; gap: 12px; margin-top: 28px; }
  .hero-visual { min-height: 400px; }
  .hero-visual::before { width: 355px; height: 355px; left: 65%; top: 59%; opacity: .065; }
  .hero-visual::after { width: 285px; height: 64px; left: 51%; bottom: 6px; }
  .hero-photo-wrap { width: min(100%, 375px); height: 405px; }
  .hero-photo { height: 100%; object-position: 50% 100%; }
  .hero-note { right: 8px; left: auto; bottom: 10px; max-width: 188px; margin: 0; padding: 12px 14px; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-point { border-left: 0; border-top: 1px solid var(--line); padding: 16px 0 0; }
  .section-heading { margin-bottom: 30px; }
  .section-heading .lead { margin-top: 13px; }
  .section-heading h2, .business h2, .about-copy h2, .process h2, .contact h2 { font-size: clamp(2.15rem, 10.5vw, 2.85rem); line-height: 1.08; }
  .service-card { padding: 25px; }
  .business-list { gap: 14px; }
  .about-card { padding: 36px 26px; gap: 24px; }
  .about-logo-wrap { width: 112px; height: 112px; padding: 10px; }
  .about-logo { width: 100%; }
  .facts { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .faq-item { padding: 0 18px; }
  .faq-item summary { padding: 17px 0; font-size: .98rem; }
  .contact-grid { gap: 32px; }
  .contact-copy .lead { font-size: 1rem; }
  .contact-promises { margin-top: 26px; }
  .contact-options { padding: 12px; }
  .contact-option { grid-template-columns: 46px minmax(0,1fr) 24px; gap: 13px; padding: 16px 14px; }
  .contact-option-icon { width: 46px; height: 46px; border-radius: 10px; }
  .contact-option-icon svg { width: 22px; height: 22px; }
  .contact-option-copy strong { font-size: 1rem; }
  .contact-options-note { margin-inline: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* WordPress menu compatibility */
.primary-nav .primary-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav .primary-menu li { margin: 0; }
.page-header h1 { font-size: clamp(2.8rem, 5vw, 4.8rem); }

@media (max-width: 900px) {
  .primary-nav .primary-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .primary-nav .primary-menu li { width: 100%; }
}


/* Legal pages */
.page-shell { padding: 86px 0 104px; background: var(--white); }
.page-header { max-width: 920px; margin-bottom: 44px; }
.page-content { max-width: 940px; }
.page-content > :first-child { margin-top: 0; }
.page-content h2 { margin-top: 52px; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.page-content h3 { margin-top: 34px; font-size: clamp(1.18rem, 2vw, 1.45rem); letter-spacing: -.02em; }
.page-content p, .page-content ul { margin-top: 16px; }
.page-content ul { padding-left: 1.35em; }
.page-content li + li { margin-top: 8px; }
.page-content a { color: var(--navy); text-decoration: underline; text-decoration-color: rgba(62,107,143,.55); text-underline-offset: 3px; }
.page-content a:hover, .page-content a:focus-visible { color: var(--terracotta); }
.page-content code { padding: 2px 6px; border-radius: 4px; background: var(--sand); }
.legal-intro { padding: 24px 26px; color: var(--navy); background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.legal-meta { margin-top: 12px; color: var(--muted); font-size: .9rem; }
.legal-address { font-style: normal; }
.legal-note { margin-top: 28px; padding: 18px 20px; color: var(--muted); background: var(--steel-soft); border-left: 4px solid var(--steel); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

@media (max-width: 640px) {
  .page-shell { padding: 58px 0 76px; }
  .page-header { margin-bottom: 30px; }
  .page-content h2 { margin-top: 40px; }
  .legal-intro { padding: 20px; }
}
