/* ==========================================================================
   LUBICIA – Gebäudeservice
   Mobile-first stylesheet
   ========================================================================== */

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-var.woff2") format("woff2-variations"),
       url("../fonts/instrument-sans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --plum-950: #2A2348;
  --plum-900: #483C78;   /* Markenfarbe: Überschriften, Kontakt */
  --plum-800: #3E3369;
  --plum-700: #483C78;   /* Hauptfarbe (Buttons) */
  --plum-600: #5A4D92;
  --plum-400: #8C82BC;
  --lavender-300: #C9C3E3;
  --lavender-200: #DEDAEF;
  --lavender-100: #EFEDF7;
  --lavender-50:  #F7F6FB;

  /* Neutrals */
  --paper: #FFFFFF;
  --tint: #F7F6FB;        /* zarte Lavendel-Fläche */
  --green-tint: #F2F7F3;  /* zarte Grün-Fläche */
  --white: #FFFFFF;
  --ink: #2B2838;         /* Text */
  --ink-muted: #5E5A6E;
  --line: #E8E6F0;
  --line-strong: #D6D2E4;

  /* Detail */
  --sage: #6B5FAA;
  --sage-light: #C9C3E3;
  --error: #A3302F;

  /* Type */
  --font: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.1875rem;
  --step-2: clamp(1.375rem, 1.25rem + 0.6vw, 1.625rem);
  --step-3: clamp(2rem, 1.55rem + 2vw, 3.125rem);
  --step-4: clamp(2.625rem, 1.6rem + 4.6vw, 5.25rem);

  /* Layout */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --container: 76rem;
  --section-y: clamp(4.5rem, 3rem + 7vw, 8.5rem);
  --header-h: 4.25rem;
  --radius: 3px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.5rem; height: 1.5rem; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .75rem 1rem;
  background: var(--white); color: var(--plum-700);
  font-weight: 600; text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--plum-600);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typography ---------- */
.section-title {
  font-size: var(--step-3);
  font-weight: 600;
  font-stretch: 90%;
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--plum-900);
  text-wrap: balance;
}
.section-intro {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 34rem;
  text-wrap: pretty;
}
p { text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 2.875rem;
  padding: .7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: .975rem;
  font-weight: 560;
  line-height: 1.2;
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--lg { min-height: 3.25rem; padding: .85rem 1.6rem; font-size: 1.0125rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--plum-700); color: var(--white); }
.btn--primary:hover { background: var(--plum-600); }

.btn--lavender { background: var(--lavender-200); color: var(--plum-900); }
.btn--lavender:hover { background: var(--white); }
.btn--outline { border-color: var(--line-strong); color: var(--plum-700); background: var(--white); }
.btn--outline:hover { border-color: var(--plum-700); }

.btn--ghost-light { border-color: rgba(221, 211, 236, .45); color: var(--lavender-100); }
.btn--ghost-light:hover { border-color: var(--lavender-200); background: rgba(255,255,255,.06); }

.text-link {
  color: var(--plum-700);
  text-decoration: underline;
  text-decoration-color: var(--lavender-300);
  text-underline-offset: .25em;
  text-decoration-thickness: 1px;
}
.text-link:hover { text-decoration-color: currentColor; }

/* ==========================================================================
   A. Header / Navigation
   ========================================================================== */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand__logo { display: block; height: 3.25rem; width: auto; margin-left: -.5rem; }
.footer__brand .brand__logo { height: 3.5rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(72, 60, 120, .35); }
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px) saturate(1.3); }
}
.header__inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.nav { display: none; margin-left: auto; }
.nav__list { display: flex; gap: 2rem; }
.nav__list a {
  position: relative;
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  padding-block: .5rem;
}
.nav__list a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: .15rem;
  height: 2px; border-radius: 2px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__list a:hover::after,
.nav__list a[aria-current="true"]::after { transform: scaleX(1); }
.nav__list a:hover, .nav__list a[aria-current="true"] { color: var(--plum-700); }

.header__cta { display: none; gap: 0; min-height: 2.5rem; padding: .55rem 1.05rem; font-size: .9rem; }

.nav-toggle {
  margin-left: auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem;
  margin-right: -.5rem;
  background: none; border: 0;
  color: var(--plum-700);
  cursor: pointer;
  border-radius: var(--radius);
}
.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--white);
  padding-block: .5rem 1.75rem;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}
