/* Poppins lokal eingebunden */

@font-face {
    font-family: 'Poppins';
    src: url('https://weitblick-familienhilfe.com/assets/fonts/poppins-v20-latin-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('https://weitblick-familienhilfe.com/assets/fonts/poppins-v24-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('https://weitblick-familienhilfe.com/assets/fonts/poppins-v20-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('https://weitblick-familienhilfe.com/assets/fonts/poppins-v20-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #7A3DB8;
    --secondary: #79C48A;
    --light-bg: #EAF6EE;
    --text: #333;
    --white: #ffffff;
}


/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text);
    font-size: 16px;

    padding-top: 120px;   /* ⭐ Abstand wegen fixed Header */
}



/* =========================
   NAVBAR
========================= */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 18px 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(0,0,0,0.05);

    z-index: 1000;

    transition: all 0.3s ease;   /* ⭐ Animation */
}


/* SHRINK HEADER */

nav.shrink {
    padding: 8px 30px;
}



/* LOGO */

.logo1 {
    display: flex;
    align-items: center;
}

.logo1 img {
    height: 155px;
    width: auto;
    transition: 0.3s;
}

nav.shrink .logo1 img {
    height: 85px;   /* ⭐ kleiner beim Scrollen */
}

.logo1 img:hover {
    transform: scale(1.05);
}



/* MENU */

.nav-links {
    list-style: none;
    display: flex;
    gap: 50px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 25px;
    position: relative;
}


/* Hover Linie */

.nav-links li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: 0.3s;
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li a:hover {
    color: var(--primary);
}


/* HAMBURGER */

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}



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

.hero {
    width: 100%;
    padding-top: 120px;
    padding-bottom: 40px;
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 60%);
}

.hero-logo-wrapper {
    width: 100%;
}

.hero-logo {
    width: 100%;
    max-width: 1000px;
    margin: auto;
    display: block;
    filter: drop-shadow(0px 20px 40px rgba(0,0,0,0.12));
}



/* =========================
   SECTIONS
========================= */

section {
    padding: 90px 20px;
    max-width: 1100px;
    margin: auto;
text-align: left;
    
}

section h2 {
    margin-bottom: 20px;
    font-size: 32px;
    color: var(--primary);
    text-align: center;
}

section p {
    max-width: 750px;
    margin: auto;
    color: #555;
    text-align: center;
}

.alt {
    background: var(--light-bg);
}



/* BUTTON */

.button {
    display: inline-block;
    padding: 12px 26px;
    background: var(--primary);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 20px;
    transition: 0.3s;
}

.button:hover {
    background: var(--secondary);
}



/* =========================
   ACCORDION
========================= */

.accordion {
    margin-top: 40px;
}

.accordion-item {
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 20px 0;
}

.accordion-header  {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    color: var(--primary);
text-align: left;
}

.accordion-header span:first-child {
    text-align: left;
}
.accordion-icon {
    font-size: 22px;
    transition: 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-content p {
    padding-top: 15px;
}

/* =========================
   MODERNER LEITBILD BUTTON
========================= */

.leitbild-item {
    margin-top: 60px;
    border: none;
text-align: center;
}

.leitbild-header {
    background: rgba(106, 170, 119, 0.75); /* leicht transparentes Grün */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    color: white;
    border-radius: 50px;
    padding: 18px 34px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
    transition: all 0.3s ease;

    border: 1px solid rgba(255,255,255,0.3);
}

/* Hover Effekt */
.leitbild-header:hover {
    background: rgba(106, 170, 119, 0.9);
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.15);
}

/* Wenn geöffnet */
.leitbild-item.active .leitbild-header {
    background: rgba(92, 159, 104, 0.95);
}

/* Abstand zum aufgeklappten Text */
.leitbild-item .accordion-content {
    margin-top: 25px;
}
/* =========================
   LEITBILD – MOBILE DEZENT
========================= */

@media (max-width: 768px) {

    .leitbild-header {
        background: rgba(106, 170, 119, 0.65); /* noch dezenter */
        backdrop-filter: none; /* kein Blur auf Mobile */
        -webkit-backdrop-filter: none;

        padding: 14px 22px;
        font-size: 15px;
        border-radius: 30px;

        box-shadow: none;
        transform: none;
    }

    .leitbild-header:hover {
        transform: none; /* kein „Springen“ auf Touch */
        box-shadow: none;
        background: rgba(106, 170, 119, 0.75);
    }

    .leitbild-item .accordion-content {
        margin-top: 18px;
    }

}

