
:root {
  --primary-color: #064e7c;
  --accent-color: #c62828;
  --background-color: #ffffff;
  --text-color: #111111;
  --font-family: 'Epilogue', sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}
	

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

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


header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background-color: rgba(0, 0, 0, 0.4); /* halbtransparent */
  color: #fff;
  z-index: 10;
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 100px;
  display: block;
  
}

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

nav ul li a {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  transition: opacity 0.3s;
}

nav ul li a:hover {
  opacity: 0.75;
}

.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent-color);
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #a32020;
}

.hero {
  background: url(src/img/Speck\ Header_hell.jpg) center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 12rem 1rem;
  position: relative;
  
  
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.section-about {
  background-color: #f4f7fb;
  padding: 4rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.6;
}

.about-image img {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image img {
    max-height: none;
  }
}

.about-image-slider {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  border-radius: 20px;
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position:top;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}

.slider-img.active {
  opacity: 1;
  z-index: 1;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  background-color: #f4f4f4;
  padding: 1rem;
  border-radius: 8px;
}

.benefit-item img {
  width: 74px;
  height: 74px;
  background-color: var(--primary-color);
  padding: 0.5rem;
  border-radius: 8px;
  
}

.section-tasks {
  background-color: #f4f7fb;
}

.tasks-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: center;
}

.tasks-image img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  max-height: 450px;
}

.tasks-content {
  font-size: 1.1rem;
  line-height: 1.6;
  padding-bottom: 20px;
}

.tasks-list {
  list-style: none;
  padding-left: 0;
  padding-bottom: 20px;
}

.tasks-list li::before {
  content: "✔";
  color: var(--accent-color);
  font-weight: bold;
  margin-right: 0.75rem;
}
@media (max-width: 768px) {
  .tasks-grid {
    grid-template-columns: 1fr;
  }
}
.requirements {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.requirements img {
  flex: 1;
  max-width: 500px;
  border-radius: 8px;
}

.requirements-list {
  flex: 1;
}

.steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.step {
  flex: 1;
  min-width: 200px;
  text-align: center;
}
.section-apply {
  background-color: #f4f7fb; /* helles Blau/Grau */
  padding: 4rem 0;
}

.apply-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.apply-form input[type="file"] {
  font-size: 1rem;
  font-family: inherit;
  border: none;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
  color: #333;
}

.checkbox input[type="checkbox"] {
  margin: 0;
  transform: scale(1.2);
}

.apply-form input,
.apply-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
}

.apply-form input:focus,
.apply-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(6, 78, 124, 0.2);
}

.apply-form .btn {
  width: fit-content;
  align-self: center;
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}


.gallery-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
	padding: 4rem 1rem;
}

.gallery-set {
  display: none;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.gallery-set.active {
  display: flex;
  opacity: 1;
}

.gallery-set img {
  width: calc(50% - 1rem);
  max-width: calc(50% - 1rem);
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.3s;
  max-height: 400px;
}

.gallery-set img:nth-child(n+3) {
  width: calc(33.33% - 1rem);
  max-width: calc(33.33% - 1rem);
}

.gallery-set img:hover {
  transform: scale(1.03);
}

.gallery-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 1rem;
  pointer-events: none; /* Buttons sichtbar, aber nicht blockierend */
}

.gallery-controls button {
  background-color: rgba(6, 78, 124, 0.8); /* halbtransparentes Blau */
  border: none;
  color: white;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  pointer-events: all; /* Interaktion aktivieren */
  transition: background-color 0.3s ease;
}

.gallery-controls button:hover {
  background-color: rgba(198, 40, 40, 0.9); /* Akzentrot bei Hover */
}

.scroll-top {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background-color: var(--accent-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  z-index: 999;
}

/* Header transparent auf Hero mit mittiger Navigation */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 10;
  display: flex;
  align-items: center;
  background: transparent;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  flex: 1;
}

.logo img {
  height: 120px;
  display: block;
}

.main-nav {
  flex: 2;
  text-align: center;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: nowrap;
}

.main-nav ul li a {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
}
.site-footer {
  background-image: url('src/img/Speck\ Header_hell.jpg'); /* dein Hero-Bildpfad */
  background-size: cover;
  background-position: top center;
  height: 100px;
  display: flex;
  align-items: center;
  color: #fff;
  margin-top: 50px;
}

.footer-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: center;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 0;
  margin: 0;
}

.footer-nav a {
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  transition: opacity 0.3s;
}

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

.spacer {
  flex: 1;
}
/* Burger-Menü */
.burger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* Mobilansicht */
@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .main-nav {
    position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: rgba(6, 78, 124, 0.95);
  display: flex;
  border-radius: 0 0 25px 25px; /* nur unten rund */
  flex-direction: column;
  align-items: center;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  }

  .main-nav.open {
    padding: 1rem 0;
  max-height: 300px; /* oder höher, wenn mehr Menüpunkte */
  opacity: 1;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .main-nav ul li a {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
  }

  .spacer {
    display: none;
  }
}
.divider-sm { height: 25px; }
.divider { height: 50px; }
.divider-lg { height: 100px; }

