/* Rudolf Queins, Aachen — individueller Bau (demo-individuell, 30.08.2026)
   Design-Entscheidung: Swiss Modernism 2.0 (ui-ux-pro-max styles.csv #50: strenges Raster,
   viel Weißraum, ein Akzent) auf warmem Papierton, mit Maler-Signatur: Anstrich-Reveal der
   Headline, Farbkarten-Leiste am Hero-Foto, Farbkanten an den Leistungskarten. Akzent ist
   das tiefe Wandgrün aus dem echten Hero-Foto statt einer Katalogfarbe — hell und präzise,
   wie es CLAUDE.md für Handwerk verlangt, und bewusst weit weg von der Industrial-Stanze. */

@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;
  --paper: #f7f4ee;
  --panel: #fffdf9;
  --ink: #23211c;
  --ink-rgb: 35 33 28;
  --muted: #6b675c;
  --line: #e4ddd0;
  --green: #2f6650;
  --green-rgb: 47 102 80;
  --green-deep: #24503e;
  --green-soft: #e7ede5;
  --display: "Display", "Helvetica Neue", Arial, sans-serif;
  --sans: "Body", "Helvetica Neue", Arial, system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 400; line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--green-deep); text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 800px; }
.ic { width: 1.1em; height: 1.1em; vertical-align: -0.18em; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 60; }
.skip-link:focus { left: 12px; top: 12px; }

.demo-banner { background: var(--green-deep); color: #fff; text-align: center; padding: 7px 16px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.03em; position: relative; z-index: 30; }

/* ── Header: ruhige Leiste, dünne Linie ── */
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(247 244 238 / 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; flex-direction: column; line-height: 1.15; color: var(--ink); }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.015em; }
.brand-sub { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.main-nav { display: flex; gap: 22px; margin-left: auto; font-size: 14.5px; font-weight: 500; }
.main-nav a { color: var(--muted); padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--ink); border-bottom-color: var(--green); }

/* ── Buttons: Pillen, ein Akzent ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 26px; border-radius: 999px; font-family: var(--sans); font-weight: 700; font-size: 16px; border: 0; cursor: pointer; white-space: nowrap; transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease, color 140ms ease; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgb(var(--green-rgb) / 0.28); }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgb(var(--green-rgb) / 0.32); }
.btn-primary:active { transform: translateY(0); }
.btn-line { border: 1.5px solid rgb(var(--ink-rgb) / 0.3); color: var(--ink); background: transparent; font-weight: 600; }
.btn-line:hover { border-color: var(--green); color: var(--green-deep); }
.btn-small { padding: 9px 18px; font-size: 14px; }
.btn-big { padding: 17px 32px; font-size: 17px; }

/* ── Hero, radikal umgebaut nach Runde-2-Fund 1: Text zuerst in voller Breite, Foto als
   flacher Streifen darunter. Höhenrechnung, von der Viewport-Oberkante addiert —
   Desktop 1280×900: Demo-Banner ~34 + Header ~69 + Hero-Padding 36 + Kicker 21+12 = 33
   + H1 2 Zeilen à 59 = 118 (max-width 26ch bricht sauber nach „Aachen,") + Subline
   max. 3 Zeilen à 30 + 14 = 104 + CTA-Reihe 24+52 = 76 + Bewertungszeile 16+25 = 41
   → Unterkante Bewertung bei ~510px; sogar der Foto-Streifen (28 + 30vh = 270) endet
   bei ~808px, alles über der 900er-Falz.
   Mobil 390×844: Banner 2 Zeilen ~44 + Header ~69 + Padding 32 + Kicker 33 + H1 3×36 = 108
   + Subline 3×30 + 14 = 104 + gestapelte Knöpfe 20 + 52 + 14 + 44 = 130 + Bewertung
   2×25 + 16 = 66 → Unterkante Bewertung bei ~586px, deutlich über der 844er-Falz;
   der Sticky-Call unten überdeckt nur den Foto-Streifen, keinen Text. ── */
.hero { padding: 36px 0 0; }
.kicker { font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -0.022em; max-width: 26ch; }
/* Signatur 1: Anstrich-Reveal — über die grüne Grundfläche läuft beim Laden eine dunklere
   zweite Farbbahn. Die Grundfläche liegt als background-color IMMER unter dem weißen Text,
   damit er in jedem Zustand lesbar ist (auch wenn Animationen nicht laufen). */
