/* =========================================================================
   styles.css — HR Boutique aktualisiert inkl. animierte Qualifikationen
   ========================================================================= */

* { margin:0; padding:0; box-sizing:border-box; }

body {
    font-family:"Lora", serif;
    font-size:18px;
    color:#3A3A3A;
    background: linear-gradient(-45deg, #f9f6f0, #e6e0d8, #dcd6cc, #f4f2ed);
    background-size: 400% 400%;
    animation: gradientBG 20s ease infinite;
}

@keyframes gradientBG {
    0%{background-position:0% 50%;}
    50%{background-position:100% 50%;}
    100%{background-position:0% 50%;}
}

h1,h2,h3 { font-family:"Playfair Display", serif; color:#3A3A3A; margin-bottom:15px; }
h2 { font-size:26px; }
p { font-family:"Open Sans", sans-serif; line-height:1.8; color:#3A3A3A; margin-bottom:20px; font-size:18px; }
a { text-decoration:none; transition: color 0.3s; }
a:hover { color:#EF6C50; }
.page-wrapper { display:flex; flex-direction:column; min-height:100vh; }

header {
    background-color: rgba(249,246,240,0.6);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.header-container { display:flex; justify-content:space-between; align-items:center; width:100%; padding:0 20px; }
.header-logo img { height:auto; max-height:160px; }

/* Burger-Menü */
.burger-menu { display: none; }
@media(max-width:768px){
    .header-logo img { max-height:120px; }
    .burger-menu {
        display:block;
        font-size:30px;
        color:#4A7B7A;
        position: relative;
        z-index:1500;
        padding:10px;
        cursor:pointer;
    }
    .header-nav { 
        display: none; 
        flex-direction: column; 
        position: absolute; 
        top: 100%; 
        right: 0; 
        background: #A9BBA2; 
        width: 100%; 
        text-align: center; 
        padding: 20px 0; 
    }
    .header-nav.active { display:flex; }
    .nav-links { flex-direction: column; gap:15px; }
    .nav-links a { color:#3A3A3A; font-size:20px; }
}

.nav-links { display:flex; list-style:none; gap:25px; }
.nav-links a { color:#4A7B7A; font-size:18px; }

main.content { flex:1; width:100%; margin-top:180px; }

section { position: relative; overflow:hidden; display:flex; flex-direction:column; justify-content:center; align-items:center; scroll-margin-top:180px; }
section > div, section > .grid { max-width:1200px; width:100%; }

#ueber-mich { background:rgba(244,242,237,0.85); padding:100px 20px; }
#leistungen { background:rgba(249,246,240,0.85); padding:140px 20px; }
#netzwerk { background:rgba(244,242,237,0.85); padding:110px 20px; }
#kontakt { background:rgba(249,246,240,0.85); padding:130px 20px; }

#home { display: flex; flex-direction: column; align-items: center; }
#home .hero-image { width: 100%; max-width: 1000px; height: auto; margin-top: 150px; padding:0 10px; }
@media(max-width:768px){ #home .hero-image { padding:0 15px; } }

#home .intro-text { max-width: 800px; text-align: center; margin: 40px 20px 80px; }
#home .intro-text h1 { color: #3a3a3a; font-size: 51px; line-height: 1.2; letter-spacing: 1px; opacity: 0; transform: translateY(20px); animation: fadeInUp 1s forwards; }
@media (max-width: 768px) { #home .intro-text h1 { font-size: 36px; } }
@keyframes fadeInUp { to { opacity:1; transform:translateY(0); } }

.btn {
    background: #a683d3;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, color 0.3s;
    font-size: 18px;
    display: inline-block;
    margin-top: 10px;
}
.btn:hover { background: #8a5fc2; color: white; transform: scale(1.05); }

.fade-section { opacity: 0; transform: translateY(20px); transition: opacity 1s ease-out, transform 1s ease-out; }
.fade-section.fade-in { opacity:1; transform: translateY(0); }

.grid-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.grid-item.fade-in { opacity:1; transform: translateY(0); }

#leistungen .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; width: 100%; max-width: 100%; margin: 0; justify-items: center; }
#leistungen .grid-item img { width:470px; height:auto; margin-bottom:15px; display:block; }
@media (max-width: 768px){ 
    #leistungen .grid { grid-template-columns: 1fr; } 
    #leistungen .grid-item img { width:100%; max-width:400px; } 
}

#netzwerk .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap:30px; width:100%; max-width:100%; }
#netzwerk .grid-item img { width:140px; height:auto; margin-bottom:15px; }
@media(max-width:768px){ 
    #netzwerk .grid { grid-template-columns: 1fr; } 
    #netzwerk .grid-item { margin-bottom:40px; } 
}

.ueber-mich-container { display:flex; align-items:flex-start; gap:40px; max-width:1200px; width:100%; flex-wrap:wrap; }
.portrait img { width:450px; height:auto; border-radius:16px; object-fit:cover; }
.ueber-mich-text { flex:1; }
@media(max-width:768px){ 
    .ueber-mich-container { flex-direction:column; align-items:center; text-align:center; } 
    .portrait img { width:100%; max-width:300px; margin-bottom:20px; } 
}

.contact-info { text-align:center; }
.contact-info img { width:320px; height:auto; margin-bottom:15px; }

footer { background:#A9BBA2; padding:20px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; }
footer .footer-links a { color:#3A3A3A; margin-left:15px; font-size:18px; }
footer p { color:#3A3A3A; font-size:14px; }

#cookieBanner {
    position: fixed;
    top: calc(100px + 10px);
    left:10px;
    right:10px;
    background: rgba(169,187,162,0.95);
    color: #3A3A3A;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    z-index: 2000;
    font-size: 16px;
    border-radius: 8px;
    flex-wrap: wrap;
}
#cookieBanner button { background:#a683d3; color:white; border:none; padding:6px 16px; border-radius:20px; cursor:pointer; }
#cookieBanner button:hover { background:#8a5fc2; }

h2.custom-h2 { font-family: 'Playfair Display', serif; color: #4A7B7A; font-size:26px; margin-bottom:17px; }

/* ---------------------------
   Erfahrung & Qualifikationen Liste (neu, animiert)
--------------------------- */

.qualifikations-liste {
    list-style: none;           
    padding-left: 0;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.qualifikations-liste.fade-in {
    opacity: 1;
    transform: translateY(0);
}
.qualifikations-liste li {
    position: relative;
    padding-left: 30px;        
    margin-bottom: 14px;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #3A3A3A;
}
.qualifikations-liste li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 12px;
    height: 12px;
    background-color: #A9BBA2; 
    border-radius: 50%;
}

/* ---------------------------
   AGB / Datenschutz / Impressum Container
--------------------------- */
.agb-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: justify;
    line-height: 1.8;
    font-size: 18px;
    color: #3A3A3A;
}
.agb-container h1, 
.agb-container h2 {
    text-align: center;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

/* ---------------------------
   Spezielle Klasse für alle Legal Pages
--------------------------- */
.legal-page {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* oben ausgerichtet */
    padding: 80px 20px; /* Abstand Header / Seiten */
}

/* ---------------------------
   Impressum: Kontakt + Bild (größer, wie Über mich)
--------------------------- */
.impressum-header {
    background: rgba(249,246,240,0.85);
    padding: 100px 40px; /* mehr Abstand wie Über mich */
}

.impressum-intro-container {
    display: flex;             
    align-items: flex-start;   
    gap: 50px;                 /* etwas größerer Abstand zwischen Text und Bild */
    flex-wrap: wrap;           
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.impressum-kontakt {
    flex: 1;                   
    min-width: 300px;          
    font-size: 22px;           /* größere Schrift */
    line-height: 2;            /* mehr Zeilenabstand */
}

.impressum-kontakt h1 {
    font-size: 42px;           /* größere Überschrift */
    margin-bottom: 25px;
}

.impressum-kontakt p {
    margin-bottom: 20px;       /* mehr Abstand zwischen Absätzen */
}

.impressum-kontakt a {
    font-size: 22px;           /* E-Mail größer */
    color: #4A7B7A;
}

.impressum-bild {
    flex: 0 0 400px;           /* größeres Bild */
}

.impressum-bild img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

@media(max-width:768px){
    .impressum-intro-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .impressum-bild {
        flex: none;
        width: 80%;
        max-width: 350px;
        margin-top: 20px;
    }

    .impressum-kontakt {
        min-width: 0;
    }
}

/* ---------------------------
   Restlicher Impressumstext
--------------------------- */
.impressum-details {
    background: rgba(244,242,237,0.85);
    padding: 60px 20px;
}
