:root {
    /* Alle deine Farbcodes aus Tailwind */
    --bg-site: #f5f1eb;         /* sand */
    --border: #e8e1d8;          /* stonewarm */
    --primary: #1f1f1f;         /* charcoal */
    --primary-muted: #6b6b6b;   /* muted */
    
    --olive: #5f6f52;           /* olive */
    --olive-hover: #4d5c41;     /* olive abgedunkelt */
    --bg-softolive: #eef2ea;    /* softolive */
    
    --accent: #c46d4e;          /* terracotta */
    --accent-hover: #b05c3d;    /* terracotta abgedunkelt */
    
    /* Deine Gold-Farbcodes */
    --gold1: #facc15;
    --gold2: #eab308;           /* gold2 (Dein flaches Gold für die Haupt-Buttons) */
    --gold2-hover: #d1a007;     /* gold2 abgedunkelt für Hover */
    --gold3: #ca8a04;

    /* Deine genauen Schatten-Definitionen */
    --shadow-soft: 0 10px 40px rgba(0,0,0,0.06);
    --shadow-softlg: 0 20px 60px rgba(0,0,0,0.08);

    /* Deine genauen Abrundungen */
    --radius-2xl: 1.25rem;
    --radius-3xl: 1.75rem;
}

body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    max-width: 760px; 
    margin: 50px auto; 
    padding: 0 20px; 
    line-height: 1.6; 
    color: var(--primary); 
    background-color: var(--bg-site); 
}

/* Logo-Bereich über den Karten */
.logo-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 30px;
    padding-left: 10px;
}

.logo-link {
    display: inline-block;
    transition: transform 0.2s ease;
}

.logo-link:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 40px; 
    width: auto;  
    max-width: 220px; 
    display: block;
}

/* Smartphone-Optimierung */
@media (max-width: 480px) {
    .logo-container { margin-bottom: 20px; padding-left: 5px; }
    .logo-img { 
        height: 32px; 
        max-width: 180px; 
    }
}

/* Standard-Karten mit deinen 2xl Radien & Soft-Schatten */
.card {
    background: #ffffff;
    padding: 35px;
    border-radius: var(--radius-2xl); 
    border: 1px solid var(--border); 
    box-shadow: var(--shadow-soft); 
    margin-bottom: 25px;
}

/* Über-Uns-Block: Nutzt deinen 3xl Radius & Softlg-Schatten */
.card.text-center {
    border-radius: var(--radius-3xl); 
    box-shadow: var(--shadow-softlg); 
    margin-top: 25px; /* NEU: Erzeugt den perfekten, leichten Abstand zum Header */
}

.text-center { text-align: center; }
.hidden { display: none; }

/* Header & Meta */
.job-header { 
    border-bottom: 1px solid var(--border); 
    padding-bottom: 25px; 
    margin-bottom: 0; 
}

.job-header h1 { 
    font-size: 2.25rem; 
    color: var(--primary); 
    margin: 0 0 12px 0; 
    letter-spacing: -0.025em;
    font-weight: 700;
}