.mobile-menu__list { margin-bottom: 1.5rem; }
.mobile-menu__list a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.375rem;
  font-weight: 520;
  text-decoration: none;
  color: var(--plum-900);
}
.mobile-menu__mail {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-top: 1.25rem;
  color: var(--plum-700);
  text-decoration: none;
}
.mobile-menu__mail .icon { width: 1.25rem; height: 1.25rem; }

@media (min-width: 40em) {
  .header__cta { display: inline-flex; margin-left: auto; }
  .nav-toggle { margin-left: 0; }
  .header__inner { gap: 1rem; }
}
@media (min-width: 62em) {
  .nav { display: block; }
  .nav-toggle, .mobile-menu { display: none !important; }
  .header__cta { margin-left: 1rem; }
  .header__inner { gap: 1.5rem; }
  .brand__logo { height: 3.75rem; }
}
.hide-md { display: none; }
@media (min-width: 75em) { .hide-md { display: inline; } }

/* ==========================================================================
   B. Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--white) 0%, var(--tint) 100%);
  color: var(--ink);
  isolation: isolate;
}
.hero__inner { padding-block: clamp(3rem, 8vw, 4.5rem) 2.5rem; position: relative; z-index: 2; }
.hero__title {
  font-size: var(--step-4);
  font-weight: 600;
  font-stretch: 88%;
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 11ch;
  color: var(--plum-900);
  text-wrap: balance;
}
.hero__lead {
  margin-top: 1.5rem;
  max-width: 31rem;
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-muted);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero__actions .btn { flex: 1 1 12rem; }
.hero__note {
  display: flex; gap: .55rem; align-items: flex-start;
  margin-top: 1.5rem;
  font-size: var(--step--1);
  color: var(--ink-muted);
  max-width: 28rem;
}
.hero__note::before {
  content: ""; flex: none;
  width: .5rem; height: .5rem; margin-top: .4em;
  border-radius: 50%;
  background: var(--sage);
}

/* Fassade (dekorativ) */
.facade { position: relative; height: 15rem; margin-inline: var(--gutter); pointer-events: none; }
.facade__building { position: absolute; left: 12%; right: -6%; top: 1.5rem; bottom: 0; }
.facade__crown { height: .875rem; background: var(--plum-800); border-radius: 3px 3px 0 0; }
.facade__wall {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px 3px;
  padding: 10px 3px 0;
  background: var(--plum-900);
  height: calc(100% - .875rem);
  overflow: hidden;
  align-content: start;
  grid-auto-rows: min-content;
}
.facade__wall::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(118deg, rgba(255,255,255,.16) 0 16%, transparent 16% 38%, rgba(255,255,255,.08) 38% 44%, transparent 44%);
  mix-blend-mode: screen;
}
.facade__neighbour {
  position: absolute;
  left: 0; width: 30%;
  top: 5.5rem; bottom: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(72,60,120,.10) 22px 23px),
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(72,60,120,.10) 30px 31px),
    var(--lavender-100);
  border-top: 2px solid var(--lavender-300);
}
.pane {
  position: relative;
  align-self: start;
  height: 0;
  padding-bottom: 160%; /* Fensterformat 5:8 */
  overflow: hidden;
  background: linear-gradient(165deg, #B8B1DC 0%, #7D72B3 100%);
}
.pane.t0 { background: linear-gradient(165deg, #E4E0F4 0%, #A69DD2 70%, #8478BB 100%); }
.pane.t1 { background: linear-gradient(165deg, #C3BCE3 0%, #8B80C0 100%); }
.pane.t2 { background: linear-gradient(165deg, #9C92CC 0%, #6B5FAA 100%); }
.pane.t3 { background: linear-gradient(170deg, #F4F2FB 0%, #C9C3E3 60%, #9C92CC 100%); }
.pane::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(72, 60, 120, .55);
  animation: pane-clear .55s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
.pane::after {
  content: "";
  position: absolute;
  top: -20%; bottom: -20%;
  left: 0; width: 55%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.7) 50%, transparent);
  transform: translateX(-180%) skewX(-18deg);
  animation: pane-glint .75s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes pane-clear { to { opacity: 0; } }
@keyframes pane-glint { to { transform: translateX(260%) skewX(-18deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pane::before { animation: none; opacity: 0; }
  .pane::after { animation: none; display: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
@media (min-width: 40em) {
  .hero__actions .btn { flex: 0 0 auto; }
  .facade { height: 19rem; }
}
@media (min-width: 62em) {
  .hero { min-height: min(50rem, calc(100vh - var(--header-h))); display: flex; align-items: center; }
  .hero__inner { padding-block: 6rem 7rem; }
  .hero__copy { max-width: 36rem; }
  .facade { position: absolute; right: 0; top: 0; bottom: 0; width: 46%; height: auto; margin: 0; }
  .facade__building { left: 22%; right: -8%; top: 4.5rem; }
  .facade__neighbour { left: 0; width: 26%; top: 13rem; }
  .facade__wall { gap: 14px 4px; padding: 14px 4px 0; }
}
@media (min-width: 90em) {
  .facade { width: 48%; }
  .facade__building { left: 24%; right: 4%; }
}

/* ==========================================================================
   C. Promises
   ========================================================================== */
.promises {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.promises__list {
  display: grid;
  grid-template-columns: 1fr;
}
.promise {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.promise:last-child { border-bottom: 0; }
.promise__icon { grid-row: span 2; color: var(--sage); margin-top: .1rem; }
.promise__title {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--plum-900);
}
.promise p { margin-top: .3rem; font-size: .95rem; color: var(--ink-muted); line-height: 1.5; }

@media (min-width: 40em) {
  .promises__list { grid-template-columns: 1fr 1fr; }
  .promise { padding: 1.75rem 1.5rem 1.75rem 0; }
  .promise:nth-child(odd) { border-right: 1px solid var(--line); }
  .promise:nth-child(even) { padding-left: 1.5rem; }
  .promise:nth-child(3) { border-bottom: 0; }
}
@media (min-width: 62em) {
  .promises__list { grid-template-columns: repeat(4, 1fr); }
  .promise {
    display: block;
    padding: 2.5rem 1.75rem;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .promise:nth-child(even) { padding-left: 1.75rem; }
  .promise:first-child { padding-left: 0; }
  .promise:last-child { border-right: 0; padding-right: 0; }
  .promise__icon { margin-bottom: 1.25rem; }
}

/* ==========================================================================
   Sections (shared)
   ========================================================================== */
.section { padding-block: var(--section-y); }
.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .section-title { max-width: 18ch; }

@media (min-width: 62em) {
  .section-head--split {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
    gap: 4rem;
  }
  .section-head--split .section-intro { justify-self: end; }
}

/* ==========================================================================
   D. Services
   ========================================================================== */
.services { background: var(--white); }
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line-strong);
}
.service {
  display: flex;
  flex-direction: column;
  padding-block: 2.25rem;
  border-bottom: 1px solid var(--line-strong);
}
.service__icon {
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  background: var(--lavender-100);
  color: var(--plum-700);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
.service__title {
  font-size: var(--step-2);
  font-weight: 520;
  font-stretch: 92%;
  letter-spacing: -0.012em;
  line-height: 1.2;
  color: var(--plum-900);
}
.service__text { margin-top: .75rem; color: var(--ink-muted); max-width: 34rem; }
.service__gain-label {
  margin-top: 1.5rem;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--plum-700);
}
.service__gains { margin-top: .5rem; display: grid; gap: .45rem; }
.service__gains li {
  position: relative;
  padding-left: 1.6rem;
  font-size: .975rem;
  line-height: 1.5;
}
.service__gains li::before {
  content: "";
  position: absolute; left: .1rem; top: .42em;
  width: .7rem; height: .38rem;
  border-left: 1.5px solid var(--sage);
  border-bottom: 1.5px solid var(--sage);
  transform: rotate(-45deg);
}
.service__link {
  margin-top: 1.5rem;
  align-self: flex-start;
  font-size: .9375rem;
  font-weight: 560;
  color: var(--plum-700);
  text-decoration: underline;
  text-decoration-color: var(--lavender-300);
  text-underline-offset: .3em;
  text-decoration-thickness: 1px;
  padding-block: .25rem;
}
.service__link:hover { text-decoration-color: currentColor; }

@media (min-width: 48em) {
  .services__grid { grid-template-columns: 1fr 1fr; column-gap: 0; }
  .service { padding: 2.75rem 2.5rem 2.75rem 0; }
  .service:nth-child(odd) { border-right: 1px solid var(--line-strong); }
  .service:nth-child(even) { padding-left: 2.5rem; padding-right: 0; }
}
@media (min-width: 75em) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .service, .service:nth-child(even) { padding: 3rem 2.5rem; border-right: 1px solid var(--line-strong); }
  .service:nth-child(3n + 1) { padding-left: 0; }
  .service:nth-child(3n) { padding-right: 0; border-right: 0; }
  .service:nth-child(odd) { border-right: 1px solid var(--line-strong); }
  .service:nth-child(3n) { border-right: 0; }
}

.services__more {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.services__more-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--plum-900);
  margin-bottom: 1.5rem;
}
.services__more-grid { display: grid; gap: 1.5rem; }
.more-item { display: flex; gap: 1rem; }
.more-item__icon { color: var(--plum-600); margin-top: .1rem; }
.more-item__title { font-size: 1.0625rem; font-weight: 560; color: var(--plum-900); line-height: 1.35; }
.more-item p { margin-top: .3rem; color: var(--ink-muted); font-size: .975rem; }
@media (min-width: 48em) {
  .services__more-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

/* ==========================================================================
   E. About
   ========================================================================== */
.about { background: var(--tint); }
.about__inner { display: grid; gap: 3rem; align-items: center; }
.about__title { max-width: 14ch; margin-bottom: 2rem; }
.about__lead {
  font-size: var(--step-2);
  line-height: 1.4;
  font-weight: 460;
  color: var(--plum-900);
  margin-bottom: 1.5rem;
  max-width: 34rem;
}
.about__copy p + p { margin-top: 1rem; }
.about__copy p:not(.about__lead) { color: var(--ink); max-width: 36rem; }

.about__figure {
  aspect-ratio: 5 / 6;
  max-height: 34rem;
  overflow: hidden;
  border-radius: var(--radius);
}
.stairwell { width: 100%; height: 100%; }
.stairwell__bg { fill: var(--plum-700); }
.stairwell__lines { fill: none; stroke: var(--lavender-300); stroke-width: 1.25; stroke-linejoin: miter; }
.stairwell__rail { stroke: var(--lavender-200); stroke-width: 1; opacity: .55; }
.stairwell__wall { stroke-opacity: .25; }
.stairwell__landing { stroke-opacity: .35; stroke-dasharray: 2 6; }
.stairwell__window { fill: var(--lavender-200); fill-opacity: .14; stroke: var(--lavender-300); stroke-width: 1.25; }
.stairwell__mullion { stroke: var(--lavender-300); stroke-width: 1.25; fill: none; }
.stairwell__glint { stroke: var(--white); stroke-width: 1.5; stroke-linecap: round; opacity: .8; }

@media (min-width: 62em) {
  .about__inner { grid-template-columns: 1.15fr .85fr; gap: 6rem; }
}

/* ==========================================================================
   F. Why
   ========================================================================== */
.why { background: var(--white); }
.why__inner { display: grid; gap: 3rem; }
.why__head { display: grid; gap: 1.5rem; align-content: start; justify-items: start; }
.why__head .btn { margin-top: .5rem; }
.why__list { border-top: 1px solid var(--line-strong); }
.reason {
  display: grid;
  gap: .4rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line-strong);
}
.reason__title {
  position: relative;
  padding-left: 1.5rem;
  font-size: var(--step-1);
  font-weight: 560;
  line-height: 1.3;
  color: var(--plum-900);
}
.reason__title::before {
  content: "";
  position: absolute; left: 0; top: .45em;
  width: .5rem; height: .5rem;
  background: var(--sage);
  border-radius: 50%;
}
.reason p { padding-left: 1.5rem; color: var(--ink-muted); max-width: 36rem; }

@media (min-width: 62em) {
  .why__inner { grid-template-columns: .85fr 1.15fr; gap: 6rem; }
  .why__head { position: sticky; top: calc(var(--header-h) + 3rem); }
  .reason { grid-template-columns: 19rem 1fr; gap: 2rem; padding-block: 2rem; }
  .reason p { padding-left: 0; }
}

/* ==========================================================================
   G. Process
   ========================================================================== */
.process { background: var(--tint); }
.steps { display: grid; gap: 0; counter-reset: none; }
.step {
  position: relative;
  padding: 0 0 2.5rem 4.25rem;
}
.step::before {
  /* connecting line */
  content: "";
  position: absolute;
  left: 1.375rem; top: 3.25rem; bottom: .5rem;
  width: 1px;
  background: var(--line-strong);
}
.step:last-child { padding-bottom: 0; }
.step:last-child::before { display: none; }
.step__num {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--plum-700);
  border-radius: 50%;
  font-size: 1.125rem;
  font-weight: 560;
  color: var(--plum-700);
  background: var(--tint);
}
.step__title {
  font-size: var(--step-2);
  font-weight: 520;
  font-stretch: 92%;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--plum-900);
  padding-top: .35rem;
}
.step p { margin-top: .6rem; color: var(--ink-muted); max-width: 26rem; }

.process__cta {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}

@media (min-width: 62em) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
  .step { padding: 4.5rem 0 0 0; }
  .step::before {
    left: 3.75rem; right: -2.25rem;
    top: 1.375rem; bottom: auto;
    width: auto; height: 1px;
  }
}

/* ==========================================================================
   H. Contact
   ========================================================================== */
.contact { background: var(--white); border-top: 1px solid var(--line); }
.contact__inner { display: grid; gap: 3rem; }
.contact .section-title { max-width: 12ch; }
.contact__lead { margin-top: 1.5rem; font-size: var(--step-1); color: var(--ink-muted); max-width: 30rem; }
.contact__points { margin-top: 2rem; display: grid; gap: .85rem; }
.contact__points li { display: flex; gap: .75rem; align-items: flex-start; }
.contact__points .icon { width: 1.25rem; height: 1.25rem; color: var(--plum-700); margin-top: .2rem; }
.contact__card {
  margin-top: 2.5rem;
  padding: 1.5rem 1.6rem;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid; gap: .85rem;
  max-width: 26rem;
}
.contact__card-title { font-weight: 600; color: var(--plum-900); }
.contact__line { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink); line-height: 1.5; }
.contact__line .icon { width: 1.25rem; height: 1.25rem; color: var(--plum-700); margin-top: .1rem; }
.contact__line a { color: var(--plum-700); font-weight: 560; text-decoration: none; }
.contact__line a:hover { text-decoration: underline; text-underline-offset: .2em; }

.contact__form-wrap {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--plum-700);
  border-radius: 6px;
  padding: clamp(1.25rem, 4vw, 2.75rem);
  box-shadow: 0 24px 48px -32px rgba(72, 60, 120, .35);
}
@media (min-width: 62em) {
  .contact__inner { grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: start; }
  .contact__info { position: sticky; top: calc(var(--header-h) + 3rem); }
}

/* ---------- Form ---------- */
.form__hint { font-size: var(--step--1); color: var(--ink-muted); margin-bottom: 1.5rem; }
.form__grid { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .4rem; align-content: start; }
.field label { font-size: .9375rem; font-weight: 560; color: var(--plum-900); }
.req { color: var(--plum-600); }
.opt { font-weight: 400; color: var(--ink-muted); }

.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: .75rem .9rem;
  font-size: 1rem; /* ≥16px verhindert Zoom auf iOS */
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
  appearance: none;
}
.field textarea { resize: vertical; min-height: 8rem; line-height: 1.5; }
.field ::placeholder { color: #8D8896; }
.field input:not([type="checkbox"]):hover,
.field select:hover,
.field textarea:hover { border-color: var(--plum-400); }
.field input:not([type="checkbox"]):focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--plum-700);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--lavender-200);
}

.select { position: relative; }
.select::after {
  content: "";
  position: absolute; right: 1rem; top: 50%;
  width: .5rem; height: .5rem;
  border-right: 1.5px solid var(--plum-700);
  border-bottom: 1.5px solid var(--plum-700);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select select { padding-right: 2.5rem; cursor: pointer; }

.field--check {
  grid-template-columns: auto 1fr;
  column-gap: .75rem;
  align-items: start;
}
.field--check input {
  width: 1.25rem; height: 1.25rem;
  margin: .15rem 0 0;
  accent-color: var(--plum-700);
  cursor: pointer;
}
.field--check label { font-weight: 400; font-size: .925rem; color: var(--ink-muted); line-height: 1.5; }
.field--check label a { color: var(--plum-700); text-underline-offset: .2em; }
.field--check .field__error { grid-column: 2; }

.field__error { font-size: .875rem; color: var(--error); min-height: 0; }
.field__error:empty { display: none; }
.field.has-error input:not([type="checkbox"]),
.field.has-error select,
.field.has-error textarea { border-color: var(--error); background: #FDF7F7; }

.form__footer { margin-top: 1.75rem; }
.form__submit { width: 100%; }
.form__submit[disabled] { opacity: .7; cursor: progress; }

.form__status {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  font-size: .975rem;
  line-height: 1.5;
}
.form__status:focus { outline: none; }
.form__status.is-success { background: #EEF5F0; color: #24452E; border: 1px solid #C9DECF; }
.form__status.is-error { background: #FBF1F0; color: #7A2422; border: 1px solid #EBCBC9; }
.form__status a { color: inherit; font-weight: 600; }
.form__status strong { display: block; margin-bottom: .2rem; }

@media (min-width: 40em) {
  .form__grid { grid-template-columns: 1fr 1fr; column-gap: 1.25rem; }
  .field--full { grid-column: 1 / -1; }
  .form__submit { width: auto; }
}

/* ==========================================================================
   I. Footer
   ========================================================================== */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding-top: clamp(3.5rem, 7vw, 5rem);
  padding-bottom: calc(1.5rem + var(--mobile-cta-space, 0px));
  font-size: .95rem;
}
.footer__inner { display: grid; gap: 2.5rem; }
.footer__brand p { margin-top: 1.25rem; color: var(--ink-muted); max-width: 22rem; }
.footer__mail {
  display: inline-block;
  margin-top: 1rem;
  color: var(--plum-700);
  font-weight: 560;
  text-decoration: none;
}
.footer__mail:hover { text-decoration: underline; text-underline-offset: .2em; }
.footer__title { font-size: .9375rem; font-weight: 600; color: var(--plum-900); margin-bottom: 1rem; }
.footer__col ul { display: grid; gap: .55rem; }
.footer__col a { color: var(--ink-muted); text-decoration: none; }
.footer__col a:hover { color: var(--plum-700); text-decoration: underline; text-underline-offset: .2em; }
.footer__bottom {
  position: relative;
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-muted);
  font-size: .875rem;
}
.footer__bottom::before {
  content: "";
  position: absolute; top: 0;
  left: var(--gutter); right: var(--gutter);
  height: 1px; background: var(--line);
}
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { color: var(--ink-muted); }
.footer__legal a:hover { color: var(--plum-700); }

@media (min-width: 40em) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 62em) {
  .footer__inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; }
}

/* ==========================================================================
   Mobile CTA bar
   ========================================================================== */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: flex;
  gap: .5rem;
  padding: .625rem var(--gutter) calc(.625rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .3s var(--ease);
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta__main { flex: 1; }
.mobile-cta__mail {
  display: grid; place-items: center;
  width: 2.875rem; flex: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--plum-700);
  background: var(--white);
}
.mobile-cta__mail .icon { width: 1.25rem; height: 1.25rem; }
body.has-mobile-cta { --mobile-cta-space: 4.25rem; }
@media (min-width: 40em) {
  .mobile-cta { display: none; }
  body.has-mobile-cta { --mobile-cta-space: 0px; }
}

/* ==========================================================================
   Subpages (Impressum, Datenschutz, Danke, 404)
   ========================================================================== */
.page-hero {
  background: var(--tint);
  color: var(--plum-900);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 5vw, 3.5rem);
}
.page-hero h1 {
  font-size: var(--step-3);
  font-weight: 600;
  font-stretch: 88%;
  letter-spacing: -0.022em;
  line-height: 1.06;
}
.page-hero p { margin-top: 1rem; color: var(--ink-muted); max-width: 36rem; font-size: var(--step-1); }
.prose { padding-block: clamp(3rem, 6vw, 4.5rem) var(--section-y); }
.prose > * { max-width: 44rem; }
.prose h2 {
  margin-top: 2.75rem;
  font-size: var(--step-2);
  font-weight: 520;
  font-stretch: 92%;
  color: var(--plum-900);
  line-height: 1.25;
}
.prose h3 { margin-top: 1.75rem; font-size: 1.0625rem; font-weight: 600; color: var(--plum-900); }
.prose p, .prose ul { margin-top: .9rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; }
.prose li + li { margin-top: .35rem; }
.prose a { color: var(--plum-700); text-underline-offset: .2em; }
.placeholder {
  background: #FFF6DB;
  border-left: 3px solid #D6A520;
  padding: .1rem .35rem;
  font-weight: 500;
}
.notice {
  margin-top: 0;
  padding: 1rem 1.25rem;
  background: var(--lavender-100);
  border-left: 3px solid var(--plum-700);
  border-radius: var(--radius);
  font-size: .95rem;
}
.page-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn--ghost { border-color: var(--line-strong); color: var(--plum-700); background: transparent; }
.btn--ghost:hover { border-color: var(--plum-700); }

/* ==========================================================================
   Erweiterungen: Kicker, weitere Leistungen, Umfang, Zielgruppen,
   Inhaber, Einsatzgebiet, FAQ, Footer-Adresse
   ========================================================================== */
.hero__kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-bottom: 1.25rem;
  padding: .35rem .8rem .35rem .65rem;
  border: 1px solid var(--lavender-200);
  border-radius: 999px;
  background: var(--white);
  font-size: var(--step--1); font-weight: 560; color: var(--plum-700);
}
.hero__kicker::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--plum-700); }

