/* ==========================
   RESET & BASE STYLES
========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  color: #222;
  background-color: #f9f9f9;
}

/* Skip link */
.skip {
  position: absolute;
  left: -999px;
  top: auto;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  z-index: 999;
}
.skip:focus {
  left: 10px;
  top: 10px;
}

/* ==========================
   LAYOUT WRAPPER
========================== */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================
   HEADER & NAVIGATION
========================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: relative;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-title {
  font-weight: bold;
  font-size: 1.2rem;
}

.brand-sub {
  font-size: 0.9rem;
  color: #666;
}

.nav-toggle {
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
}



/* ==========================
   HERO
========================== */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero .lead {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #555;
}

.hero-ctas .btn {
  margin-right: 10px;
  margin-top: 10px;
}

.hero-features {
  list-style: none;
  margin-top: 20px;
}

.hero-features li {
  margin-bottom: 8px;
}

.hero-image {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-placeholder {
  display: inline-block;
  width: 300px;
  height: 200px;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

/* ==========================
   BUTTONS
========================== */
.btn {
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  border-radius: 5px;
  transition: all 0.2s;
  display: inline-block;
  text-decoration: none;
}


/* ==========================
   KPIs
========================== */
.kpis {
  display: flex;
  justify-content: space-between;
  margin: 60px 0;
}

.kpi {
  text-align: center;
  flex: 1;
}

.kpi-number {
  font-size: 2rem;
  font-weight: bold;
}

.kpi-label {
  color: #666;
}

/* ==========================
   CARDS (SERVICES)
========================== */
.cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  flex: 1 1 250px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-5px);
}

/* ==========================
   TIMELINE
========================== */
.timeline {
  position: relative;
  margin: 50px 0;
  padding-left: 40px; /* Platz für die Linie und Punkte */
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px; /* Linie links */
  width: 4px;
  height: 100%;
  background: #03b3b9;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 12px; /* Punkt auf der Linie */
  top: 0;
  width: 16px;
  height: 16px;
  background: #fff;
  background: #03b3b9;
  border-radius: 50%;
}

.timeline-date {
  font-weight: bold;
  margin-bottom: 5px;
}

.timeline-content {
  margin-left: 40px;
  color: #555;
}


/* ==========================
   TEAM
========================== */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.team-member {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  flex: 1 1 200px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.team-photo {
  width: 100px;
  height: 100px;
  background: #ddd;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

/* ==========================
   CONTACT
========================== */
.contact-card {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin: 60px 0;
}

.contact-form {
  flex: 1 1 300px;
}

.contact-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 8px 10px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.contact-info {
  flex: 1 1 200px;
}

/* ==========================
   FOOTER
========================== */
.site-footer {
  background: #222;
  color: #fff;
  padding: 30px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }

  .kpis {
    flex-direction: column;
  }

  .cards {
    flex-direction: column;
  }

  .contact-card {
    flex-direction: column;
  }

  .team-grid {
    flex-direction: column;
  }
}
