/* --- GRUNDEINSTELLUNGEN & FARBEN --- */
:root {
    --faber-blue: #004e92;
    --faber-orange: #f28b00;
    --white: #ffffff;
    --light-grey: #f9f9f9;
    --text-grey: #333333;
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { font-family: var(--font-main); color: var(--text-grey); line-height: 1.6; background-color: var(--white); }

/* Ueberschriften allgemein */
h1, h2, h3, h4 { color: var(--faber-blue); margin-bottom: 15px; line-height: 1.2; }
p { margin-bottom: 20px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- HEADER & NAVIGATION --- */
header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    border-bottom: 3px solid var(--faber-orange);
}

.logo a { display: flex; align-items: center; }
.logo img { height: 85px; width: auto; }

nav ul { display: flex; gap: 20px; align-items: center; }
nav a { font-weight: 600; font-size: 0.95rem; color: var(--faber-blue); padding: 10px 0; position: relative; }
nav a:hover { color: var(--faber-orange); }
nav a:not(.cta-header)::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 5px; left: 0; background-color: var(--faber-orange); transition: width 0.3s; }
nav a:not(.cta-header):hover::after { width: 100%; }

.cta-header { background-color: var(--faber-orange); color: white !important; padding: 10px 20px; border-radius: 5px; font-weight: bold; }
.cta-header:hover { background-color: var(--faber-blue); }
.menu-toggle { display: none; background: none; border: none; padding: 0; font: inherit; }

/* --- HERO SECTION --- */
.hero {
    height: 95vh;
    background: linear-gradient(rgba(0, 78, 146, 0.7), rgba(0, 78, 146, 0.5)), url('../img/start.webp');
    background-color: var(--faber-blue);
    background-size: cover;
    background-position: center;
    display: flex; align-items: center; justify-content: center; text-align: center; color: white;
    padding-top: 110px;
}
@supports not (background-image: url('../img/start.webp')) {
    .hero { background-image: linear-gradient(rgba(0, 78, 146, 0.7), rgba(0, 78, 146, 0.5)), url('../img/start.jpg'); }
}
.hero-content { max-width: 900px; padding: 20px; }

