/**
 * ZAW Landing Page: Karriere
 * Version: 2.7
 * Scope: .lp-karriere (alle Selektoren prefixed)
 * 
 * WICHTIG: 
 * - Keine globalen Resets, keine @font-face
 * - Header/Footer kommen von main.css (Hauptseiten-Chunks)
 * - Diese CSS nur für Landing-Page-spezifische Elemente
 * 
 * Changelog:
 * v2.7 - Hero Overlay über Slider hinzugefügt
 * v2.6 - Header/Footer entfernt (nutzt jetzt Hauptseiten-Chunks)
 */

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */
.lp-karriere {
    --lp-color-primary: #c3ad8d;
    --lp-color-secondary: #444448;
    --lp-color-text: #333333;
    --lp-color-text-light: #555555;
    --lp-color-background: #ffffff;
    --lp-color-background-alt: #fafafa;
    --lp-color-white: #ffffff;
    --lp-color-primary-light: rgba(195, 173, 141, 0.12);
    --lp-color-border: #e5e5e5;
    --lp-shadow-soft: 0 4px 20px rgba(0,0,0,0.06);
    --lp-shadow-hover: 0 8px 30px rgba(0,0,0,0.1);
    --lp-max-width: 960px;
    --lp-transition: all 0.4s;
}

/* ==========================================================================
   Base Container
   ========================================================================== */
.lp-karriere {
    background: var(--lp-color-background);
    color: var(--lp-color-text);
    line-height: 1.7;
    font-size: 15px;
    font-weight: 400;
}

/* ==========================================================================
   Hero Wrapper mit Slider
   ========================================================================== */
.lp-karriere .lp-hero-wrapper {
    position: relative;
    width: 100%;
    min-height: 70vh;
}

.lp-karriere .lp-hero-wrapper #slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.lp-karriere .lp-hero-wrapper #slider .mainslider,
.lp-karriere .lp-hero-wrapper #slider .splide__track,
.lp-karriere .lp-hero-wrapper #slider .splide__list,
.lp-karriere .lp-hero-wrapper #slider .splide__slide {
    height: 100%;
}

.lp-karriere .lp-hero-wrapper #slider .splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-karriere .lp-hero-wrapper #slider .scrolldown {
    display: none;
}

/* ==========================================================================
   Hero Overlay (über dem Slider)
   ========================================================================== */
.lp-karriere .lp-hero--overlay {
    position: relative;
    z-index: 10;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: rgba(68, 68, 72, 0.65);
}

.lp-karriere .lp-hero--overlay .lp-hero-inner {
    max-width: 800px;
    text-align: center;
}

.lp-karriere .lp-hero--overlay .lp-badge {
    color: var(--lp-color-primary);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.lp-karriere .lp-hero--overlay h1 {
    color: var(--lp-color-white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.lp-karriere .lp-hero--overlay .lp-hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.lp-karriere .lp-hero--overlay .lp-hero-meta {
    color: rgba(255, 255, 255, 0.9);
}

.lp-karriere .lp-hero--overlay .lp-btn-primary {
    background: var(--lp-color-primary);
    color: var(--lp-color-white);
    border: 2px solid var(--lp-color-primary);
}

.lp-karriere .lp-hero--overlay .lp-btn-primary:hover {
    background: var(--lp-color-white);
    color: var(--lp-color-secondary);
    border-color: var(--lp-color-white);
}

.lp-karriere .lp-hero--overlay .lp-btn-secondary {
    background: transparent;
    color: var(--lp-color-white);
    border: 2px solid var(--lp-color-white);
}

.lp-karriere .lp-hero--overlay .lp-btn-secondary:hover {
    background: var(--lp-color-white);
    color: var(--lp-color-secondary);
}

/* ==========================================================================
   Typography
   ========================================================================== */
.lp-karriere h1 {
    font-size: 40px;
    font-weight: 400;
    color: var(--lp-color-primary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0;
}

.lp-karriere h2 {
    font-size: 26px;
    font-weight: 400;
    color: var(--lp-color-text);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0;
}

.lp-karriere h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--lp-color-primary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0;
}

.lp-karriere p {
    margin: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.lp-karriere .lp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 25px;
    background: var(--lp-color-secondary);
    color: var(--lp-color-white);
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: var(--lp-transition);
}

.lp-karriere .lp-btn-primary:hover {
    background: var(--lp-color-primary);
}

.lp-karriere .lp-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 25px;
    background: transparent;
    color: var(--lp-color-primary);
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--lp-color-primary);
    cursor: pointer;
    transition: var(--lp-transition);
}

.lp-karriere .lp-btn-secondary:hover {
    border-color: var(--lp-color-text);
    color: var(--lp-color-text);
}

.lp-karriere .lp-btn-small {
    padding: 10px 16px;
    font-size: 13px;
}

/* ==========================================================================
   Hero Section (Fallback ohne Slider)
   ========================================================================== */
.lp-karriere .lp-hero {
    padding: 5rem 2rem 4rem;
    text-align: center;
    background: var(--lp-color-white);
}

.lp-karriere .lp-hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.lp-karriere .lp-badge {
    display: inline-block;
    color: var(--lp-color-primary);
    padding: 0.5rem 0;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: lp-fadeInUp 0.6s ease;
}

.lp-karriere .lp-hero h1 {
    margin-bottom: 1.5rem;
    animation: lp-fadeInUp 0.6s ease 0.1s both;
}

.lp-karriere .lp-hero-subtitle {
    font-size: 1.2rem;
    color: var(--lp-color-text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
    animation: lp-fadeInUp 0.6s ease 0.2s both;
}

.lp-karriere .lp-hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    animation: lp-fadeInUp 0.6s ease 0.3s both;
}

.lp-karriere .lp-hero-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 15px;
    font-weight: 500;
    color: #444;
}

