/* =========================================================
   DITI'S REINIGUNGSSERVICE — global stylesheet
   ========================================================= */

/* Manrope — self-hosted variable font so it never depends on an external CDN */
@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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@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;
}

:root {
  /* One blue carries the brand. It replaced four near-identical shades
     that sat within a few percent of each other and of this one, close
     enough to read as inconsistency rather than as a palette. */
  --blue:        #015ee9;
  --cyan:        #01a8dc;
  --navy:        #1b234a;
  --slate:       #1e293b;
  --muted:       #31496d;
  --grey:        #9aa3ad;
  --light:       #e8f6ff;
  --white:       #ffffff;

  /* Neutrals for rules, borders and section tints. */
  --line:        #e3e8ee;
  --line-strong: #d5dce4;
  --tint:        #f3f6f9;

  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container:   1240px;
  --container-sm: 1000px;
  --container-xs: 998px;
  --container-md: 1100px;

  /* Header height. The mobile menu panel and anchor offsets key off it,
     so it lives here rather than being repeated as a magic number. */
  --header-h: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }

.container     { width: 100%; max-width: var(--container);    margin: 0 auto; padding: 0 24px; }
.container--sm { width: 100%; max-width: var(--container-sm); margin: 0 auto; padding: 0 24px; }
.container--xs { width: 100%; max-width: var(--container-xs); margin: 0 auto; padding: 0 24px; }
.container--md { width: 100%; max-width: var(--container-md); margin: 0 auto; padding: 0 24px; }
.container--split { width: 100%; max-width: 990px; margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  border: 0;
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.btn svg { width: 15px; height: 15px; fill: currentColor; flex: none; }

.btn--pill {
  background: #fff;
  color: var(--slate);
  padding: 17px 30px;
  border-radius: 999px;
}
.btn--pill:hover { background: var(--blue); color: #fff; }

.btn--blue {
  background: var(--blue);
  color: #fff;
  padding: 15px 26px;
  border-radius: 3px;
}
.btn--blue:hover { background: var(--navy); }

.btn--white {
  background: #fff;
  color: var(--blue);
  padding: 16px 26px;
  border-radius: 3px;
  font-weight: 600;
}
.btn--white:hover { background: var(--navy); color: #fff; }

/* ---------------------------------------------------------
   Header / navigation
   --------------------------------------------------------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 60;
  padding: 10px 0;
}
.site-header--solid {
  position: relative;
  background: var(--blue);
}

/* Sticky header. Once past the top it becomes fixed and parked just above
   the viewport; scrolling down slides it in, scrolling back up slides it
   away again. Transforming a fixed element beats replaying a keyframe:
   the movement can be interrupted and reversed mid-flight instead of
   restarting, which is what made the old one look abrupt. */
.site-header--stuck {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--blue);
  padding: 6px 0;
  transform: translateY(-100%);
  box-shadow: 0 10px 30px rgba(1, 44, 105, .22);
  transition:
    transform .42s cubic-bezier(.22, .61, .36, 1),
    padding .3s cubic-bezier(.22, .61, .36, 1);
}
.site-header--stuck.is-visible { transform: translateY(0); }
.site-header--stuck .site-header__logo img { height: 50px; }

/* The panel must not be off-screen while the menu is open -- and this has
   to clear the transform outright, not set it to zero. A transformed
   element becomes the containing block for its position: fixed
   descendants, so translateY(0) still makes the panel size itself against
   the 68px bar instead of the viewport, collapsing it to a sliver. */
.nav-open .site-header--stuck {
  transform: none;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .site-header--stuck { transition: none; }
}

.site-header__inner {
  max-width: var(--container-sm);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header__logo img {
  height: 60px;
  width: auto;
  transition: height .3s cubic-bezier(.22, .61, .36, 1);
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 9px 15px;
  border-radius: 8px;
  transition: background-color .25s ease;
}
/* Darkening the bar behind the link, rather than underlining it. */
.nav a:hover { background: rgba(0, 0, 0, .16); }
.nav a.is-current { background: rgba(0, 0, 0, .22); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle svg { width: 30px; height: 30px; fill: #fff; color: #fff; }

/* ---------------------------------------------------------
   Hero (home) — sliding background images
   --------------------------------------------------------- */
.hero {
  position: relative;
  height: 820px;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease-in-out, transform 7s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, .18);
}

.hero__content { text-align: center; color: #fff; padding: 0 24px; max-width: 1000px; }
.hero__eyebrow {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 18px;
  text-shadow: 0 1px 8px rgba(0,0,0,.25);
}
.hero__title {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 34px;
  text-shadow: 0 2px 14px rgba(0,0,0,.22);
}

/* ---------------------------------------------------------
   Generic sections
   --------------------------------------------------------- */
.section        { padding: 110px 0; }
.section--light { background: var(--light); }
.section--blue  { background: var(--blue); color: #fff; }
.section--tight { padding: 90px 0; }

.section-title--split {
  text-align: center;
  font-size: 33px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-title--split .accent { color: var(--cyan); }
.section-title--split .mute   { color: var(--grey); }

.section-title {
  text-align: center;
  font-size: 27px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 58px;
}

/* ---------------------------------------------------------
   Two column "Warum ... wählen?"
   --------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 427fr 394fr;
  gap: 74px;
  align-items: center;
}
.split__media img { width: 100%; height: 310px; object-fit: cover; }
.split__title {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
  letter-spacing: 0;
}
.split__text {
  font-size: 17px;
  color: #000;
  margin-bottom: 26px;
}

/* ---------------------------------------------------------
   Service cards
   --------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.card__media img {
  width: 100%;
  height: 258px;
  object-fit: cover;
  border-radius: 10px;
}
.card__title {
  font-size: 24px;
  font-weight: 500;
  color: var(--slate);
  margin: 22px 0 12px;
  letter-spacing: 0;
}
.card__text { font-size: 15px; color: var(--slate); }

.section__cta { text-align: center; margin-top: 60px; }

/* ---------------------------------------------------------
   Promo band — "Zuverlässige Reinigungslösungen"
   --------------------------------------------------------- */
.promo {
  position: relative;
  background: var(--light);
  padding: 120px 0;
  overflow: hidden;
}
.promo::before,
.promo::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.promo::before {
  width: 460px; height: 460px;
  top: -190px; right: -140px;
  background: radial-gradient(circle, rgba(1,168,220,.16), rgba(1,168,220,0) 70%);
}
.promo::after {
  width: 380px; height: 380px;
  bottom: -170px; left: -120px;
  background: radial-gradient(circle, rgba(1,94,233,.14), rgba(1,94,233,0) 70%);
}

.promo__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 92px;
  align-items: center;
}

.promo__media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 26px 60px rgba(1, 44, 105, .20);
}
.promo__title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.14;
  color: var(--navy);
  max-width: 540px;
}
.promo__rule {
  display: block;
  width: 52px; height: 4px;
  border-radius: 2px;
  background: var(--blue);
  margin: 26px 0 24px;
}
.promo__text {
  font-size: 16px;
  color: var(--muted);
  max-width: 540px;
}

.promo__points { margin: 32px 0 36px; display: grid; gap: 15px; }
.promo__points li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}
.promo__points svg {
  flex: none;
  box-sizing: border-box;
  width: 24px; height: 24px;
  padding: 6px;
  border-radius: 50%;
  background: var(--blue);
  fill: #fff;
}

/* ---------------------------------------------------------
   Icon statement
   --------------------------------------------------------- */
.statement {
  text-align: center;
  padding: 80px 0;
  background: var(--light);
}
.statement h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--slate);
  letter-spacing: -0.02em;
}

/* ---------------------------------------------------------
   Call band
   --------------------------------------------------------- */
.callband {
  position: relative;
  padding: 80px 0;
  text-align: center;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.callband__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
}
.callband::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--blue);
  opacity: .88;
}
.callband h2 {
  font-size: 27px;
  font-weight: 700;
  margin-bottom: 26px;
  letter-spacing: -0.01em;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.site-footer { padding: 80px 0 70px; background: #fff; }
.site-footer__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.15fr;
  gap: 50px;
  align-items: start;
}
.site-footer__logo { height: 62px; width: auto; margin-bottom: 44px; }
.site-footer h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 8px;
}
.site-footer p { font-size: 16px; color: var(--slate); margin-bottom: 22px; }
.site-footer p:last-child { margin-bottom: 0; }

