/* KlarRaum Gebäudereinigung — clean bright */
:root {
  --bg: #f5f8fb;
  --bg-pure: #ffffff;
  --surface: #ffffff;
  --text: #0f1c2a;
  --muted: #5a6b7d;
  --blue: #1d7ae0;
  --blue-deep: #135db3;
  --blue-soft: rgba(29, 122, 224, 0.1);
  --green: #1faa7a;
  --green-soft: rgba(31, 170, 122, 0.12);
  --line: #e2eaf2;
  --shadow: 0 12px 40px rgba(15, 28, 42, 0.08);
  --radius: 18px;
  --font: "Inter", system-ui, sans-serif;
  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --container: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--blue); }
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  background: var(--blue);
  color: #fff;
  padding: 0.6rem 1rem;
  font-weight: 600;
  border-radius: 10px;
}
.skip-link:focus { top: 1rem; }

.container { width: var(--container); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 248, 251, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--text);
}
.logo:hover { color: var(--text); }
.logo-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--blue), var(--green));
  color: #fff;
  display: grid;
  place-items: center;
}
.logo-mark svg { width: 1.15rem; height: 1.15rem; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.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);
}

.site-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bg-pure);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1rem 1.25rem 1.25rem;
  display: none;
}
.site-nav.is-open { display: block; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.site-nav a {
  display: block;
  padding: 0.65rem 0.85rem;
  text-decoration: none;
  font-weight: 500;
  border-radius: 10px;
}
.site-nav a:hover {
  background: var(--blue-soft);
  color: var(--blue-deep);
}
.nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  text-align: center;
  margin-top: 0.35rem;
}
.nav-cta:hover {
  background: var(--blue-deep) !important;
  color: #fff !important;
}

@media (min-width: 800px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    display: block;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }
  .site-nav a { padding: 0.45rem 0.8rem; }
  .nav-cta {
    margin-top: 0;
    margin-left: 0.5rem;
    padding-inline: 1.05rem !important;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); color: inherit; }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 24px rgba(29, 122, 224, 0.28);
}
.btn-primary:hover {
  background: var(--blue-deep);
  color: #fff;
}
.btn-secondary {
  background: var(--bg-pure);
  border-color: var(--line);
  color: var(--text);
}
.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.btn-ghost {
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}
.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.hero {
  position: relative;
  padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(3.5rem, 9vw, 5.5rem);
  overflow: hidden;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 85% 15%, rgba(29,122,224,0.12), transparent 60%),
    radial-gradient(ellipse 40% 45% at 10% 80%, rgba(31,170,122,0.1), transparent 55%);
  pointer-events: none;
}
.hero-layout {
  position: relative;
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .hero-layout {
    grid-template-columns: 1.2fr 0.85fr;
    align-items: center;
    gap: 3rem;
  }
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 0.85rem;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
  font-weight: 800;
}
.hero h1 span {
  color: var(--green);
  position: relative;
}
.hero-lead {
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 34rem;
  font-size: 1.08rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}
.hero-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.hero-pills li {
  padding: 0.35rem 0.75rem;
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
}
.hero-card-title {
  font-family: var(--display);
  font-size: 1.15rem;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.hero-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-card li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}
.hero-card li:first-child { border-top: 0; padding-top: 0; }
.hero-card strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.98rem;
}
.hero-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section-head {
  max-width: 38rem;
  margin-bottom: clamp(2rem, 5vw, 2.75rem);
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.8vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.65rem;
}
.section-head p:last-child {
  margin: 0;
  color: var(--muted);
}

