/* ============================================
   4ustyle Bewerbungsseite – Stylesheet
   Farben: #e53c96 (Pink), #b2005e (Burgund)
   Fonts: Montserrat (Headings), Open Sans (Body)
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #fff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: #e53c96;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #b2005e;
}

/* ---- Header ---- */
.header {
    background: linear-gradient(135deg, #e53c96 0%, #b2005e 100%);
    color: #fff;
    padding: 30px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.logo-highlight {
    font-weight: 400;
    opacity: 0.85;
}

.header-name h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.header-name p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

/* ---- Navigation ---- */
.nav {
    background: #fff;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
    z-index: 100;
}

.nav.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

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

.nav-list a {
    display: block;
    padding: 14px 16px;
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s, border-bottom 0.2s;
    border-bottom: 3px solid transparent;
}

.nav-list a:hover {
    color: #e53c96;
    border-bottom-color: #e53c96;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Hero ---- */
.hero {
    background: linear-gradient(135deg, #fdf0f5 0%, #fce4ef 100%);
    text-align: center;
    padding: 80px 0 70px;
}

.hero h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: #b2005e;
    margin-bottom: 16px;
    line-height: 1.3;
}

.hero p {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 30px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    border: none;
    text-align: center;
}

.btn-primary {
    background: #e53c96;
    color: #fff;
}

.btn-primary:hover {
    background: #b2005e;
    color: #fff;
    transform: translateY(-1px);
}

/* ---- Sections ---- */
.section {
    padding: 70px 0;
}

.section-alt {
    background: #fafafa;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: #b2005e;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    max-width: 650px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
}

/* ---- About ---- */
.about-text p {
    margin-bottom: 16px;
    font-size: 1.02rem;
    line-height: 1.7;
}

/* ---- Regionen ---- */
.region-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 30px;
}

.region-tag {
    background: linear-gradient(135deg, #e53c96, #b2005e);
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
}

.region-note {
    text-align: center;
    color: #777;
    font-size: 0.95rem;
    font-style: italic;
}

/* ---- Services ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.service-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 32px 24px;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.2s;
}

.service-card:hover {
    box-shadow: 0 8px 28px rgba(229,60,150,0.12);
    transform: translateY(-3px);
}

.service-icon {
    font-size: 2.5rem;
    color: #e53c96;
    margin-bottom: 14px;
}

.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.93rem;
    color: #666;
    line-height: 1.6;
}

/* ---- Zertifikate ---- */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.cert-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 16px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    text-align: center;
    color: #333;
    transition: box-shadow 0.3s, transform 0.2s;
}

.cert-card:hover {
    box-shadow: 0 6px 20px rgba(229,60,150,0.12);
    transform: translateY(-2px);
    color: #b2005e;
}

.cert-hint {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin-top: 30px;
    padding: 16px 20px;
    background: #fdf0f5;
    border-radius: 8px;
    border-left: 4px solid #e53c96;
}

.cert-icon {
    font-size: 2rem;
    color: #e53c96;
}

.cert-card span {
    font-weight: 600;
    font-size: 0.95rem;
}

.cert-card small {
    color: #999;
    font-size: 0.82rem;
}

/* ---- Contact Form ---- */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.92rem;
    color: #444;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e53c96;
    box-shadow: 0 0 0 3px rgba(229,60,150,0.12);
}

.form-group input.invalid,
.form-group textarea.invalid {
    border-color: #e53c96;
}

.form-error {
    display: block;
    color: #e53c96;
    font-size: 0.82rem;
    margin-top: 4px;
    min-height: 1.2em;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success h3 {
    font-family: 'Montserrat', sans-serif;
    color: #27ae60;
    margin-bottom: 10px;
}

/* ---- Footer ---- */
.footer {
    background: #2d2d2d;
    color: #ccc;
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer h4 {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    margin-bottom: 14px;
    font-size: 1rem;
}

.footer a {
    color: #e53c96;
}

.footer a:hover {
    color: #fff;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid #444;
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: #888;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        text-align: center;
    }

    .nav-toggle {
        display: flex;
        margin-left: auto;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        border-top: 1px solid #eee;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list a {
        padding: 14px 20px;
        border-bottom: 1px solid #f5f5f5;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .section {
        padding: 50px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cert-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 0 40px;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .region-tag {
        padding: 8px 18px;
        font-size: 0.9rem;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }
}
