/* ==========================================================================
   Jentzsch Gebäudereinigung – Website Stylesheet
   Farben: Blau (#027FC7) & Anthrazit/Grau (#4F4F4E), aus dem Firmenlogo
   ========================================================================== */

:root {
  --blue: #027fc7;
  --blue-dark: #025e93;
  --blue-light: #e8f4fc;
  --gray-900: #2b2b2b;
  --gray-800: #4f4f4e;
  --gray-600: #6b6b6a;
  --gray-300: #d7dbe0;
  --gray-100: #f4f6f8;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(43, 43, 43, 0.08);
  --shadow-lg: 0 10px 40px rgba(43, 43, 43, 0.15);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.5em 0;
  color: var(--gray-900);
}

p { margin: 0 0 1em 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; display: block; }
ul { padding-left: 1.2em; }

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

.section { padding: 80px 0; }
.section-light { background: var(--gray-100); }
.section-dark { background: var(--gray-900); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark p { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.6em;
}

.section-head { max-width: 640px; margin: 0 auto 48px auto; text-align: center; }
.section-head h2 { font-size: 2rem; }
.section-head p { color: var(--gray-600); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--gray-900); }
.btn-outline-dark { background: transparent; border-color: var(--gray-900); color: var(--gray-900); }
.btn-outline-dark:hover { background: var(--gray-900); color: var(--white); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--gray-300);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav .logo img { height: 42px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--gray-900);
  font-weight: 600;
  font-size: 0.96rem;
}
.nav-links a.active, .nav-links a:hover { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone { font-weight: 700; color: var(--gray-900); font-size: 0.95rem; }
.nav-phone span { color: var(--blue); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--gray-900);
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px 24px;
    border-bottom: 1px solid var(--gray-300);
    transform: translateY(-150%);
    transition: transform 0.25s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
  .nav-cta .nav-phone { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding: 72px 0;
}
.hero h1 { font-size: 2.6rem; margin-bottom: 0.4em; }
.hero p.lead { font-size: 1.15rem; color: var(--gray-600); margin-bottom: 1.6em; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-image { position: relative; }
.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  bottom: -18px; left: -18px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.95rem;
}
.hero-badge .dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.trust-row { display: flex; gap: 28px; flex-wrap: wrap; color: var(--gray-600); font-size: 0.92rem; }
.trust-row strong { color: var(--gray-900); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .hero h1 { font-size: 2rem; }
  .hero-image { order: -1; }
}

/* ---------- Feature cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.1rem; margin-bottom: 0.4em; }
.card p { color: var(--gray-600); font-size: 0.95rem; margin-bottom: 0; }

/* ---------- Service cards (Leistungen) ---------- */
.service-card {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.service-card img { width: 100%; height: 220px; object-fit: cover; }
.service-card .body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.25rem; }
.service-card .price {
  display: inline-block;
  align-self: flex-start;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin: 10px 0 14px 0;
}
.service-card ul { color: var(--gray-600); font-size: 0.93rem; margin-bottom: 0; }
.service-card.featured { border: 2px solid var(--blue); }
.ribbon {
  background: var(--blue);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  display: inline-block;
}

/* ---------- Über mich ---------- */
.about-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.about-wrap img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; aspect-ratio: 3/4; }
.timeline { list-style: none; padding: 0; margin: 20px 0; }
.timeline li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  color: var(--gray-600);
  font-size: 0.96rem;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue);
}
.timeline li strong { color: var(--gray-900); }
@media (max-width: 860px) { .about-wrap { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.filter-btn {
  border: 2px solid var(--gray-300);
  background: var(--white);
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--gray-800);
}
.filter-btn.active, .filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-grid figure {
  margin: 0; overflow: hidden; border-radius: var(--radius);
  cursor: pointer; position: relative; aspect-ratio: 3/4;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.gallery-grid figure:hover img { transform: scale(1.08); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(20,20,20,0.92);
  z-index: 1000;
  align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 6px; }
.lightbox-close {
  position: absolute; top: 24px; right: 32px;
  color: var(--white); font-size: 2rem; cursor: pointer; background: none; border: none;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15); border: none; color: var(--white);
  font-size: 1.8rem; padding: 10px 16px; cursor: pointer; border-radius: 6px;
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: var(--radius);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); margin-bottom: 0.2em; }
.cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: 0; }

/* ---------- Contact page ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
@media (max-width: 860px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-info-item .icon {
  width: 46px; height: 46px; flex: none;
  border-radius: 12px; background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.contact-info-item h4 { margin-bottom: 2px; font-size: 1rem; }
.contact-info-item p { color: var(--gray-600); margin-bottom: 0; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.96rem;
  background: var(--white);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.82rem; color: var(--gray-600); margin-top: 10px; }
.form-success {
  display: none;
  background: #e6f7ec; color: #1a7a3e;
  padding: 14px 18px; border-radius: 8px; margin-bottom: 18px; font-weight: 600; font-size: 0.92rem;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-300);
  margin-top: 24px;
}
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; }

/* ---------- Legal pages ---------- */
.legal-content h2 { margin-top: 1.6em; font-size: 1.3rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--gray-800); }
.legal-note {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  padding: 16px 20px;
  border-radius: 6px;
  font-size: 0.92rem;
  margin-bottom: 32px;
}
.legal-todo {
  background: #fff4e5;
  border-left: 4px solid #e8a33d;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
  color: #9a5b00;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--gray-900); color: var(--gray-300); padding: 56px 0 24px 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-grid h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-grid a { color: var(--gray-300); }
.footer-grid a:hover { color: var(--white); }
.footer-logo img { height: 38px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.85rem; color: var(--gray-600);
}
.footer-bottom a { color: var(--gray-600); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: var(--gray-100);
  padding: 56px 0;
  text-align: center;
}
.page-header .eyebrow { }
.page-header h1 { font-size: 2.2rem; margin-bottom: 0.3em; }
.page-header p { color: var(--gray-600); max-width: 560px; margin: 0 auto; }