/* =========================
   TEAM
========================= */

.team-section {
    padding: 100px 20px;
    background: var(--light-bg);
}


/* KARTE */

.team-card {
    max-width: 420px;
    margin: 40px auto;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}


/* BILD */

.team-image {
    position: relative;
}

.team-image img {
    width: 100%;
    display: block;
}


/* OVERLAY UNTEN IM BILD */

.team-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(12px);

    padding: 12px 16px;
    border-radius: 50px;
}


/* NAME */

.team-name {
    color: white;
    font-weight: 600;
    font-size: 16px;
}


/* ICONS */

.team-icons {
    display: flex;
    gap: 10px;
}

.team-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;

    background: rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    color: white;
    font-size: 18px;

    transition: 0.3s;
}

.team-icons a:hover {
    background: var(--primary);
}


/* TELEFON ROT */

.team-icons a[href^="tel"] {
    background: #e74c3c;
}


/* INFO UNTER DEM BILD */

.team-info {
    padding: 25px;
    text-align: left;
}

.team-role {
    display: inline-block;
    border: 2px solid var(--primary);
    border-radius: 30px;
    padding: 6px 14px;
    margin-bottom: 15px;
    font-weight: 500;
}

.team-info p {
    margin: 8px 0;
}


/* =========================
   JOBS
========================= */

.jobs-page {
    padding: 160px 20px 100px;
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 60%);
}

.jobs-container {
    max-width: 1000px;
    margin: auto;
}

.job-accordion {
    background: #fff;
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    overflow: hidden;
}

.job-header {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    background: #f8f8f8;
}

.job-toggle {
    font-size: 24px;
}

.job-content {
    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease;
    padding: 0 20px;
}



/* =========================
   LEGAL / CONTENT BOX
========================= */

.legal-page {
    padding: 160px 20px 100px;
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 60%);
}

.legal-container,
.content-box {
    max-width: 1000px;
    margin: auto;
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}



/* =========================
   FOOTER
========================= */

footer {
    background: var(--primary);
    color: white;
    padding: 50px 20px;
    text-align: center;
}



/* =========================
   ADMIN
========================= */

.admin-login,
.admin-form {
    max-width: 500px;
    margin: 60px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-login input,
.admin-form input,
.admin-form textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* =========================
   KONTAKT MOBILE FIX
========================= */

@media (max-width: 900px) {

    #kontakt .kontakt-wrapper {
        margin: 30px 15px 0 15px;
        max-width: 100%;
    }

    #kontakt form {
        padding: 25px;
        border-radius: 20px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.06);
    }

    #kontakt input,
    #kontakt textarea {
        padding: 14px;
        font-size: 16px; /* verhindert iOS Zoom */
    }

    #kontakt button {
        width: 100%;
        padding: 16px;
    }


}


/* =========================
   Desktop
========================= */

@media (min-width: 901px) {

    nav {
        padding: 18px 70px;
        min-height: 110px;
    }

    nav.shrink {
        padding: 10px 70px;
        min-height: 80px;
    }

    .logo1 img {
        height: 160px;
        width: auto;
        object-fit: contain;
        transition: 0.25s ease;
    }

    nav.shrink .logo1 img {
        height: 110px;
    }

    .menu-toggle {
        display: none !important;
    }

    .nav-links {
        position: static;
        flex-direction: row;
        height: auto;
        transform: none;
        background: none;
        box-shadow: none;
        padding: 0;
        gap: 40px;
    }

    .nav-links li a {
        font-size: 24px;
        font-weight: 600;
    }

    .hero {
        padding-top: 150px;
        padding-bottom: 60px;
    }

    .hero-logo {
        max-width: 1100px;
    }

    section {
        padding: 120px 20px;
        max-width: 1200px;

    }

    .jobs-container {
        max-width: 1100px;
    }

    .legal-container,
    .content-box {
        max-width: 1100px;
        padding: 60px;
    }

footer {
        padding: 60px 20px;
    }

/* =========================
   KONTAKT FINAL SAUBER
========================= */

#kontakt {
    text-align: center; /* Überschrift bleibt zentriert */
}

#kontakt .kontakt-wrapper {
    max-width: 600px;
    margin: 50px auto 0 auto;
}

#kontakt form {
    background: #ffffff;
    padding: 45px;
    border-radius: 30px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);

    display: flex;
    flex-direction: column;
    gap: 22px;

    text-align: left; /* Formular-Inhalt links */
}

