/* ============================================
   AquaNova Gebäudereinigung & Abbruch
   Corporate Website Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #1B2A4A;
  --navy-light: #2a3f6a;
  --gold: #C5962A;
  --gold-light: #d4ab4a;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --shadow: 0 2px 15px rgba(27, 42, 74, 0.1);
  --shadow-lg: 0 10px 40px rgba(27, 42, 74, 0.15);
  --radius: 8px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  line-height: 1.7;
  font-size: 16px;
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

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

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

/* --- Typography --- */
h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }

.section-subtitle {
  color: var(--gray-600);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.gold-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0.75rem auto 1.5rem;
  border: none;
}

.text-center { text-align: center; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(197, 150, 42, 0.4);
}

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

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

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

.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 55px;
  width: auto;
}

.nav-logo span {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.nav-logo .company-sub {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gray-600);
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  color: var(--gray-800);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-links a.active {
  color: var(--navy);
  font-weight: 600;
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(27, 42, 74, 0.9) 0%, rgba(42, 63, 106, 0.85) 100%),
    url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?w=1920&q=80') center/cover no-repeat;
  color: var(--white);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: rgba(197, 150, 42, 0.05);
  transform: rotate(20deg);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 960px;
}

.hero-badge {
  display: inline-block;
  background: rgba(197, 150, 42, 0.2);
  color: var(--gold);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(197, 150, 42, 0.3);
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero h1 .highlight {
  color: var(--gold);
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 700px;
  line-height: 1.8;
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Sections --- */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--gray-50);
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px 30px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.6rem;
  color: var(--gold);
}

.service-card h3 {
  color: var(--navy);
}

.service-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- About Teaser --- */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  height: 400px;
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-text h2 {
  text-align: left;
}

.about-text .gold-line {
  margin-left: 0;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 1.5rem 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.about-feature .check {
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 700;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, rgba(27, 42, 74, 0.93) 0%, rgba(42, 63, 106, 0.9) 100%),
    url('https://images.unsplash.com/photo-1600585152220-90363fe7e115?w=1920&q=80') center/cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Page Header (Unterseiten) --- */
.page-header {
  background: linear-gradient(135deg, rgba(27, 42, 74, 0.92) 0%, rgba(42, 63, 106, 0.88) 100%),
    url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1920&q=80') center/cover no-repeat;
  color: var(--white);
  padding: 140px 0 60px;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: 2.5rem;
}

.page-header p {
  opacity: 0.8;
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0.5rem auto 0;
}

/* --- Leistungen Detail --- */
.leistung-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 40px 0;
}

.leistung-detail:not(:last-child) {
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 40px;
}

.leistung-detail.reverse {
  direction: rtl;
}

.leistung-detail.reverse > * {
  direction: ltr;
}

.leistung-detail-img {
  border-radius: var(--radius);
  height: 300px;
  overflow: hidden;
}

.leistung-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.leistung-detail-text h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.leistung-detail-text ul {
  list-style: none;
  margin-top: 1rem;
}

.leistung-detail-text ul li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  color: var(--gray-600);
}

.leistung-detail-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* --- Über Uns Seite --- */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 2rem;
}

.value-card {
  text-align: center;
  padding: 35px 25px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.value-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.8rem;
  color: var(--gold);
}

.value-card h3 {
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.team-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: start;
}

.team-photo {
  border-radius: var(--radius);
  height: 350px;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.team-info h3 {
  font-size: 1.6rem;
}

.team-info .role {
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

/* --- Kontakt --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius);
}

.contact-icon {
  width: 45px;
  height: 45px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  margin-bottom: 4px;
}

.contact-info-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Form */
.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form .btn {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 30px;
  background: #e8f5e9;
  border-radius: var(--radius);
  color: #2e7d32;
}

.form-success.show {
  display: block;
}

/* Map */
.map-section {
  margin-top: 60px;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Impressum / Datenschutz --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  text-align: left;
}

.legal-content h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--gray-600);
}

.legal-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 1rem;
}

.legal-content ul li {
  padding: 3px 0;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  opacity: 0.7;
  font-size: 0.95rem;
  margin-top: 1rem;
}

.footer h4 {
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  opacity: 0.7;
  transition: opacity var(--transition);
  font-size: 0.95rem;
}

.footer ul li a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  opacity: 0.7;
}

.footer-contact-item .icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.85rem;
  opacity: 0.5;
}

/* --- Scroll to Top --- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  z-index: 999;
}

.scroll-top:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
}

.scroll-top.show {
  display: flex;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  h1 { font-size: 2.2rem; }
  .hero h1 { font-size: 2.5rem; }

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

  .about-teaser,
  .leistung-detail,
  .team-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .leistung-detail.reverse {
    direction: ltr;
  }

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

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

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

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

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 30px 20px;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform var(--transition);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero h1 { font-size: 2rem; }

  .hero-stats {
    gap: 20px;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 50px 0;
  }

  .page-header {
    padding: 120px 0 40px;
  }

  .page-header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  h2 { font-size: 1.6rem; }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    text-align: center;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .contact-form {
    padding: 25px;
  }
}
