/* ============ Lumenwerk – Glas & Gebäudereinigung Stuttgart ============ */
:root {
  --navy-900: #050e18;
  --navy-800: #0a1826;
  --navy-700: #102436;
  --navy-600: #18344c;
  --gold: #d4af37;
  --gold-light: #e8c95c;
  --green: #7ac142;
  --green-dark: #5a9e2e;
  --wa: #25d366;
  --wa-dark: #1ebe5d;
  --text: #e8eef4;
  --text-muted: #9fb2c3;
  --text-dark: #1a2733;
  --text-dark-muted: #51626f;
  --bg-light: #f4f7fa;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(5, 14, 24, 0.12);
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; }

h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 0.75rem; }

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }

.section-kicker {
  color: var(--green-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.section-intro {
  color: var(--text-dark-muted);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.gold { color: var(--gold); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-family: inherit;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-900);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35);
}

.btn-whatsapp {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover { background: var(--wa-dark); }

.btn-call {
  background: var(--navy-700);
  color: #fff;
}

.btn-block { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(5, 14, 24, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; min-width: 0; }

.brand-name {
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  white-space: nowrap;
}

.brand-sub {
  color: var(--text-muted);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-nav { display: flex; gap: 1.6rem; }

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.15s;
}
.main-nav a:hover { color: var(--gold-light); }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }

.header-call { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

.lang-switch {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  overflow: hidden;
}

.lang-switch button {
  background: transparent;
  color: var(--text-muted);
  border: none;
  padding: 0.4rem 0.75rem;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}

.lang-switch button.active {
  background: var(--gold);
  color: var(--navy-900);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(5, 14, 24, 0.94) 25%, rgba(5, 14, 24, 0.72) 55%, rgba(5, 14, 24, 0.45));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  max-width: 1180px;
}

.hero-kicker {
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  margin-bottom: 1.2rem;
}

.hero-text {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.2rem; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
}

/* ============ Services ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.6rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(5, 14, 24, 0.18);
}

.card-img { aspect-ratio: 16 / 10; overflow: hidden; }

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card:hover .card-img img { transform: scale(1.06); }

.card-body { padding: 1.3rem 1.4rem 1.6rem; }

.card-body h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }

.card-body p { color: var(--text-dark-muted); font-size: 0.93rem; }

/* ============ About ============ */
.about { background: var(--bg-light); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  width: 100%;
}

.about-content p { color: var(--text-dark-muted); margin-bottom: 1.1rem; }

.about-content .btn { margin-top: 0.6rem; }

/* ============ Why us ============ */
.why {
  background: var(--navy-900);
  color: var(--white);
}

.why .section-kicker { color: var(--green); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.why-item {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-900);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.why-item h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }

.why-item p { color: var(--text-muted); font-size: 0.92rem; }

/* ============ Contact ============ */
.contact { background: var(--bg-light); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-info > p { color: var(--text-dark-muted); margin-bottom: 1.6rem; }

.contact-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 0.9rem;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.contact-bar:hover { transform: translateY(-2px); filter: brightness(1.08); }

.contact-bar-call { background: var(--navy-700); color: #fff; }
.contact-bar-wa { background: var(--wa); color: #fff; }

.contact-details {
  margin-top: 1.6rem;
  color: var(--text-dark-muted);
  font-size: 0.95rem;
}
.contact-details p { margin-bottom: 0.4rem; }
.contact-details strong { color: var(--text-dark); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.form-group { margin-bottom: 1.1rem; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid #d7dfe7;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group textarea { resize: vertical; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(122, 193, 66, 0.18);
}

.form-hint {
  margin-top: 0.8rem;
  font-size: 0.82rem;
  color: var(--text-dark-muted);
  text-align: center;
}

.form-error {
  margin-top: 0.8rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #c0392b;
  text-align: center;
}

/* ============ Footer ============ */
.site-footer {
  background: var(--navy-900);
  color: var(--text-muted);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  margin-bottom: 1rem;
}

.footer-brand p { font-size: 0.92rem; max-width: 280px; }

.footer-col { display: flex; flex-direction: column; gap: 0.55rem; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-col span { font-size: 0.92rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.3rem 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ============ Floating WhatsApp ============ */
.wa-float {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.15s ease;
}

.wa-float:hover { transform: scale(1.08); }

/* ============ Legal pages ============ */
.legal-page {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 4rem;
  min-height: 70vh;
}

.legal-page h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 2rem; }

.legal-page h2 { font-size: 1.25rem; margin: 2rem 0 0.7rem; }

.legal-page h3 { font-size: 1.05rem; margin: 1.4rem 0 0.5rem; }

.legal-page p, .legal-page li {
  color: var(--text-dark-muted);
  font-size: 0.96rem;
  margin-bottom: 0.7rem;
}

.legal-page ul { padding-left: 1.3rem; }

.legal-note {
  background: #fdf6e3;
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

[data-lang-section] { display: none; }
[data-lang-section].visible { display: block; }

/* ============ Responsive ============ */
@media (max-width: 1020px) {
  .header-call span { display: none; }
  .header-call { padding: 0.55rem; border-radius: 50%; }
  .main-nav { gap: 1.1rem; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--navy-900);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-130%);
    transition: transform 0.28s ease;
    z-index: -1;
  }

  .main-nav.open { transform: translateY(0); }

  .main-nav a { padding: 0.9rem 6%; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }

  .about-img { order: -1; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .hero { min-height: 86vh; }
}

@media (max-width: 480px) {
  .brand { gap: 0.5rem; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-name { font-size: 0.92rem; }
  .header-actions { gap: 0.5rem; }
  .lang-switch button { padding: 0.35rem 0.6rem; }

  .footer-grid { grid-template-columns: 1fr; }

  .hero-cta .btn { width: 100%; }

  .hero-badges { flex-direction: column; gap: 0.5rem; }

  .brand-sub { display: none; }
}