.lp-karriere .lp-hero-meta svg {
    width: 18px;
    height: 18px;
    color: var(--lp-color-primary);
}

.lp-karriere .lp-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: lp-fadeInUp 0.6s ease 0.4s both;
}

/* ==========================================================================
   Sections (Generic)
   ========================================================================== */
.lp-karriere .lp-section {
    padding: 4rem 2rem;
    max-width: var(--lp-max-width);
    margin: 0 auto;
}

.lp-karriere .lp-section-alt {
    background: var(--lp-color-background-alt);
    max-width: none;
}

.lp-karriere .lp-section-alt > * {
    max-width: var(--lp-max-width);
    margin-left: auto;
    margin-right: auto;
}

.lp-karriere .lp-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.lp-karriere .lp-section-header h2 {
    margin-bottom: 0.75rem;
}

.lp-karriere .lp-section-header p {
    color: var(--lp-color-text-light);
    max-width: 550px;
    margin: 0 auto;
    font-size: 15px;
}

/* ==========================================================================
   Intro Card (Wer wir sind + Behandlungstätigkeit)
   ========================================================================== */
.lp-karriere .lp-intro-card {
    background: var(--lp-color-white);
    padding: 2.5rem;
    box-shadow: var(--lp-shadow-soft);
    border: 1px solid var(--lp-color-border);
    margin-bottom: 2rem;
}

.lp-karriere .lp-intro-card p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #444;
}

.lp-karriere .lp-intro-card > p:last-of-type {
    margin-bottom: 0;
}

.lp-karriere .lp-intro-card > .lp-highlight-box:last-child {
    margin-bottom: 0;
}

.lp-karriere .lp-intro-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--lp-color-border);
}

.lp-karriere .lp-stat-item {
    text-align: center;
}

.lp-karriere .lp-stat-number {
    font-size: 32px;
    font-weight: 300;
    color: var(--lp-color-primary);
    display: block;
}

.lp-karriere .lp-stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--lp-color-text-light);
}

/* ==========================================================================
   Highlight Box
   ========================================================================== */
.lp-karriere .lp-highlight-box {
    background: var(--lp-color-primary-light);
    border-left: 4px solid var(--lp-color-primary);
    padding: 1.5rem 2rem;
    margin-top: 2rem;
}

.lp-karriere .lp-highlight-box p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
}

.lp-karriere .lp-highlight-box strong {
    color: var(--lp-color-text);
}

/* ==========================================================================
   Features Grid (Ausstattung)
   ========================================================================== */
.lp-karriere .lp-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.lp-karriere .lp-feature-card {
    background: var(--lp-color-white);
    padding: 1.75rem;
    border: 1px solid var(--lp-color-border);
    transition: var(--lp-transition);
}

.lp-karriere .lp-feature-card:hover {
    box-shadow: var(--lp-shadow-soft);
    border-color: var(--lp-color-primary);
}

.lp-karriere .lp-feature-icon {
    width: 48px;
    height: 48px;
    background: var(--lp-color-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.lp-karriere .lp-feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--lp-color-white);
    stroke: var(--lp-color-white);
}

.lp-karriere .lp-feature-card h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: none;
    color: var(--lp-color-text);
}

