/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #272829;
}

.btn-login {
  font-size: 0.9rem;
  letter-spacing: 0.05rem;
  padding: 0.75rem 1rem;
}

.btn-google {
  color: white !important;
  background-color: #ea4335;
}

.btn-facebook {
  color: white !important;
  background-color: #3b5998;
}

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

a:hover {
  color: #37b3ed;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #b49c52;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #2eafec;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  transition: all ease-in-out 0.5s;
  z-index: 9997;
  padding: 0 15px;
  background: #040b14;
  overflow-y: auto;
}

#header .profile img {
  margin: 15px auto;
  display: block;
  width: 120px;
  border: 0px solid #b49c52;
}

#header .profile h1 {
  font-size: 24px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  text-align: center;
  font-family: "Poppins", sans-serif;
}

#header .profile h1 a,
#header .profile h1 a:hover {
  color: #fff;
  text-decoration: none;
}

.social-links a {
  display: inline-block;
  width: 35px;
  height: 35px;
  margin: 0 5px;
  border-radius: 50%;
  line-height: 35px;
  font-size: 18px;
  color: #fff;
  text-align: center;
  transition: 0.3s;
}

.social-links a.whatsapp { background: #25D366; }
.social-links a.facebook { background: #3b5998; }
.social-links a.instagram { background: #E4405F; }
.social-links a.email { background: #ffcc00; color: #333; }
.social-links a.linkedin { background: #0077B5; }

.social-links a:hover {
  background: #b49c52;
  color: #fff;
}

#main {
  margin-left: 300px;
}

.container,
.container-fluid {
  padding-left: 30px;
  padding-right: 30px;
}

@media (max-width: 1199px) {
  #header {
    left: -300px;
  }
  #main {
    margin-left: 0;
  }
  .container,
  .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.nav-menu {
  padding: 30px 0 0 0;
}

.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu>ul>li {
  position: relative;
  white-space: nowrap;
}

.nav-menu a,
.nav-menu a:focus {
  display: flex;
  align-items: center;
  color: #a8a9b4;
  padding: 12px 15px;
  margin-bottom: 8px;
  transition: 0.3s;
  font-size: 15px;
}

.nav-menu a i,
.nav-menu a:focus i {
  font-size: 24px;
  padding-right: 8px;
  color: #6f7180;
}

.nav-menu a:hover,
.nav-menu .active,
.nav-menu .active:focus,
.nav-menu li:hover>a {
  text-decoration: none;
  color: #fff;
}

.nav-menu a:hover i,
.nav-menu .active i,
.nav-menu .active:focus i,
.nav-menu li:hover>a i {
  color: #b49c52;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9998;
  border: 0;
  font-size: 20px;
  transition: all 0.4s;
  outline: none !important;
  background-color: #b49c52;
  color: #fff;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 50px;
  cursor: pointer;
  padding: 10px;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active #header {
  left: 0;
}

/*--------------------------------------------------------------
# Hero Section (MIT BILD-HINTERGRUND)
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  /* Das neue Hintergrundbild einfügen */
  background: url("../img/auto.jpg") center center no-repeat;
  background-size: cover;
  /* Optional: "fixed" erzeugt einen coolen Effekt beim Scrollen (Parallax) */
  background-attachment: fixed; 
}

/* Der dunkle Layer über dem Bild für perfekte Lesbarkeit der weißen Schrift */
#hero:before {
  content: "";
  background: rgba(5, 13, 24, 0.6); /* Leicht abgedunkelt (0.6 = 60% Schwarz) */
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

#hero .hero-container {
  position: relative;
  z-index: 2;
  min-width: 300px;
}

#hero h1 {
  margin: 0 0 10px 10px;
  font-size: 64px;
  font-weight: 700;
  line-height: 56px;
  color: #fff;
}

#hero h3 {
  margin: 0 0 10px 10px;
  color: #b49c52;
}

#hero p {
  color: #fff;
  margin-bottom: 50px;
  font-size: 26px;
  font-family: "Poppins", sans-serif;
}

#hero p span {
  margin-left: 10px;
  color: #fff;
  padding-bottom: 4px;
  letter-spacing: 1px;
  border-bottom: 3px solid #b49c52;
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }
  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
  /* Auf Handys schalten wir den fixed Hintergrund besser ab, da es oft ruckelt */
  #hero {
    background-attachment: scroll;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 20px 0;
  overflow: hidden;
}

