:root {
  --primary-color: #1484e7;
  --primary-color-hover: #0f6cbf;
  --bg-dark: #000000;
  --bg-light-gray: #f4f5f7;
  --text-dark: #000000;
  --text-gray: #555555;
  --bg-light: #f9f9f9;
  --white: #ffffff;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --container-width: 1200px;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* Header */
header {
  background-color: var(--white);
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo img {
  height: 44px;
}

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

.nav-links a {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
  transition: color 0.3s;
  text-transform: uppercase;
}

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

.btn-green-solid {
  background-color: var(--primary-color);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s, transform 0.2s;
  display: inline-block;
  cursor: pointer;
  border: none;
}

.btn-green-solid:hover {
  background-color: var(--primary-color-hover);
  transform: translateY(-2px);
}

.btn-white-outlined {
  background-color: var(--white);
  color: var(--text-dark) !important;
  border: 1px solid var(--white);
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s;
  display: inline-block;
}

.btn-white-outlined:hover {
  background-color: transparent;
  color: var(--white) !important;
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(20,132,231,0.7) 50%, rgba(20,132,231,1) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.hero-shape {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background-color: var(--primary-color);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 80px 0 120px;
}

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

.hero-shape h1 {
  font-size: 52px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-shape p {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 30px;
  max-width: 400px;
  font-weight: 500;
}

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

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

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-gray);
  max-width: 800px;
  margin: 0 auto 50px auto;
}

/* Referenzen Logos */
.logos-flex {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 40px;
  opacity: 0.6;
}

.logos-flex img {
  height: 40px;
  filter: grayscale(100%);
  transition: filter 0.3s, opacity 0.3s;
}

.logos-flex img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Dienstleistungen */
.service-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}

.service-row:nth-child(even) {
  flex-direction: row-reverse;
}

.service-img {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  height: 350px;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.service-img:hover img {
  transform: scale(1.05);
}

.service-text {
  flex: 1;
}

.service-text h3 {
  font-size: 32px;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 800;
}

.service-text p {
  color: var(--text-gray);
  margin-bottom: 25px;
  font-size: 16px;
}

/* Engineering Process / Expertisen */
.bg-yellow-section {
  background-color: var(--bg-light-gray);
  padding: 80px 0;
}

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

.process-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  text-align: center;
}

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

.process-icon {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.process-card h4 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--text-dark);
  font-weight: 700;
}

.process-card p {
  font-size: 15px;
  color: var(--text-gray);
}

/* Team Banner */
.team-banner {
  background-color: var(--bg-dark);
  padding: 70px 0;
  color: var(--white);
}

.team-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  padding: 30px;
  border-radius: 12px;
  backdrop-filter: blur(5px);
  transition: background 0.3s;
  flex: 1;
  max-width: 450px;
}

.team-member:hover {
  background: rgba(255,255,255,0.2);
}

.team-info h4 {
  font-size: 22px;
  margin-bottom: 2px;
}

.team-info p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 10px;
}

.linkedin-link {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.linkedin-link:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: var(--bg-light);
  padding: 60px 0 30px;
  border-top: 1px solid #eee;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 20px;
}

.footer-logo p {
  color: var(--text-gray);
  font-size: 14px;
  max-width: 300px;
}

.footer-heading {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

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

.footer-links a {
  color: var(--primary-color);
  font-size: 14px;
  transition: opacity 0.3s;
  font-weight: 600;
}

.footer-links a:hover {
  opacity: 0.7;
}

.footer-text {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #ddd;
  font-size: 14px;
  color: #999;
}

@media (max-width: 992px) {
  .hero-shape {
    width: 60%;
    padding: 0 40px 0 80px;
  }
  .grid-process {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero {
    height: auto;
    padding: 100px 0;
  }
  .hero-shape {
    position: relative;
    width: 100%;
    clip-path: none;
    padding: 40px 20px;
    background: rgba(20,132,231,0.9);
  }
  .hero-overlay {
    background: rgba(0,0,0,0.6);
  }
  .service-row, .service-row:nth-child(even) {
    flex-direction: column;
    gap: 30px;
  }
  .grid-process {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
