/* ============================================================
   GerEX – Gerner Engineering · Relaunch 08/2026
   Design: „Präzision & Vertrauen" – Bordeaux/Anthrazit,
   technisches Raster, Arial (Markenvorgabe, seit 19.11.2026).
   ============================================================ */

:root {
  color-scheme: light;
  --bordeaux: #801717;
  --bordeaux-dark: #5C0F0F;
  --bordeaux-light: #D47A7A; /* nur auf Anthrazit, Kontrast 5,7:1 */
  --tint: #F5E6E6;
  --ink: #1A1A1A;
  --body: #000;
  --grey: #595959;
  --grey-soft: #B3B3B3;
  --line: #D9D9D9;
  --bg-soft: #FAFAFA;
  --white: #FFF;
  --font: Arial, Helvetica, sans-serif;
  --radius: 10px;
  --radius-lg: 14px;
  --container: 1140px;
  --header-h: 68px;
  --shadow-card: 0 1px 2px rgba(26, 26, 26, .05), 0 8px 28px rgba(26, 26, 26, .07);
}

/* ---------- Reset & Basis ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  font-feature-settings: "ss01" 1, "cv05" 1;
}

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

a { color: var(--bordeaux); text-decoration: none; }
a:hover { color: var(--bordeaux-dark); }
.section--dark a:not([class]):hover { color: var(--bordeaux-light); }

/* Touch: kein Doppeltipp-Zoom-Delay, Tap-Highlight durch eigene
   Active-States ersetzt (siehe .btn/.mobilebar__btn:active) */
a, button, input, textarea, label { touch-action: manipulation; }
a, button { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 2px solid var(--bordeaux);
  outline-offset: 2px;
  border-radius: 2px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: var(--white); }
.skip-link:hover { color: var(--white); }

/* ---------- Typografie-Bausteine ---------- */

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bordeaux);
}
.eyebrow--light { color: var(--bordeaux-light); }

.section-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 780;
  letter-spacing: -.022em;
  line-height: 1.12;
  color: var(--ink);
  text-wrap: balance;
}

.section-intro {
  margin: 0;
  max-width: 640px;
  font-size: 18px;
  color: var(--grey);
}

.muted { color: var(--grey); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn--lg { padding: 14px 26px; font-size: 16.5px; }

.btn--primary {
  background: var(--bordeaux);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--bordeaux-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--grey); color: var(--ink); }

.section--dark .btn--ghost,
.hero .btn--ghost {
  border-color: rgba(255, 255, 255, .35);
  color: var(--white);
}
.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover { border-color: rgba(255, 255, 255, .75); color: var(--white); }

.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand__logo { width: 44px; height: 44px; }
.brand__name {
  display: block;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--ink);
}
.brand__name b { color: var(--bordeaux); font-weight: 800; }
.brand__sub {
  display: block;
  font-size: 11.5px;
  font-weight: 550;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--grey);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__links > li > a:not(.btn) {
  font-size: 15px;
  font-weight: 570;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav__links > li > a:not(.btn):hover {
  color: var(--bordeaux);
  border-bottom-color: var(--bordeaux);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
/* Technisches Raster – Blaupausen-Anmutung, bewusst sehr subtil */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 72px);
  pointer-events: none;
}
/* Bordeaux-Lichtkante rechts oben */
.hero::after {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 560px;
  height: 560px;
  background: radial-gradient(closest-side, rgba(128, 23, 23, .5), transparent 72%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr);
  gap: 56px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 96px;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(34px, 5.2vw, 56px);
  font-weight: 800;
  letter-spacing: -.028em;
  line-height: 1.06;
  color: var(--white);
  text-wrap: balance;
}
.hero .accent {
  color: var(--bordeaux-light);
  white-space: nowrap;
  box-shadow: inset 0 -0.14em 0 rgba(128, 23, 23, .55);
}

.hero__lead {
  margin: 0 0 32px;
  max-width: 560px;
  font-size: 18.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .78);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 46px;
}

.hero__meta {
  display: flex;
  gap: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero__meta .num {
  font-size: 27px;
  font-weight: 780;
  letter-spacing: -.02em;
  color: var(--white);
}
.hero__meta .num::after {
  content: "";
  display: block;
  width: 22px;
  height: 3px;
  margin-top: 6px;
  background: var(--bordeaux);
}
.hero__meta .lbl {
  margin-top: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .62);
}

