/* ==========================================
   1. DESKTOP NAVBAR (Standard: Transparent)
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 50px;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0);
  transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar .logo a,
.navbar .nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.navbar .nav-links a {
  margin-left: 24px;
}

/* ==========================================
   2. HOVER-EFFEKT (Maus über Navbar)
   ========================================== */
.navbar:hover {
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar:hover .nav-links a,
.navbar:hover .logo a {
  color: #000000;
}

.navbar:hover .burger-menu span {
  background-color: #000000;
}

/* ==========================================
   3. SCROLL-EFFEKT (Navbar wird beim Scrollen weiß)
   ========================================== */
.navbar.scrolled {
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 16px 50px; /* Navbar wird elegant schmaler */
}

.navbar.scrolled .nav-links a,
.navbar.scrolled .logo a {
  color: #000000;
}

.navbar.scrolled .burger-menu span {
  background-color: #000000;
}

/* ==========================================
   4. BURGER-MENU & RESPONSIVE DESIGN (Mobil)
   ========================================== */
.burger-menu {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  z-index: 1001;
}

.burger-menu span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 3px;
  transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

@media screen and (max-width: 768px) {
  .navbar {
    padding: 20px 24px;
  }
  
  .navbar.scrolled {
    padding: 16px 24px;
  }

  .burger-menu {
    display: flex;
  }

  .navbar .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.98); /* Dunkles Slate-Blau statt reinem Schwarz */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Hochwertigere CSS-Animation */
  }

  .navbar .nav-links.active {
    right: 0;
  }

  .navbar .nav-links a {
    margin: 16px 0;
    font-size: 1.5rem;
    color: #ffffff !important; /* Fixiert Weiß auf Mobil-Hintergrund */
  }

  /* Animation zum "X" */
  .burger-menu.toggle span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 5px); }
  .burger-menu.toggle span:nth-child(2) { opacity: 0; }
  .burger-menu.toggle span:nth-child(3) { transform: rotate(45deg) translate(-5px, -5px); }
}







/* ==========================================
   2. SEITEN-INHALTE & TYPOGRAFIE (Desktop)
   ========================================== */
.hero-section {
  height: 100vh;
  width: 100%;
  /* Dein Desktop-Hintergrundbild */
  background-image: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.4)), url('../img/schrottplatz-1200-400.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  text-align: center;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.25rem;
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}


/* ==========================================
   ANPASSUNG FÜR SMARTPHONES (Mobile)
   Füge dies im responsive Bereich hinzu oder ganz unten
   ========================================== */
@media screen and (max-width: 768px) {
  
  .hero-section {
    height: 60vh; /* Verringert die Höhe auf dem Handy, perfekt für das kleinere Bild */
    
    /* Hier wird automatisch dein neues, kleineres Handy-Bild geladen */
    background-image: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.4)), url('../img/schrottplatz-500-400.webp');
    background-size: cover;
    background-position: center;
  }

  /* Korrektur für die viel zu große Schrift */
  .hero-content h1 {
    font-size: 2rem; /* Deutlich kleiner und bricht sauber auf Handys um */
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 1rem; /* Passt die Unterüberschrift proportional an */
  }
}















/* ==========================================
   NAHTLOSE KACHELN (SEAMLESS GRID)
   ========================================== */
.kacheln-container {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Einzelne Kachel Basis-Styling */
.kachel {
  flex: 1; /* Verteilt den Platz exakt gleichmäßig auf alle 3 Kacheln */
  min-height: 300px;
  padding: 50px 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Schiebt Inhalt nach oben und Nummer nach unten */
  color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}

/* Hover-Effekt: Kachel hebt sich leicht ab */
.kachel:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 2; /* Liegt im Hover-Zustand über den Nachbarkacheln */
}

/* Farben exakt abgestimmt auf dein Bild */
.kachel-dunkel {
  background-color: #0b1d33; /* Sehr dunkles Blau */
}

.kachel-blau {
  background-color: #0c5999; /* Klassisches -Blau */
}

.kachel-hellblau {
  background-color: #0369A1; /* Strahlendes Hellblau */
}

/* Text-Inhalte & Nummern in den Kacheln (100 % Kontrast) */
.kachel-inhalt h2,
.kachel-inhalt h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.kachel-inhalt p {
  font-size: 1rem;
  line-height: 1.5;
  color: #f8fafc;
}

.kachel-nummer {
  font-size: 2rem;
  font-weight: 700;
  color: #e0f2fe; /* Kontrast > 5:1 auf allen drei Blautönen */
  margin-top: 30px;
  display: block;
}

.kachel-dunkel .kachel-nummer {
  color: #cbd5e1;
}


/* ==========================================
   MOBIL-WECHSEL (UNTEREINANDER)
   ========================================== */