.hours li { font-size: 16px; color: var(--slate); line-height: 1.75; }

.site-footer__map {
  border: 0;
  width: 100%;
  height: 250px;
  border-radius: 2px;
}

/* ---------------------------------------------------------
   Floating buttons
   --------------------------------------------------------- */
.to-top {
  position: fixed;
  left: 24px; bottom: 22px;
  z-index: 80;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue);
  border: 0; border-radius: 3px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease, background-color .25s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--navy); }
.to-top svg { width: 13px; height: 13px; fill: #fff; }

.whatsapp {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 80;
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  transition: transform .25s ease;
}
.whatsapp:hover { transform: scale(1.06); }
.whatsapp svg { width: 30px; height: 30px; fill: #fff; }

/* ---------------------------------------------------------
   Über uns
   --------------------------------------------------------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.about-split--reverse .about-split__media { order: -1; }
.about-split__media img { width: 100%; height: 360px; object-fit: cover; border-radius: 14px; }
.about-split h2 { font-size: 32px; font-weight: 700; margin-bottom: 22px; letter-spacing: -0.01em; }
.about-split p  { font-size: 17px; }
.about-split--blue-text h2, .about-split--blue-text p { color: var(--blue); }

/* Accordion */
.philosophy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
}
.philosophy h2 { font-size: 32px; font-weight: 700; color: var(--blue); margin-bottom: 20px; }
.philosophy p  { font-size: 17px; color: var(--blue); }


/* Wide blue statement */
.wide-statement { background: var(--blue); color: #fff; padding: 150px 0; }
.wide-statement h2 { font-size: 27px; font-weight: 700; letter-spacing: -0.01em; }
.wide-statement hr { border: 0; border-top: 1px solid rgba(255,255,255,.55); margin: 30px 0 34px; }
.wide-statement p  { font-size: 17px; }

/* ---------------------------------------------------------
   Leistungen — full width bands
   --------------------------------------------------------- */
.service-row {
  display: grid;
  grid-template-columns: minmax(0, 57fr) minmax(0, 43fr);
  align-items: stretch;
  background: var(--white);
}
.service-row--tint { background: var(--tint); }

.service-row__media {
  position: relative;
  overflow: hidden;
  min-height: 470px;
}
.service-row__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-row__num {
  position: absolute;
  top: 22px;
  left: 34px;
  z-index: 1;
  font-size: 86px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.03em;
  color: rgba(255, 255, 255, .82);
  /* Keeps the numeral readable over a bright photo without making it loud. */
  text-shadow: 0 2px 20px rgba(0, 0, 0, .38);
}

.service-row__body {
  display: flex;
  align-items: center;
  padding: 64px 68px;
}
.service-row__inner { max-width: 470px; }
.service-row h2 {
  font-size: 33px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.01em;
  line-height: 1.18;
}
.service-row hr {
  border: 0;
  border-top: 1px solid var(--line-strong);
  margin: 22px 0 24px;
}
.service-row ul {
  display: grid;
  gap: 13px;
  margin-bottom: 32px;
}
.service-row li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}
.service-row li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}
.service-row__lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 32px;
}