/* Direktkontakt-Karte im Hero */
.hero__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px 24px 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}
.hero__card-title {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--grey);
}
.hero__card-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 10px;
  margin: 0 -10px;
  border-radius: 10px;
  color: var(--ink);
  transition: background .15s ease;
}
.hero__card-row:hover,
.hero__card-row:active { background: var(--bg-soft); color: var(--ink); }
.hero__card-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--tint);
  color: var(--bordeaux);
}
.hero__card-ic svg { width: 20px; height: 20px; }
.hero__card-lbl {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--grey);
}
.hero__card-val {
  display: block;
  font-size: 15.5px;
  font-weight: 650;
  color: var(--ink);
}
.hero__card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 13px 16px;
  border-radius: var(--radius);
  background: var(--bordeaux);
  color: var(--white);
  font-weight: 650;
  font-size: 15.5px;
  transition: background .18s ease;
}
.hero__card-cta:hover { background: var(--bordeaux-dark); color: var(--white); }

/* Sanfter Seiten-Einstieg */
@media (prefers-reduced-motion: no-preference) {
  .hero__content > *, .hero__card {
    opacity: 0;
    transform: translateY(14px);
    animation: rise .6s cubic-bezier(.2, .7, .3, 1) forwards;
  }
  .hero__content > *:nth-child(2) { animation-delay: .07s; }
  .hero__content > *:nth-child(3) { animation-delay: .14s; }
  .hero__content > *:nth-child(4) { animation-delay: .21s; }
  .hero__content > *:nth-child(5) { animation-delay: .28s; }
  .hero__card { animation-delay: .3s; }
}
@keyframes rise {
  to { opacity: 1; transform: none; }
}

/* ---------- Sektionen ---------- */

.section { padding: 92px 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: linear-gradient(180deg, var(--bg-soft), var(--tint)); }

.section--dark {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 72px);
  pointer-events: none;
}
.section--dark > .container { position: relative; z-index: 1; }
.section--dark .section-title { color: var(--white); }
.section--dark .section-intro { color: rgba(255, 255, 255, .72); }

section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.section-cta {
  margin-top: 56px;
  text-align: center;
}

/* ---------- Leistungen: Karten ---------- */

.grid {
  display: grid;
  gap: 26px;
}
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 52px;
}
.grid--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 52px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--grey-soft);
  box-shadow: var(--shadow-card);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--bordeaux);
}
.card__icon svg { width: 26px; height: 26px; }

.card h3 {
  margin: 0 0 10px;
  font-size: 20.5px;
  font-weight: 730;
  letter-spacing: -.015em;
  color: var(--ink);
}
.card > p {
  margin: 0 0 18px;
  font-size: 15.5px;
  color: var(--grey);
}

.card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}
.card li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: 15.5px;
  border-top: 1px solid var(--bg-soft);
}
.card li:first-child { border-top: 0; }
.card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--bordeaux);
  border-bottom: 2px solid var(--bordeaux);
  transform: rotate(-45deg);
}

/* ---------- Vorgehen: Schritte ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 52px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px 24px;
}
.step__num {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--tint);
  -webkit-text-stroke: 1.5px var(--bordeaux);
  margin-bottom: 16px;
}
.step h3 {
  margin: 0 0 8px;
  font-size: 18.5px;
  font-weight: 720;
  color: var(--ink);
}
.step p {
  margin: 0;
  font-size: 15px;
  color: var(--grey);
}
/* Verbindungslinie zwischen den Schritten (nur Desktop) */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -26px;
  width: 26px;
  height: 2px;
  background: var(--line);
}

/* ---------- Profil ---------- */

.profile {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 56px;
  align-items: center;
}

.profile__media {
  position: relative;
}
.profile__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.profile p { max-width: 560px; }
.profile strong { color: var(--ink); }

.creds {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.chip {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Kontakt ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  gap: 64px;
  align-items: start;
}

.contact__list {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.contact__item:first-child { border-top: 0; padding-top: 0; }

.contact__ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  color: var(--bordeaux-light);
}
.contact__ic svg { width: 20px; height: 20px; }

.contact__item .lbl {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}
.contact__item .val {
  display: block;
  font-size: 16.5px;
  font-weight: 620;
  color: var(--white);
}
.contact__item .val a { color: var(--white); }
.contact__item .val a:hover { color: var(--bordeaux-light); }
.contact__qr { display: block; margin-top: 12px; border-radius: 6px; }
@media (max-width: 899px) { .contact__qr { display: none; } }

/* Formular-Karte */
.contact__card {
  background: var(--white);
  color: var(--body);
  border-radius: var(--radius-lg);
  padding: 32px 30px 26px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}
.contact__card h3 {
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -.015em;
  color: var(--ink);
}
.contact__card > p {
  margin: 0 0 22px;
  font-size: 15px;
  color: var(--grey);
}

.kform__row { margin-bottom: 15px; }
.kform__row label {
  display: block;
  margin-bottom: 6px;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink);
}
.kform__opt { font-weight: 450; color: var(--grey); }

.kform__row input,
.kform__row textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-family: var(--font);
  font-size: 15.5px;
  color: var(--body);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.kform__row textarea { resize: vertical; min-height: 104px; }
.kform__row input:focus,
.kform__row textarea:focus {
  outline: none;
  border-color: var(--bordeaux);
  box-shadow: 0 0 0 3px rgba(128, 23, 23, .13);
}

