/* ===============================
   ADR AG – Master Landingpage Style - Version 10122025
   =============================== */

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  scroll-behavior: smooth;
  background-color: #fff;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 3%;
  max-width: 1400px;
  margin: 0 auto;
}
.logo {
  height: 61px;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}
nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}
nav a:hover,
nav a.active {
  color: #0073aa;
}

/* HERO */
.hero {
  position: relative;
  width: 100%;
}
.hero img {
  width: 100%;
  height: auto;
  display: block;
}
.hero h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  background: rgba(0,0,0,0.4);
  padding: 20px 40px;
  border-radius: 8px;
  font-size: 2.2rem;
  text-align: center;
}

/* BLOCKS */
.block {
  padding: 60px 3%;
  max-width: 1200px;
  margin: 0 auto;
}
.block .content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}
.block.image-left img {
  order: 1;
  width: 45%;
  border-radius: 8px;
}
.block.image-left .text {
  order: 2;
  width: 50%;
}
.block.image-right .text {
  order: 1;
  width: 50%;
}
.block.image-right img {
  order: 2;
  width: 45%;
  border-radius: 8px;
}
.block.full {
  text-align: center;
  background: #ff;
  padding: 80px 5%;
}
.block.video {
  text-align: center;
  background: #fafafa;
}
.block.produits {
  background: #f5f5f5;
  text-align: center;
}
.block h2 {
  color: #0073aa;
  margin-bottom: 20px;
}

/* PRODUITS */
.produit-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}
.produit {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.produit:hover {
  transform: translateY(-5px);
}
.produit img {
  width: 280px;
  border-radius: 8px;
  margin-bottom: 10px;
}
.produit h3 {
  color: #0073aa;
  margin: 10px 0 5px;
}
.produit p {
  font-size: 0.95rem;
  color: #444;
}
.produit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-items: center;
}

.btn {
  display: inline-block;
  background: #0073aa;
  color: #fff;
  padding: 10px 22px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 10px;
}
.btn:hover {
  background: #005f88;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* CONTACT */
.contact {
  text-align: center;
  background: #fff;
  padding: 80px 5%;
}
.contact h3 {
  color: #0073aa;
  margin-bottom: 30px;
}
.team-banner {
  width: 100%;
  height: auto;
  margin-top: 30px;
}

/* FOOTER */
.footer {
  background: #0b2b3b;
  color: #fff;
  padding: 60px 5% 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-col img {
  height: 60px;
}
.footer-col h4 {
  margin-bottom: 15px;
  color: #fff;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.footer-col a:hover {
  text-decoration: underline;
}
.footer-col p {
  font-size: 0.9rem;
  color: #ddd;
}
.copyright {
  text-align: center;
  font-size: 0.85rem;
  color: #ccc;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
}

/* Link im Copyright-Bereich */
.copyright a {
  color: inherit;           /* übernimmt #ccc vom Eltern-Element */
  text-decoration: none;    /* optional: Unterstreichung entfernen */
}

.copyright a:hover {
  color: #f00;              /* Rot beim Hover */
  text-decoration: underline; /* optional: Unterstreichung beim Hover */
}



/* RESPONSIVE */
@media (max-width: 1024px) {
  .block .content { flex-direction: column; text-align: center; }
  .block img, .block .text { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  nav ul { flex-wrap: wrap; justify-content: center; gap: 15px; }
}

/* LOGO SLIDER */

.logo-slider {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  background: #f8f8f8;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.slider-track {
  display: flex;
  animation: scroll 20s linear infinite;
  width: calc(300px * 6); /* Anzahl Slides × Breite (200px) */
}

.slide {
  min-width: 300px;
  margin: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide img {
  max-height: 120px;
  width: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.slide img:hover {
  filter: grayscale(0%);
}

/* Endlosschleife Animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause bei Hover */
.logo-slider:hover .slider-track {
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
  .slide {
    min-width: 120px;
  }
  .slide img {
    max-height: 50px;
  }
}

/* FAQ innerhalb der gleichen .block-Breite */
.block.faq {
  background: #f7f7f7;       /* identisches Hellgrau wie andere Bereiche */
  padding-top: 60px;         /* bereits .block hat padding, hier optional feinjustieren */
  padding-bottom: 60px;
}

.block.faq h2 {
  color: #0073aa;
  margin-bottom: 28px;
  text-align: left;          /* wie bei deinen Produkt-Überschriften */
  font-size: 1.6rem;
}

.block.faq .faq-item {
  margin-bottom: 20px;
}

.block.faq .faq-item h3 {
  color: #0b2b3b;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.block.faq .faq-item p {
  color: #444;
  line-height: 1.6;
  margin: 0;
}
