/* GWR Dienstleistungen - Modernes Blau-Grün Gebäudereinigung-Design */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Open+Sans:wght@400;500;600&display=swap');

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

:root {
  --primary-blue: #0066cc;
  --dark-blue: #004499;
  --light-blue: #0088ff;
  --accent-green: #00aa66;
  --light-green: #00cc88;
  --neutral-white: #ffffff;
  --bg-light: #f5f7fa;
  --text-dark: #1a1a1a;
  --text-medium: #666666;
  --border-color: #e0e0e0;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--neutral-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--dark-blue);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header - Modern Top Navigation */
header {
  background: var(--neutral-white);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
  border-bottom: 3px solid var(--accent-green);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
  display: flex;
  align-items: center;
  justify-content: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent-green);
  transition: width 0.3s;
}

nav a:hover {
  color: var(--primary-blue);
}

nav a:hover::after {
  width: 100%;
}

/* Hero - Full Width Image with Overlay */
.hero {
  min-height: 85vh;
  background: linear-gradient(rgba(0, 102, 204, 0.7), rgba(0, 170, 102, 0.7)), url('../images/hero.jpg') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--neutral-white);
  position: relative;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid var(--neutral-white);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  color: var(--neutral-white);
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.1;
  color: var(--neutral-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
  font-family: 'Montserrat', sans-serif;
}

.btn-primary {
  background: var(--accent-green);
  color: var(--neutral-white);
  box-shadow: 0 4px 15px rgba(0, 170, 102, 0.3);
}

.btn-primary:hover {
  background: var(--light-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 170, 102, 0.4);
}

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

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

/* Sections */
section {
  padding: 5.5rem 0;
}

.section-light {
  background-color: var(--neutral-white);
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  padding: 0.375rem 1.25rem;
  background: var(--accent-green);
  color: var(--neutral-white);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 1.5px;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--dark-blue);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-medium);
  line-height: 1.8;
}

/* Service Cards - Icon Top Style */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: var(--neutral-white);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.4s ease;
  position: relative;
  text-align: center;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background: linear-gradient(to right, var(--primary-blue), var(--accent-green));
  transition: width 0.4s;
  border-radius: 2px;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 102, 204, 0.15);
  border-color: var(--accent-green);
}

.service-card:hover::before {
  width: 60%;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-white);
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-blue);
}

.service-text {
  color: var(--text-medium);
  font-size: 1rem;
  line-height: 1.8;
}

/* Testimonials - Staggered Cards */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background: var(--neutral-white);
  padding: 2.25rem;
  border-radius: 12px;
  border-left: 4px solid var(--accent-green);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
}

.stars {
  color: var(--accent-green);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  color: var(--text-medium);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--text-medium);
}

/* CTA Section - Gradient Background */
.cta-section {
  text-align: center;
  padding: 5rem 3rem;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 50%, var(--accent-green) 100%);
  position: relative;
  overflow: hidden;
  color: var(--neutral-white);
  border-radius: 16px;
  margin: 3rem 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
  border-radius: 50%;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--neutral-white);
  position: relative;
  z-index: 1;
}

.cta-section p {
  margin-bottom: 2.25rem;
  font-size: 1.15rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

/* Footer */
footer {
  background-color: var(--dark-blue);
  color: rgba(255, 255, 255, 0.9);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--accent-green);
  font-weight: 700;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  display: block;
  margin-bottom: 0.75rem;
  line-height: 1.8;
  transition: color 0.3s;
  font-size: 0.95rem;
}

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

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--neutral-white);
  border-top: 4px solid var(--accent-green);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  padding: 2rem;
  z-index: 1000;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--dark-blue);
}

.cookie-banner p {
  color: var(--text-medium);
  margin-bottom: 0.5rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.cookie-banner a {
  color: var(--primary-blue);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

/* Legal Pages */
.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
  background-color: var(--neutral-white);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.legal-page h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--dark-blue);
  border-bottom: 4px solid var(--accent-green);
  padding-bottom: 1rem;
}

.legal-page h2 {
  font-size: 1.9rem;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  color: var(--primary-blue);
}

.legal-page h3 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--dark-blue);
}

.legal-page p {
  margin-bottom: 1.25rem;
  line-height: 1.9;
  color: var(--text-medium);
}

.legal-page ul {
  margin-bottom: 1.25rem;
  padding-left: 2.5rem;
  line-height: 1.9;
  color: var(--text-medium);
}

.legal-page a {
  color: var(--primary-blue);
  text-decoration: underline;
  font-weight: 600;
}

.legal-page a:hover {
  color: var(--accent-green);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  nav ul {
    gap: 1rem;
    font-size: 0.85rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .cookie-banner .container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cta-section {
    padding: 3rem 2rem;
  }
  
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Icons */
.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
}
