/* ===========================================================
   Easy to Clean — Gebäudereinigung Dormagen
   Light, professional theme
   =========================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-tint: #eaf2fb;
  --ink: #14202e;
  --ink-soft: #4a5b6d;
  --line: #e2e8f0;
  --brand: #1f7ae0;
  --brand-dark: #155fb0;
  --brand-tint: #e7f1fd;
  --accent: #17b6a7;
  --star: #f5a623;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(20, 32, 46, .06), 0 1px 2px rgba(20, 32, 46, .04);
  --shadow-md: 0 10px 30px rgba(20, 32, 46, .08);
  --shadow-lg: 0 24px 60px rgba(20, 32, 46, .12);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .5em;
}

p { margin: 0 0 1rem; color: var(--ink-soft); }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--ink);
}
.brand img { height: 48px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: .95rem;
  transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.main-nav a.active { background: var(--brand-tint); color: var(--brand-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 1.3rem;
  line-height: 1;
  padding: 6px 12px;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 122, 224, .28);
}
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-secondary {
  background: #fff;
  color: var(--brand-dark);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { background: var(--bg-soft); color: var(--brand-dark); }

.button-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 40px;
  background:
    radial-gradient(1200px 500px at 80% -10%, var(--brand-tint), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
}
.hero-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow-plain {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-tint);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  letter-spacing: -.01em;
  margin-bottom: .4em;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 1.6rem;
}

.hero-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.hero-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
}
.stars { display: inline-flex; align-items: center; gap: 2px; color: var(--star); line-height: 0; }
.hero-badge .stars { color: var(--star); }
.hero-badge strong { font-size: .95rem; color: var(--ink); }
.hero-badge small { display: block; color: var(--ink-soft); font-size: .8rem; }

/* Trust bar */
.trust-bar {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.trust-item .ck {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-tint); color: var(--brand-dark);
  border-radius: 50%; font-size: .8rem; font-weight: 700;
}

/* ---------- Sections ---------- */
.hr-section { padding: 64px 0; border-top: 1px solid var(--line); }
.hr-section.tint { background: var(--bg-soft); }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.section-head p { margin: 0; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.about-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

/* ---------- Service cards ---------- */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-row {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.service-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-row .card-media { aspect-ratio: 16 / 10; overflow: hidden; }
.service-row .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service-row:hover .card-media img { transform: scale(1.04); }
.service-row .card-body { padding: 22px 24px 26px; }
.service-row h3 { font-size: 1.3rem; margin-bottom: .4em; }
.service-row h3 a { color: var(--ink); }
.service-row h3 a:hover { color: var(--brand-dark); }
.service-row p { margin: 0; }
.service-link { display: inline-block; margin-top: 15px; font-weight: 600; font-size: .92rem; }

/* ---------- Service detail pages ---------- */
.service-detail-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.service-detail-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.service-detail-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-checklist { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.service-checklist li { padding-left: 30px; position: relative; color: var(--ink-soft); }
.service-checklist li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--brand-dark); font-weight: 700; }
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-list details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; padding: 16px 18px; }
.faq-list summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq-list p { margin: 12px 0 0; }

/* ---------- Reviews ---------- */
.review-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.review .stars { color: var(--star); margin-bottom: 12px; }
.review p { color: var(--ink); font-size: 1.02rem; }
.review cite { color: var(--ink-soft); font-style: normal; font-size: .88rem; font-weight: 500; }

/* ---------- Partners ---------- */
.partner-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.partner-logo {
  min-height: 112px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.partner-logo:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.partner-logo img { max-width: 100%; max-height: 62px; width: auto; height: auto; object-fit: contain; }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: linear-gradient(120deg, var(--brand), var(--brand-dark));
  color: #fff;
  padding: 56px 0;
}
.cta-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.cta-strip h2 { color: #fff; margin: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.cta-strip .btn-primary { background: #fff; color: var(--brand-dark); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.cta-strip .btn-primary:hover { background: var(--bg-soft); }
.cta-strip .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); box-shadow: none; }
.cta-strip .btn-secondary:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}
.contact-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.service-area-card { align-self: center; }
.service-area-card h3 { margin-top: 0; }
.contact-detail {
  display: flex;
  flex-direction: column;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail .label { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); font-weight: 600; margin-bottom: 2px; }
.contact-detail .value { font-size: 1.05rem; color: var(--ink); font-weight: 500; }

.contact-form {
  display: grid;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.contact-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  transition: border .2s, box-shadow .2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-tint);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex !important; gap: 9px; align-items: flex-start; font-size: .82rem !important; font-weight: 400 !important; line-height: 1.45; color: var(--ink-soft) !important; }
.consent input { width: auto !important; margin-top: 3px; accent-color: var(--brand); }
.form-status { min-height: 1.4em; margin: 0; font-size: .9rem; line-height: 1.45; }
.form-status.success { color: #16713d; }
.form-status.error { color: #b42318; }

/* ---------- Page loader ---------- */
.page-loader { display: none; }
.is-loading .page-loader {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #fff;
  color: var(--ink-soft);
  font-size: .9rem;
  letter-spacing: .02em;
  transition: opacity .25s ease, visibility .25s ease;
}
.page-loader::after { content: ''; width: 26px; height: 26px; border: 3px solid #e6eaf0; border-top-color: var(--brand); border-radius: 50%; animation: loader-spin .8s linear infinite; }
.page-loader img { width: min(250px, 64vw); height: auto; }
@keyframes loader-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .page-loader::after { animation: none; } }

/* ---------- Legal ---------- */
.legal-body { max-width: 72ch; padding-bottom: 64px; }
.legal-body h1 { margin-bottom: .8em; }
.legal-body h2 { font-size: 1.2rem; margin-top: 1.6em; }
.legal-body p { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #c7d2df;
  padding: 56px 0 28px;
}
.site-footer h4 { color: #fff; font-family: 'Inter', sans-serif; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer p { color: #9fb0c2; }
.site-footer a { color: #c7d2df; display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: .88rem;
  color: #9fb0c2;
}
.footer-bottom a { display: inline; color: #c7d2df; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .45);
  z-index: 60;
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .review-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 18px;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: flex; }
  .service-list { grid-template-columns: 1fr; }
  .partner-row { grid-template-columns: 1fr; }
  .cta-strip .container { flex-direction: column; align-items: flex-start; }
}
