/* === HERO === */

.hero-image {
  position: relative;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #0f141b;
}

/* leicht animierter Zoom fürs Hintergrundbild */
.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  filter: brightness(0.42) saturate(0.95);
  transition: transform 10s ease-out, filter 1s ease-in-out;
  z-index: 0;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 12, 18, 0.45) 0%, rgba(8, 12, 18, 0.28) 60%, rgba(8, 12, 18, 0.55) 100%);
  z-index: 0;
  pointer-events: none;
}

.hero-image:hover::before {
  transform: scale(1.15);
  filter: brightness(0.5) saturate(1);
}

/* Overlay */
.hero-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 3rem;
  background: rgba(15, 20, 27, 0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 1.4s ease forwards;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}

.hero-overlay h1 {
  font-family: 'Segoe UI', 'Calibri', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: 2px;
  color: #f5f7fb;
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 1.2s ease forwards 0.3s;
}

.hero-overlay p {
  font-family: 'Segoe UI', 'Calibri', sans-serif;
  font-size: clamp(1rem, 2vw, 2.5rem);
  font-weight: 200;
  letter-spacing: 2px;
  color: #d7dde7;
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 1.2s ease forwards 0.3s;
}

/* Keyframes */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 6rem;
  color: #f5f7fb;
  opacity: 0.7;
  z-index: 2;
  animation: scrollPulse 1.8s ease-in-out infinite;
  cursor: pointer;
  user-select: none;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
  transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
  opacity: 1;
}

@keyframes scrollPulse {
  0%, 100% {
    transform: translate(-50%, 0);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, 10px);
    opacity: 1;
  }
}

/* === ALLGEMEINE EINSTELLUNGEN === */

.left-column {
  width: 40%;
  text-align: left;
}

.right-column {
  width: 55%;
  margin-top: 2rem;
  text-align: left;
}

.left-column img {
  width: 75%;
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 14px 30px rgba(0,0,0,0.28);
}

a {
  color: #e63946;
  text-decoration: none;
}

a:hover {
  color: #ff6b75;
  text-decoration: underline;
}

.section-spacer {
  width: 100%;
  height: 10px;
  background-color: #0f141b;
  box-shadow: 0 3px 16px rgba(0,0,0,0.35);
}

html {
  scroll-behavior: smooth;
}

/* === BERATUNGS-SEKTION === */

.kompetenz-section {
  padding: 5rem 2rem;
  background-color: #0f141b;
  color: #e7ecf3;
}

.kompetenz-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.kompetenz-image {
  flex: 1 1 40%;
  min-width: 300px;
}

.kompetenz-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.38);
}

.kompetenz-text {
  flex: 1 1 55%;
  min-width: 300px;
}

.kompetenz-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #e63946;
  text-align: left;
}

.kompetenz-text .subline {
  font-size: 1.2rem;
  font-weight: 500;
  color: #aeb8c6;
  margin-bottom: 1.5rem;
}

.kompetenz-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  text-align: left;
  color: #e7ecf3;
}

.vorteile-liste {
  list-style: none;
  padding-left: 0;
  margin-top: 2rem;
  text-align: left;
}

.vorteile-liste li {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  padding-left: 1.8rem;
  position: relative;
  color: #e7ecf3;
}

.vorteile-liste li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #e63946;
  font-weight: bold;
}

/* === PLANUNGS-SEKTION === */

.planung-section {
  padding: 5rem 2rem;
  background-color: #131a22;
  text-align: center;
  color: #e7ecf3;
}

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

.planung-section h2 {
  font-size: 2.5rem;
  color: #e63946;
  margin-bottom: 1rem;
}

.planung-subline {
  font-size: 1.2rem;
  color: #aeb8c6;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.planung-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 4rem;
  justify-items: stretch;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}

.planung-card {
  background-color: #0f141b;
  padding: 2rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 10px 24px rgba(0,0,0,0.28);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.planung-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.35);
}

.planung-card i {
  font-size: 2.5rem;
  color: #e63946;
  margin-bottom: 1rem;
}

.planung-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #f5f7fb;
}

.planung-card p {
  font-size: 1rem;
  color: #aeb8c6;
  line-height: 1.6;
}

/* === TIMELINE-SEKTION === */

.timeline-horizontal {
  padding: 4rem 0;
  background-color: #0f141b;
  overflow-x: auto;
  align-content: center;
}

.timeline-horizontal h2 {
  font-size: 2.5rem;
  color: #e63946;
  margin-bottom: 1rem;
}

.timeline-track {
  display: flex;
  gap: 2rem;
  padding: 0 2rem;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
}

.timeline-slide {
  position: relative;
  flex: 0 0 320px;
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 14px;
  scroll-snap-align: start;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 14, 20, 0.58);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  color: #f5f7fb;
  text-align: left;
}

.slide-overlay h3 {
  font-size: 1.5rem;
  color: #e63946;
  margin-bottom: 0.8rem;
}

.slide-overlay p {
  font-size: 1rem;
  line-height: 1.6;
  color: #e7ecf3;
}

/* === ZUKUNFTSORIENTIERTE LÖSUNGEN === */

.zukunft-section {
  background-color: #131a22;
  padding: 6rem 2rem;
  color: #e7ecf3;
  text-align: left;
  position: relative;
}

.zukunft-container {
  max-width: 900px;
  margin: 0 auto;
}

.zukunft-container h2 {
  font-size: 2.5rem;
  color: #e63946;
  margin-bottom: 1rem;
}

.zukunft-subline {
  font-size: 1.2rem;
  color: #aeb8c6;
  margin-bottom: 2.5rem;
}

.zukunft-container p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 1.8rem;
  color: #e7ecf3;
}

/* === WIRTSCHAFTLICHKEIT === */

.wirtschaft-section {
  background-color: #0f141b;
  padding: 6rem 2rem;
  color: #e7ecf3;
}

.wirtschaft-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  justify-content: center;
}

.wirtschaft-text {
  flex: 1 1 500px;
}

.wirtschaft-text h2 {
  font-size: 2.5rem;
  color: #e63946;
  margin-bottom: 1rem;
}

.wirtschaft-subline {
  font-size: 1.2rem;
  color: #aeb8c6;
  margin-bottom: 2rem;
}

.wirtschaft-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #e7ecf3;
}

.wirtschaft-chart {
  flex: 1 1 400px;
  max-width: 500px;
}

.wirtschaft-chart svg {
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #131a22;
  box-shadow: 0 8px 20px rgba(0,0,0,0.32);
}

/* === ZERTIFIZIERTE QUALITÄT === */

.qualitaet-section {
  background-color: #131a22;
  padding: 6rem 2rem;
  color: #e7ecf3;
}

.qualitaet-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
}

.qualitaet-text {
  flex: 1 1 500px;
}

.qualitaet-text h2 {
  font-size: 2.5rem;
  color: #e63946;
  margin-bottom: 1rem;
}

.qualitaet-subline {
  font-size: 1.2rem;
  color: #aeb8c6;
  margin-bottom: 2rem;
}

.qualitaet-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #e7ecf3;
}

.qualitaet-logos {
  flex: 1 1 500px;
}

.qualitaet-logos ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
  align-items: center;
}

.qualitaet-logos li {
  flex: 0 1 120px;
  text-align: center;
}

.qualitaet-logos img {
  max-width: 100%;
  height: auto;
  filter: none;
  opacity: 1;
  transition: transform 0.3s ease;
}

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