.service__gains { margin-top: 1.25rem; }

.more { margin-top: clamp(3rem, 6vw, 4.5rem); }
.more__title { font-size: var(--step-1); font-weight: 600; color: var(--plum-900); margin-bottom: 1.5rem; }
.more__grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.more-item { display: flex; gap: 1rem; padding: 1.5rem; background: var(--white); }
.more-item__icon { color: var(--plum-700); margin-top: .15rem; }
.more-item__title { font-size: 1.0625rem; font-weight: 600; color: var(--plum-900); line-height: 1.35; }
.more-item p { margin-top: .3rem; color: var(--ink-muted); font-size: .975rem; }
.more-item--soon { background: var(--tint); }
.more-item--soon .more-item__icon { color: #6F9A7C; }
@media (min-width: 48em) { .more__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 75em) { .more__grid { grid-template-columns: repeat(3, 1fr); } }

.scope { background: var(--tint); }
.scope__inner { display: grid; gap: 2.5rem; }
.scope__head { display: grid; gap: 1.25rem; align-content: start; }
.scope__list { display: grid; gap: .25rem 2rem; }
.scope__list li {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .85rem 0; border-bottom: 1px solid var(--line-strong);
}
.scope__list .icon { width: 1.25rem; height: 1.25rem; color: var(--plum-700); margin-top: .15rem; }
@media (min-width: 48em) { .scope__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62em) { .scope__inner { grid-template-columns: .8fr 1.2fr; gap: 5rem; } }

.audience { background: var(--white); }
.audience__grid { display: grid; gap: 1.25rem; }
.aud {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}
.aud__icon { width: 2rem; height: 2rem; color: var(--plum-700); margin-bottom: 1.25rem; }
.aud__title { font-size: var(--step-1); font-weight: 600; color: var(--plum-900); line-height: 1.3; }
.aud p { margin-top: .5rem; color: var(--ink-muted); font-size: .975rem; }
@media (min-width: 48em) { .audience__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 75em) { .audience__grid { grid-template-columns: repeat(4, 1fr); } }

.owner { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-strong); max-width: 36rem; }
.about__copy .owner__name { font-size: var(--step-1); font-weight: 600; color: var(--plum-900); }
.about__copy .owner__role { margin-top: .2rem; color: var(--ink-muted); font-size: .95rem; }