.hero-kicker {
    color: #f0f0f0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.hero-slogan {
    color: white;
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-lead { font-size: 1.3rem; margin-bottom: 40px; font-weight: 300; max-width: 750px; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-block; padding: 15px 40px; border-radius: 50px; font-weight: bold; font-size: 1rem; margin: 10px; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background-color: var(--faber-orange); color: white; }
.btn-primary:hover { background-color: #d67a00; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.btn-outline { border: 2px solid white; color: white; }
.btn-outline:hover { background-color: white; color: var(--faber-blue); }

/* --- SECTIONS ALLGEMEIN --- */
.section { padding: 80px 5%; }
.section-light { background-color: var(--white); }
.section-grey { background-color: var(--light-grey); position: relative; }
.container { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 60px; }
.text-col, .img-col { flex: 1; min-width: 300px; }
.img-col img { width: 100%; border-radius: 8px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

/* --- TRUST-BAR --- */
.trust-bar {
    background: var(--white);
    border-bottom: 1px solid #eee;
    padding: 25px 5%;
}
.trust-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.trust-badge {
    height: 55px;
    width: auto;
    display: block;
}
.trust-icon {
    font-size: 1.6rem;
    color: var(--faber-orange);
    line-height: 1;
}
.trust-text {
    font-size: 0.85rem;
    line-height: 1.3;
    color: var(--text-grey);
}
.trust-text strong {
    color: var(--faber-blue);
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .trust-bar-inner {
        justify-content: center;
        gap: 20px;
    }
    .trust-item {
        flex: 0 0 auto;
    }
}
@media (max-width: 480px) {
    .trust-bar-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    .trust-item {
        flex-direction: column;
        gap: 5px;
    }
}

/* --- SECTION KICKER --- */
.section-kicker { color: var(--faber-orange); font-weight: 600; text-transform: uppercase; letter-spacing: 3px; font-size: 0.9rem; margin-bottom: 5px; }

/* --- LISTEN --- */
.service-list { margin: 25px 0; columns: 2; column-gap: 40px; }
.service-list li { margin-bottom: 12px; padding-left: 30px; position: relative; font-size: 1.05rem; break-inside: avoid; }
.service-list li::before { content: '\2713'; color: var(--faber-orange); font-weight: bold; position: absolute; left: 0; top: 0; }

/* --- ORTSLISTEN --- */
.city-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.city-tag { background: white; padding: 8px 15px; border-radius: 4px; border: 1px solid #ddd; font-weight: 600; color: var(--faber-blue); font-size: 0.9rem; }

/* --- UEBER UNS --- */
.stats-grid { display: flex; justify-content: space-evenly; margin-top: 40px; text-align: center; border-top: 1px solid #ddd; padding-top: 30px; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--faber-orange); line-height: 1; }
.stat-label { font-size: 0.9rem; color: var(--faber-blue); font-weight: 600; text-transform: uppercase; margin-top: 5px; }

/* --- JOBS --- */
.job-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.job-card { background: white; padding: 35px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border-left: 5px solid var(--faber-orange); transition: transform 0.3s; display: flex; flex-direction: column; justify-content: space-between; }
.job-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.job-title { font-size: 1.3rem; font-weight: bold; color: var(--faber-blue); margin-bottom: 10px; }
.job-info { font-size: 0.9rem; color: #666; margin-bottom: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* --- KONTAKT FORMULAR --- */
.contact-wrapper { display: flex; flex-wrap: wrap; gap: 50px; background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); padding: 40px; }
.contact-info-box { flex: 1; min-width: 300px; }
.contact-form-box { flex: 1.5; min-width: 300px; }
.form-row { display: flex; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--faber-blue); }
.form-input, .form-select, .form-textarea { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 5px; font-family: inherit; font-size: 1rem; transition: 0.3s; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--faber-orange); box-shadow: 0 0 0 3px rgba(242, 139, 0, 0.1); }
.form-textarea { height: 150px; resize: vertical; }

/* --- FOOTER --- */
footer { background-color: var(--faber-blue); color: white; padding: 70px 5% 30px 5%; font-size: 0.95rem; }
.footer-container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; max-width: 1200px; margin: 0 auto; }
.footer-col h4 { color: var(--faber-orange); margin-bottom: 25px; text-transform: uppercase; font-size: 1rem; letter-spacing: 1px; }
.footer-col a { color: #ddd; }
.footer-col a:hover { color: white; text-decoration: underline; }
.footer-bottom { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); color: #888; font-size: 0.85rem; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .hero-slogan { font-size: 2.5rem; }
    .hero-lead { font-size: 1.2rem; }

    .container { flex-direction: column; }
    #privat .container { flex-direction: column-reverse; }
    .text-col, .img-col { min-width: 0; width: 100%; }
    .service-list { columns: 1; }

    header { height: 90px; }
    .logo img { height: 60px; }
    .hero { padding-top: 90px; }

    nav {
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
    }
    nav ul {
        display: none;
        flex-direction: column;
        background: white;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px;
        text-align: center;
        gap: 15px;
    }
    nav ul.active { display: flex; }
    .menu-toggle { display: block; font-size: 1.8rem; cursor: pointer; color: var(--faber-blue); }
    .cta-header { display: inline-block; margin-top: 10px; }

    .stats-grid { gap: 10px; }
    .stat-number { font-size: 2rem; }
    .stat-label { font-size: 0.8rem; }

    .contact-wrapper { padding: 25px; gap: 30px; flex-direction: column; }
    .contact-info-box, .contact-form-box { min-width: 0; width: 100%; flex: none; }

    .btn { padding: 13px 25px; font-size: 0.95rem; }
    .job-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 5%; }
}

@media (max-width: 480px) {
    .hero-slogan { font-size: 1.9rem; }
    .hero-lead { font-size: 1rem; }
    .stats-grid { flex-direction: column; align-items: center; gap: 20px; }
    .contact-wrapper { padding: 20px; }
    .form-row { flex-direction: column; gap: 0; }
    .section { padding: 50px 4%; }
    .btn { width: 100%; text-align: center; margin: 8px 0; display: block; }
    .hero .btn { display: inline-block; width: auto; }
}

/* --- MODERNE UI-AUFWERTUNGEN --- */

/* Scroll-Animationen */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Hero Eingangsanimation */
.hero-content .hero-kicker {
    animation: heroFadeDown 0.8s ease-out both;
}
.hero-content .hero-slogan {
    animation: heroFadeDown 0.8s ease-out 0.2s both;
}
.hero-content .hero-lead {
    animation: heroFadeDown 0.8s ease-out 0.4s both;
}
.hero-content > div:last-child {
    animation: heroFadeDown 0.8s ease-out 0.6s both;
}
@keyframes heroFadeDown {
    from { opacity: 0; transform: translateY(-25px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Glassmorphism Header */
header {
    background: #ffffff !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    height: 90px;
    transition: height 0.3s ease, box-shadow 0.3s ease;
}
header.scrolled .logo img {
    height: 65px;
    transition: height 0.3s ease;
}

/* Bessere Button-Transitions */
.btn {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}
.btn:active::after {
    width: 300px;
    height: 300px;
}

/* Modernere Bild-Hover */
.img-col {
    overflow: hidden;
    border-radius: 8px;
}
.img-col img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.img-col:hover img {
    transform: scale(1.03);
}

/* City-Tags Hover */
.city-tag {
    transition: all 0.3s ease;
}
.city-tag:hover {
    background: var(--faber-blue);
    color: white;
    border-color: var(--faber-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 78, 146, 0.2);
}

/* Job-Card Gradient-Akzent */
.job-card {
    border-left: 5px solid var(--faber-orange);
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.job-card:hover {
    border-image: linear-gradient(to bottom, var(--faber-orange), var(--faber-blue)) 1;
}

/* Kontakt-Wrapper Modernisierung */
.contact-wrapper {
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease;
}
.contact-wrapper:hover {
    box-shadow: 0 12px 50px rgba(0,0,0,0.1);
}

/* Form-Input Modernisierung */
.form-input, .form-select, .form-textarea {
    border-radius: 8px;
    transition: all 0.3s ease;
}
.form-input:hover, .form-select:hover, .form-textarea:hover {
    border-color: #bbb;
}

/* Modernere Stats */
.stat-number {
    background: linear-gradient(135deg, var(--faber-orange), #e07600);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scroll-to-Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--faber-blue);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 78, 146, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}
.scroll-top:hover {
    background: var(--faber-orange);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 139, 0, 0.4);
}

/* Service-Liste Animation */
.service-list li {
    transition: transform 0.2s ease;
}
.service-list li:hover {
    transform: translateX(5px);
}

/* Footer Gradient */
footer {
    background: linear-gradient(160deg, #003d73 0%, var(--faber-blue) 50%, #00396b 100%) !important;
}

/* Reduzierte Animationen bei Nutzerpraeferenz */
@media (prefers-reduced-motion: reduce) {
    .fade-in, .fade-in-left, .fade-in-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-content .hero-kicker,
    .hero-content .hero-slogan,
    .hero-content .hero-lead,
    .hero-content > div:last-child {
        animation: none;
    }
}

/* --- COOKIE-BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a2e;
    color: #e0e0e0;
    padding: 20px 5%;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    display: none;
    animation: cookieSlideUp 0.4s ease-out;
}
.cookie-banner.show { display: block; }
@keyframes cookieSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}
.cookie-text {
    flex: 1;
    min-width: 280px;
    font-size: 0.9rem;
    line-height: 1.5;
}
.cookie-text a {
    color: var(--faber-orange);
    text-decoration: underline;
}
.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-btn {
    padding: 10px 24px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}
.cookie-btn-accept {
    background: var(--faber-orange);
    color: white;
}
.cookie-btn-accept:hover {
    background: #d67a00;
}
.cookie-btn-reject {
    background: transparent;
    color: #ccc;
    border: 1px solid #555;
}
.cookie-btn-reject:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}
@media (max-width: 600px) {
    .cookie-inner { flex-direction: column; text-align: center; }
    .cookie-buttons { width: 100%; justify-content: center; }
}