#kontakt .field {
    display: flex;
    flex-direction: column;
}

#kontakt label {
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 6px;
}

#kontakt input,
#kontakt textarea {
    width: 100%;
    padding: 15px 18px;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    background: #f9f9f9;
    transition: 0.25s ease;
}

#kontakt input:focus,
#kontakt textarea:focus {
    outline: none;
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(122,61,184,0.08);
}

#kontakt textarea {
    min-height: 150px;
    resize: vertical;
}

#kontakt img {
    margin: 12px 0;
    border-radius: 12px;
}

#kontakt button {
    margin-top: 10px;
    padding: 16px;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 15px;

    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;

    cursor: pointer;
    transition: 0.3s ease;
}

#kontakt button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

}
/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    nav {
        padding: 15px 20px;
        position: fixed;
        z-index: 1200;
    }

    nav.shrink {
        padding: 8px 20px;
    }

    .logo1 img {
        height: 78px;
    }

    nav.shrink .logo1 img {
        height: 60px;
    }

    .menu-toggle {
        display: flex;
        font-size: 30px;
        cursor: pointer;
        color: var(--primary);
        z-index: 1201;
    }


    .nav-links {
        position: fixed;
        top: 90px;
        right: 15px;
        left: 15px;

        background: rgba(255, 255, 255, 0.88);
        backdrop-filter: blur(18px);

        border-radius: 25px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);

        flex-direction: column;
        align-items: center;
        justify-content: center;

        padding: 40px 20px;
        gap: 25px;

        transform: translateY(-20px) scale(0.95);
        opacity: 0;
        pointer-events: none;

        transition: 0.35s ease;

        z-index: 1200;
    }


    .nav-links.active {
        transform: translateY(0) scale(1);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        font-size: 20px;
        font-weight: 500;
        color: #333;
        text-decoration: none;
        padding: 10px 20px;
        border-radius: 12px;
        transition: 0.25s;
    }

    .nav-links a:hover {
        background: rgba(123, 63, 228, 0.1);
        color: var(--primary);
    }

    .nav-links a:last-child {
        background: var(--primary);
        color: white;
        border-radius: 30px;
        padding: 10px 25px;
    }

    .nav-links a:last-child:hover {
        background: #5e35b1;
    }

}

/* =========================
   ABOUT HERO IMAGE
========================= */

.about-hero {
    width: 100%;
    padding: 40px 20px;
}

.about-hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    object-fit: cover;
}

/* =========================
   MOBILE (Standard)
========================= */

@media (max-width: 900px) {

    .about-hero-image {
        max-height: 260px;          /* kompakter */
        object-position: center top; /* Fokus oben */
        border-radius: 20px;
    }

}

/* =========================
   DESKTOP
========================= */

@media (min-width: 901px) {

    .about-hero {
        max-width: 1100px;
        margin: 80px auto;
        padding: 0;
    }

    .about-hero-image {
        height: 500px;              /* größer auf Desktop */
        object-fit: cover;
        object-position: center center;
        border-radius: 35px;
        box-shadow: 0 35px 60px rgba(0,0,0,0.12);
    }

}

/* =========================
   KERNTEAM
========================= */

.kernteam-section {
    padding: 120px 20px;
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 60%);
    text-align: center;
}

.kernteam-section h2 {
    margin-bottom: 60px;
    font-size: 34px;
    color: var(--primary);
}

.kernteam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: auto;
}

/* Karte */

.kernteam-card {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    transition: 0.4s ease;
    background: white;
}

.kernteam-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 60px rgba(0,0,0,0.12);
}

/* Bild */

.kernteam-image {
    position: relative;
}

.kernteam-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

/* Overlay */

.kernteam-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;

    height: 95px;              /* feste Höhe */
    padding: 16px 20px;

    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(12px);
    border-radius: 25px;

    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
}
.kernteam-overlay h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}
.kernteam-overlay span {
    font-size: 14px;
    line-height: 1.3;

    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;        /* max 2 Zeilen */
    -webkit-box-orient: vertical;
}

/* INFO UNTER DEM BILD */

.kernteam-info {
    padding: 20px 25px 30px;
    text-align: left;
}

.kernteam-info p {
    margin: 6px 0;
    font-size: 14px;
    color: var(--text);
    position: relative;
    padding-left: 18px;
}

.kernteam-info p::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}
}