/* Neue Font einbinden */
@import url('https://use.typekit.net/wuj3ljv.css');

/* Allgemeine Einstellungen */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "news-gothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

/* =================================== */
/* Header                              */
/* =================================== */

.hamburger-menu {
  display: none;
}

.header {
  /* Hintergrund transparent, damit das Logo und der Hero-Bereich überlappen */
  background-color: transparent;
  padding: 15px 20px;
  display: flex;
  justify-content: flex-end; /* Korrigiert: statt 'right' */
  align-items: center;
  position: relative;  /* Damit das absolute Logo relativ zu diesem Container positioniert wird */
  z-index: 1000;
}

.header .logo {
  position: absolute;
  top: 10px;  /* Abstand vom oberen Rand, ggf. anpassen */
  left: 20px;
  z-index: 2000;
}

.header .logo img {
  height: 120px; /* Größeres Logo */
}

.header nav ul {
  list-style: none;
  display: flex;
}

.header nav ul li {
  margin: 0 15px;
}

.header nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s;
}

.header nav ul li a:hover {
  color: #fff;
}

/* =================================== */
/* Hero-Bereich                        */
/* =================================== */

#hero {
  position: relative;           /* Wichtig für absolute Positionierung des LKW */
  background-color: #ffd700;    /* Gelb */
  padding: 80px 20px 120px;     /* Oben/unten ausreichend Platz */
  text-align: center;
}

/* Inhalt, Headline, Subheadline, Button */
.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fff;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #fff;
}

.btn-hero {
  display: inline-block;
  padding: 10px 20px;
  background-color: transparent; /* Transparenter Hintergrund, weißer Rahmen */
  color: #fff;
  border: 2px solid #fff;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.btn-hero:hover {
  background-color: #fff;
  color: #ffd700;
}

/* Kacheln / Bullet Points */
.hero-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.hero-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 20px;
  max-width: 240px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.hero-card img {
  display: block;
  width: 50px;
  height: 50px;
  margin: 0 auto 10px;
  object-fit: contain;
}

.hero-card h3 {
  font-size: 1rem;
  color: #333;
  margin: 0;
}

/* LKW-Grafik unten rechts */
.hero-lkw {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 120px;  /* LKW-Größe anpassen */
  z-index: 1;
}

.hero-lkw img {
  width: 100%;
  height: auto;
}

/* =================================== */
/* Allgemeine Abschnitte               */
/* =================================== */

section {
  padding: 60px 20px;
}

.section {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ffd700;
}

.section p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #333;
}

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.partner-logos img {
  max-width: 150px;
  height: auto;
  object-fit: contain;
  filter: brightness(1);
}

/* =================================== */
/* Werte der SVG (Grauer Hintergrund)  */
/* =================================== */

#werte {
  background-color: #595959;
  padding: 60px 20px;
  text-align: center;
  max-width: 100%;
}

.section-title {
  font-size: 2rem;
  color: #ffd700;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1rem;
  color: #fff !important;
  margin-bottom: 40px;
}

/* Rasterlayout für die Werte */
.werte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.wert-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.wert-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.wert-icon {
  font-size: 40px;
  color: #ffd700;
}

.wert-content h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 10px;
}

.wert-content p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .werte-grid {
    grid-template-columns: 1fr;
  }
  .wert-content p {
    font-size: 0.95rem;
  }
}

/* =================================== */
/* Ausbildungsinhalte                  */
/* =================================== */

.ausbildung-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.ausbildung-block {
  flex: 1 1 calc(33.33% - 20px);
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: left;
  max-width: calc(33.33% - 20px);
}

.ausbildung-block ul {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 20px;
}

.ausbildung-block ul li {
  margin-bottom: 10px;
  line-height: 1.6;
  color: #333;
  font-size: 1rem;
}

.ausbildung-block h3 {
  font-size: 1.5rem;
  color: #ffd700;
  margin-bottom: 10px;
}

.ausbildung-block p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

/* Animation beim Sichtbarwerden (Intersection Observer) */
.ausbildung-block ul li {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
  will-change: opacity, transform;
}

.ausbildung-block ul li.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =================================== */
/* Benefits (gelber Hintergrund)       */
/* =================================== */

#benefits {
  background-color: #ffd700;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.benefits-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.benefit-item {
  flex: 1 1 calc(25% - 20px);
  max-width: calc(25% - 20px);
  background-color: #fff;
  color: #333;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-item:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.benefit-item img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  object-fit: contain;
}