/* ---------------------------------------------------------
   Kontakt
   --------------------------------------------------------- */
/* The details sit above the form, in a row across the page. */
.contact-info {
  display: grid;
  /* Uneven on purpose: the address and the address-like email need more
     room than the name and the number, and equal columns broke the email
     across two lines mid-word. */
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.1fr) minmax(0, .75fr) minmax(0, 1.3fr);
  gap: 30px 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.contact-item { min-width: 0; }
.contact-item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 8px;
}
.contact-item span,
.contact-item a {
  display: block;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--slate);
  word-break: break-word;
}
.contact-item a { transition: color .2s ease; }
.contact-item a:hover { color: var(--blue); }
.contact-item__link {
  margin-top: 7px;
  font-size: 15px !important;
  font-weight: 600;
  color: var(--blue) !important;
}

.contact-hours { padding: 30px 0 42px; }
.contact-hours strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 16px;
}
.hours--week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}
.hours--week li { display: grid; gap: 3px; }
.hours--week li span:first-child {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate);
}
.hours--week li span:last-child {
  font-size: 15px;
  color: var(--muted);
}


/* Form */
.contact-formcard {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px 34px 30px;
  box-shadow: 0 18px 44px rgba(1, 44, 105, .07);
}
.contact-formcard h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}
.contact-form { display: grid; gap: 18px; }
.contact-form .field { display: grid; gap: 7px; }
.contact-form label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  color: var(--slate);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 13px 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea { height: 132px; resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--grey); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(1, 94, 233, .14);
}
/* Only flag a field once it has been filled in wrongly, never while empty
   and untouched. */
