:root {
    /* DARK NAVY THEME */
    --bg-main: #0f172a;      
    --bg-card: #1e293b;      
    --text-primary: #ffffff; 
    --text-muted: #94a3b8;   
    --accent: #ffffff;       
    --border: rgba(255, 255, 255, 0.1); 
}

/* manrope-300 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  src: url('/fonts/manrope-v20-latin_latin-ext-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/manrope-v20-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-600 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/manrope-v20-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-700 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/playfair-display-v40-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html { scroll-behavior: smooth; }
body {
    margin: 0; padding: 0;
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: var(--text-primary); margin-top: 0; }

/* --- NO NAVBAR --- */
/* The top of the page is now purely the Hero section */

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh; /* Full viewport height for impact */
    min-height: 650px;
    background-image: url('hero-image.webp'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
}
.hero-overlay {
    position: absolute; inset: 0;
    /* Strong gradient to make text pop over the bright Macbook image */
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 1));
}
.hero-content { position: relative; z-index: 2; max-width: 850px; padding: 20px; }

/* CENTER STAGE LOGO */
.hero-main-logo {
    display: block;
    margin: 0 auto 30px auto; /* Centered with space below */
    max-width: 320px; /* Size adjustment */
    width: 100%;
    height: auto;
    /* If your logo is black text, uncomment the line below to turn it white */
    /* filter: brightness(0) invert(1); */
}

.eyebrow { 
    text-transform: uppercase; letter-spacing: 3px; font-size: 0.85rem; 
    color: var(--text-muted); font-weight: 700; display: block; margin-bottom: 20px; 
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 5rem); margin-bottom: 25px; line-height: 1.1; }
.hero p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }

.btn-primary {
    background: var(--accent); color: var(--bg-main);
    padding: 16px 36px; text-decoration: none; border-radius: 4px;
    font-weight: 700; display: inline-block; transition: transform 0.2s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 25px rgba(255,255,255,0.25); }
.btn-text { color: var(--text-primary); text-decoration: none; margin-left: 20px; font-weight: 600; opacity: 0.8; transition: opacity 0.3s; }
.btn-text:hover { opacity: 1; }

/* --- Layout --- */
.section { padding: 100px 20px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 70px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

/* --- Cards & Bento --- */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.lead { font-size: 1.3rem; color: var(--text-primary); margin-bottom: 25px; line-height: 1.5; }

.feature-card, .sol-item {
    background: var(--bg-card);
    padding: 35px; border-radius: 12px;
    border: 1px solid var(--border);
    transition: transform 0.3s, border-color 0.3s;
}
.feature-card:hover, .sol-item:hover { transform: translateY(-7px); border-color: rgba(255,255,255,0.3); }

.feature-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.solutions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card p, .sol-item p { color: var(--text-muted); margin: 0; }

/* --- White Logo Grid (SVG Optimized) --- */
.logo-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; 
}

.logo-wrapper {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    height: 150px; /* Höhe leicht erhöht für die größeren Logos */
    display: flex; 
    justify-content: center; 
    align-items: center;
    border-radius: 8px; 
    transition: all 0.4s ease;
    padding: 10px; /* Sicherer Abstand zum Rand */
}

.logo-wrapper img {
    /* Von 70%/50% auf ca. 90%/65% erhöht (~25% größer) */
    max-width: 90%; 
    max-height: 65%;
    width: auto;
    height: auto;
    opacity: 0.5; /* Dezent im Hintergrund */
    transition: all 0.4s ease;
}

.logo-wrapper:hover { 
    background: rgba(255,255,255,0.05); 
    border-color: rgba(255,255,255,0.4); 
}

.logo-wrapper:hover img { 
    opacity: 1; 
    transform: scale(1.05); /* Leichter Zoom-Effekt */
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3)); 
}

/* Mobile Optimierung */
@media (max-width: 900px) {
    .logo-grid { 
        grid-template-columns: repeat(2, 1fr); /* Auf Mobile 2 nebeneinander statt 1 */
    }
}

/* --- Contact Form --- */
.contact-card {
    display: grid; grid-template-columns: 1fr 1.5fr;
    background: var(--bg-card); border-radius: 16px; overflow: hidden;
    border: 1px solid var(--border);
}
.contact-info { padding: 60px; background: rgba(255,255,255,0.02); }
.address-block { margin-top: 40px; color: var(--text-muted); line-height: 1.8; }
.contact-form-wrapper { padding: 60px; }

