/* === 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;
}

/* 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.7);
  transition: transform 10s ease-out, filter 1s ease-in-out;
  z-index: 0;
}

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

/* Overlay mit leichtem Verlauf */
.hero-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 3rem;
  background: rgba(0, 0, 0, 0.25); /* transparenter statt Verlauf */
  border-radius: 1rem;
  backdrop-filter: blur(6px); /* etwas stärkerer Blur für Tiefe */
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn 1.4s ease forwards;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25); /* dezenter Glow */
}

.hero-overlay h1 {
  font-family: 'Segoe UI', 'Calibri', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: 2px;
  color: #ffffff;
  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: #ffffff;
  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 für das Auftauchen */
@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: #ffffff;
  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.4);
  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; /* oder mehr für größeren Abstand */
  text-align: left
}

.left-column img {
  width: 75%;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

a {
  color: #e63946; /* Modernes Rot */
  text-decoration: none;
}

a:hover {
  color: #f36b6b; /* Helleres Rot beim Hover */
  text-decoration: underline; /* Optional: Hover-Effekt */
}

.section-spacer {
  width: 100%;
  height: 10px;
  background-color: #ffffff; /* gleiche Farbe wie vorherige Sektion */
  box-shadow: 0 3px 16px rgba(0,0,0,0.3);
}

html {
  scroll-behavior: smooth;
}

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

.kompetenz-section {
  padding: 5rem 2rem;
  background-color: #ffffff;
  color: #333;
}

.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: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

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

.vorteile-liste {
  list-style: none;
  padding-left: 0;
  margin-top: 2rem;
  text-align: left; /* <- wichtig: linke Ausrichtung */
}

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

.vorteile-liste li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #e63946; /* dein kräftiges Rot */
  font-weight: bold;
}


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

.planung-section {
  padding: 5rem 2rem;
  background-color: #f8f8f8;
  text-align: center;
  color: #333;
}

.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: #666;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.planung-card {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.planung-card:hover {
  transform: translateY(-5px);
}

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

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

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


/* === TIMELINE-SEKTION (technisches Know-How) === */

.timeline-horizontal {
  padding: 4rem 0;
  background-color: #eeeeee;
  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: 12px;
  scroll-snap-align: start;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  color: white;
  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: #f0f0f0;
}

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

.zukunft-section {
  background-color: #fefefe;
  padding: 6rem 2rem;
  color: #222;
  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: #666;
  margin-bottom: 2.5rem;
}

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

/* === WIRTSCHAFTLICHKEIT === */

.wirtschaft-section {
  background-color: #f9f9f9;
  padding: 6rem 2rem;
  color: #222;
}

.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: #666;
  margin-bottom: 2rem;
}

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

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

.wirtschaft-chart svg {
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

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

.qualitaet-section {
  background-color: #ffffff;
  padding: 6rem 2rem;
  color: #222;
}

.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: #666;
  margin-bottom: 2rem;
}

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

.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: grayscale(100%) brightness(0.8);
  opacity: 0.9;
  transition: all 0.3s ease;
}

.qualitaet-logos img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}