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

:root {
  --primary: #1a3560;
  --primary-dark: #122644;
  --accent: #5cb85c;
  --accent-hover: #4a9e4a;
  --text: #333;
  --text-light: #666;
  --border: #ddd;
  --bg-light: #f7f7f7;
  --white: #fff;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

a {
  color: inherit;
}

/* Top Bar */
.top-bar {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
}

/* Header */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.logo {
  display: block;
  line-height: 0;
}

.logo img {
  height: 65px;
  width: auto;
  display: block;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

nav a:hover,
nav a.active {
  color: var(--primary);
}

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

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary);
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 3px;
  transition: 0.3s;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  background: url('images/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 80px 0;
  max-width: 750px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero h3 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 25px;
  line-height: 1.5;
}

.hero h3 strong {
  font-weight: 700;
}

.hero-content > p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 35px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* Intro */
.intro {
  padding: 60px 0;
  background: var(--white);
}

.intro-content {
  max-width: 900px;
  text-align: center;
}

.intro-content p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-light);
}

.intro-content strong {
  color: var(--primary);
}

/* Page Hero (Unterseiten) */
.page-hero {
  position: relative;
  min-height: 280px;
  background: url('images/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
}

.page-hero-small {
  min-height: 200px;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.page-hero-content {
  position: relative;
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-hero-content p {
  font-size: 18px;
  opacity: 0.9;
}

/* Home Links */
.home-links {
  padding: 70px 0;
  background: var(--bg-light);
}

.home-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.home-link-card {
  background: var(--white);
  padding: 35px 30px;
  border-radius: 4px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.3s, box-shadow 0.3s;
}

.home-link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.home-link-card h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 12px;
}

.home-link-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.home-link-card span {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}

/* Home Page Sections */
.home-about {
  padding: 80px 0;
  background: var(--bg-light);
}

.home-about .about-grid {
  margin-bottom: 0;
}

.home-services {
  padding: 80px 0;
  background: var(--white);
}

.home-section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.8;
}

.home-section-link {
  text-align: center;
  margin-top: 45px;
}

/* Ergebnisse */
.results-section {
  padding: 80px 0;
  background: var(--white);
}

.results-image {
  max-width: 1000px;
  margin: 0 auto;
}

.results-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.results-image figcaption {
  margin-top: 15px;
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
}

.home-values {
  padding: 80px 0;
  background: var(--bg-light);
}

.home-values-grid {
  padding-top: 0;
  border-top: none;
}

.banner-btn {
  margin-top: 10px;
}

/* Sections */
.about,
.services,
.contact {
  padding: 80px 0;
}

.about {
  background: var(--bg-light);
}

h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 15px;
}

.section-divider {
  width: 80px;
  border: none;
  border-top: 3px solid var(--accent);
  margin: 0 auto 50px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 70px;
}

.about-lead {
  font-size: 17px;
  font-weight: 600;
  color: var(--primary) !important;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.8;
}

.about-list {
  margin: 25px 0 25px 20px;
  color: var(--text-light);
}

.about-list li {
  margin-bottom: 10px;
  line-height: 1.7;
  font-size: 16px;
}

.about-list li::marker {
  color: var(--primary);
}

.about-text .btn {
  margin-top: 15px;
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.about-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding-top: 50px;
  border-top: 1px solid var(--border);
}

.value-box {
  background: var(--white);
  padding: 30px 25px;
  border-radius: 4px;
  border: 1px solid var(--border);
  text-align: center;
}

.value-box h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.value-box p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
}