.area { background: var(--white); }
.area__inner { display: grid; gap: 2.5rem; }
.area__inner .section-intro { margin-top: 1.25rem; }
.area__places { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.area__group { padding: 1.5rem; background: var(--white); }
.area__label { display: flex; align-items: center; gap: .55rem; font-size: 1.0625rem; font-weight: 600; color: var(--plum-900); }
.area__label::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--plum-700); }
.area__group p { margin-top: .4rem; color: var(--ink-muted); font-size: .975rem; }
@media (min-width: 62em) { .area__inner { grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: start; } }

.faq { background: var(--tint); }
.faq__inner { display: grid; gap: 2.5rem; }
.faq__head { display: grid; gap: 1.25rem; align-content: start; }
.faq__list { border-top: 1px solid var(--line-strong); }
.qa { border-bottom: 1px solid var(--line-strong); }
.qa summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0;
  font-size: var(--step-1); font-weight: 560; color: var(--plum-900);
  cursor: pointer; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .icon { width: 1.25rem; height: 1.25rem; color: var(--plum-700); transition: transform .25s var(--ease); }
.qa[open] summary .icon { transform: rotate(45deg); }
.qa p { padding: 0 2.5rem 1.4rem 0; color: var(--ink-muted); max-width: 40rem; }
@media (min-width: 62em) { .faq__inner { grid-template-columns: .8fr 1.2fr; gap: 5rem; } .faq__head { position: sticky; top: calc(var(--header-h) + 3rem); } }