.benefit-item h3 {
  font-size: 1rem;
  color: #ffd700;
  margin-bottom: 5px;
}

.benefit-item p {
  font-size: 0.9rem;
  color: #333;
}

/* =================================== */
/* Feedback                           */
/* =================================== */

#feedback {
  background-color: #f4f4f4;
  padding: 40px 20px;
  text-align: center;
}

#feedback h2 {
  font-size: 2rem;
  color: #ffd700;
  margin-bottom: 40px;
}

.feedback-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 20px;
}

.feedback-item {
  flex: 1 1 calc(33.33% - 30px);
  max-width: calc(33.33% - 30px);
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
}

.feedback-item img {
  width: 200px;
  height: 200px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  margin-right: 20px; /* etwas Abstand zum Sprechblasen-Text */
}

.speech-bubble {
  position: relative;
  padding: 1.5rem;
  border: 4px solid #ffd700;
  border-radius: 20px;
  background: #fff;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: left;
}

.speech-bubble:before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  top: 18px;
  left: -20px;
  border-width: 10px 20px 10px 0;
  border-style: solid;
  border-color: transparent #ffd700 transparent transparent;
}

.speech-bubble:after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  top: 20px;
  left: -16px;
  border-width: 8px 16px 8px 0;
  border-style: solid;
  border-color: transparent #fff transparent transparent;
}

.speech-bubble h3 {
  font-size: 1.2rem;
  color: #ffd700;
  text-align: left;
  margin-top: 10px;
}

.speech-bubble p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* =================================== */
/* Recruiting-Prozess                  */
/* =================================== */

.linda-img {
  max-width: 200px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

#recruiting {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #ffd700;
  max-width: 100%;
}

#recruiting h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 40px;
}

.recruiting-steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.step {
  text-align: center;
  flex: 1 1 calc(20% - 30px);
  margin: 0 auto;
}

.step-number {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 10px;
  text-transform: none;
}

.step .material-icons {
  font-size: 48px;
  color: #fff;
  margin-bottom: 10px;
}

.step p {
  font-size: 1rem;
  color: #fff;
  margin-top: 5px;
  line-height: 1.5;
}

/* =================================== */
/* Geschäftsfelder                     */
/* =================================== */

#business-areas {
  background-color: #f4f4f4;
  padding: 60px 20px;
  text-align: center;
  max-width: 100%;
}

#business-areas h2 {
  font-size: 2rem;
  color: #ffd700;
  margin-bottom: 40px;
}

.business-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 20px;
  justify-items: center;
}

.business-item {
  background-color: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.business-item:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.business-item img {
  height: 60px;
  margin-bottom: 10px;
  object-fit: contain;
}

.business-item h3 {
  font-size: 1.2rem;
  color: #333;
  margin-top: 5px;
}

.business-item p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

.business-item.main-business {
  grid-column: span 3;
  background-color: #ffd700;
  color: #fff;
}

.business-item.main-business img {
  filter: brightness(0) invert(1);
}

.business-item.main-business h3 {
  color: #fff;
}

.business-item:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.business-item.main-business {
  flex: 2 1 calc(66.66% - 20px);
  background-color: #ffd700;
  color: #fff;
}

.business-item.main-business h3,
.business-item.main-business p {
  color: #fff;
}

.business-item.main-business img {
  height: 80px;
}

/* =================================== */
/* Bewerbung                           */
/* =================================== */

#application {
  background-color: #ffd700;
  color: #fff;
  padding: 60px 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

#application h2 {
  color: #fff;
}

.btn-primary {
  background-color: #ffd700;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
  border-style: solid;
  border-color: #fff;
}

.btn-primary:hover {
  background-color: #e6be00;
}

/* =================================== */
/* Interaktive Fragen                  */
/* =================================== */

#fragen {
  padding: 60px 20px;
  text-align: center;
  background-color: #f0f0f0; /* Hellgrauer Hintergrund */
}

#fragen h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

#fragen form {
  background-color: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  position: relative;
}

.question-step-indicator {
  display: inline-block;
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 8px;
  font-weight: 500;
}

#fragen .question {
  margin-bottom: 30px;
}

#fragen .question p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: 500;
  color: #444;
}