.lp-karriere .lp-feature-card p {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

/* ==========================================================================
   Icon Images (Feature + Benefit)
   ========================================================================== */
.lp-karriere .lp-feature-icon,
.lp-karriere .lp-benefit-icon {
    background: transparent;
    overflow: hidden;
}

.lp-karriere .lp-feature-icon img,
.lp-karriere .lp-benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Team Section
   ========================================================================== */
.lp-karriere .lp-team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.lp-karriere .lp-team-text h2 {
    margin-bottom: 1.5rem;
}

.lp-karriere .lp-team-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.lp-karriere .lp-team-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-karriere .lp-team-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #444;
}

.lp-karriere .lp-team-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1rem;
    width: 8px;
    height: 8px;
    background: var(--lp-color-primary);
}

.lp-karriere .lp-team-image {
    background: var(--lp-color-primary-light);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lp-color-primary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.lp-karriere .lp-team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Benefits Grid
   ========================================================================== */
.lp-karriere .lp-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.lp-karriere .lp-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--lp-color-white);
    border: 1px solid var(--lp-color-border);
}

.lp-karriere .lp-benefit-icon {
    width: 48px;
    height: 48px;
    background: var(--lp-color-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lp-karriere .lp-benefit-icon svg {
    width: 24px;
    height: 24px;
    color: var(--lp-color-white);
    stroke: var(--lp-color-white);
}

.lp-karriere .lp-benefit-content strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--lp-color-text);
}

.lp-karriere .lp-benefit-content span {
    font-size: 14px;
    color: var(--lp-color-text-light);
    line-height: 1.5;
}

/* ==========================================================================
   Profile Section (Für wen?)
   ========================================================================== */
.lp-karriere .lp-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.lp-karriere .lp-profile-card {
    background: var(--lp-color-white);
    padding: 2rem;
    border: 1px solid var(--lp-color-border);
}

.lp-karriere .lp-profile-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: none;
    color: var(--lp-color-primary);
}

.lp-karriere .lp-profile-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

.lp-karriere .lp-profile-footer {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--lp-color-primary-light);
}

.lp-karriere .lp-profile-footer p {
    font-size: 16px;
    font-weight: 600;
    color: var(--lp-color-text);
}

/* ==========================================================================
   "Was wir NICHT bieten" Section
   ========================================================================== */
.lp-karriere .lp-not-section {
    background: linear-gradient(135deg, #444 0%, #333 100%);
    border-radius: 12px;
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.lp-karriere .lp-not-section h3 {
    color: var(--lp-color-primary);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.lp-karriere .lp-not-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.lp-karriere .lp-not-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--lp-color-white);
    font-size: 1rem;
    line-height: 1.5;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    transition: background 0.2s ease;
}

.lp-karriere .lp-not-list li:hover {
    background: rgba(255,255,255,0.12);
}

.lp-karriere .lp-not-list li::before {
    content: "✕";
    color: var(--lp-color-primary);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.lp-karriere .lp-cta-section {
    background: var(--lp-color-secondary);
    color: var(--lp-color-white);
    padding: 4rem 2rem;
    text-align: center;
}

.lp-karriere .lp-cta-section h2 {
    color: var(--lp-color-white);
    font-weight: 400;
    margin-bottom: 1rem;
}

.lp-karriere .lp-cta-section p {
    color: rgba(255,255,255,0.9);
    max-width: 550px;
    margin: 0 auto 2rem;
    font-size: 15px;
}

.lp-karriere .lp-cta-section .lp-btn-primary {
    background: var(--lp-color-primary);
    color: var(--lp-color-white);
}

.lp-karriere .lp-cta-section .lp-btn-primary:hover {
    background: var(--lp-color-white);
    color: var(--lp-color-secondary);
}

.lp-karriere .lp-contact-info {
    margin-top: 2rem;
    font-size: 15px;
    opacity: 0.9;
}

.lp-karriere .lp-contact-info a {
    color: var(--lp-color-white);
    text-decoration: none;
    transition: var(--lp-transition);
}

.lp-karriere .lp-contact-info a:hover {
    color: var(--lp-color-primary);
}

/* ==========================================================================
   Anchor Offset (für Fixed Header)
   ========================================================================== */
.lp-karriere #ausstattung,
.lp-karriere #bewerbung {
    scroll-margin-top: 80px;
}

/* ==========================================================================
   Formular Styles
   ========================================================================== */
.lp-karriere .lp-form {
    max-width: 500px;
    margin: 2rem auto 0;
    text-align: left;
}

.lp-karriere .lp-form-group {
    margin-bottom: 1.25rem;
}

.lp-karriere .lp-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 14px;
    font-weight: 600;
    color: var(--lp-color-white);
}

