/* Medacare GmbH Intensivpflegedienst – Stylesheet */

/* Schrift Manrope – lokal eingebunden (keine Verbindung zu Google). SIL Open Font License. */
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/manrope-latin.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;
}

/* ---------- Farben & Grundwerte (aus dem Flyer) ---------- */
:root {
  --navy: #262a6e;        /* Medacare-Blau */
  --navy-deep: #1a1d4d;
  --red: #c7212f;         /* Medacare-Rot – der einzige Rotton der Seite */
  --mist: #f2f3f9;
  --ink: #24274a;
  --muted: #5d6083;
  --line: #e3e6f0;
  --white: #fff;
  --shadow: 0 18px 44px -24px rgba(38, 42, 110, .38);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 84px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
[hidden] { display: none !important; }

h1, h2, h3 {
  margin: 0;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.nowrap { white-space: nowrap; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-circle {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
}
.icon-circle .icon { width: 24px; height: 24px; stroke-width: 1.9; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--navy); }
.btn--outline { border-color: var(--navy); background: transparent; color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--mist); }
.btn--ghost { border-color: rgba(255, 255, 255, .75); background: transparent; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 28px -20px rgba(38, 42, 110, .45);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: end;
  column-gap: 6px;
  margin-right: auto;
  color: var(--navy);
  text-decoration: none;
}
.brand__name {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.brand__care { color: var(--red); }
.brand__mark { width: 48px; height: 27px; margin-bottom: 1px; }
.brand__sub {
  grid-column: 1 / -1;
  margin-top: 5px;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
}

.nav { margin-right: auto; }
.nav ul {
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  padding: 6px 0;
  color: var(--navy);
  font-size: .98rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .15s;
}
.nav a:hover { color: var(--red); }

.header-call { min-height: 46px; padding: 10px 20px; }

.nav-toggle {
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.back-link {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Überschriften der Abschnitte ---------- */
.section { padding-block: clamp(72px, 9vw, 120px); }
.section--mist { background: var(--mist); }
.section--tight { padding-block: clamp(24px, 4vw, 48px); }

.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-title { font-size: clamp(2rem, 3.8vw, 3rem); }

.section-intro {
  max-width: 40em;
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.125rem;
}
.section-head--center .section-intro { margin-inline: auto; }

/* ---------- Hero ---------- */
.hero { padding-top: 8px; }
.hero__panel {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(560px, 78vh, 700px);
  overflow: hidden;
  border-radius: 28px;
  background: radial-gradient(110% 90% at 85% 15%, #3b419a 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: #fff;
}
/* Logo-Motiv, solange noch kein Foto hinterlegt ist */
.hero__mark {
  position: absolute;
  z-index: -3;
  top: 50%;
  right: -2%;
  width: min(50%, 620px);
  height: auto;
  color: #fff;
  opacity: .2;
  translate: 0 -55%;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(26, 29, 77, .88) 0%, rgba(26, 29, 77, .6) 45%, rgba(26, 29, 77, 0) 78%),
    linear-gradient(0deg, rgba(26, 29, 77, .55) 0%, rgba(26, 29, 77, 0) 45%);
}
.hero__content {
  max-width: min(800px, 100% - 200px); /* rechts bleibt Platz für das Siegel */
  padding: clamp(28px, 5vw, 64px);
  padding-bottom: calc(clamp(28px, 5vw, 64px) + 48px);
}
.hero__title {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.hero__lead {
  max-width: 34em;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* Herzschlag-Linie aus dem Logo – zeichnet sich einmal beim Laden */
.pulse {
  width: min(100%, 420px);
  height: auto;
  margin: 22px 0;
  overflow: visible;
}
.pulse__line,
.pulse__heart {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 1.1;
  stroke-dashoffset: 1.05;
}
.pulse__line {
  stroke: #fff;
  animation: draw 1.5s cubic-bezier(.65, 0, .35, 1) .25s forwards;
}
.pulse__heart {
  fill: var(--red);
  fill-opacity: 0;
  stroke: var(--red);
  transform-box: fill-box;
  transform-origin: center;
  animation:
    draw .6s ease-out 1.65s forwards,
    heart-fill .35s ease-out 2.2s forwards,
    heart-beat .7s ease-in-out 2.35s;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes heart-fill { to { fill-opacity: 1; } }
@keyframes heart-beat {
  0%, 100% { transform: scale(1); }
  30% { transform: scale(1.18); }
  60% { transform: scale(.96); }
}

.badge {
  position: absolute;
  top: clamp(24px, 4vw, 40px);
  right: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 160px;
  aspect-ratio: 1;
  border: 6px solid #fff;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .45);
  color: #fff;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}
.badge .icon { width: 24px; height: 24px; margin-bottom: 6px; fill: #fff; stroke: #fff; }

/* Kurzinfos unter dem Hero */
.facts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: -48px clamp(0px, 3vw, 40px) 0;
  padding: 24px 28px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  list-style: none;
}
.fact { display: flex; align-items: center; gap: 14px; }
.fact .icon-circle { width: 46px; height: 46px; }
.fact .icon-circle .icon { width: 22px; height: 22px; }
.fact h3 { font-size: 1.02rem; letter-spacing: -0.01em; line-height: 1.3; }

/* ---------- Anfrage-Assistent ---------- */
.wizard {
  max-width: 840px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}
.wizard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}
.wizard__bar {
  height: 6px;
  margin: 12px 0 28px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--mist);
}
.wizard__bar span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: var(--red);
  transition: width .3s ease;
}
.wizard h3 {
  margin-bottom: 20px;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}
.wizard h3:focus { outline: none; }
.choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.choice {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 14px 18px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.choice::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  border: 2px solid #c4c8da;
  border-radius: 50%;
  background: #fff;
}
.choice:hover { border-color: var(--navy); background: var(--mist); }
.choice[aria-pressed="true"] { border-color: var(--red); background: var(--mist); }
.choice[aria-pressed="true"]::before {
  border-color: var(--red);
  background: var(--red);
  box-shadow: inset 0 0 0 3px #fff;
}
.wizard__nav { margin-top: 22px; }
.link-btn {
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.link-btn:hover { color: var(--navy); }
.summary {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--mist);
}
.summary div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 20px; }
.summary dt { color: var(--muted); font-size: .95rem; }
.summary dd { margin: 0; color: var(--navy); font-weight: 700; }
.wizard__text { margin-top: 22px; }
.wizard__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.wizard-fallback { text-align: center; }

/* ---------- Leistungen ---------- */
.intro-block {
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  border-radius: 28px;
  background: var(--mist);
  text-align: center;
}
.intro-block .section-title { max-width: 18em; margin-inline: auto; }

/* ---------- Hinweis zum Anrufen ---------- */
.cta-box {
  margin-top: 24px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 26px;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .85);
  text-align: center;
}
.cta-box h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta-box p { margin-top: 10px; }
.cta-box :focus-visible { outline-color: #fff; }
.cta-box__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

/* ---------- Häufige Fragen ---------- */
.faq {
  display: grid;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px -22px rgba(38, 42, 110, .4);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; background: var(--red); color: #fff; }
.faq__answer { padding: 0 24px 22px; color: var(--muted); }
.faq__answer p + p { margin-top: 10px; }
.faq__answer a { color: var(--red); font-weight: 700; }

/* ---------- Jobs ---------- */
.jobs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 26px;
  background: linear-gradient(120deg, var(--navy) 0%, #363c8f 100%);
  color: rgba(255, 255, 255, .85);
}
.jobs .eyebrow { color: rgba(255, 255, 255, .75); }
.jobs h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.jobs p { max-width: 38em; margin-top: 12px; }
.jobs :focus-visible { outline-color: #fff; }

/* ---------- Kontakt ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
}
.map {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: 24px;
  background: radial-gradient(120% 90% at 20% 10%, #3b419a 0%, var(--navy) 50%, var(--navy-deep) 100%);
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map__consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(24px, 4vw, 40px);
  color: rgba(255, 255, 255, .85);
}
.map__consent h3 { color: #fff; font-size: 1.35rem; }
.map__consent p { max-width: 30em; font-size: .95rem; }
.map__consent a { color: #fff; }
.map__consent :focus-visible { outline-color: #fff; }
.map__consent .icon-circle { width: 56px; height: 56px; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.contact-card {
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: .95rem;
}
.contact-card .icon-circle { width: 42px; height: 42px; margin-bottom: 14px; }
.contact-card .icon-circle .icon { width: 20px; height: 20px; }
.contact-card h3 { font-size: 1rem; letter-spacing: 0; }
.contact-card p,
.contact-card address {
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  overflow-wrap: anywhere;
}
.contact-card:last-child:nth-child(odd) { grid-column: 1 / -1; } /* einzelne letzte Karte über die ganze Breite */
.contact-card a { color: var(--navy); font-weight: 700; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; text-underline-offset: 3px; }

.callbox {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  padding: 22px 26px;
  border-radius: 20px;
  background: var(--red);
  box-shadow: 0 24px 48px -26px rgba(199, 33, 47, .8);
  color: #fff;
  text-decoration: none;
  transition: background-color .15s;
}
.callbox:hover { background: var(--navy); }
.callbox__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 60px;
  height: 60px;
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
}
.callbox__icon .icon { width: 28px; height: 28px; }
.callbox__label { display: block; font-size: .95rem; font-weight: 700; opacity: .92; }
.callbox__number {
  display: block;
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* ---------- Fußzeile ---------- */
.site-footer {
  position: relative;
  margin-top: -28px; /* runde Ecken liegen über dem Abschnitt davor */
  padding-block: 64px 28px;
  border-radius: 28px 28px 0 0;
  background: var(--navy);
  color: rgba(255, 255, 255, .78);
  font-size: .95rem;
}
.site-footer :focus-visible { outline-color: #fff; }
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
}
.site-footer .brand { color: #fff; }
.site-footer__claim { max-width: 22em; margin-top: 18px; color: #fff; font-weight: 700; line-height: 1.45; }
.site-footer h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: 0;
}
.site-footer address { font-style: normal; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.footer-list { display: grid; gap: 10px; }
.footer-list li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
.footer-list .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--red); }
.footer-dots li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--red);
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: .875rem;
}
.site-footer--slim { padding-block: 28px; }
.site-footer--slim .site-footer__bottom { margin-top: 0; padding-top: 0; border-top: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- Schnellkontakt-Leiste (Handy) ---------- */
.callbar { display: none; }

/* ---------- Rechtliche Seiten ---------- */
.legal { padding-block: clamp(48px, 7vw, 88px) clamp(64px, 9vw, 120px); }
.legal__inner { max-width: 760px; }
.legal h1 { margin-bottom: 32px; font-size: clamp(2.2rem, 5vw, 3.2rem); }
.legal h2 { margin: 40px 0 10px; font-size: 1.3rem; letter-spacing: -0.01em; }
.legal h3 { margin: 24px 0 6px; font-size: 1.05rem; letter-spacing: 0; }
.legal p,
.legal ul { margin: 0 0 12px; }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--red); }
.legal__stand { margin-top: 40px; color: var(--muted); font-size: .95rem; }
.todo {
  padding: 1px 6px;
  border-radius: 4px;
  background: #fff1a8;
  color: #5a4a00;
  font-weight: 700;
}

.notfound { padding-block: clamp(80px, 14vw, 160px); }
.notfound h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.notfound p { max-width: 32em; margin: 16px 0 32px; color: var(--muted); font-size: 1.125rem; }
.notfound p a { color: var(--red); font-weight: 700; }

/* ---------- Responsiv ---------- */
@media (max-width: 1140px) {
  :root { --header-h: 76px; }

  .nav-toggle { display: inline-grid; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 18px 32px -18px rgba(38, 42, 110, .35);
  }
  .site-header.is-open .nav { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 4px var(--gutter) 16px; }
  .nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
}

@media (max-width: 980px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: 1fr; }
  .map { min-height: 340px; }
  .jobs { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { padding-bottom: 76px; }

  .header-call { display: none; }
  .brand__name { font-size: 1.55rem; }
  .brand__mark { width: 42px; height: 24px; }
  .brand__sub { font-size: .7rem; }

  .hero__panel { min-height: 600px; border-radius: 22px; }
  .hero__panel::after {
    background: linear-gradient(0deg, rgba(26, 29, 77, .94) 0%, rgba(26, 29, 77, .72) 55%, rgba(26, 29, 77, .25) 100%);
  }
  .hero__mark { top: 14%; right: -10%; width: 80%; translate: none; }
  .hero__content { max-width: none; padding: 28px 22px 84px; }
  .hero__title { font-size: clamp(1.7rem, 7.4vw, 2.2rem); hyphens: auto; overflow-wrap: break-word; }
  .hero__actions .btn { width: 100%; }
  .badge { display: none; }

  .facts { grid-template-columns: 1fr; gap: 16px; margin: -48px 0 0; padding: 22px; }

  .contact-cards { grid-template-columns: 1fr; }
  .summary div { grid-template-columns: 1fr; }

  .contact-card { display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; padding: 16px 18px; }
  .contact-card .icon-circle { grid-row: span 2; margin-bottom: 0; }
  .contact-card > :not(.icon-circle) { grid-column: 2; }

  .callbox { padding: 20px 22px; }
  .callbox__icon { display: none; }
  .callbox__label { font-size: .9rem; }

  .site-footer { border-radius: 22px 22px 0 0; }
  .site-footer__inner { grid-template-columns: 1fr; }

  .callbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -10px 30px -18px rgba(38, 42, 110, .4);
  }
  .callbar .btn { min-height: 50px; padding-inline: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse__line,
  .pulse__heart { animation: none; stroke-dashoffset: 0; }
  .pulse__heart { fill-opacity: 1; }
  *, *::before, *::after { transition: none !important; }
}