.painted { background-color: var(--green); color: #fff; padding: 0.04em 0.18em; border-radius: 0.16em 0.3em 0.2em 0.26em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
html.js .painted { background-image: linear-gradient(var(--green-deep), var(--green-deep)); background-repeat: no-repeat; background-size: 0% 100%; background-position: 0 0; animation: paintIn 950ms cubic-bezier(0.45, 0, 0.2, 1) 350ms forwards; }
@keyframes paintIn { to { background-size: 100% 100%; } }
.hero .sub { margin-top: 14px; font-size: 18px; color: var(--muted); max-width: 52ch; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.rating-line { margin-top: 16px; font-size: 15px; color: var(--muted); }
.rating-line strong { color: var(--ink); }
.rating-line a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.stars-inline { color: var(--green); letter-spacing: 2px; }
.stars-inline em { font-style: normal; color: rgb(var(--ink-rgb) / 0.2); }
.star-frac { position: relative; display: inline-block; }
.star-frac::before { content: "★"; position: absolute; left: 0; top: 0; width: var(--f, 50%); overflow: hidden; color: var(--green); }

.hero-photo { position: relative; margin: 28px 0 0; }
/* Flacher Streifen, Fokus tief im Bild (Funde 1 und 2): so sind grüne Wand, Farbrolle und
   Maler im Ausschnitt — nicht die graue ungestrichene Fläche oben. Die feste Streifen-Höhe
   hält den Hero unter 85vh und darf unter die Falz laufen; die Kernaussagen stehen darüber. */
.hero-photo img { width: 100%; height: clamp(200px, 30vh, 320px); object-fit: cover; object-position: 50% 68%; border-radius: 10px; box-shadow: 0 22px 50px rgb(var(--ink-rgb) / 0.16); }
.foto-label { position: absolute; left: 14px; bottom: 14px; background: rgb(255 253 249 / 0.92); color: var(--muted); border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 11px; }
/* Signatur 2: Farbkarten-Reihe — liegt wie ein Farbfächer auf der Fotokante (dekorativ) */
.farbkarte { position: absolute; bottom: 14px; right: 14px; display: flex; gap: 5px; padding: 7px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 26px rgb(var(--ink-rgb) / 0.14); }
.farbkarte i { display: block; width: 34px; height: 22px; border-radius: 4px; background: var(--c); }

.fakten-row { display: flex; gap: 12px 40px; flex-wrap: wrap; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 36px; padding-top: 18px; padding-bottom: 18px; font-size: 13px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }

/* ── Sections: Raster, Folio-Nummern, dünne Linien ── */
.section { padding: 96px 0; border-top: 1px solid var(--line); scroll-margin-top: 84px; }
.hero + .section { border-top: 0; }
.folio { display: flex; align-items: baseline; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.folio span { font-family: var(--display); font-size: 15px; color: var(--green); letter-spacing: 0; }
.section h2 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.8vw, 46px); line-height: 1.08; letter-spacing: -0.018em; margin-bottom: 18px; max-width: 24ch; }
.section-intro { color: var(--muted); max-width: 58ch; margin-bottom: 44px; font-size: 17px; }
.section p + p { margin-top: 14px; }
.cta-inline { margin-top: 30px; }

/* Leistungen, nach Runde-2-Fund 5 aufgebrochen: drei Schwerpunkt-Karten mit Farbkante,
   der Rest als schlichte Linien-Zeilen — bewusst zwei verschiedene Bauformen. */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 30px 24px 24px; overflow: hidden; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.svc:hover { transform: translateY(-4px); border-color: rgb(var(--green-rgb) / 0.4); box-shadow: 0 14px 32px rgb(var(--ink-rgb) / 0.09); }
.svc-chip { position: absolute; top: 0; left: 0; right: 0; height: 7px; background: var(--c); }
.svc h3 { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; margin-bottom: 8px; }
.svc p { color: var(--muted); font-size: 15px; }
.svc-mehr { list-style: none; margin-top: 28px; }
.svc-mehr li { border-top: 1px solid var(--line); padding: 15px 2px; font-size: 15.5px; color: var(--muted); }
.svc-mehr li:last-child { border-bottom: 1px solid var(--line); }
.svc-mehr strong { color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 16.5px; margin-right: 12px; }

/* Anfrage-Band: großes typografisches Statement auf Grün — nur Belegbares
   (Review-Fund 6: kein inszeniertes 0-€-Preisversprechen mehr) */
.preis { background: var(--green); border-top: 0; color: #fff; }
.preis h2 { color: #fff; }
.preis .preis-line { font-size: clamp(40px, 6vw, 76px); max-width: none; letter-spacing: -0.025em; margin-bottom: 22px; }
.preis p { color: rgb(255 255 255 / 0.85); max-width: 56ch; }
.preis .btn-primary { background: #fff; color: var(--green-deep); box-shadow: 0 8px 22px rgb(0 0 0 / 0.18); }
.preis .btn-primary:hover { background: var(--paper); }

/* Ablauf: Zeitleiste an einer dünnen Linie */
.ablauf-list { list-style: none; counter-reset: schritt; margin-top: 8px; border-left: 2px solid var(--line); }
.ablauf-list li { counter-increment: schritt; position: relative; padding: 0 0 34px 40px; }
.ablauf-list li:last-child { padding-bottom: 0; }
.ablauf-list li::before { content: counter(schritt); position: absolute; left: -19px; top: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--paper); border: 2px solid var(--green); color: var(--green-deep); font-family: var(--display); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.ablauf-list h3 { font-family: var(--display); font-weight: 700; font-size: 18.5px; letter-spacing: -0.01em; margin-bottom: 4px; }
.ablauf-list p { color: var(--muted); font-size: 15.5px; max-width: 56ch; }

/* Galerie: editoriales Raster, Bildunterschriften UNTER dem Bild.
   6 Kacheln: das Hochformat (2) läuft über zwei Reihen, die letzte (6) über die volle Breite. */
.werk-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 34px 24px; }
.tile { margin: 0; display: flex; flex-direction: column; }
.tile img { width: 100%; object-fit: cover; border-radius: 8px; aspect-ratio: 16 / 10; }
.tile:nth-child(2) { grid-row: span 2; }
.tile:nth-child(2) img { aspect-ratio: auto; height: 100%; min-height: 0; flex: 1; }
.tile:nth-child(6) { grid-column: 1 / -1; }
.tile:nth-child(6) img { aspect-ratio: 21 / 8; }
.tile figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 8px; font-size: 13.5px; }
.tile figcaption span { font-weight: 600; }
.tile figcaption small { color: var(--muted); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.gallery-note { margin-top: 26px; font-size: 13.5px; color: var(--muted); }

/* FAQ: nur Linien, Plus/Minus */
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 19px 2px; font-weight: 600; font-size: 16.5px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--display); font-size: 24px; font-weight: 400; color: var(--green); flex: none; line-height: 1; transition: transform 160ms ease; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list .faq-a { padding: 0 2px 20px; color: var(--muted); font-size: 15.5px; max-width: 62ch; }
.faq-cta, .block-cta { margin-top: 22px; font-size: 15px; color: var(--muted); }
.faq-cta a, .block-cta a { font-weight: 700; }
.block-cta { margin-top: 30px; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; margin-top: 10px; }
.adr { font-size: 18px; line-height: 1.7; }
.adr-note { margin-top: 12px; color: var(--muted); max-width: 44ch; }
.contact-info p { margin-bottom: 12px; }
.tel-line a { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -0.01em; color: var(--green-deep); }
.maps-link { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.contact-cta { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 32px 30px; text-align: center; }
.contact-cta > p { color: var(--muted); margin-bottom: 20px; }
.contact-cta .small { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 0; }

/* ── Sticky Mobile Call (Pflicht) ── */
.sticky-call { position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 25; display: none; align-items: center; justify-content: center; gap: 9px; padding: 16px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 700; font-size: 16px; white-space: nowrap; box-shadow: 0 12px 32px rgb(var(--ink-rgb) / 0.32); }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--line); padding: 26px 0 34px; font-size: 13.5px; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.made-by { font-size: 12.5px; }

/* ── Scroll-Reveal (nur mit JS scharf — ohne Skript bleibt alles sichtbar) ── */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 550ms ease, transform 550ms ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* ── Tablet ── */
@media (max-width: 1000px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* ── Mobil ── */
@media (max-width: 860px) {
  .hero { padding-top: 32px; }
  .hero-photo { margin-top: 26px; }
  .hero-photo img { height: clamp(190px, 26vh, 260px); object-position: 50% 62%; }
  .farbkarte { right: 12px; bottom: 12px; padding: 6px; gap: 4px; }
  .farbkarte i { width: 28px; height: 18px; }
  .fakten-row { flex-direction: column; gap: 8px; margin-top: 34px; }
  .contact-grid { grid-template-columns: 1fr; }
  .werk-grid { grid-template-columns: 1fr; }
  .tile:nth-child(2) { grid-row: auto; }
  .tile:nth-child(2) img { aspect-ratio: 3 / 4; height: auto; }
  .tile:nth-child(6) { grid-column: auto; }
  .tile:nth-child(6) img { aspect-ratio: 16 / 10; }
}

@media (max-width: 760px) {
  .sticky-call { display: flex; }
  .main-nav { display: none; }
  .nav { justify-content: space-between; }
  /* Runde-2-Funde 1 und 7: Der grüne Anruf-Knopf bleibt am Handy im Hero SICHTBAR
     (vorher per display:none versteckt); beide Knöpfe gestapelt in voller Breite. */
  .cta-row { flex-direction: column; align-items: stretch; margin-top: 20px; }
  .cta-row .btn-line { padding: 11px 22px; }
  .section { padding: 68px 0; }
  .demo-banner { font-size: 11px; }
  body { font-size: 16.5px; }
  #kontakt { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
}

/* ── Reduced Motion: Anstrich steht sofort, keine Loops ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .painted { animation: none; background-image: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .svc { transition: none; }
  .svc:hover, .btn-primary:hover { transform: none; }
}