.footer__address { margin-top: 1.25rem; font-style: normal; color: var(--ink-muted); line-height: 1.65; }
.footer__address .footer__mail { margin-top: .35rem; }

.trap { display: none !important; }
.contact__label { font-size: .85rem; color: var(--ink-muted); }
.mobile-menu__mail--2 { margin-top: .75rem; }
.footer__address .footer__tel { margin-top: .35rem; }
.footer__address .footer__tel + br + .footer__mail { margin-top: 0; }
.process__alt { color: var(--ink-muted); }

/* ==========================================================================
   Jobs
   ========================================================================== */
.job-hero .hero__kicker { margin-bottom: 1rem; }
.job-hero h1 { max-width: 20ch; }
.job-tags { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.job-tags li {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .85rem;
  background: var(--white); border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: .9375rem; color: var(--ink);
}
.job-tags .icon { width: 1.1rem; height: 1.1rem; color: var(--plum-700); }
.job-hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }

.jobs { background: var(--white); }
.job-grid { display: grid; gap: 1.25rem; }
.job-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line); border-radius: 6px; background: var(--white);
}
.job-card--accent { background: var(--tint); border-color: var(--line-strong); }
.job-card__icon { width: 2rem; height: 2rem; color: var(--plum-700); margin-bottom: 1.25rem; }
.job-card__title { font-size: var(--step-2); font-weight: 600; color: var(--plum-900); line-height: 1.2; letter-spacing: -0.01em; }
.job-list { margin-top: 1.25rem; display: grid; }
.job-list li {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .75rem 0; border-top: 1px solid var(--line);
}
.job-list .icon { width: 1.2rem; height: 1.2rem; color: var(--plum-700); margin-top: .2rem; flex: none; }
@media (min-width: 62em) { .job-grid { grid-template-columns: repeat(3, 1fr); } }