.services {
  padding: clamp(3.5rem, 8vw, 5rem) 0;
  background: var(--bg-pure);
  border-block: 1px solid var(--line);
}
.service-grid {
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 760px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(29, 122, 224, 0.35);
}
.service-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.service-icon svg { width: 1.5rem; height: 1.5rem; }
.service-card:nth-child(2) .service-icon {
  background: var(--green-soft);
  color: var(--green);
}
.service-card h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.service-card > p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.service-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.service-card li {
  padding: 0.4rem 0 0.4rem 1rem;
  position: relative;
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.service-card:nth-child(2) li::before { background: var(--green); }

.quality {
  padding: clamp(3.5rem, 8vw, 5rem) 0;
}
.quality-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .quality-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 3rem;
  }
}
.quality-copy h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.8vw, 2.4rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}
.quality-copy > p {
  color: var(--muted);
  margin: 0 0 1.75rem;
}
.quality-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.quality-stats div {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 0.75rem;
  text-align: center;
}
.quality-stats strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--blue);
  letter-spacing: -0.02em;
}
.quality-stats span {
  font-size: 0.75rem;
  color: var(--muted);
}
.quality-panel {
  background: linear-gradient(160deg, #0f1c2a, #1a3550);
  color: #eef4fa;
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}
.quality-panel h3 {
  font-family: var(--display);
  margin: 0 0 1.25rem;
  font-size: 1.2rem;
}
.quality-panel ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.quality-panel li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.98rem;
}
.quality-panel li:first-child { border-top: 0; padding-top: 0; }
.quality-panel li span {
  font-family: var(--display);
  font-weight: 700;
  color: #6ec8ff;
  flex-shrink: 0;
}

.process {
  padding: clamp(3.5rem, 8vw, 5rem) 0;
  background: var(--bg-pure);
  border-top: 1px solid var(--line);
}
.steps {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
  position: relative;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.step-badge {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}
.step h3 {
  font-family: var(--display);
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cta {
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}
.cta-box {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue) 50%, #22b888);
  color: #fff;
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 16px 48px rgba(29, 122, 224, 0.28);
}
@media (min-width: 720px) {
  .cta-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.cta .eyebrow { color: rgba(255,255,255,0.8); }
.cta-copy h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.45rem;
}
.cta-copy p:last-child {
  margin: 0;
  opacity: 0.9;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  flex-shrink: 0;
}
.cta .btn-primary {
  background: #fff;
  color: var(--blue-deep);
  box-shadow: none;
}
.cta .btn-primary:hover {
  background: #f0f6ff;
  color: var(--blue-deep);
}

.site-footer {
  padding: 1.75rem 0 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}
.footer-inner p { margin: 0.15rem 0; }
.footer-inner strong { color: var(--text); }
.footer-meta { font-size: 0.82rem; }

.reveal {
  opacity: 1;
  transform: none;
}
.reveal.is-pending {
  opacity: 0;
  transform: translateY(28px);
}


/* KI image labeling */
.ki-media { position: relative; overflow: hidden; }
.ki-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ki-badge {
  position: absolute; right: 0.75rem; bottom: 0.75rem; z-index: 3;
  padding: 0.35rem 0.65rem; border-radius: 999px;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  background: rgba(10,10,12,0.78); color: #e8c56a; border: 1px solid rgba(232,197,106,0.45);
  pointer-events: none;
}

.hero-visual { border-radius: 1.25rem; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 20px 40px rgba(20,40,70,.12); }
@media (min-width: 960px) {
  .hero-layout { grid-template-columns: 1.1fr 0.9fr 0.85fr; align-items: stretch; }
}
.insights { padding: clamp(3.5rem,8vw,6rem) 0; }
.insights-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:1.25rem; }
.insight-card { margin:0; border-radius:1rem; overflow:hidden; aspect-ratio:16/10; background:#fff; box-shadow:0 12px 30px rgba(20,40,70,.08); }
.insight-card figcaption { position:absolute; left:1rem; bottom:2.75rem; font-weight:600; color:#1a2a3a; background:rgba(255,255,255,.85); padding:.35rem .65rem; border-radius:.5rem; }

/* ——— Demo → Agency back link (shared) ——— */
.demo-back {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.65rem 1.25rem;
  background: #1a1d21;
  color: #f2f3f5;
  text-decoration: none;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(95, 168, 211, 0.35);
  box-sizing: border-box;
}
.demo-back:hover,
.demo-back:focus-visible {
  background: #24282e;
  color: #7cb9e8;
  outline: none;
}
