/* ============================================================
   MiKaDa Reinigungsservice — Beschilderungs-Grammatik
   Weiß (Grund) · Grau (Architektur) · Signalrot (einzige Buntfarbe)
   ============================================================ */

/* Lokal eingebundene Schriften (DSGVO: kein Laden von Google-Servern) */

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-400.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-500.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
}

:root {
  /* Farben */
  --bg:        oklch(1 0 0);
  --ink:       oklch(0.22 0 0);
  --ink-soft:  oklch(0.42 0 0);
  --gray-050:  oklch(0.97 0 0);
  --gray-100:  oklch(0.94 0 0);
  --gray-200:  oklch(0.88 0 0);
  --gray-800:  oklch(0.28 0 0);
  --gray-900:  oklch(0.21 0 0);
  --red:       oklch(0.52 0.19 27);
  --red-deep:  oklch(0.45 0.17 27);
  --on-red:    oklch(1 0 0);
  --on-dark:   oklch(0.96 0 0);
  --on-dark-soft: oklch(0.80 0 0);

  /* Typografie */
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;

  /* Layout */
  --shell-max: 68rem;
  --shell-pad: clamp(1.25rem, 4vw, 2.5rem);

  /* Z-Skala */
  --z-skyline: 1;
  --z-content: 2;
  --z-header: 10;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset & Grundlagen ---------- */

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

html { scroll-behavior: smooth; }

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

img, svg { display: block; max-width: 100%; }

h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0 0 1em; max-width: 65ch; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--red); }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

.shell {
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--shell-pad);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out),
              border-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 1.15em; height: 1.15em; flex: none; }

.btn-red { background: var(--red); color: var(--on-red); }
.btn-red:hover { background: var(--red-deep); }