.apply__steps { margin-top: 2rem; display: grid; gap: 1.1rem; }
.apply__steps li { display: flex; gap: 1rem; align-items: flex-start; line-height: 1.45; }
.apply__steps strong { color: var(--plum-900); font-weight: 600; }
.apply__steps span:last-child { color: var(--ink-muted); }
.apply__num {
  flex: none; display: grid; place-items: center;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--plum-700); color: var(--white); font-weight: 600; font-size: .95rem;
}
.apply__note {
  margin-top: 1.5rem; display: flex; gap: .75rem; align-items: flex-start;
  padding: 1rem 1.1rem; background: var(--tint); border-radius: 6px;
  font-size: .9375rem; color: var(--ink-muted); line-height: 1.5;
}
.apply__note .icon { width: 1.2rem; height: 1.2rem; color: var(--plum-700); margin-top: .15rem; flex: none; }
.apply__note a { color: var(--plum-700); font-weight: 560; }
.apply .form__footer { margin-top: 1.5rem; }

.jobs-teaser { background: var(--tint); border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem); }
.jobs-teaser__inner { display: grid; gap: 1.75rem; align-items: center; }
.jobs-teaser__title { font-size: var(--step-2); font-weight: 600; color: var(--plum-900); line-height: 1.2; margin-top: .6rem; }
.jobs-teaser__text { margin-top: .6rem; color: var(--ink-muted); max-width: 38rem; }
@media (min-width: 48em) { .jobs-teaser__inner { grid-template-columns: 1fr auto; gap: 3rem; } }
