/* ==========================================================================
   Clean Way – Gebäudereinigung
   PALETTE: Alle Farben ueber CSS-Variablen. Zum Anpassen nur :root aendern.
   Die Originalfarben aus clean-way.psd konnten nicht ausgelesen werden
   (kein Bildbearbeitungswerkzeug auf dem Server) und sind daher Platzhalter.
   ========================================================================== */

:root {
  --cw-primary:    #0c3c47;   /* dunkles Petrol – Kopf, Fuss, Akzentflaechen */
  --cw-primary-lt: #14525f;
  --cw-accent:     #12a5b0;   /* frisches Aqua – Buttons, Akzente, Links */
  --cw-accent-dk:  #0d8791;
  --cw-bg:         #f5f9fa;
  --cw-surface:    #ffffff;
  --cw-text:       #1c2b30;
  --cw-text-soft:  #5b6d72;
  --cw-border:     #dde8ea;

  --cw-radius:     14px;
  --cw-radius-sm:  9px;
  --cw-shadow:     0 4px 20px rgba(12, 60, 71, .08);
  --cw-shadow-lg:  0 12px 40px rgba(12, 60, 71, .14);

  --cw-wrap:       1160px;
  --cw-font:       "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--cw-font);
  color: var(--cw-text);
  background: var(--cw-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.wrap { width: 100%; max-width: var(--cw-wrap); margin: 0 auto; padding: 0 20px; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--cw-accent); color: #fff; box-shadow: 0 4px 14px rgba(18,165,176,.32); }
.btn-primary:hover { background: var(--cw-accent-dk); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-outline { background: #fff; color: var(--cw-primary); border-color: var(--cw-border); }
.btn-outline:hover { border-color: var(--cw-accent); color: var(--cw-accent-dk); }

/* ------------------------------------------------------------------ Kopf */
.site-head {
  background: var(--cw-primary);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.head-inner { display: flex; align-items: center; justify-content: space-between; height: 146px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-logo {
  display: block; height: 120px; width: auto;
  background: #fff; padding: 5px 10px; border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--cw-accent), var(--cw-primary-lt));
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 1.05rem; letter-spacing: -.5px;
}
.brand-text { line-height: 1.15; }
.brand-name { display: block; color: #fff; font-weight: 700; font-size: 1.16rem; letter-spacing: .2px; }
.brand-sub  { display: block; color: rgba(255,255,255,.66); font-size: .74rem; letter-spacing: .5px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: rgba(255,255,255,.86); text-decoration: none; font-size: .94rem; font-weight: 500;
  padding: 9px 13px; border-radius: 8px; transition: background .15s, color .15s;
}
.nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.nav a.active { background: rgba(18,165,176,.28); color: #fff; }
.nav .btn { padding: 9px 18px; font-size: .9rem; margin-left: 6px; }

.burger {
  display: none; background: none; border: 0; cursor: pointer;
  color: #fff; font-size: 1.5rem; padding: 8px; line-height: 1;
}

/* ------------------------------------------------------------------ Hero */
.hero {
  background: linear-gradient(135deg, var(--cw-primary) 0%, var(--cw-primary-lt) 58%, var(--cw-accent-dk) 100%);
  color: #fff; padding: 92px 0 96px; position: relative; overflow: hidden;
}
/* Fotohintergrund: Glasfassade in Arbeit, von links zugeblendet,
   damit der Text links lesbar bleibt. */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("img/foto-hero.webp") center center / cover no-repeat;
  opacity: .55; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    /* Links deckend fuer den Text, rechts zurueckgenommen,
       damit das Foto deutlich sichtbar bleibt. */
    linear-gradient(90deg, var(--cw-primary) 0%,
              rgba(12,60,71,.90) 20%,
              rgba(12,60,71,.58) 38%, rgba(12,60,71,.30) 56%,
              rgba(12,60,71,.14) 100%),
    linear-gradient(180deg, rgba(12,60,71,.5) 0%, rgba(12,60,71,0) 35%, rgba(12,60,71,.40) 100%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-inner { max-width: 620px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.16; margin: 0 0 20px; font-weight: 800; letter-spacing: -.5px; }
.hero h1 .hl { color: #7fe3ec; }
.hero p.lead { font-size: clamp(1.02rem, 2vw, 1.2rem); color: rgba(255,255,255,.9); margin: 0 0 32px; max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ------------------------------------------------------------ Kennzahlen */
.stats { background: #fff; border-bottom: 1px solid var(--cw-border); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2px; background: var(--cw-border); }
.stat { background: #fff; padding: 30px 20px; text-align: center; }
.stat-num { font-size: 2.05rem; font-weight: 800; color: var(--cw-accent-dk); line-height: 1.1; }
.stat-label { font-size: .9rem; color: var(--cw-text-soft); margin-top: 6px; }

/* -------------------------------------------------------------- Sections */
section { padding: 76px 0; }
.sec-alt { background: #fff; }
/* Feine Tropfentextur auf/normalen Abschnitten */
.sec-textured {
  background-color: var(--cw-bg);
  background-image: url("img/muster-tropfen.svg");
  background-size: 120px 120px;
  background-repeat: repeat;
}

/* --------------------------------------------------------- Szene / Bild */
.szene { display: grid; gap: 46px; align-items: center; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.szene-media {
  border-radius: 20px; overflow: hidden; background: #fff;
  box-shadow: var(--cw-shadow-lg);
}
.szene-media img { width: 100%; height: auto; display: block; }

/* Fotostreifen: mehrere Bilder nebeneinander, schwebend */
.foto-band { margin-top: 46px; }
.foto-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.foto-grid figure { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--cw-shadow); background: #fff; }
.foto-grid img { width: 100%; height: 190px; object-fit: cover; display: block; transition: transform .3s ease; }
.foto-grid figure:hover img { transform: scale(1.05); }
.foto-grid figcaption {
  padding: 13px 16px 15px; font-size: .88rem; font-weight: 600; color: var(--cw-text);
}
.foto-grid figcaption span { display: block; font-weight: 400; color: var(--cw-text-soft); font-size: .82rem; margin-top: 3px; }

/* --------------------------------------------------------------- Karten */
.sec-head { max-width: 700px; margin: 0 auto 52px; text-align: center; }
.sec-head .eyebrow {
  display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--cw-accent-dk); margin-bottom: 12px;
}
.sec-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 0 0 14px; letter-spacing: -.4px; }
.sec-head p { color: var(--cw-text-soft); margin: 0; }

/* --------------------------------------------------------------- Karten */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(288px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--cw-border); border-radius: var(--cw-radius);
  padding: 32px 26px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--cw-shadow); border-color: var(--cw-accent); }
/* Icon oben links in der Karte, ohne farbigen Kasten darum.
   Reines Symbol in der Akzentfarbe, etwas groesser als die
   Fusszeilen-Icons, damit es als Ueberschrift der Karte wirkt. */
.card-icon {
  display: block;
  margin: 0 0 16px;
  color: var(--cw-accent-dk);
  line-height: 0;
}
.card-icon svg {
  width: 34px; height: 34px;
  stroke: currentColor; fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  transition: color .18s ease;
}
/* Beim Ueberfahren faerbt sich das Icon mit, passend zum Karten-Rahmen */
.card:hover .card-icon svg { color: var(--cw-accent); }
.card h3 { margin: 0 0 10px; font-size: 1.16rem; }
.card p { margin: 0; color: var(--cw-text-soft); font-size: .95rem; }
.card .more { display: inline-block; margin-top: 14px; color: var(--cw-accent-dk); font-weight: 600; font-size: .9rem; text-decoration: none; }

/* ---------------------------------------------------------------- Ablauf */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); counter-reset: cwstep; }
.step { background: #fff; border-radius: var(--cw-radius); padding: 28px 24px; border: 1px solid var(--cw-border); position: relative; }
.step::before {
  counter-increment: cwstep; content: counter(cwstep);
  position: absolute; top: -15px; left: 24px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--cw-accent); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .92rem;
}
.step h3 { margin: 12px 0 8px; font-size: 1.06rem; }
.step p { margin: 0; color: var(--cw-text-soft); font-size: .93rem; }

/* -------------------------------------------------------------- Vertrauen */
.trust { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.trust-item { display: flex; gap: 15px; align-items: flex-start; }
.trust-item .tick {
  flex: 0 0 26px; height: 26px; border-radius: 50%; background: rgba(18,165,176,.15);
  color: var(--cw-accent-dk); display: grid; place-items: center; font-weight: 800; font-size: .85rem;
}
.trust-item h3 { margin: 0 0 5px; font-size: 1.02rem; }
.trust-item p { margin: 0; color: var(--cw-text-soft); font-size: .93rem; }

/* -------------------------------------------------------------- Angebot */
.promo {
  background: linear-gradient(135deg, var(--cw-primary), var(--cw-primary-lt));
  color: #fff; border-radius: var(--cw-radius); padding: 44px 38px; text-align: center;
}
.promo h2 { margin: 0 0 12px; font-size: clamp(1.4rem, 3vw, 1.95rem); }
.promo p { color: rgba(255,255,255,.9); margin: 0 auto 26px; max-width: 620px; }

/* -------------------------------------------------------------- Kontakt */
.contact-grid { display: grid; gap: 38px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--cw-border); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ic { flex: 0 0 38px; height: 38px; border-radius: 10px; background: rgba(18,165,176,.12); color: var(--cw-accent-dk); display: grid; place-items: center; }
.contact-list .ic svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.contact-list .k { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .9px; color: var(--cw-text-soft); }
.contact-list .v { font-weight: 600; }
.contact-list a { color: var(--cw-text); text-decoration: none; }
.contact-list a:hover { color: var(--cw-accent-dk); }

/* ----------------------------------------------------------------- Formular */
form.panel { background: #fff; border: 1px solid var(--cw-border); border-radius: var(--cw-radius); padding: 32px 28px; box-shadow: var(--cw-shadow); }
.field { margin-bottom: 17px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 7px; }
.field .req { color: #d64545; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem;
  border: 1px solid var(--cw-border); border-radius: var(--cw-radius-sm);
  background: #fbfdfd; color: var(--cw-text);
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cw-accent); background: #fff;
  box-shadow: 0 0 0 3px rgba(18,165,176,.14);
}
.field .hint { font-size: .8rem; color: var(--cw-text-soft); margin-top: 5px; }
.form-row { display: grid; gap: 17px; grid-template-columns: 1fr 1fr; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .87rem; color: var(--cw-text-soft); }
.check input { width: auto; margin-top: 3px; }
.alert { padding: 15px 17px; border-radius: var(--cw-radius-sm); margin-bottom: 20px; font-size: .93rem; }
.alert-ok  { background: rgba(18,165,176,.12); border: 1px solid var(--cw-accent); color: #0b6b73; }
.alert-err { background: #fdecec; border: 1px solid #e9a2a2; color: #a52d2d; }

/* ------------------------------------------------------------------ Fuss */
.site-foot { background: var(--cw-primary); color: rgba(255,255,255,.72); padding: 52px 0 0; font-size: .93rem; }
.foot-grid { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-bottom: 38px; }
.site-foot h4 { color: #fff; font-size: 1rem; margin: 0 0 14px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 9px; }
.site-foot a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 20px 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; text-align: center; font-size: .86rem; }

/* -------------------------------------------------------------- Platzhalter */
.ph {
  background: #fff3cd; border-bottom: 2px solid #ffc107;
  color: #664d03; padding: 1px 5px; border-radius: 3px; font-weight: 600;
}

/* ------------------------------------------------------------- Responsive */
@media (max-width: 860px) {
  .nav {
    display: none; position: absolute; top: 146px; left: 0; right: 0;
    background: var(--cw-primary); flex-direction: column; align-items: stretch;
    padding: 12px; gap: 2px; box-shadow: var(--cw-shadow-lg);
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 14px; }
  .nav .btn { margin: 8px 0 4px; text-align: center; }
  .burger { display: block; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero { padding: 66px 0 70px; }
  .promo { padding: 34px 22px; }
}

/* --------------------------------------------------------------- Druck */
@media print {
  .site-head, .site-foot, .hero-cta, .btn { display: none; }
  body { background: #fff; }
}
.gallery-strip .strip { display:flex; overflow:hidden; padding:.25rem 0 1rem; }
.strip-track { display:flex; gap:.75rem; width:max-content; will-change:transform; }
.strip-item { flex:0 0 260px; border-radius:12px; overflow:hidden; box-shadow:0 4px 16px rgba(0,0,0,.08); cursor:pointer; }
.strip-item img { width:100%; height:180px; object-fit:cover; display:block; }
.lightbox{display:none;position:fixed;inset:0;background:rgba(0,0,0,.85);z-index:9999;align-items:center;justify-content:center}
.lightbox.open{display:flex}
.lightbox-content{position:relative;max-width:95vw;max-height:95vh}
#lbImg{max-width:95vw;max-height:85vh;display:block;border-radius:8px}
#lbCap{color:#fff;text-align:center;margin-top:.5rem}
.lightbox-close{position:absolute;top:-40px;right:0;background:none;border:none;color:#fff;font-size:32px;cursor:pointer}
.lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.2);color:#fff;border:none;font-size:36px;width:44px;height:44px;border-radius:50%;cursor:pointer}
.lightbox-nav.prev{left:-60px}
.lightbox-nav.next{right:-60px}
@media(max-width:768px){.lightbox-nav.prev{left:10px}.lightbox-nav.next{right:10px}}
