/* ==========================================================================
   NordWest Außenreinigung — Design System
   Farbwelt: warmes Anthrazit, Papierweiß, gedecktes Petrolgrün
   Typografie: Schibsted Grotesk (Headlines) / Inter (Fließtext)
   Leitmotiv: die "Dachlinie" — ein diagonaler Schnitt als Struktur-Element,
   das auf das Kernhandwerk (Dach) verweist, sparsam eingesetzt.
   ========================================================================== */

:root{
  --ink: #12181a;          /* warmes Anthrazit statt Pur-Schwarz */
  --ink-soft: #29343652;
  --paper: #f6f5f1;        /* Papierweiß, kein Stock-Weiß */
  --surface: #ececE5;      /* Karten-Untergrund */
  --surface-dark: #1c2426;
  --line: #dcd9d0;
  --line-dark: #34403f;
  --accent: #2f6f5e;       /* Petrolgrün */
  --accent-dim: #24564a;
  --accent-soft: #e4ece9;
  --muted: #57615f;
  --radius: 2px;
  --max: 1200px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:88px; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
}

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:'Schibsted Grotesk', 'Inter', sans-serif;
  font-weight:600;
  line-height:1.12;
  margin:0 0 .5em;
  letter-spacing:-0.01em;
  color:var(--ink);
}
h1{ font-size:clamp(2.3rem, 5.2vw, 4rem); font-weight:650; }
h2{ font-size:clamp(1.7rem, 3.4vw, 2.5rem); }
h3{ font-size:clamp(1.15rem, 2vw, 1.4rem); }
p{ margin:0 0 1em; max-width:62ch; color:var(--muted); }
a{ color:inherit; }
img{ max-width:100%; display:block; }
ul{ padding:0; margin:0; list-style:none; }
button{ font-family:inherit; }