.answer-buttons {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.answer-buttons button {
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  background-color: #ffd700;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.answer-buttons button:hover {
  background-color: #e6be00;
  transform: scale(1.03);
}

.answer-buttons input[type="date"],
.answer-buttons input[type="text"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

/* Kontaktformular (Name, Telefon, E-Mail) */
#contact-info {
  margin-top: 30px;
}

.contact-field-stacked {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.contact-field-stacked label {
  font-weight: 600;
  color: #444;
  margin-bottom: 5px;
}

.contact-field-stacked input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  max-width: 300px;
}

#contact-info button[type="submit"] {
  background-color: #ffd700;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

#contact-info button[type="submit"]:hover {
  background-color: #e6be00;
}

/* =================================== */
/* Fußzeile                            */
/* =================================== */

footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  color: #ffd700;
  text-decoration: none;
  margin: 0 5px;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links span {
  color: #fff;
  margin: 0 5px;
}

/* =================================== */
/* Responsive Anpassungen              */
/* =================================== */

.desktop-nav {
  display: flex;
}

.mobile-nav {
  display: none;
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .header-container {
    flex-direction: column;
    align-items: center;
  }

  .header nav ul {
    flex-direction: column;
    align-items: center;
  }

  .header nav ul li {
    margin: 10px 0;
  }

  .hamburger-menu {
    display: flex;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 100;
  }

  .mobile-nav.active {
    display: flex;
  }

  .mobile-nav ul li a {
    font-size: 1.2rem;
    padding: 10px 0;
  }

  #hero h1 {
    font-size: 2rem;
  }

  #hero {
    padding: 150px 20px;
  }

  #about h2 {
    font-size: 1.8rem;
  }

  #about p {
    font-size: 0.9rem;
  }

  .werte-grid {
    grid-template-columns: 1fr;
  }

  .wert {
    width: 90%;
  }

  .ausbildung-container {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .ausbildung-block {
    width: 100%;
    max-width: 100%;
    padding: 15px;
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .ausbildung-block h3 {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 15px;
  }

  .ausbildung-block ul {
    padding-left: 20px;
  }

  .ausbildung-block ul li {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .benefit-item {
    flex: 1 1 calc(100% - 10px);
    max-width: calc(100% - 10px);
  }

  .feedback-slider {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .feedback-item {
    flex: 1 1 100%;
    max-width: 100%;
    text-align: center;
    flex-direction: column;
  }

  .feedback-item img {
    max-width: 120px;
    margin: 0 auto 10px;
  }

  .speech-bubble {
    max-width: 90%;
    margin: 0 auto;
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .speech-bubble:before,
  .speech-bubble:after {
    top: 10px;
    left: -10px;
    border-width: 8px 16px 8px 0;
  }

  .recruiting-steps {
    flex-direction: column;
    gap: 20px;
  }

  .step {
    width: 90%;
  }

  .business-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .business-item img {
    margin: 0 auto 10px;
    height: 50px;
  }

  .business-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
  }

  .business-item p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .business-item.main-business {
    width: 100%;
    padding: 20px;
  }

  .business-item.main-business img {
    height: 60px;
  }

  footer {
    font-size: 0.9rem;
  }

  /* Kontaktformular-Spalten auf voller Breite */
  .contact-fields {
    flex-direction: column;
  }

  .contact-field {
    flex: 1 1 100%;
  }
}

@media (max-width: 1024px) {
  .header-container {
    padding: 0 10px;
  }

  #hero h1 {
    font-size: 2.2rem;
  }

  #hero {
    padding: 200px 20px;
  }

  .werte-grid {
    flex-wrap: wrap;
    justify-content: center;
  }

  .wert {
    width: 45%;
  }

  .benefits-container {
    flex-wrap: wrap;
  }

  .benefit-item {
    flex: 1 1 calc(33.33% - 20px);
  }

  .feedback-slider {
    gap: 20px;
  }

  .recruiting-steps {
    gap: 20px;
    flex-wrap: wrap;
  }

  .step {
    width: calc(50% - 20px);
  }

  .business-container {
    flex-wrap: wrap;
    gap: 20px;
  }

  .business-item {
    flex: 1 1 45%;
  }
}

@media (max-width: 480px) {
  .benefit-item {
    flex: 1 1 100%;
  }
}

/* Animation (z.B. für FadeIn) */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