.lp-karriere .lp-form .lp-optional {
    font-weight: 400;
    opacity: 0.7;
}

.lp-karriere .lp-form input[type="text"],
.lp-karriere .lp-form input[type="email"],
.lp-karriere .lp-form input[type="tel"],
.lp-karriere .lp-form textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: inherit;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: var(--lp-color-white);
    transition: var(--lp-transition);
}

.lp-karriere .lp-form input[type="text"]:focus,
.lp-karriere .lp-form input[type="email"]:focus,
.lp-karriere .lp-form input[type="tel"]:focus,
.lp-karriere .lp-form textarea:focus {
    outline: none;
    border-color: var(--lp-color-primary);
    background: rgba(255,255,255,0.15);
}

.lp-karriere .lp-form input::placeholder,
.lp-karriere .lp-form textarea::placeholder {
    color: rgba(255,255,255,0.5);
}

.lp-karriere .lp-form textarea {
    resize: vertical;
    min-height: 100px;
}

.lp-karriere .lp-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.lp-karriere .lp-form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--lp-color-primary);
}

.lp-karriere .lp-form-checkbox label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.5;
}

.lp-karriere .lp-form-checkbox a {
    color: var(--lp-color-primary);
    text-decoration: underline;
}

.lp-karriere .lp-form-checkbox a:hover {
    color: var(--lp-color-white);
}

.lp-karriere .lp-form-error input,
.lp-karriere .lp-form-error textarea {
    border-color: #e74c3c;
}

.lp-karriere .lp-error-text {
    display: block;
    margin-top: 0.5rem;
    font-size: 13px;
    color: #e74c3c;
}

.lp-karriere .lp-form-validation-error {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid #e74c3c;
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-size: 14px;
    color: #fff;
}

.lp-karriere .lp-form button[type="submit"] {
    width: 100%;
    margin-top: 0.5rem;
}

.lp-karriere .lp-form-hint {
    margin-top: 1rem;
    font-size: 12px;
    opacity: 0.7;
    text-align: center;
}

.lp-karriere .lp-form-success {
    text-align: center;
    padding: 2rem;
    background: rgba(195, 173, 141, 0.2);
    border: 2px solid var(--lp-color-primary);
}

.lp-karriere .lp-form-success svg {
    color: var(--lp-color-primary);
    margin-bottom: 1rem;
}

.lp-karriere .lp-form-success p {
    font-size: 18px;
    font-weight: 600;
    color: var(--lp-color-white);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes lp-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .lp-karriere h1 {
        font-size: 32px;
    }
    
    .lp-karriere .lp-hero-wrapper {
        min-height: 60vh;
    }
    
    .lp-karriere .lp-hero--overlay {
        min-height: 60vh;
    }
}

@media (max-width: 768px) {
    .lp-karriere .lp-hero-wrapper {
        min-height: 50vh;
    }
    
    .lp-karriere .lp-hero--overlay {
        min-height: 50vh;
        padding: 3rem 1.5rem;
    }
    
    .lp-karriere .lp-hero--overlay h1 {
        font-size: 28px;
    }
    
    .lp-karriere .lp-section {
        padding: 3rem 1.5rem;
    }
    
    .lp-karriere .lp-hero-meta {
        gap: 1rem;
    }
    
    .lp-karriere h1 {
        font-size: 28px;
    }
    
    .lp-karriere h2 {
        font-size: 22px;
    }
    
    .lp-karriere .lp-intro-stats {
        justify-content: center;
    }
    
    .lp-karriere .lp-team-content {
        grid-template-columns: 1fr;
    }
    
    .lp-karriere .lp-profile-grid {
        grid-template-columns: 1fr;
    }
    
    .lp-karriere .lp-not-list {
        grid-template-columns: 1fr;
    }
    
    .lp-karriere .lp-not-section {
        padding: 2rem 1.5rem;
    }
    
    .lp-karriere .lp-highlight-box {
        padding: 1.25rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .lp-karriere h1 {
        font-size: 24px;
    }
    
    .lp-karriere h2 {
        font-size: 20px;
    }
    
    .lp-karriere .lp-btn-primary,
    .lp-karriere .lp-btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .lp-karriere .lp-hero--overlay .lp-cta-group {
        flex-direction: column;
    }
}