.meta-line {
    font-size: 0.95rem;
    color: var(--primary-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.salary { 
    font-weight: 700; 
    color: var(--primary); 
    background: var(--bg-site);
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

/* Listen & Titel */
h2, h3 { 
    font-size: 1.4rem; 
    color: var(--primary); 
    margin-top: 0;
    margin-bottom: 15px;
    letter-spacing: -0.01em;
}

ul { padding-left: 20px; margin: 0; }
ul li { margin-bottom: 10px; color: var(--primary-muted); }
ul li::marker { color: var(--olive); /* Listenpunkte in Olive-Grün */ }

/* Formular-Elemente */
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--primary); font-size: 0.95rem; }

input[type="text"], input[type="email"], input[type="tel"], select { 
    width: 100%; 
    padding: 12px 16px; 
    border: 1px solid var(--border); 
    border-radius: 8px; 
    box-sizing: border-box; 
    font-size: 1rem; 
    transition: all 0.2s;
    background: #fafafa;
    color: var(--primary);
}

input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, select:focus {
    outline: none;
    border-color: var(--accent); /* Fokus-Ring leuchtet dezent in Terracotta-Orange */
    box-shadow: 0 0 0 4px rgba(196, 109, 78, 0.15);
    background: #fff;
}

.radio-wrapper {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.radio-box {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.15s;
    background: #fafafa;
    color: var(--primary-muted);
    user-select: none;
}

.radio-box:hover {
    border-color: #b0b0a8;
    background: #e6e6df;
}

.radio-box input {
    margin-right: 10px;
    accent-color: var(--olive); /* Radio-Punkte im Inneren nutzen Olive */
    width: 18px;
    height: 18px;
}

.radio-box:has(input:checked) {
    border-color: var(--olive); /* Rahmen schlägt auf Olive um */
    background: var(--bg-softolive); /* Hintergrund färbt sich im sanften Softolive ein */
    color: var(--primary);
    font-weight: 600;
}

/* =========================================================================
   DIE BEIDEN HAUPT-BUTTONS: STRAHLEN IN DEINEM FLACHEN GOLD2 (SCHRIFT WEISS)
   (Trifft den oberen Bewerber-Button und den unteren Absende-Button)
   ========================================================================= */
body button { 
    background: var(--gold2); /* Flaches Gold-Gelb */
    color: #ffffff; /* Schriftfarbe weiss */
    border: 1px solid var(--gold3); 
    padding: 16px 32px; 
    font-size: 1.1rem; 
    border-radius: 8px; 
    cursor: pointer; 
    width: 100%; 
    font-weight: 700; 
    transition: background 0.2s, transform 0.1s; 
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.2);
}

body button:hover { 
    background: var(--gold2-hover); 
}

body button:active { 
    transform: scale(0.99); 
}

/* =========================================================================
   LISTE B: DIE 3 FESTEN EMPFEHLUNGEN AUS DERSELBEN STADT (BUTTONS IN GRÜN/OLIV)
   ========================================================================= */
.card .alt-job-box button {
    background: var(--olive) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    padding: 8px 16px !important;         
    font-size: 0.9rem !important;
    width: auto !important;
    display: inline-block !important;
}

.card .alt-job-box button:hover {
    background: var(--olive-hover) !important;
}

/* =========================================================================
   LISTE A: DIE 3 GESUCHTEN TREFFER AUS DER LIVE-SUCHE (BUTTONS IN TERRACOTTA)
   ========================================================================= */
.card .dynamic-job-box button,
.card #dynamicJobsContainer button {
    background: var(--accent) !important; /* Terracotta-Orange */
    color: #ffffff !important;            /* Textfarbe bleibt weiß */
    border: none !important;
    box-shadow: none !important;
    padding: 8px 16px !important;         
    font-size: 0.9rem !important;
    width: auto !important;
    display: inline-block !important;
}

.card .dynamic-job-box button:hover,
.card #dynamicJobsContainer button:hover {
    background: var(--accent-hover) !important; /* Terracotta abgedunkelt */
}

.icon { font-size: 4em; margin-bottom: 20px; color: var(--gold2); }
.success-icon { color: var(--olive); }
.error-icon { color: var(--accent); }
.success-title { color: var(--primary); }
.error-title { color: var(--primary); font-size: 2em; }

/* Styling für die einklappbaren FAQs */
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
    margin-bottom: 0;
}
.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    padding: 5px 0;
}

.faq-question::after {
    content: '+'; 
    font-size: 1.4rem;
    color: var(--accent); /* FAQ-Plus nutzt Terracotta-Orange */
    font-weight: bold;
    transition: transform 0.2s ease;
}

.faq-answer {
    max-height: 0; 
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: var(--primary-muted);
    font-style: normal;
    padding-top: 0;
}

.faq-item.active .faq-question::after {
    content: '−'; 
}

.faq-item.active .faq-answer {
    max-height: 200px; 
    padding-top: 10px;
}

.placeholder-box { background: var(--bg-site); border: 2px dashed var(--border); border-radius: 8px; padding: 40px 20px; margin-top: 30px; color: var(--primary-muted); text-align: center; }

/* Styling für die City-Minisuche */
.search-wrapper { position: relative; margin-top: 15px; display: flex; align-items: center; }
.search-clear { position: absolute; right: 15px; color: var(--accent); font-weight: bold; cursor: pointer; font-size: 1.2rem; user-select: none; }
.suggestions-list { 
    position: absolute; top: 100%; left: 0; right: 0; 
    background: white; border: 1px solid var(--border); border-radius: 8px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); z-index: 999; margin: 5px 0 0 0; padding: 0; list-style: none; 
}
.suggestions-list li { padding: 12px 16px; cursor: pointer; color: var(--primary); margin: 0; border-bottom: 1px solid #f1f5f9; }
.suggestions-list li:last-child { border-bottom: none; }
.suggestions-list li:hover { background: var(--bg-site); }

/* ==========================================================================
   3. PLATTFORM-GRID (12 CARDS DESKTOP / 4 CARDS MOBILE)
   ========================================================================== */

/* Haupt-Grid für die Standorte */
.fact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Mobile: 2 Spalten */
    gap: 8px;
    margin-bottom: 25px;
}

/* 🎯 DER TRICK FÜR MOBILE: Alle Karten ab Nummer 5 werden unsichtbar */
.fact-grid .fact-card:nth-child(n+5) {
    display: none;
}