.wrap{ max-width:var(--max); margin:0 auto; padding:0 clamp(1.25rem,4vw,3rem); }
.section{ padding:clamp(3.5rem,8vw,7rem) 0; }
.section--tight{ padding:clamp(2.5rem,5vw,4rem) 0; }
.section--dark{ background:var(--ink); color:var(--paper); }
.section--dark h2, .section--dark h3{ color:var(--paper); }
.section--dark p{ color:#c7cfce; }
.section--surface{ background:var(--surface); }

.eyebrow{
  display:inline-block;
  font-size:.8rem;
  font-weight:600;
  color:var(--accent);
  margin-bottom:.9rem;
  letter-spacing:.01em;
}

.lede{ font-size:clamp(1.05rem,1.6vw,1.2rem); max-width:56ch; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  padding:.9rem 1.6rem;
  border-radius:var(--radius);
  font-weight:600; font-size:.98rem;
  text-decoration:none; cursor:pointer; border:1.5px solid transparent;
  transition:background-color .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--accent); color:#fff; }
.btn-primary:hover{ background:var(--accent-dim); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--ink); }
.btn-ghost:hover{ background:var(--ink); color:var(--paper); }
.btn-on-dark{ background:transparent; color:var(--paper); border-color:#4b5654; }
.btn-on-dark:hover{ background:var(--paper); color:var(--ink); border-color:var(--paper); }
.btn-whatsapp{ background:#1f3b34; color:#fff; }
.btn-whatsapp:hover{ background:#16302a; }
.btn-block{ width:100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:2.5px solid var(--accent); outline-offset:2px;
}

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:60;
  background:rgba(246,245,241,.92); backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.site-header .wrap{ display:flex; align-items:center; justify-content:space-between; height:76px; }
.logo{ display:flex; flex-direction:column; text-decoration:none; line-height:1.05; }
.logo strong{ font-family:'Schibsted Grotesk',sans-serif; font-weight:650; font-size:1.15rem; color:var(--ink); }
.logo span{ font-size:.68rem; color:var(--accent); font-weight:600; }

.main-nav{ display:none; }
.main-nav ul{ display:flex; gap:2rem; }
.main-nav a{
  text-decoration:none; color:var(--ink); font-size:.95rem; font-weight:500;
  padding:.4rem 0; border-bottom:2px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"]{ border-color:var(--accent); }

.header-actions{ display:flex; align-items:center; gap:.75rem; }
.header-actions .btn{ display:none; }

.nav-toggle{
  display:flex; align-items:center; justify-content:center;
  width:44px; height:44px; border:1.5px solid var(--line); background:none;
  border-radius:var(--radius); cursor:pointer;
}
.nav-toggle svg{ width:20px; height:20px; }

@media (min-width:900px){
  .main-nav{ display:block; }
  .header-actions .btn{ display:inline-flex; }
  .nav-toggle{ display:none; }
}

/* Mobile nav panel */
.mobile-nav{
  position:fixed; inset:0; z-index:70; background:var(--ink);
  display:flex; flex-direction:column; padding:1.5rem clamp(1.25rem,5vw,3rem);
  transform:translateX(100%); transition:transform .28s ease;
}
.mobile-nav.is-open{ transform:translateX(0); }
.mobile-nav-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:2.5rem; }
.mobile-nav-top .logo strong{ color:var(--paper); }
.mobile-nav-close{ width:44px; height:44px; border:1.5px solid #3a4644; background:none; border-radius:var(--radius); color:var(--paper); cursor:pointer; }
.mobile-nav ul{ display:flex; flex-direction:column; gap:.3rem; }
.mobile-nav a{ display:block; text-decoration:none; color:var(--paper); font-family:'Schibsted Grotesk',sans-serif; font-size:1.6rem; font-weight:600; padding:.6rem 0; border-bottom:1px solid #263130; }
.mobile-nav .btn{ margin-top:2rem; }

/* ---------- Hero ---------- */
.hero{
  padding:clamp(2.5rem,6vw,4.5rem) 0 0;
  background:var(--paper);
}
.hero-grid{
  display:grid; gap:2.5rem; align-items:center;
}
.hero-trust{
  margin-top:1.6rem; font-size:.88rem; color:var(--muted); font-weight:500;
  padding-top:1.1rem; border-top:1px solid var(--line);
}
.hero-ctas{ display:flex; flex-wrap:wrap; gap:.9rem; margin-top:1.8rem; }
.hero-media{
  position:relative; clip-path:polygon(0 6%, 100% 0, 100% 100%, 0% 100%);
  overflow:hidden; background:var(--ink);
}
@media (min-width:920px){
  .hero-grid{ grid-template-columns:1.05fr 1fr; }
}

/* Roofline divider — der wiederkehrende diagonale Schnitt */
.roofline{
  height:56px; width:100%;
  background:var(--paper);
  clip-path:polygon(0 100%, 100% 0, 100% 100%);
}
.roofline.flip{ clip-path:polygon(0 0, 100% 100%, 0 100%); }
.roofline--to-dark{ background:var(--ink); }
.roofline--to-paper{ background:var(--paper); }
.roofline--to-surface{ background:var(--surface); }

/* ---------- Before/After Slider ---------- */
.ba-slider{
  position:relative; width:100%; aspect-ratio:4/3; overflow:hidden;
  border-radius:var(--radius); cursor:ew-resize; touch-action:pan-y; user-select:none;
  background:var(--ink);
}
.ba-slider img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; pointer-events:none; }
.ba-slider .ba-after{ position:absolute; inset:0; overflow:hidden; width:50%; }
.ba-slider .ba-after img{ width:var(--ba-img-w, 100%); max-width:none; }
.ba-handle{
  position:absolute; top:0; bottom:0; left:50%; width:0;
  transform:translateX(-50%);
}
.ba-handle::before{
  content:""; position:absolute; top:0; bottom:0; left:0; width:2px; background:#fff;
}
.ba-grip{
  position:absolute; top:50%; left:0; transform:translate(-50%,-50%);
  width:44px; height:44px; border-radius:50%; background:#fff;
  display:flex; align-items:center; justify-content:center; box-shadow:0 2px 10px rgba(0,0,0,.25);
}
.ba-grip svg{ width:18px; height:18px; color:var(--ink); }
.ba-tag{
  position:absolute; top:.9rem; font-size:.72rem; font-weight:700; letter-spacing:.02em;
  padding:.3rem .6rem; border-radius:2px; color:#fff; background:rgba(18,24,26,.72); z-index:2;
}
.ba-tag.before{ left:.9rem; }
.ba-tag.after{ right:.9rem; }
.ba-caption{ display:flex; justify-content:space-between; align-items:baseline; margin-top:.9rem; gap:1rem; }
.ba-caption .cat{ font-size:.78rem; color:var(--accent); font-weight:600; }
.ba-caption .demo{ font-size:.75rem; color:var(--muted); }

/* ---------- Cards ---------- */
.card-grid{ display:grid; gap:1.5rem; grid-template-columns:1fr; }
@media (min-width:640px){ .card-grid{ grid-template-columns:1fr 1fr; } }
@media (min-width:1080px){ .card-grid.cols-4{ grid-template-columns:repeat(4,1fr); } }

.service-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; display:flex; flex-direction:column; transition:border-color .2s ease, transform .2s ease;
}
.service-card:hover{ border-color:var(--accent); transform:translateY(-3px); }
.service-card .thumb{ aspect-ratio:4/3; overflow:hidden; background:var(--surface); }
.service-card .thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.service-card:hover .thumb img{ transform:scale(1.04); }
.service-card .body{ padding:1.4rem 1.4rem 1.6rem; display:flex; flex-direction:column; gap:.6rem; flex:1; }
.service-card .more{ margin-top:auto; font-weight:600; font-size:.92rem; color:var(--accent); text-decoration:none; }

.icon-badge{
  width:42px; height:42px; border-radius:50%; background:var(--accent-soft); color:var(--accent);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.icon-badge svg{ width:20px; height:20px; }

/* Positionierung / process rows */
.process-row{ display:flex; flex-direction:column; gap:1.1rem; }
@media (min-width:760px){ .process-row{ flex-direction:row; } }
.process-item{
  flex:1; border-top:2px solid var(--line); padding-top:1rem;
}
.process-item.is-accent{ border-color:var(--accent); }

.checklist{ display:flex; flex-direction:column; gap:.7rem; margin-top:1.4rem; }
.checklist li{ display:flex; gap:.65rem; align-items:flex-start; color:var(--ink); font-weight:500; }
.checklist svg{ width:20px; height:20px; color:var(--accent); flex-shrink:0; margin-top:2px; }

/* Steps (numbered — used only for genuine sequences) */
.steps{ display:grid; gap:1.6rem; grid-template-columns:1fr; counter-reset:step; }
@media (min-width:760px){ .steps{ grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); } }
.step{ position:relative; padding-left:0; }
.step .num{
  font-family:'Schibsted Grotesk',sans-serif; font-size:2.1rem; font-weight:650; color:var(--accent);
  display:block; margin-bottom:.4rem;
}

/* Gallery */
.gallery-filters{ display:flex; flex-wrap:wrap; gap:.6rem; margin-bottom:1.8rem; }
.gallery-filters button{
  padding:.5rem 1rem; border-radius:20px; border:1.5px solid var(--line); background:none;
  font-size:.85rem; font-weight:600; cursor:pointer; color:var(--muted);
}
.gallery-filters button.is-active{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
.gallery-grid{ display:grid; gap:1.4rem; grid-template-columns:1fr; }
@media (min-width:640px){ .gallery-grid{ grid-template-columns:1fr 1fr; } }
@media (min-width:1000px){ .gallery-grid{ grid-template-columns:repeat(3,1fr); } }
.gallery-item{ display:none; }
.gallery-item.is-visible{ display:block; }

/* Why-us cards */
.feature-card{ padding:1.6rem; border-top:2px solid var(--line); }
.feature-card.is-accent{ border-top-color:var(--accent); }

/* Map area block */
.area-list{ display:flex; flex-wrap:wrap; gap:.6rem 1rem; margin-top:1.4rem; }
.area-list li{
  font-weight:600; font-size:.92rem; padding:.4rem .9rem; border:1.5px solid var(--line-dark);
  border-radius:20px; color:var(--paper);
}
.map-graphic{ aspect-ratio:5/4; border-radius:var(--radius); overflow:hidden; }

/* FAQ accordion */
.faq{ border-top:1px solid var(--line); }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  padding:1.3rem .2rem; display:flex; justify-content:space-between; align-items:center; gap:1rem;
  font-family:'Schibsted Grotesk',sans-serif; font-weight:600; font-size:1.02rem; color:var(--ink);
}
.faq-q .plus{ flex-shrink:0; width:22px; height:22px; position:relative; }
.faq-q .plus::before, .faq-q .plus::after{ content:""; position:absolute; background:var(--accent); border-radius:1px; }
.faq-q .plus::before{ top:50%; left:0; right:0; height:2px; transform:translateY(-50%); }
.faq-q .plus::after{ left:50%; top:0; bottom:0; width:2px; transform:translateX(-50%); transition:transform .2s ease; }
.faq-item.is-open .plus::after{ transform:translateX(-50%) rotate(90deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
.faq-a p{ padding:0 .2rem 1.3rem; margin:0; }

/* Final CTA */
.cta-final{ text-align:left; }
.cta-final .btn-row{ display:flex; flex-wrap:wrap; gap:1rem; margin-top:1.8rem; }

/* Footer */
.site-footer{ background:var(--ink); color:#c7cfce; padding:3.5rem 0 1.6rem; }
.footer-grid{ display:grid; gap:2.4rem; grid-template-columns:1fr; margin-bottom:2.5rem; }
@media (min-width:760px){ .footer-grid{ grid-template-columns:1.3fr 1fr 1fr; } }
.footer-grid h4{ color:var(--paper); font-size:.95rem; margin-bottom:1rem; }
.footer-grid ul{ display:flex; flex-direction:column; gap:.55rem; }
.footer-grid a{ color:#c7cfce; text-decoration:none; font-size:.92rem; }
.footer-grid a:hover{ color:#fff; }
.footer-logo strong{ color:var(--paper); font-family:'Schibsted Grotesk',sans-serif; font-size:1.2rem; }
.footer-logo p{ color:#8b9694; font-size:.9rem; margin-top:.6rem; max-width:34ch; }
.footer-bottom{ border-top:1px solid #263130; padding-top:1.4rem; display:flex; flex-wrap:wrap; gap:.8rem 1.6rem; justify-content:space-between; font-size:.82rem; color:#8b9694; }
.footer-bottom a{ color:#8b9694; text-decoration:none; }
.footer-bottom a:hover{ color:#fff; }

/* Sticky mobile CTA */
.sticky-cta{
  position:fixed; left:0; right:0; bottom:0; z-index:55;
  display:flex; gap:.6rem; padding:.7rem clamp(1rem,4vw,2rem);
  background:rgba(246,245,241,.96); backdrop-filter:blur(6px); border-top:1px solid var(--line);
}
.sticky-cta .btn{ flex:1; }
@media (min-width:900px){ .sticky-cta{ display:none; } }
body{ padding-bottom:74px; }
@media (min-width:900px){ body{ padding-bottom:0; } }

/* Breadcrumb / page intro */
.page-hero{ padding:clamp(2.2rem,5vw,3.5rem) 0 clamp(2.5rem,5vw,3.5rem); }
.breadcrumb{ font-size:.85rem; color:var(--muted); margin-bottom:1rem; }
.breadcrumb a{ color:var(--muted); text-decoration:none; }
.breadcrumb a:hover{ color:var(--accent); }

/* Reveal-on-scroll: one deliberate, restrained entrance */
.reveal{ opacity:0; transform:translateY(14px); transition:opacity .5s ease, transform .5s ease; }
.reveal.is-visible{ opacity:1; transform:none; }

/* Contact form */
.form-grid{ display:grid; gap:1.1rem; grid-template-columns:1fr; }
@media (min-width:640px){ .form-grid.two{ grid-template-columns:1fr 1fr; } }
.field label{ display:block; font-size:.85rem; font-weight:600; margin-bottom:.4rem; color:var(--ink); }
.field .hint{ font-size:.78rem; color:var(--muted); font-weight:400; margin-left:.3rem; }
.field input, .field select, .field textarea{
  width:100%; padding:.8rem .9rem; border:1.5px solid var(--line); border-radius:var(--radius);
  background:#fff; font-family:inherit; font-size:.96rem; color:var(--ink);
}
.field textarea{ resize:vertical; min-height:110px; }
.field-file{
  border:1.5px dashed var(--line); border-radius:var(--radius); padding:1.4rem; text-align:center; color:var(--muted); font-size:.9rem;
}
.form-note{ font-size:.82rem; color:var(--muted); margin-top:.3rem; }
.contact-side{ background:var(--surface); border-radius:var(--radius); padding:1.8rem; }
.contact-side .item{ display:flex; gap:.8rem; align-items:flex-start; margin-bottom:1.3rem; }
.contact-side .item:last-child{ margin-bottom:0; }

/* Legal pages */
.legal{ max-width:74ch; }
.legal h2{ font-size:1.3rem; margin-top:2.2rem; }
.legal p, .legal li{ color:var(--ink); }
.legal ul{ list-style:disc; padding-left:1.3rem; margin-bottom:1em; }
.legal li{ margin-bottom:.4em; }

.placeholder-note{
  display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.02em;
  background:#fff3d6; color:#7a5a00; padding:.2rem .5rem; border-radius:2px; margin-bottom:.6rem;
}