.form-group { margin-bottom: 25px; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
input, textarea {
    width: 100%; padding: 14px; background: var(--bg-main);
    border: 1px solid var(--border); color: white; border-radius: 4px;
    font-family: inherit; font-size: 1rem; transition: border-color 0.3s;
}
input:focus, textarea:focus { outline: none; border-color: var(--text-primary); }

#submit-btn {
    width: 100%; padding: 18px; background: var(--text-primary); color: var(--bg-main);
    border: none; font-weight: 700; border-radius: 4px; cursor: pointer; text-transform: uppercase; letter-spacing: 1px;
    transition: opacity 0.3s;
}
#submit-btn:hover { opacity: 0.9; }

/* --- Animation --- */
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.fade-in-up { animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }

.footer { text-align: center; padding: 50px; color: var(--text-muted); border-top: 1px solid var(--border); font-size: 0.85rem; }
.footer a { color: var(--text-primary); text-decoration: none; }

/* Responsive */
@media (max-width: 900px) {
    .split-layout, .solutions-grid, .logo-grid, .contact-card { grid-template-columns: 1fr; }
    .hero { height: auto; min-height: 80vh; padding: 120px 20px; }
    .feature-grid { grid-template-columns: 1fr; }
}
@media (min-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } .feature-grid .feature-card:last-child { grid-column: span 2; } }

/* Checkbox Styling */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.checkbox-group input {
    width: 20px; /* Reset width for checkbox */
    margin-top: 5px;
    accent-color: var(--text-primary); /* Makes the checkmark white/themed */
}
.checkbox-label {
    font-size: 0.8rem !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    line-height: 1.5;
    cursor: pointer;
}
.checkbox-label a {
    color: var(--text-primary);
    text-decoration: underline;
}

/* --- HIRING BANNER --- */
.hiring-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-main) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.hiring-container {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(255,255,255,0.03);
    padding: 40px; border-radius: 12px;
    border: 1px solid var(--border);
}
.hiring-badge {
    background: var(--text-primary); color: var(--bg-main);
    padding: 4px 12px; border-radius: 20px; font-size: 0.75rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    display: inline-block; margin-bottom: 15px;
}
.hiring-content h3 { margin-bottom: 10px; font-size: 1.5rem; }
.btn-hiring { padding: 12px 25px; font-size: 0.9rem; }


/* --- HIRING WRAPPER --- */
.hiring-wrapper {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-main) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.hiring-banner {
    padding: 60px 20px;
    position: relative;
    z-index: 2;
}

.hiring-container {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(255,255,255,0.03);
    padding: 40px; border-radius: 12px;
    border: 1px solid var(--border);
}

.hiring-badge {
    background: #ffffff; color: #0f172a;
    padding: 4px 12px; border-radius: 20px; font-size: 0.75rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    display: inline-block; margin-bottom: 15px;
}
.hiring-content h3 { margin-bottom: 10px; font-size: 1.5rem; color: #ffffff; }
.btn-hiring { padding: 12px 25px; font-size: 0.9rem; border: 1px solid rgba(255,255,255,0.2); }

/* --- JOB DRAWER (Expandable) --- */
.job-drawer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    background: #ffffff;
    color: #334155;
}

.job-drawer.open {
    max-height: 4000px; /* Increased to ensure it never cuts off on mobile */
    border-bottom: 1px solid var(--border);
}

.drawer-content {
    /* Global padding: Top/Bottom 60px, Left/Right 0 (Container handles width) */
    padding: 60px 0;
    max-width: 900px;
    margin: 0 auto;
}