@media screen and (max-width: 768px) {
  .kacheln-container {
    flex-direction: column; /* Schaltet von nebeneinander auf untereinander um */
  }
  
  .kachel {
    width: 100%;
    min-height: 250px; /* Auf Smartphones etwas kompakter */
    padding: 40px 30px;
  }
  
  .kachel:hover {
    transform: none; /* Deaktiviert den Hochrutsch-Effekt auf Touch-Geräten */
  }
}



















/* ==========================================
   BEREICH: SCHROTT & ALTFAHRZEUGE (2-SPALTIG)
   ========================================== */
.section-recycling {
  padding: 100px 50px;
  background-color: #ffffff; /* Weißer Hintergrund als Kontrast zum grauen Body */
}

.recycling-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center; /* Zentriert Inhalt vertikal */
  gap: 60px; /* Abstand zwischen Text und Bild */
}

/* Linke Spalte */
.recycling-text {
  flex: 1;
}

.section-badge {
  display: inline-block;
  background-color: #e2e8f0;
  color: #0c5999; /* Dein -Blau */
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}

.recycling-text h2 {
  font-size: 2.0rem;
  color: #0f172a;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.lead-text {
  font-size: 1.15rem;
  color: #475569;
  margin-bottom: 30px;
}

/* Vorteilsliste */
.features-list {
  list-style: none; /* Entfernt Standardpunkte */
  margin-bottom: 35px;
}

.features-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: #334155;
}

/* Eigenes Häkchen-Symbol per CSS generiert */
.features-list li::before {
  content: "?";
  position: absolute;
  left: 0;
  top: 0;
  color: #0c5999; /* Musterseite-Blau */
  font-weight: bold;
  font-size: 1.2rem;
}

/* Muster-Button */
.btn-primary {
  display: inline-block;
  background-color: #0c5999;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  padding: 14px 28px;
  border-radius: 4px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: #0b1d33; /* Dunkleres Blau bei Hover */
  transform: translateY(-2px);
}

/* Rechte Spalte (Bild-Box) */
.recycling-media {
  flex: 1;
  width: 100%;
}

.image-placeholder {
  width: 100%;
  height: 400px;
  background-color: #f1f5f9;
  border: 2px dashed #cbd5e1; /* Angedeuteter Rahmen für die Musterseite */
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.placeholder-text {
  color: #94a3b8;
  font-weight: 500;
  font-size: 1rem;
}

/* ==========================================
   MOBIL-ANPASSUNG (ZWEI-SPALTER UNTEREINANDER)
   ========================================== */
@media screen and (max-width: 968px) {
  .section-recycling {
    padding: 60px 24px;
  }

  .recycling-container {
    flex-direction: column; /* Text oben, Bild unten */
    gap: 40px;
  }
  
  .recycling-text h2 {
    font-size: 1.3rem;
  }
  
  .image-placeholder {
    height: 300px; /* Etwas kompakter auf Mobilgeräten */
  }
}




  .handy-bild {
    width: 100%;        /* Nutzt auf kleinen Bildschirmen die volle Breite */
    max-width: 300px;   /* Auf dem Desktop wird das Bild maximal 500px breit */
    height: auto;       /* Verhindert, dass das Bild verzerrt wird */
  }






/* ==========================================
   SITE FOOTER (4-SPALTIG)
   ========================================== */
/* ==========================================
   SITE FOOTER (HELLBLAU MIT WEISSER SCHRIFT)
   ========================================== */
.site-footer {
  background-color: #0369A1;
  color: #f8fafc; /* Kontrast > 5,5:1 */
  padding: 80px 50px 0 50px;
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-col {
  flex: 1;
}

/* Spalte 1 Logo */
.footer-logo {
  color: #ffffff; /* Reinweiß */
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-desc {
  line-height: 1.6;
}

/* Überschriften der Spalten 2-4 */
.footer-col h4 {
  color: #ffffff; /* Reinweiß */
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
}

/* Listen & Links in den Spalten */
.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #f8fafc;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Hover-Effekt: Links werden strahlend weiß und dezent unterstrichen */
.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================
   FOOTER COPYRIGHT LEISTE (MIT NEUEM LINK-STYLING)
   ========================================== */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 25px 0;
}

.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #f1f5f9; /* Kontrast > 5,2:1 statt rgba(..., 0.6) */
}

/* Das korrekte Styling für deinen Webdesign-Link */
.footer-bottom-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.footer-bottom-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ==========================================
   MOBIL-ANPASSUNG FOOTER
   ========================================== */
@media screen and (max-width: 768px) {
  .site-footer {
    padding: 60px 24px 0 24px;
  }

  .footer-container {
    flex-direction: column;
    gap: 35px;
  }

  .footer-col h4 {
    margin-bottom: 15px;
  }

  .footer-bottom-container {
    flex-direction: column; /* Stapelt Text und Link untereinander auf Handys */
    gap: 10px;
    text-align: center;
  }
}