.section-bg {
  background: #fff;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #173b6c;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #b49c52;
  bottom: 0;
  left: 0;
}

/*--------------------------------------------------------------
# About & Facts
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 700;
  font-size: 26px;
  color: #173b6c;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: #b49c52;
}

.facts .count-box {
  padding: 30px;
  width: 100%;
}

.facts .count-box i {
  display: block;
  font-size: 44px;
  color: #b49c52;
  float: left;
}

.facts .count-box span {
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  color: #050d18;
  margin-left: 60px;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.icon-box {
  background: #1c1e26;
  border: 1px solid #2e323d;
  border-radius: 12px;
  padding: 30px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #fff;
  cursor: pointer;
}

.icon-box:hover {
  background: #b49c52;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(180, 156, 82, 0.3);
}

.icon-box .icon {
  font-size: 32px;
  margin-bottom: 15px;
  color: #b49c52;
  transition: color 0.3s;
}

.icon-box:hover .icon {
  color: #fff;
}

/*--------------------------------------------------------------
# Resume & Skills
--------------------------------------------------------------*/
.resume .resume-item {
  padding: 0 0 20px 20px;
  border-left: 2px solid #1f5297;
  position: relative;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: #fff;
  border: 2px solid #1f5297;
}

.skills .progress-bar {
  height: 10px;
  transition: 0.9s;
  background-color: #b49c52;
}

/*--------------------------------------------------------------
# Verbesserte Kontakt Sektion
--------------------------------------------------------------*/
/* Linke Info-Box als schicke Karte */
.contact .info.contact-card {
  background: #fff;
  padding: 30px;
  width: 100%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  border-top: 4px solid #b49c52; /* Goldener Akzentstreifen */
}

/* Rechte Formular-Box als schicke Karte */
.contact .form-card {
  background: #fff;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  border-top: 4px solid #173b6c; /* Dunkelblauer Akzentstreifen */
}