.contact-form input:not(:placeholder-shown):invalid,
.contact-form textarea:not(:placeholder-shown):invalid { border-color: #d4483b; }
.contact-form button { justify-self: start; margin-top: 4px; }
.contact-form__note {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--grey);
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero { height: 640px; }
  .hero__title { font-size: 42px; }
  .split, .cards, .about-split, .philosophy { grid-template-columns: 1fr; gap: 44px; }
  .about-split--reverse .about-split__media { order: 0; }
  .promo { padding: 90px 0; }
  .promo__grid { grid-template-columns: 1fr; gap: 64px; }
  .promo__media img { height: 400px; }
  .promo__title, .promo__text { max-width: none; }
  .promo__title { font-size: 34px; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .contact-info { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 26px; }
  .hours--week { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-formcard { padding: 26px 22px 24px; }
  .service-row { grid-template-columns: 1fr; }
  .service-row__media { min-height: 300px; }
  .service-row__body { padding: 44px 24px 52px; }
  .service-row__inner { max-width: none; }
  .service-row h2 { font-size: 27px; }
  .service-row__num { font-size: 62px; top: 16px; left: 22px; }
}

@media (max-width: 860px) {
  /* Full-screen panel rather than a dropdown. Kept in the DOM and
     hidden with visibility so opening and closing can be transitioned;
     display cannot be. */
  .nav {
    position: fixed;
    /* Starts below the header bar. The panel is a descendant of
       .site-header, so it would otherwise paint over its own logo and
       close button no matter what z-index they were given. */
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 10px 26px 48px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity .32s ease,
      transform .32s cubic-bezier(.22, .61, .36, 1),
      visibility .32s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav a {
    width: 100%;
    padding: 26px 34px 26px 2px;
    font-size: 22px;
    font-weight: 400;
    color: var(--slate);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: none;
  }
  .nav a:hover { background: rgba(0, 0, 0, .035); }
  .nav a.is-current { color: var(--blue); background: none; }
  /* chevron, drawn rather than added to the markup */
  .nav a::before {
    content: '';
    position: absolute;
    right: 6px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid var(--grey);
    border-right: 2px solid var(--grey);
    transform: translateY(-50%) rotate(45deg);
  }
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .site-header__logo img { height: 50px; }
  /* The bar keeps one height on mobile. The menu panel is positioned from
     it, and a shrinking header would drag a gap along behind the panel. */
  .site-header--stuck .site-header__logo img { height: 50px; }
  .site-header--stuck { padding: 9px 0; }
  .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; }
  /* the panel is white, so the bar behind the logo must stay solid */
  .nav-open .site-header { background: var(--blue); }
  .nav-open   .site-header { padding: 9px 0; }
  .site-header__inner { position: relative; }
}

@media (max-width: 640px) {
  .contact-info { grid-template-columns: 1fr; gap: 22px; }
  .hours--week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section, .section--tight { padding: 70px 0; }
  .statement, .wide-statement { padding: 90px 0; }
  .hero { height: 560px; }
  .hero__title { font-size: 32px; }
  .hero__eyebrow { font-size: 15px; }
  .section-title--split { font-size: 26px; }
  .promo__title { font-size: 28px; }
  .promo__media img { height: 300px; }
  .about-split h2, .philosophy h2 { font-size: 26px; }
  .statement h2 { font-size: 24px; }
  .callband h2, .section-title, .wide-statement h2 { font-size: 22px; }
  .site-footer__inner { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   Motion — scroll reveals, page transitions, micro-interactions

   The reveal rules are gated on the `js` class that an inline
   snippet in <head> sets, so a visitor without JavaScript still
   gets the whole page with nothing left invisible. That snippet
   also drops the class again if main.js never reports back.
   --------------------------------------------------------- */

/* ---- Scroll reveal -------------------------------------------------
   Keep this selector list in sync with REVEAL_SELECTOR in main.js.

   The list is wrapped in :where() so it carries no specificity of its
   own. Without that, a three-class selector such as
   `.js .statement > .container` outranks `.js .is-revealed`
   and the element stays invisible even once it has been revealed.
   A browser too old for :where() drops the rule entirely, which shows
   the page unanimated rather than blank. */
.js :where(
  .section-title,
  .split,
  .card,
  .about-split,
  .philosophy,
  .contact-item,
  .hours,
  .section__cta,
  .statement > .container,
  .callband > .container,
  .wide-statement > .container,
  .wide-statement > .container--xs,
  .service-row__body
) {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .7s cubic-bezier(.22, .61, .36, 1),
    transform .7s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .is-revealed {
  opacity: 1;
  transform: none;
}

/* ---- Page transitions ----------------------------------------------
   Opacity only: a transform on <body> would become the containing
   block for the fixed header, WhatsApp bubble and back-to-top button. */
.js body { animation: page-enter .5s ease both; }
@keyframes page-enter {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---- Hero entrance -------------------------------------------------- */
.js .hero__eyebrow,
.js .hero__title,
.js .hero__content .btn {
  animation: hero-rise .9s cubic-bezier(.22, .61, .36, 1) both;
}
.js .hero__eyebrow      { animation-delay: .15s; }
.js .hero__title        { animation-delay: .3s; }
.js .hero__content .btn { animation-delay: .5s; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* ---- Buttons -------------------------------------------------------- */
.btn {
  transition:
    background-color .25s ease,
    color .25s ease,
    transform .2s cubic-bezier(.22, .61, .36, 1),
    box-shadow .25s ease;
}
.btn:hover  { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(16, 42, 67, .16); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn svg    { transition: transform .25s cubic-bezier(.22, .61, .36, 1); }
.btn:hover svg { transform: translateX(4px); }

/* ---- Service cards --------------------------------------------------- */
.card { transition: transform .35s cubic-bezier(.22, .61, .36, 1); }
.card:hover { transform: translateY(-6px); }
.card__media { overflow: hidden; border-radius: 10px; }
.card__media img { transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.card:hover .card__media img { transform: scale(1.06); }

/* ---- Other hover targets --------------------------------------------- */

.split__media img,
.about-split__media img,
.service-row__media img { transition: transform .7s cubic-bezier(.22, .61, .36, 1); }
.service-row:hover .service-row__media img { transform: scale(1.04); }
.split:hover .split__media img,
.about-split:hover .about-split__media img { transform: scale(1.04); }
.split__media,
.about-split__media { overflow: hidden; border-radius: 14px; }


/* ---- Keyboard focus --------------------------------------------------- */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Smooth in-page scrolling ------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---- Reduced motion ----------------------------------------------------
   Anyone who asks for less motion gets the finished state immediately,
   never a hidden or half-transitioned element. */
@media (prefers-reduced-motion: reduce) {
  .js .section-title,
  .js .split,
  .js .card,
  .js .about-split,
  .js .philosophy,
  .js .contact-item,
  .js .hours,
  .js .section__cta,
  .js .statement > .container,
  .js .callband > .container,
  .js .wide-statement > .container,
  .js .wide-statement > .container--xs,
  .js .service-row__body {
    opacity: 1 !important;
    transform: none !important;
  }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Mobile menu ------------------------------------------------------
   The panel itself transitions (see the 860px block above); this only
   stops the page behind it from scrolling while it is open. */
.nav-open,
.nav-open body { overflow: hidden; }

/* ---------------------------------------------------------
   Sub-bar — a slim contextual bar beneath the main nav that
   names the page, offers a jump list of its sections, and
   keeps the phone number one tap away.
   --------------------------------------------------------- */
.subbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.subbar__inner {
  max-width: var(--container-sm);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.subbar__left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.subbar__title {
  font-size: 19px;
  font-weight: 500;
  color: var(--slate);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.subbar__action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 500;
  color: var(--slate);
  white-space: nowrap;
  transition: color .25s ease;
}
.subbar__action svg { width: 15px; height: 15px; fill: var(--cyan); flex: none; }
.subbar__action:hover { color: var(--blue); }


/* Anchored sections must clear the sticky header when jumped to. */
[id]:target { scroll-margin-top: calc(var(--header-h) + 28px); }

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .subbar__inner { min-height: 58px; gap: 12px; }
  .subbar__title { font-size: 16px; }
  .subbar__action { font-size: 0; gap: 0; }
  .subbar__action svg { width: 19px; height: 19px; }
}

/* ---------------------------------------------------------
   Über uns — page intro, flipped row, values
   --------------------------------------------------------- */
.service-row--flip .service-row__media { order: 2; }

.page-intro {
  background: var(--light);
  padding: 88px 0 92px;
}
.page-intro__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.page-intro h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.015em;
  color: var(--navy);
  max-width: 780px;
}
.page-intro__text {
  margin-top: 22px;
  max-width: 700px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

.values-lead {
  max-width: 620px;
  margin: 0 auto 52px;
  text-align: center;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}
.value-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px 32px 36px;
  transition:
    transform .32s cubic-bezier(.22, .61, .36, 1),
    box-shadow .32s ease,
    border-color .32s ease;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(1, 44, 105, .12);
  border-color: var(--line-strong);
}
.value-card__num {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--cyan);
  margin-bottom: 18px;
}
.value-card h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.value-card p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

@media (max-width: 900px) {
  /* the flip only matters while the row is side by side */
  .service-row--flip .service-row__media { order: 0; }
  .value-cards { grid-template-columns: 1fr; gap: 18px; }
  .page-intro { padding: 60px 0 64px; }
  .page-intro h1 { font-size: 30px; }
}

/* ---------------------------------------------------------
   Legal pages (Impressum, Datenschutz)
   --------------------------------------------------------- */
.legal h2 {
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  margin: 38px 0 12px;
}
.legal h2:first-of-type { margin-top: 0; }
.legal p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--muted);
}
.legal a { color: var(--blue); text-decoration: underline; }

/* Footer legal links */
.site-footer__legal {
  /* Sits beside .site-footer__inner rather than inside its grid, so it has
     to repeat that container's width and gutter or it hugs the viewport
     edge while the rest of the footer stays indented. */
  max-width: 1320px;
  margin: 34px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(30, 41, 59, .12);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14.5px;
}
.site-footer__legal a { color: var(--muted); transition: color .2s ease; }
.site-footer__legal a:hover { color: var(--blue); }