/* Services */
.services {
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.service-unterhalt { background-image: url('images/unterhaltsreinigung.jpg'); }
.service-glas { background-image: url('images/glasreinigung.jpg'); }
.service-graffiti { background-image: url('images/graffiti.jpg'); }
.service-sonder { background-image: url('images/sonderreinigung.jpg'); }
.service-buero { background-image: url('images/buero.jpg'); }
.service-treppen { background-image: url('images/treppenhaus.jpg'); }

.service-card h3 {
  padding: 20px 20px 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
}

.service-card p {
  padding: 0 20px 20px;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.services-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.8;
}

.services-cta {
  text-align: center;
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px solid var(--border);
}

.services-cta p {
  color: var(--text-light);
  margin-bottom: 25px;
  font-size: 16px;
}

/* Leistungen-Seite (BAZY-Stil) */
.page-hero-content h3 {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 30px;
  opacity: 0.95;
}

.page-hero-buttons {
  justify-content: center;
}

/* Leistungen-Seite */
.leistungen-page {
  padding: 60px 0 80px;
  background: var(--white);
}

.service-overview {
  padding: 60px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.service-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.service-overview-card {
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  background: var(--white);
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  width: 100%;
  text-align: left;
}

.service-overview-card:hover,
.service-overview-card.active {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.service-overview-card.active span {
  color: var(--primary);
}

.service-overview-card .service-image {
  height: 160px;
}

.service-overview-card span {
  display: block;
  padding: 18px 15px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
}

/* Accordion – BAZY-Stil */
.service-accordion {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.accordion-item {
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.accordion-item.open {
  background: var(--bg-light);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.accordion-trigger:hover .accordion-title {
  color: var(--primary-dark);
}

.accordion-heading {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.accordion-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  transition: color 0.3s;
}

.accordion-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-light);
}

.accordion-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accordion-icon::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-right: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
  transform: rotate(45deg);
  transition: transform 0.3s;
  margin-top: -4px;
}

.accordion-item.open .accordion-icon::before {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}

.accordion-panel-inner {
  padding: 0 10px 40px;
}

.accordion-panel-inner .section-divider-left {
  margin-bottom: 30px;
}

.accordion-panel-inner .service-intro {
  margin-bottom: 25px;
}

.accordion-panel-inner h4 {
  font-size: 17px;
  color: var(--primary);
  margin: 30px 0 12px;
  font-weight: 700;
}

.accordion-panel-inner p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 12px;
  max-width: 900px;
}

.accordion-panel-inner .service-detail-cta {
  margin-top: 30px;
  background: var(--white);
  border-left: 4px solid var(--primary);
  padding: 25px 30px;
}

.accordion-item.open .accordion-panel-inner .service-detail-cta {
  background: var(--white);
}

.service-detail {
  padding: 80px 0;
  background: var(--white);
}

.service-detail-alt {
  background: var(--bg-light);
}

.service-detail h2 {
  text-align: left;
  font-size: 32px;
  margin-bottom: 10px;
}

.service-tagline {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-light);
  margin-bottom: 20px;
}

.section-divider-left {
  margin: 0 0 35px;
}

.service-intro {
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 35px;
  max-width: 900px;
}

.service-detail h4 {
  font-size: 18px;
  color: var(--primary);
  margin: 35px 0 15px;
  font-weight: 700;
}

.service-detail p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 15px;
  max-width: 900px;
}

.feature-list {
  margin: 0 0 20px 20px;
  max-width: 900px;
}

.feature-list li {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 12px;
  font-size: 16px;
}

.feature-list li strong {
  color: var(--text);
}

.feature-list-plain li {
  list-style: disc;
}

.service-detail-cta {
  margin-top: 50px;
  padding: 35px;
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  max-width: 900px;
}

.service-detail-alt .service-detail-cta {
  background: var(--white);
}

.service-detail-cta h4 {
  margin-top: 0;
}

.service-detail-cta p {
  margin-bottom: 20px;
}

html {
  scroll-behavior: smooth;
}

/* Banner */
.banner {
  height: 350px;
  background: url('images/banner.jpg') center/cover no-repeat;
  position: relative;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  text-align: center;
  padding: 20px;
}

.banner h2 {
  color: var(--white);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
}

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

.contact-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.8;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px 18px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: inherit;
  font-size: 15px;
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form button {
  align-self: flex-start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-box h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 700;
}

.info-box p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}

.info-box a {
  color: var(--accent);
  text-decoration: none;
}

.info-box a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-top {
  text-align: center;
  margin-bottom: 40px;
}

.footer-logo {
  height: 90px;
  width: auto;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 16px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-links span {
  opacity: 0.5;
}

.footer-seo {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 30px;
  margin-bottom: 30px;
}

.footer-seo p {
  font-size: 13px;
  line-height: 1.8;
  opacity: 0.7;
  text-align: center;
  max-width: 900px;
  margin: auto;
}

.copyright {
  text-align: center;
  font-size: 13px;
  opacity: 0.6;
}

/* Legal Pages */
.legal-content {
  padding: 70px 0;
}

.legal-content h2 {
  font-size: 22px;
  text-align: left;
  margin: 35px 0 15px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 15px;
}

.legal-note {
  margin-top: 40px;
  padding: 15px 20px;
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-links-grid {
    grid-template-columns: 1fr;
  }

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

  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-image img {
    min-height: 300px;
  }
}

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

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  nav.open {
    display: flex;
  }

  header .navbar {
    position: relative;
  }

  .hero h1 {
    font-size: 36px;
  }

  .page-hero-content h1 {
    font-size: 32px;
  }

  .hero h3 {
    font-size: 17px;
  }

  .banner h2 {
    font-size: 28px;
  }

  h2 {
    font-size: 28px;
  }

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

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

  .service-overview-grid {
    grid-template-columns: 1fr;
  }

  .service-detail h2 {
    font-size: 26px;
  }

  .accordion-title {
    font-size: 22px;
  }

  .accordion-subtitle {
    font-size: 15px;
  }

  .logo img {
    height: 50px;
  }
}

/* ===== Cookie Banner ===== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: var(--white);
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

#cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 5%;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 240px;
}

.cookie-text p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.9;
  margin: 0;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn-accept {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 3px;
  cursor: pointer;
  transition: 0.3s;
  font-family: inherit;
}

.cookie-btn-accept:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 3px;
  cursor: pointer;
  transition: 0.3s;
  font-family: inherit;
}

.cookie-btn-reject:hover {
  border-color: var(--white);
}

@media (max-width: 600px) {
  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .cookie-buttons {
    width: 100%;
  }
  .cookie-btn-accept,
  .cookie-btn-reject {
    flex: 1;
    text-align: center;
  }
}