.kform__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.kform__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 18px;
  font-size: 13.5px;
  color: var(--grey);
  line-height: 1.5;
}
.kform__consent input {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--bordeaux);
}

.kform__submit { width: 100%; justify-content: center; }
.kform__submit:disabled { opacity: .6; cursor: wait; transform: none; }

.kform__status {
  min-height: 1.4em;
  margin: 12px 0 0;
  font-size: 14.5px;
  font-weight: 600;
}
.kform__status--ok { color: #2c6e2c; }
.kform__status--err { color: var(--bordeaux); }

.contact__note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--grey);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 52px 0 34px;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.footer__nav a {
  font-size: 14.5px;
  font-weight: 570;
  color: var(--ink);
}
.footer__nav a:hover { color: var(--bordeaux); }

.footer__legal {
  margin: 26px 0 6px;
  font-size: 13.5px;
  color: var(--grey);
}
.footer__legal b { color: var(--ink); }
.footer__copy {
  margin: 0;
  font-size: 13px;
  color: #737373; /* 4,5:1 auf #FAFAFA */
}

/* ---------- Mobile Kontaktleiste ---------- */

.mobilebar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  display: none;
  gap: 8px;
  padding: 10px 12px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(26, 26, 26, .08);
}
.mobilebar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 620;
  font-size: 14.5px;
  color: var(--ink);
  text-decoration: none;
}
.mobilebar__btn svg { flex: none; width: 19px; height: 19px; }
.mobilebar__btn span { white-space: nowrap; }
.mobilebar__btn:hover,
.mobilebar__btn:active { background: var(--bg-soft); }
.mobilebar__btn:active { transform: scale(.98); }
.mobilebar__btn--primary {
  background: var(--bordeaux);
  border-color: var(--bordeaux);
  color: var(--white);
  flex: 1.25;
}
.mobilebar__btn--primary:hover,
.mobilebar__btn--primary:active { background: var(--bordeaux-dark); color: var(--white); }

/* ---------- Rechtsseiten ---------- */

.legal-page main {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 24px 88px;
}
.legal-page h1 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 780;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 10px;
}
.legal-page h2 {
  font-size: 22px;
  font-weight: 730;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 40px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.legal-page h3 {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--bordeaux);
  margin: 26px 0 8px;
}
.legal-page p, .legal-page li { font-size: 15.5px; }
.legal-page ul { padding-left: 22px; }
.legal-page .stand {
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 34px;
}
.legal-page .back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
  font-size: 14.5px;
  font-weight: 600;
}
.legal-page table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  margin: 18px 0;
}
.legal-page th {
  background: var(--bordeaux);
  color: var(--white);
  text-align: left;
  font-weight: 650;
  padding: 9px 12px;
}
.legal-page td {
  border: 1px solid var(--line);
  padding: 8px 12px;
  vertical-align: top;
}
.legal-page tr:nth-child(even) td { background: var(--bg-soft); }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero__inner { gap: 40px; }
  .contact { gap: 44px; }
}

@media (max-width: 899px) {
  .nav__toggle { display: flex; }

  .nav__links {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(26, 26, 26, .08);
    padding: 8px 24px 18px;
  }
  .nav__links.open { display: flex; }
  .nav__links > li > a:not(.btn) {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid var(--bg-soft);
    font-size: 16px;
  }
  .nav__cta { margin-top: 12px; }
  .nav__cta .btn { width: 100%; justify-content: center; }

  .hero__inner {
    grid-template-columns: 1fr;
    padding-top: 60px;
    padding-bottom: 64px;
  }
  .hero__card { display: none; }  /* mobil übernimmt die Kontaktleiste */
  .hero__meta { gap: 28px; flex-wrap: wrap; }

  .section { padding: 68px 0; }

  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }

  .profile { grid-template-columns: 1fr; gap: 40px; }
  .profile__media { max-width: 380px; }

  .contact { grid-template-columns: 1fr; }
  .contact__card { max-width: 560px; }

  /* Mobile Kontaktleiste aktiv */
  .mobilebar { display: flex; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .brand__sub { display: none; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__meta { gap: 20px; }
  .hero__meta .num { font-size: 23px; }
  .contact__card { padding: 26px 20px 22px; }
  .mobilebar__btn span { font-size: 13.5px; }
}

/* Sehr schmale Geräte: Icon des Termin-Buttons weicht, damit
   das Label garantiert einzeilig bleibt (CTA-Umbruch-Verbot). */
@media (max-width: 429px) {
  .mobilebar__btn--primary svg { display: none; }
}

/* ---------- Druck ---------- */

@media print {
  .mobilebar, .site-header, .skip-link { display: none; }
  body { padding-bottom: 0; }
  .hero, .section--dark { background: var(--white); color: var(--body); }
}