.btn-ghost { border-color: var(--gray-200); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

.btn-white { background: var(--on-red); color: var(--red-deep); }
.btn-white:hover { background: oklch(0.93 0 0); }

.btn-outline-white { border-color: oklch(1 0 0 / 0.55); color: var(--on-red); text-transform: none; }
.btn-outline-white:hover { border-color: oklch(1 0 0); background: oklch(1 0 0 / 0.08); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--bg);
  border-bottom: 1px solid var(--gray-100);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-plate {
  display: grid;
  place-items: center;
  min-width: 2.6rem;
  height: 2.6rem;
  padding-inline: 0.55rem;
  background: var(--red);
  color: var(--on-red);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-nav { margin-left: auto; }

.nav-list {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
}
.nav-list a:hover { color: var(--red); }

.header-tel {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.header-tel:hover { color: var(--red); }

.nav-toggle { display: none; }

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

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-inner {
  position: relative;
  z-index: var(--z-content);
  padding-block: clamp(1.5rem, 3vw, 2.75rem) clamp(14rem, 30vw, 19rem);
  text-align: center;
}

.hero-firm {
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.hero-motto {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7.5vw, 5.5rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  max-width: 18ch;
  margin-inline: auto;
}

.motto-red { color: var(--red); }

.hero-sub {
  margin: 1.5rem auto 0;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2.25rem;
}

.hero-note {
  margin-top: 1.1rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.skyline {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: var(--z-skyline);
  pointer-events: none;
}
.skyline svg { width: 100%; height: clamp(11rem, 26vw, 18.75rem); }

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

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.section-title-light { color: var(--on-dark); }

.section-lede {
  margin-top: 1.25rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

/* ---------- Leistungen ---------- */

.services { padding-block: clamp(4rem, 9vw, 7rem); }

.service {
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) 2fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--gray-200);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.service:first-of-type { margin-top: 0; border-top: none; padding-top: 0; }

.service-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.1;
  margin-top: 1rem;
}

.service-mark { width: 3rem; height: 3rem; }

.plain-list {
  list-style: none;
  margin: 1.25rem 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.plain-list li {
  padding-left: 1.4rem;
  position: relative;
}
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.55rem;
  height: 0.14rem;
  background: var(--red);
}

.service-note {
  font-size: 0.98rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* ---------- Anspruch / Checkliste ---------- */

.pledge {
  background: var(--gray-900);
  color: var(--on-dark);
  padding-block: clamp(4rem, 9vw, 7rem);
}

.pledge-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) 1.6fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.pledge-intro p { color: var(--on-dark-soft); margin-top: 1.25rem; }

.pledge-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.6rem;
}

.pledge-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pledge-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.15rem;
}

.pledge-list div { color: var(--on-dark-soft); }

.check {
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.2rem;
  border-radius: 3px;
  background: var(--red);
  position: relative;
}
.check::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.28rem;
  width: 0.5rem;
  height: 0.85rem;
  border-right: 3px solid var(--on-red);
  border-bottom: 3px solid var(--on-red);
  transform: rotate(40deg);
}

/* ---------- Über uns ---------- */

.about {
  background: var(--gray-050);
  padding-block: clamp(4rem, 9vw, 7rem);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.about-grid > div > p { margin-top: 1.25rem; color: var(--ink-soft); }
.about-grid > div > p:first-of-type { margin-top: 1.75rem; }

.area {
  background: var(--bg);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: clamp(1.5rem, 3vw, 2rem);
  align-self: start;
}

.area-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  text-transform: uppercase;
}

.area-lede { color: var(--ink-soft); margin-top: 0.5rem; font-size: 0.98rem; }

.area-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.area-list li {
  padding: 0.3rem 0.75rem;
  background: var(--gray-050);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

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

.contact {
  background: var(--red);
  color: var(--on-red);
  padding-block: clamp(4rem, 9vw, 7rem);
}

.contact-inner { text-align: center; }

.contact-lede {
  margin: 1.5rem auto 0;
  max-width: 48ch;
  font-size: 1.15rem;
  color: oklch(0.97 0.01 27);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2.25rem;
}

.contact-note {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: oklch(0.94 0.02 27);
}

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

.site-footer {
  background: var(--gray-900);
  color: var(--on-dark-soft);
  padding-block: 2.5rem;
  font-size: 0.95rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  line-height: 1.4;
}
.footer-brand strong { color: var(--on-dark); }

.footer-nav { display: flex; gap: 1.5rem; margin-left: auto; }
.footer-nav a { color: var(--on-dark-soft); }
.footer-nav a:hover { color: var(--on-dark); }

.footer-copy { margin: 0; width: 100%; color: oklch(0.62 0 0); }

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

.legal { padding-block: clamp(3rem, 7vw, 5rem); }
.legal h1 { margin-bottom: 1.5rem; }
.legal h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  margin: 2.25rem 0 0.5rem;
}
.legal p { color: var(--ink-soft); }

/* ---------- Reveal-Animationen (nur Verstärkung) ---------- */

.js .reveal {
  opacity: 1;
  transform: none;
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.js .reveal.is-hidden {
  opacity: 0;
  transform: translateY(1.25rem);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal.is-hidden {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn, .btn:hover { transform: none; transition: none; }
}

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

@media (max-width: 56rem) {
  .service { grid-template-columns: 1fr; gap: 1rem; }
  .pledge-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 44rem) {
  .header-tel { display: none; }

  .site-nav { position: static; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    padding: 0.45rem 0.8rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
  }

  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    content: "";
    display: block;
    width: 1rem;
    height: 2px;
    background: var(--ink);
    position: relative;
  }
  .nav-toggle-bars::before { position: absolute; top: -5px; }
  .nav-toggle-bars::after { position: absolute; top: 5px; }

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--gray-100);
    padding: 0.5rem var(--shell-pad) 1rem;
  }
  .site-header { position: sticky; }
  .header-row { position: relative; }
  .nav-list.is-open { display: flex; }
  .nav-list a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.1rem;
  }
}
