/* Maler & mehr Hardy Schlüter, Aachen-Brand — individuell gebaut (nicht gestanzt).
   Designidee: „Vielseitigkeit als Ordnung“. Acht belegte Leistungsfelder stehen
   gleichwertig in einem strengen Raster auf einer kräftigen Kobaltfläche. */

@font-face { font-family: "Display"; src: url("display.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Body"; src: url("body.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  color-scheme: light;
  --display: "Display", "Helvetica Neue", Arial, sans-serif;
  --sans: "Body", "Helvetica Neue", Arial, system-ui, sans-serif;

  --paper: #f7f6f3;
  --panel: #ffffff;
  --ink: #14161a;
  --muted: #5b6068;
  --line: #e3e1db;
  --blau: #1c46c8;
  --blau-dark: #12309a;
  --blau-tief: #10245e;

  --f1: #b23a2c;
  --f2: #d18a28;
  --f3: #8a8f2b;
  --f4: #2e7d6b;
  --f5: #2c6ba8;
  --f6: #3f4c8c;
  --f7: #7a4a78;
  --f8: #6b6259;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, .num, .brand { font-family: var(--display); letter-spacing: -0.02em; }
p { hyphens: auto; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 720px; }

/* ── Farbleiste: acht Töne, ein Betrieb (Signatur der Seite) ── */
.farbleiste { display: flex; height: 7px; }
.farbleiste span { flex: 1; }
.farbleiste span:nth-child(1) { background: var(--f1); }
.farbleiste span:nth-child(2) { background: var(--f2); }
.farbleiste span:nth-child(3) { background: var(--f3); }
.farbleiste span:nth-child(4) { background: var(--f4); }
.farbleiste span:nth-child(5) { background: var(--f5); }
.farbleiste span:nth-child(6) { background: var(--f6); }
.farbleiste span:nth-child(7) { background: var(--f7); }
.farbleiste span:nth-child(8) { background: var(--f8); }

/* ── Demo-Banner (bei Live-Schaltung entfernen) ── */
.demo-banner {
  background: var(--ink); color: #f4f4f2; text-align: center;
  font-size: 12.5px; letter-spacing: 0.04em; padding: 9px 16px; text-transform: uppercase;
}

/* ── Kopf ── */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgb(247 246 243 / 0.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.brand { font-weight: 700; font-size: 19px; line-height: 1.15; margin-right: auto; }
.brand small { display: block; font-family: var(--sans); font-weight: 500; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.main-nav { display: flex; gap: 24px; font-size: 14.5px; font-weight: 500; }
.main-nav a { color: var(--muted); padding-block: 6px; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--ink); border-bottom-color: var(--blau); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 16px;
  padding: 15px 24px; border-radius: 2px; border: 2px solid transparent;
  transition: transform 140ms ease, background-color 140ms ease, color 140ms ease;
}
.btn .ic { width: 19px; height: 19px; flex: none; }
.btn-primary { background: var(--blau); color: #fff; }
.btn-primary:hover { background: var(--blau-dark); transform: translateY(-2px); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn-small { padding: 11px 18px; font-size: 15px; }
.header-call .kurz { display: none; }

/* ── Hero ── */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 50px; align-items: center; }
.kicker { font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blau); font-weight: 700; margin-bottom: 18px; }
h1 { font-size: clamp(37px, 4.9vw, 60px); font-weight: 700; line-height: 1.04; }
h1 .zeile2 { display: block; color: var(--blau); }
.hero p.sub { font-size: clamp(17px, 1.5vw, 19.5px); color: #3a3e45; margin-top: 22px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.fakten { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.fakten b { color: var(--ink); font-weight: 700; }
.quelle { font-size: 12.5px; color: #8a8f97; }

.hero-bild { position: relative; }
.hero-bild img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.bildnote {
  position: absolute; left: 0; bottom: 0;
  background: var(--ink); color: #f4f4f2;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 7px 12px;
}
.hero-bild::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 2px solid var(--blau); z-index: -1;
}

/* ── Das Raster ── */
.raster-block { background: var(--blau); color: #fff; padding: 76px 0 84px; }
.raster-kopf { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.raster-kopf h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; line-height: 1.04; }
.raster-kopf p { max-width: 30em; color: rgb(255 255 255 / 0.82); font-size: 15.5px; }

.raster {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgb(255 255 255 / 0.28);
  border-left: 1px solid rgb(255 255 255 / 0.28);
}
.zelle {
  border-right: 1px solid rgb(255 255 255 / 0.28);
  border-bottom: 1px solid rgb(255 255 255 / 0.28);
  aspect-ratio: 1 / 1; padding: 20px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
  transition: background-color 180ms ease, color 180ms ease;
}
.zelle .kopf { display: flex; align-items: center; gap: 9px; }
.zelle .num { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; color: rgb(255 255 255 / 0.72); }
.zelle .feld { font-family: var(--display); font-weight: 700; font-size: clamp(19px, 1.85vw, 27px); line-height: 1.08; letter-spacing: -0.02em; hyphens: auto; overflow-wrap: break-word; }
.zelle .chip { width: 22px; height: 10px; }
.zelle-leistung:hover { background: #fff; color: var(--blau); }
.zelle-leistung:hover .num { color: rgb(28 70 200 / 0.6); }

.zelle-bild { padding: 0; }
.zelle-bild img { width: 100%; height: 100%; object-fit: cover; }
.zelle-bild .marke {
  position: absolute; left: 0; bottom: 0; background: var(--ink); color: #f4f4f2;
  font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 10px;
}
.zelle-cta { background: #fff; color: var(--blau); }
.zelle-cta .feld { font-size: clamp(18px, 1.6vw, 23px); }
.zelle-cta .tel { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 1.9vw, 26px); letter-spacing: -0.01em; }
.zelle-cta small { display: block; font-size: 13px; color: #4a4f57; margin-top: 4px; line-height: 1.4; }
.zelle-cta:hover { background: var(--blau-tief); color: #fff; }
.zelle-cta:hover small { color: rgb(255 255 255 / 0.75); }

.raster-fuss { margin-top: 24px; font-size: 14px; color: rgb(255 255 255 / 0.78); max-width: 46em; }

/* ── Abschnitte ── */
.section { padding: 76px 0; }
.section-hell { background: var(--panel); border-block: 1px solid var(--line); }
.section h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; line-height: 1.08; }
.section .lead { margin-top: 18px; color: #3a3e45; font-size: 18px; max-width: 36em; }

.zwei { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: start; }
.anruf-hilfe { margin-top: 56px; padding-top: 34px; border-top: 1px solid var(--line); }
.anruf-hilfe h3 { font-family: var(--display); font-size: 21px; font-weight: 700; margin-bottom: 12px; }
.drei { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.schritt { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 18px 0 0; border-top: 2px solid var(--blau); }
.schritt .n { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--blau); }
.schritt h4 { font-size: 17.5px; font-weight: 700; }
.schritt p { color: var(--muted); font-size: 15.5px; margin-top: 5px; }
.schritt a { font-weight: 600; border-bottom: 2px solid rgb(28 70 200 / 0.28); hyphens: none; overflow-wrap: anywhere; }
.schritt a:hover { border-bottom-color: var(--blau); }
.nowrap { white-space: nowrap; }

.karte { background: var(--paper); border: 1px solid var(--line); padding: 30px; }
.section-hell .karte { background: var(--paper); }
.karte h3 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.zeile { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.zeile:last-child { border-bottom: 0; }
.zeile span:first-child { min-width: 96px; color: var(--muted); font-size: 14.5px; padding-top: 2px; }
.zeile a { font-weight: 600; border-bottom: 2px solid rgb(28 70 200 / 0.28); }
.zeile a:hover { border-bottom-color: var(--blau); }

/* ── Kontakt-Abschluss ── */
.kontakt { background: var(--ink); color: #f2f2ef; padding: 80px 0; }
.kontakt h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; line-height: 1.06; }
.kontakt p { color: rgb(242 242 239 / 0.76); margin-top: 18px; max-width: 34em; }
.kontakt .cta-row { margin-top: 32px; }
.kontakt .btn-ghost { border-color: rgb(242 242 239 / 0.5); color: #f2f2ef; }
.kontakt .btn-ghost:hover { background: #f2f2ef; color: var(--ink); }
.kontakt-fakten { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgb(242 242 239 / 0.18); display: flex; flex-wrap: wrap; gap: 8px 30px; font-size: 14.5px; color: rgb(242 242 239 / 0.7); }

/* ── Fuß ── */
.site-footer { padding: 26px 0 34px; font-size: 13.5px; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; }
.site-footer a:hover { color: var(--ink); }

/* ── Sticky-Anruf (mobil) ── */
.sticky-call {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  display: none; align-items: center; justify-content: center; gap: 10px;
  padding: 16px; border-radius: 2px; background: var(--blau); color: #fff;
  font-weight: 700; font-size: 16px; box-shadow: 0 12px 30px rgb(16 36 94 / 0.35);
}
.sticky-call .ic { width: 19px; height: 19px; }

/* ── Reveal ── */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .raster .zelle { opacity: 0; transform: translateY(14px); transition: opacity 480ms ease, transform 480ms ease, background-color 180ms ease, color 180ms ease; }
.js .raster.in .zelle { opacity: 1; transform: none; }
.js .raster.in .zelle:nth-child(1) { transition-delay: 0ms; }
.js .raster.in .zelle:nth-child(2) { transition-delay: 45ms; }
.js .raster.in .zelle:nth-child(3) { transition-delay: 90ms; }
.js .raster.in .zelle:nth-child(4) { transition-delay: 135ms; }
.js .raster.in .zelle:nth-child(5) { transition-delay: 180ms; }
.js .raster.in .zelle:nth-child(6) { transition-delay: 225ms; }
.js .raster.in .zelle:nth-child(7) { transition-delay: 270ms; }
.js .raster.in .zelle:nth-child(8) { transition-delay: 315ms; }
.js .raster.in .zelle:nth-child(9) { transition-delay: 360ms; }
.js .raster.in .zelle:nth-child(10) { transition-delay: 405ms; }
.js .raster.in .zelle:nth-child(11) { transition-delay: 450ms; }
.js .raster.in .zelle:nth-child(12) { transition-delay: 495ms; }

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

/* ── Rechtsseiten ── */
.rechtstext h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 22px; }
.rechtstext h3 { font-size: 18px; font-weight: 700; }
.rechtstext p { margin-bottom: 12px; }

/* ── Umbruch ── */
@media (max-width: 1040px) {
  .hero-grid { gap: 38px; }
  .zwei { gap: 36px; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .hero { padding: 44px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-bild::after { inset: 10px -10px -10px 10px; }
  .zwei { grid-template-columns: 1fr; gap: 34px; }
  .drei { grid-template-columns: 1fr; gap: 22px; }
  .anruf-hilfe { margin-top: 38px; }
  .raster { grid-template-columns: repeat(2, 1fr); }
  .zelle { padding: 16px; }
  .zelle-bild, .zelle-cta { grid-column: span 2; aspect-ratio: 16 / 9; }
  .zelle-cta { aspect-ratio: auto; padding: 24px 16px; gap: 14px; }
  /* Zwei Spalten: Bild-Kacheln so einsortieren, dass keine Lücken entstehen. */
  .raster .zelle:nth-child(1) { order: 1; }
  .raster .zelle:nth-child(2) { order: 2; }
  .raster .zelle:nth-child(3) { order: 4; }
  .raster .zelle:nth-child(4) { order: 3; }
  .raster .zelle:nth-child(5) { order: 6; }
  .raster .zelle:nth-child(6) { order: 5; }
  .raster .zelle:nth-child(7) { order: 7; }
  .raster .zelle:nth-child(8) { order: 8; }
  .raster .zelle:nth-child(9) { order: 9; }
  .raster .zelle:nth-child(10) { order: 10; }
  .raster .zelle:nth-child(11) { order: 11; }
  .raster .zelle:nth-child(12) { order: 12; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .container { width: min(1180px, 100% - 32px); }
  .section, .raster-block { padding: 54px 0 58px; }
  .kontakt { padding: 58px 0; }
  .nav { min-height: 62px; gap: 12px; }
  .brand { font-size: 16.5px; white-space: nowrap; }
  .brand small { font-size: 10px; letter-spacing: 0.1em; white-space: nowrap; }
  .header-call { padding: 11px 15px; font-size: 14.5px; }
  .header-call .nummer { display: none; }
  .header-call .kurz { display: inline; }
  .kicker { font-size: 11.5px; letter-spacing: 0.12em; }
  .hero .cta-row .btn, .kontakt .cta-row .btn { width: 100%; }
  .zelle-leistung { aspect-ratio: 4 / 3.4; }
  .zelle .feld { font-size: 17.5px; }
  .zelle-bild { aspect-ratio: 16 / 10; }
  .zelle-cta { aspect-ratio: auto; }
  .sticky-call { display: flex; }
  .site-footer { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .footer-row { flex-direction: column; gap: 8px; }
  .zeile { flex-direction: column; gap: 2px; }
  .zeile span:first-child { min-width: 0; }
}