/* Icons anpassen (Hellblau entfernen, zartes Gold hinzufügen) */
.contact .info i {
  font-size: 20px;
  color: #b49c52;
  float: left;
  width: 44px;
  height: 44px;
  background: rgba(180, 156, 82, 0.1); /* Zartes, transparentes Gold */
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info i:hover {
  background: #b49c52;
  color: #fff;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #173b6c;
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: #444;
}

.contact .info p a {
  color: #444;
  transition: color 0.3s;
}

.contact .info p a:hover {
  color: #b49c52;
}

/* Eingabefelder im Formular verschönern */
.contact .php-email-form .form-control {
  border-radius: 6px;
  box-shadow: none;
  font-size: 15px;
  border: 1px solid #ced4da;
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.contact .php-email-form .form-control:focus {
  border-color: #b49c52; /* Goldener Rahmen bei Klick */
  box-shadow: 0 0 0 0.2rem rgba(180, 156, 82, 0.25);
}

/* Senden-Button modernisieren */
.contact .php-email-form button[type=submit].submit-btn {
  background: #b49c52;
  border: 0;
  padding: 12px 40px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px; /* Schön abgerundet */
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.contact .php-email-form button[type=submit].submit-btn:hover {
  background: #173b6c; /* Wird beim Drüberfahren dunkelblau */
  transform: translateY(-2px); /* Hebt sich leicht an */
  box-shadow: 0 4px 10px rgba(23, 59, 108, 0.3);
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  padding: 15px;
  color: #f4f6fd;
  font-size: 14px;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 300px;
  z-index: 9999;
  background: #040b14;
}

@media (max-width: 1199px) {
  #footer {
    position: static;
    width: auto;
  }
}

/*--------------------------------------------------------------
# Timeline
--------------------------------------------------------------*/
.timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto;
  padding-left: 30px;
  border-left: 4px solid #b49c52;
}

.timeline-item {
  position: relative;
  margin: 30px 0;
  padding: 25px 25px 25px 70px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.timeline-icon {
  position: absolute;
  left: -16px;
  top: 28px;
  width: 32px;
  height: 32px;
  background: #b49c52;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#footer .legal-links {
  margin-top: 5px;
  font-size: 14px;
}

#footer .credits {
  margin-top: 10px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# FAQ Section Custom Styling
--------------------------------------------------------------*/
.faq .accordion-item {
  border: 1px solid #eee;
}

.faq .accordion-button {
  padding: 20px;
  font-weight: 600;
  font-family: "Raleway", sans-serif;
  color: #173b6c;
  background: #fff;
}

.faq .accordion-button:not(.collapsed) {
  color: #b49c52;
  background-color: #f8f9fa;
  box-shadow: none;
}

.faq .faq-number {
  color: #b49c52;
  font-weight: 700;
  margin-right: 10px;
}

/* Ändert die Farbe des kleinen Pfeil-Icons auf Gold */
.faq .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23b49c52'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq .accordion-body {
  padding: 20px;
  line-height: 1.7;
  color: #444;
  background-color: #f8f9fa;
}

/*--------------------------------------------------------------
# Profilbild Anpassungen (About Section)
--------------------------------------------------------------*/
/* Das obere Profilbild (Aboutmepic) */
.about-profile-img {
  width: 100% !important;
  max-width: 350px !important; /* PC: Maximal 350px breit */
  height: auto !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 991px) {
  .about-profile-img {
    width: 60% !important;       /* Handy: Kleiner */
    max-width: 250px !important; 
    margin-bottom: 30px !important;
  }
}

/*--------------------------------------------------------------
# MPU Dokumente Mini-Galerie
--------------------------------------------------------------*/
.doc-thumbnail {
  max-height: 140px; /* Auf dem PC max. 140px hoch */
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Leichter Zoom-Effekt, wenn man mit der Maus drüberfährt */
.doc-thumbnail:hover {
  transform: scale(1.05);
}

/* Auf Handys noch kleiner machen, um Platz zu sparen */
@media (max-width: 768px) {
  .doc-thumbnail {
    max-height: 100px;
  }
}


/* Container, der alles abschneidet, was über den Rand hinausgeht (für Mobile) */
.gallery-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Der Track, der auf Mobile hin und her rutscht */
.gallery-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Einzelner Bild-Container */
.img-wrapper {
    flex: 0 0 25%; /* Desktop: Exakt 4 Bilder nebeneinander */
    max-width: 25%; /* Zwingt ihn, nicht breiter zu werden */
    padding: 5px; 
    box-sizing: border-box;
}

/* Das eigentliche Bild */
.gallery-img {
    width: 100%;
    height: 300px; /* Hier die gewünschte einheitliche Höhe eintragen */
    object-fit: cover; /* Verhindert, dass Bilder gestaucht oder verzerrt werden */
    border-radius: 8px; /* Optionale abgerundete Ecken */
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Mobile Ansicht (unter 768px) */
@media (max-width: 768px) {
    .img-wrapper {
        flex: 0 0 50%; /* Mobile: Exakt 2 Bilder nebeneinander */
        max-width: 50%;
    }
}

/* Lightbox Styling (Hintergrund und zentriertes, großes Bild) */
.lightbox {
    display: none; /* Standardmäßig versteckt */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85); /* Halbtransparenter, schwarzer Hintergrund */
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain; /* Bild wird komplett sichtbar in voller Größe angezeigt */
    border-radius: 4px;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Überschreibt display: none und macht die Lightbox sichtbar */
.lightbox.show {
    display: flex !important; 
}

/*--------------------------------------------------------------
# Text-Bild Layout (Über mich / Lifestyle)
--------------------------------------------------------------*/
.text-image-row {
    display: flex;
    flex-direction: column; /* Auf dem Handy: Untereinander */
    gap: 30px; /* Abstand zwischen Text und Bild */
    margin-top: 40px; /* Erzeugt die gewünschte, deutliche Leerzeile / Abstand nach oben */
    align-items: center; /* Zentriert die Elemente vertikal, falls unterschiedlich hoch */
}

/* Stil für den Textbereich */
.text-column {
    flex: 1; /* Nimmt den restlichen Platz ein */
}

.text-column p {
    margin-bottom: 15px; /* Normale Leerzeile zwischen den Absätzen */
    line-height: 1.6;
}

/* Stil für den Bildbereich */
.image-column {
    flex: 0 0 100%; /* Auf dem Handy nimmt das Bild 100% Breite ein */
    text-align: center;
}

/* Das eigentliche Bild */
.lifestyle-img {
    width: 100%;
    max-width: 400px; /* Verhindert, dass das Bild riesig wird */
    height: auto;
    border-radius: 8px; /* Optional: leicht abgerundete Ecken */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Optional: leichter Schatten */
}

/* Desktop Ansicht (ab 768px Breite) */
@media (min-width: 768px) {
    .text-image-row {
        flex-direction: row; /* Auf dem PC: Nebeneinander! */
        align-items: flex-start; /* Text und Bild oben bündig */
    }

    .image-column {
        flex: 0 0 40%; /* Auf dem PC nimmt das Bild 40% der Breite ein */
    }
}

/* Text in voller Breite unter dem Über-Mich-Bereich */
.full-width-text {
    width: 100%;
    margin-top: 30px; /* Abstand nach oben zum Bild und Text darüber */
    line-height: 1.6;
}

/*--------------------------------------------------------------
# Formular Status-Meldungen (Laden, Erfolg, Fehler)
--------------------------------------------------------------*/
/* Alle drei Meldungen standardmäßig verstecken! */
.contact .php-email-form .loading,
.contact .php-email-form .error-message,
.contact .php-email-form .sent-message {
  display: none; 
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  margin-top: 15px;
}

/* Design für "Nachricht wird gesendet..." */
.contact .php-email-form .loading {
  background: #f8f9fa;
  color: #173b6c;
}

/* Design für die Erfolgs-Nachricht (Grün) */
.contact .php-email-form .sent-message {
  background: #18d26e; 
  color: #fff;
}

/* Design für die Fehler-Nachricht (Rot) */
.contact .php-email-form .error-message {
  background: #ed3c0d; 
  color: #fff;
}

/*--------------------------------------------------------------
# Custom Hero Buttons (Auffällig & Modern)
--------------------------------------------------------------*/
/* Haupt-Button (Leuchtendes WhatsApp-Grün für maximalen Kontrast) */
.btn-hero-primary {
  background-color: #25D366; /* Auffälliges Grün */
  color: #fff !important;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 15px 35px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4); /* Grüner Schatten */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #25D366;
}

.btn-hero-primary:hover {
  background-color: #1ebe57; /* Etwas dunkleres Grün beim Drüberfahren */
  border-color: #1ebe57;
  color: #fff !important;
  transform: translateY(-4px); 
  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.6);
}

/* Sekundär-Button (Transparent mit goldenem Rand - bleibt als ruhiger Kontrast) */
.btn-hero-secondary {
  background-color: transparent;
  color: #fff !important;
  font-size: 1rem;
  font-weight: 600;
  padding: 15px 30px;
  border: 2px solid #b49c52;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-hero-secondary:hover {
  background-color: #b49c52;
  color: #fff !important;
  transform: translateY(-4px);
}

/*--------------------------------------------------------------
# Hervorgehobener USP-Text (Vertrauensbeweis)
--------------------------------------------------------------*/
.hero-usp {
  font-size: 1.8rem; /* Deutlich größer */
  font-weight: 800; /* Extra fett */
  color: white; /* Dein Gold */
  text-transform: uppercase; /* Alles in Großbuchstaben für mehr Wucht */
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 25px;
  background: rgba(180, 156, 82, 0.15); /* Leichter goldener Hintergrund */
  border: 2px solid #b49c52; /* Goldener Rahmen */
  border-radius: 8px; /* Leicht abgerundete Ecken */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Leichter Schatten für Tiefe */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); /* Macht den Text auf dem Bild besser lesbar */
}

/* Auf Handys etwas kleiner machen, damit es gut aussieht */
@media (max-width: 768px) {
  .hero-usp {
    font-size: 1.3rem;
    padding: 10px 15px;
  }
}

/*--------------------------------------------------------------
# Standort-Box & SEO Links
--------------------------------------------------------------*/
/* Verhindert, dass die große Box beim Hovern gold wird */
.icon-box.location-box:hover {
  background: #1c1e26 !important; /* Behält die dunkle Originalfarbe */
  transform: none !important; /* Kein Hochspringen */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
  cursor: default;
}

/* Design der inneren SEO-Box */
.seo-location-box {
  background: rgba(255, 255, 255, 0.05); 
  padding: 20px; 
  border-radius: 8px; 
  margin-bottom: 30px; 
  border-left: 3px solid #b49c52;
}

/* Die Links in der SEO-Box sind standardmäßig gold und fett */
.seo-location-box a {
  color: #b49c52 !important; 
  font-weight: 700;
  transition: color 0.3s ease;
  text-decoration: none;
}

/* Hover-Effekt nur für die Text-Links (werden weiß und unterstrichen) */
.seo-location-box a:hover {
  color: #ffffff !important; 
  text-decoration: underline !important;
}