@media (min-width: 768px) {
    .fact-grid {
        grid-template-columns: repeat(4, 1fr); /* Desktop: 4 Spalten */
    }

    /* 🎯 FÜR DESKTOP WIEDER BELEBEN: Alle 12 Karten wieder voll anzeigen */
    .fact-grid .fact-card:nth-child(n+5) {
        display: block; /* Oder flex, falls Sie Flexbox innerhalb der Karte nutzen */
    }
}

/* Die schmalere, kleinere Gold-Karte */
.fact-card {
    position: relative;
    background: linear-gradient(135deg, #e5c060 0%, #b89230 100%);
    border: 1px solid rgba(255, 255, 255, 0.25); 
    padding: 8px 10px;
    border-radius: 10px;
    text-align: left;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.fact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(184, 146, 48, 0.2);
}

/* Städtename */
.fact-card-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Flex-Zeile für die Daten */
.card-label-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    margin-top: 1px;
}

.card-label {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

.card-value {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

/* Der schmale Badge */
.card-value-highlight {
    color: #ffffff;
    font-weight: 800;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.15); 
    padding: 0px 4px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- CSS für die dynamische Badge-Suche (process.php) --- */
.search-wrapper { 
    position: relative; 
    width: 100%; 
}
.search-input { 
    width: 100%; 
    padding: 10px; 
    border: 1px solid var(--primary); 
    border-radius: 4px; 
    box-sizing: border-box; 
    color: var(--primary); 
    background: #fff; 
}
.search-input:disabled { 
    background: #f5f5f5; 
    cursor: not-allowed; 
}
.dropdown-list { 
    position: absolute; 
    top: 100%; 
    left: 0; 
    right: 0; 
    background: #fff; 
    border: 1px solid #ccc; 
    border-top: none; 
    border-radius: 0 0 4px 4px; 
    max-height: 180px; 
    overflow-y: auto; 
    z-index: 1000; 
    display: none; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
}
.dropdown-item { 
    padding: 10px; 
    cursor: pointer; 
    font-size: 14px; 
}
.dropdown-item:hover { 
    background-color: #f0f0f0; 
}
.badge-container { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 6px; 
    margin-top: 8px; 
}
.badge { 
    background: var(--primary); 
    color: #fff; 
    padding: 4px 10px; 
    border-radius: 20px; 
    font-size: 13px; 
    display: inline-flex; 
    align-items: center; 
    gap: 6px; 
}
.badge-remove { 
    cursor: pointer; 
    font-weight: bold; 
    font-size: 14px; 
}
.badge-remove:hover { 
    color: var(--accent); 
}

/* --- Neue Design-Klassen für die verify.php --- */
.verify-highlight-box {
    border: 2px solid var(--accent);
    background-color: #ffffff;
    padding: 24px;
    border-radius: var(--radius-2xl);
    margin-bottom: 24px;
    text-align: left;
    box-shadow: var(--shadow-soft);
}

.verify-badge {
    background-color: var(--accent);
    color: #ffffff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

.verify-title-accent {
    color: var(--accent);
    margin: 12px 0 6px 0;
    font-size: 19px;
    font-weight: 700;
}

.verify-title-primary {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 19px;
    font-weight: 700;
}

.verify-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--primary);
}

.verify-steps-box {
    background-color: var(--bg-softolive);
    padding: 24px;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border);
    text-align: left;
}

.verify-steps-title {
    margin-top: 0;
    margin-bottom: 14px;
    color: var(--olive);
    font-size: 17px;
    font-weight: 700;
}

.verify-steps-list {
    margin: 0;
    padding-left: 20px;
    color: var(--primary);
    font-size: 14px;
    line-height: 1.6;
}

.verify-steps-list li {
    margin-bottom: 8px;
}

.verify-talent-box {
    text-align: left; 
    background-color: #ffffff; 
    padding: 28px; 
    border-radius: var(--radius-2xl); 
    border: 1px solid var(--border);
    box-shadow: var(--shadow-softlg);
}

.verify-btn-flat {
    display: inline-block; 
    background-color: var(--gold2); 
    color: var(--primary); 
    padding: 14px 20px; 
    border-radius: var(--radius-2xl); 
    font-weight: bold; 
    text-decoration: none; 
    margin-top: 20px; 
    width: 100%; 
    box-sizing: border-box;
    text-align: center;
    transition: background-color 0.2s ease;
}

.verify-btn-flat:hover {
    background-color: var(--gold2-hover);
}

.logo-container {
    display: flex;
    justify-content: center; /* Horizontale Zentrierung */
    align-items: center;     /* Vertikale Zentrierung (falls gewünscht) */
    width: 100%;             /* Nutzt die volle Breite aus */
}
