/* ---------- Grundlayout ---------- */

.leistungsbereich-title {
    margin: 20px 0 20px 0;
    padding: 0;
    font-size: 32px;
    color: #96BA3B;
    text-align: center;
}

/* ---------- White Section ---------- */

.white-section {
    max-width: 1440px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* =========================================================
   HERO
   ========================================================= */

.gutachten-hero {
    display: flex;
    gap: 20px;
    align-items: center;
    max-width: 1440px;
    margin: 20px 2% auto;
}

.gutachten-hero-left img {
    width: 180px;
    border-radius: 12px;
}

.gutachten-hero-right {
    flex: 1;
    text-align: left;
    padding-left: 30px;
}

.gutachten-hero-right h2 {
    font-size: 28px;
    color: #3AAADD;
    margin-bottom: 0px;
    text-align: left;
}

.gutachter-info {
    font-size: 17px;
    line-height: 1.5;
    font-weight: 600;
    text-align: left;
}

/* =========================================================
   ÜBER MICH
   ========================================================= */

.ueber-mich-section {
    display: flex;
    gap: 20px;
    align-items: stretch;
    max-width: 1440px;
    margin: 20px 2% auto;
}

.ueber-mich-text {
    flex: 1;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.white-section.ueber-mich-section {
    padding: 0;
}

.white-section.ueber-mich-section .ueber-mich-text p {
    text-align: left !important;
    padding-left: 20px;
}

.ueber-mich-text h2 {
    text-align: left;
    padding-left: 20px;
}

.ueber-mich-card {
    margin: 0;
    flex: 1;
    overflow: hidden;
    padding: 0;
    height: 260px;
    border-radius: 0 12px 12px 0;
}

.ueber-mich-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 60%;
    display: block;
    border-radius: 0;
}

/* =========================================================
   SECTION ROW
   ========================================================= */

.section-row {
    display: flex;
    align-items: flex-start;
}

.leistungsbereich .section-row {
    margin: 20px 2% !important;
    gap: 20px !important;
}

/* =========================================================
   KONTAKT – vCard 1:1 übernommen
   ========================================================= */

.kontakt-row {
    display: flex;
    gap: 0px;
    margin: 0 2%;
    align-items: flex-start;
}

.kontakt-vcard {
    padding: 0;
    background: none;
    box-shadow: none;
    flex: 0 0 380px; 
    margin: 0 !important;
}

.kontakt-infos {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Original vCard-Styling */
.vcard {
    max-width: 380px;
    margin: 0;
    padding: 30px 25px;
    border-radius: 20px;
    background: linear-gradient(180deg, #3AAADD 0%, #96BA3B 100%);
    color: #fff;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0,0,0,0.15);
}

.vcard-logo {
    width: 110px;
    margin: 0 auto 15px;
    display: block;
}

.vcard-name {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
}

.vcard-role {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
    text-align: center;
    color: #fff;
}

.vcard-info {
    margin-bottom: 25px;
}

.vcard-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.vcard-icon {
    font-size: 18px;
}

.vcard-row a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.vcard-button {
    display: inline-block;
    background: #fff;
    color: #3AAADD;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}

.vcard-button:hover {
    background: #f0f0f0;
}

.vcard-company {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.9;
    text-align: center;
    color: #fff;
}

.vcard-company-link {
    color: #fff;
    text-decoration: none;
}

.vcard-company-link:hover {
    text-decoration: underline;
}

.vcard-legal {
    margin-top: 12px;
    text-align: center;
    font-size: 12px;
    opacity: 0.8;
}

.vcard-legal a {
    color: #fff;
    text-decoration: none;
    margin: 0 4px;
}

.vcard-legal a:hover {
    text-decoration: underline;
}

.vcard-legal span {
    color: #fff;
    opacity: 0.6;
}

/* =========================================================
   Zertifikat
   ========================================================= */

.zertifikat-section {
    max-width: 1440px;
    margin: 0 2% auto;
    padding: 0 !important;
    background: transparent;
    border-radius: 12px;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: none;
}

/* Link als Block, damit das Bild korrekt skaliert */
.zertifikat-section a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Bild vollständig sichtbar und zentriert */
.zertifikat-section .gutachten-cert {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
}

/* =========================================================
   Vorteile
   ========================================================= */

.white-section.gutachten-vorteile-banner {
    margin: 0px 2% !important;
}

.gutachten-vorteile-banner {
    text-align: center;
}

.gutachten-vorteile-grid {
    max-width: 1440px;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 0 2% auto;
}

.vorteil-box {
    background: #eaeaea;
    color: #333;
    padding: 10px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
}

.vorteile-text {
    font-size: 17px;
    margin-top: 15px;
}

/* =========================================================
   LB-MENÜ
   ========================================================= */

.lb-menu {
    position: sticky;
    top: 96px;
    z-index: 998;
    background: #ffffff;
    border-bottom: 2px solid #3AAADD;
    padding: 4px 10px;
    border-radius: 0 0 12px 12px;

    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;

    max-width: calc(100% - 4%);
    margin: 0 2% auto;
}

.topnav.scrolled + .lb-menu {
    top: 44px;
}

.lb-menu a {
    text-decoration: none;
    font-weight: 600;
    color: #333;
    padding: 4px 6px;
    border-radius: 6px;
    transition: 0.2s;
    white-space: nowrap;
    font-size: 15px;
    text-align: center;
    position: relative;
}

.lb-menu a:hover {
    background: #96BA3B;
    color: #ffffff;
}

.lb-menu a.active {
    border: 2px solid #3AAADD;
    background: transparent;
    color: #111;
}

.lb-menu a:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background: #ccc;
}
  
/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    /* Grundlayout */
  
    .gutachten-hero,
    .ueber-mich-section {
        flex-direction: column;
    }
  
      .leistungsbereich {
        margin: 0 2% auto;
        width: calc(100% - 4%);
        box-sizing: border-box;
    }

    /* Section-Row (Kontakt + Qualifikationen + Leistungen + Zertifikat) */
    .section-row {
        flex-direction: column;
        gap: 10px;
    }

    /* Abstand über Kfz-Gutachten halbieren */
    .leistungsbereich-title {
        margin-top: 20px;
        margin-bottom: 10px;
    }

    /* HERO – Bild mehr Abstand*/
    .gutachten-hero-left {
      margin-top: 10px;
  }
  
    /* HERO – Textblock zentriert, aber linksbündig */
    .gutachten-hero-right {
        padding-left: 0;
        margin: 0 2% auto;
        text-align: left;
        width: 90%;
        max-width: 400px;
    }

    /* ÜBER MICH – Abstand halbieren */
    .ueber-mich-text h2 {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    /* ÜBER MICH – Textblock zentriert */
    .ueber-mich-text {
        margin: 0 auto;
        width: 90%;
        max-width: 400px;
        text-align: left;
    }

    /* ÜBER MICH – Bild volle Breite, unten bündig */
    .ueber-mich-card {
        width: 100%;
        height: auto;
        border-radius: 12px;
        overflow: hidden;
        margin: 0;
    }

    .ueber-mich-card img {
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: bottom;
        border-radius: 0;
    }

    /* vCard */
 
    /* White-Section für vCard korrigieren */
    .kontakt-vcard.white-section {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
        border-radius: 12px;
    }
  
    .kontakt-vcard {
        margin: 0;
        width: 100%;
        max-width: 360px;
    }

    .vcard {
        margin: 0;
    }

    /* Abstände zwischen Qualifikationen / Leistungen / Zertifikat halbieren */
    .kontakt-infos section.white-section {
        margin-bottom: -10px !important;
        padding: 15px !important;
        width: 100% !important;
    }

    /* Zertifikat-Bild */
    .gutachten-cert {
        width: 100% !important;
        height: auto;
        margin: 0;
        object-fit: contain;
        object-position: center;
    }

    /* Ihr Vorteil – Section anpassen */
    .white-section.gutachten-vorteile-banner {
        width: calc(100% - 4%);
        padding: 15px !important;
        margin-bottom: -10px !important;
    }

    /* Grid automatisch untereinander */
.gutachten-vorteile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    justify-items: center;
}

.vorteil-box {
    width: 50%;
    max-width: 360px;
    text-align: center;
    padding: 12px;
}

    /* LB-Menü */
    .lb-menu {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px 10px;
        padding: 6px 10px;
        border-radius: 0 0 10px 10px;
        max-width: 100%;
    }

    .lb-menu a {
        font-size: 14px;
        padding: 4px 6px;
    }
}