.drawer-header { text-align: center; margin-bottom: 40px; border-bottom: 1px solid #e2e8f0; padding-bottom: 30px; }
.drawer-header h2 { color: #0f172a; font-size: 2rem; margin-bottom: 15px; line-height: 1.2; }
.job-meta span { background: #f1f5f9; padding: 5px 12px; border-radius: 6px; color: #0f172a; font-weight: 500; font-size: 0.9rem; display: inline-block; margin: 3px; }

/* Intro Text */
.intro-text { 
    font-size: 1.15rem; text-align: center; margin-bottom: 50px; 
    color: #0f172a; line-height: 1.6; padding: 0 10px; 
}

/* Grid Layouts */
.job-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.job-col { background: #f8fafc; padding: 35px; border-radius: 12px; border: 1px solid #e2e8f0; }

.job-col h4, .job-requirements h4 { color: #0f172a; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; border-bottom: 2px solid #cbd5e1; padding-bottom: 10px; }
.job-list li { margin-bottom: 12px; padding-left: 24px; position: relative; color: #475569; }
.job-list li::before { content: "✔"; color: #2563eb; position: absolute; left: 0; font-weight: bold; }

.requirements-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* --- FORM STYLING --- */
.job-form-section { background: #f0f9ff; padding: 45px; border-radius: 12px; border: 1px solid #bae6fd; margin-top: 40px; }
.job-form-section h4 { color: #0369a1; margin-bottom: 30px; font-size: 1.3rem; }

.form-field-wrapper { margin-bottom: 20px; }
.form-field-wrapper label { display: block; margin-bottom: 8px; font-size: 0.85rem; font-weight: 700; color: #334155; text-transform: uppercase; letter-spacing: 0.5px; }

.job-form-section input, .job-form-section textarea {
    background: #ffffff !important; border: 1px solid #cbd5e1 !important;
    color: #0f172a !important; padding: 16px; width: 100%; border-radius: 6px;
    font-size: 1rem; font-family: 'Manrope', sans-serif;
}
.job-form-section input:focus, .job-form-section textarea:focus {
    border-color: #2563eb !important; outline: none; box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.checkbox-wrapper { display: flex; align-items: flex-start; gap: 12px; margin-top: 10px; margin-bottom: 25px; }
.checkbox-wrapper input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; }
.checkbox-wrapper label { font-size: 0.9rem; line-height: 1.5; color: #475569; padding-top: 2px; }

#job-submit-btn {
    background: #0f172a; color: white; width: 100%; padding: 18px; border: none; border-radius: 6px;
    font-weight: 700; font-size: 1.1rem; cursor: pointer; transition: background 0.2s;
}
#job-submit-btn:hover { background: #2563eb; }

/* --- CLOSE BUTTON STYLING --- */
.drawer-footer {
    text-align: center; 
    margin-top: 60px; /* Big gap after form */
    padding-bottom: 20px;
}
#close-drawer-btn {
    background: transparent;
    color: #64748b;
    border: 1px solid #cbd5e1;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}
#close-drawer-btn:hover {
    border-color: #0f172a;
    color: #0f172a;
    background: #f1f5f9;
}

/* --- MOBILE ADJUSTMENTS (Crucial Fixes) --- */
@media (max-width: 900px) {
    .hiring-container { flex-direction: column; text-align: center; gap: 20px; }
    
    /* FIX: Add side padding on mobile so text doesn't hit edges */
    .drawer-content { padding: 30px 20px; }
    
    .job-grid, .requirements-list { grid-template-columns: 1fr; }
    
    /* FIX: Make the Close Button huge and easy to tap on mobile */
    .drawer-footer { margin-top: 40px; padding-bottom: 40px; }
    #close-drawer-btn {
        display: block;
        width: 100%;
        padding: 15px;
        font-size: 1rem;
        background: #f8fafc;
        margin-bottom: 20px; /* Extra bottom safety space */
    }
}

/* Container für das Icon */
.icon-box {
    width: 48px; 
    height: 48px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Die Basis-Klasse für alle SVGs */
.sol-icon {
    display: inline-block;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* Erzwingt die weiße Farbe */
    
    /* Maske für die Form des SVGs */
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
}

/* Pfade zu den Dateien im Root-Ordner */
.icon-reporting {
    -webkit-mask-image: url('reporting.svg');
    mask-image: url('reporting.svg');
}
.icon-zeiterfassung {
    -webkit-mask-image: url('zeiterfassung.svg');
    mask-image: url('zeiterfassung.svg');
}
.icon-kassenbuch {
    -webkit-mask-image: url('kassenbuch.svg');
    mask-image: url('kassenbuch.svg');
}
.icon-warenwirtschaft {
    -webkit-mask-image: url('warenwirtschaft.svg');
    mask-image: url('warenwirtschaft.svg');
}

.sol-item:hover .sol-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}