/* =========================================================
   JOBSTART PORTAL
   Zentrale Styles
   Kompaktere, ruhigere Überarbeitung
   ========================================================= */
:root {
    --navy: #101a33;
    --blue: #0866f5;
    --violet: #7828f8;
    --soft: #f5f8ff;
    --muted: #63718c;
    --gradient: linear-gradient(
        115deg,
        #0878ef 0%,
        #2959ef 55%,
        #7828f8 100%
    );
    --border: #e5ebf5;
    --border-soft: #edf1f7;
    --shadow-sm:
        0 4px 16px rgba(17, 43, 90, 0.045);
    --shadow-md:
        0 8px 26px rgba(17, 43, 90, 0.07);
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
}
/* =========================================================
   BASIS
   ========================================================= */
* {
    box-sizing: border-box;
}
html {
    min-height: 100%;
    scroll-behavior: smooth;
}
body {
    min-height: 100vh;
    min-height: 100dvh;
    font-family:
        Inter,
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
    color: var(--navy);
    background: #ffffff;
}
a {
    color: var(--blue);
}
a:focus-visible,
button:focus-visible {
    outline: 3px solid #783df5;
    outline-offset: 3px;
}
/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */
.site-header {
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 1px 16px rgba(17, 43, 90, 0.05);
    backdrop-filter: blur(14px);
}
.navbar-brand img {
    width: 165px;
    height: auto;
}
.navbar .nav-link {
    color: #34435e;
    font-weight: 600;
}
.navbar .nav-link:hover {
    color: var(--blue);
}
/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    padding: 0.62rem 1rem;
    border-radius: 10px;
    font-weight: 650;
}
.btn-gradient {
    color: #ffffff;
    background: var(--gradient);
    border: 0;
    box-shadow:
        0 7px 18px rgba(31, 95, 232, 0.18);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}
.btn-gradient:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow:
        0 10px 22px rgba(31, 95, 232, 0.23);
}
.btn-outline-primary {
    color: var(--blue);
    border-color: #b9cef8;
}
.btn-outline-primary:hover {
    color: #104bb8;
    background: #e9f0ff;
    border-color: #b9cef8;
}
/* Primäre Bootstrap-Buttons */
.btn.btn-primary {
    color: #ffffff;
    background-color: #1463f3;
    border-color: #1463f3;
}
.btn.btn-primary:hover,
.btn.btn-primary:focus-visible {
    color: #ffffff;
    background-color: #0d4ed0;
    border-color: #0d4ed0;
}
.btn.btn-primary:active {
    color: #ffffff;
    background-color: #093da6;
    border-color: #093da6;
}
a.btn.btn-primary,
a.btn.btn-primary:visited,
a.btn.btn-primary:hover {
    color: #ffffff;
}
/* =========================================================
   STARTSEITEN-HERO
   ========================================================= */
.hero {
    background:
        radial-gradient(
            circle at 80% 35%,
            #e6ecff 0%,
            transparent 40%
        ),
        linear-gradient(
            150deg,
            #ffffff 30%,
            #f5f8ff 100%
        );
}
.py-lg-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}
.eyebrow {
    color: #285bc4;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}
.hero h1 {
    line-height: 1.12;
    letter-spacing: -0.035em;
}
.gradient-text {
    color: transparent;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
}
.hero-copy {
    max-width: 630px;
    color: var(--muted);
    line-height: 1.7;
}
.hero-note {
    color: #53627d;
    font-size: 0.9rem;
    font-weight: 600;
}
/* Hero-Grafik */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}
.rocket-card {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(86%, 330px);
    min-height: 310px;
    border:
        1px solid rgba(255, 255, 255, 0.95);
    border-radius: 28px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.98),
            rgba(235, 242, 255, 0.85)
        );
    box-shadow:
        0 20px 55px rgba(27, 74, 158, 0.1),
        inset 0 1px 2px #ffffff;
    transform: rotate(-2deg);
}
.rocket-img {
    max-width: 205px;
    filter:
        drop-shadow(
            0 15px 12px rgba(60, 83, 165, 0.07)
        );
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
}
.orb-one {
    top: 15px;
    right: 0;
    width: 145px;
    height: 145px;
    background: #d7dfff;
}
.orb-two {
    bottom: 5px;
    left: 15px;
    width: 105px;
    height: 105px;
    background: #e2d5ff;
}
.floating-label {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 24px;
    padding: 11px 16px;
    color: #2455c2;
    background: #ffffff;
    border-radius: 12px;
    box-shadow:
        0 8px 24px rgba(24, 57, 115, 0.12);
    font-size: 0.9rem;
    font-weight: 750;
    transform: rotate(2deg);
}
/* =========================================================
   ALLGEMEINE SEKTIONSABSTÄNDE
   ========================================================= */
.section-space {
    padding: 4rem 0;
}
.section-heading h2,
.soft-section h2 {
    font-size:
        clamp(
            1.65rem,
            2.6vw,
            2.3rem
        );
}
.section-heading p {
    color: var(--muted);
}
/* =========================================================
   FEATURE-KARTEN
   ========================================================= */
.feature-card {
    position: relative;
    padding: 1.55rem;
    border: 1px solid #e7edfa;
    border-radius: 17px;
    background: #ffffff;
    box-shadow:
        0 6px 22px rgba(17, 43, 90, 0.04);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}
.feature-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 10px 28px rgba(17, 43, 90, 0.08);
}
.feature-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.15rem;
    color: #2864e6;
    background: #edf2ff;
    border-radius: 13px;
    font-size: 1.35rem;
}
.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 750;
}
.feature-card p {
    color: var(--muted);
    line-height: 1.65;
}
.feature-card a {
    font-weight: 700;
    text-decoration: none;
}
/* =========================================================
   SOFT SECTION
   ========================================================= */
.soft-section {
    background: var(--soft);
}
.soft-section p {
    line-height: 1.7;
}
.way-image {
    border-radius: 16px;
    box-shadow:
        0 10px 30px rgba(25, 57, 130, 0.06);
}
/* =========================================================
   PARTNERBEREICH ALLGEMEIN
   ========================================================= */
.partner-area {
    padding: 2.7rem 1rem;
    background: #fbfcff;
    border: 1px dashed #d2def3;
    border-radius: 18px;
}
.ad-label {
    display: inline-block;
    margin-top: 1.2rem;
    color: #71809a;
    font-size: 0.74rem;
}
/* =========================================================
   CTA
   ========================================================= */
.cta-box {
    padding: 3rem 1.25rem;
    color: #ffffff;
    background: var(--gradient);
    border-radius: 22px;
    box-shadow:
        0 14px 32px rgba(43, 76, 204, 0.12);
}
.cta-box p {
    color: #edf1ff;
}
/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    flex-shrink: 0;
    margin-top: auto;
    background: #ffffff;
    border-top: 1px solid #e9edf5;
}
.footer-logo {
    width: 165px;
    height: auto;
}
.footer-links li {
    margin: 0.5rem 0;
}
.footer-links a {
    color: #596780;
    text-decoration: none;
}
.footer-links a:hover {
    color: var(--blue);
}
/* =========================================================
   SKIP LINK
   ========================================================= */
.skip-link {
    position: absolute;
    z-index: 2000;
    padding: 1rem;
    background: #ffffff;
}
/* =========================================================
   ENTWICKLUNGSHINWEIS
   ========================================================= */
.development-banner {
    padding: 10px 0;
    background:
        linear-gradient(
            110deg,
            #edf4ff 0%,
            #f3efff 100%
        );
    border-bottom: 1px solid #dce6fa;
}
.development-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    color: #344563;
    font-size: 0.85rem;
    text-align: center;
}
.development-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    color: #1456a0;
    background: #ffffff;
    border: 1px solid #d5e3ff;
    border-radius: 50px;
    box-shadow:
        0 2px 7px rgba(20, 86, 160, 0.05);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.development-content strong {
    color: #142b50;
}
/* =========================================================
   RECHTLICHE SEITEN / INTERNE SEITEN
   ========================================================= */
.legal-hero {
    background:
        linear-gradient(
            135deg,
            #f7f9ff 0%,
            #f0f4ff 100%
        );
    border-bottom: 1px solid #e7edfa;
}
.legal-hero .breadcrumb {
    font-size: 0.9rem;
}
.legal-hero .breadcrumb a {
    color: #0866f5;
    text-decoration: none;
}
.legal-hero .breadcrumb a:hover {
    text-decoration: underline;
}
/* Hauptkarten */
.legal-card {
    padding: 26px;
    background: #ffffff;
    border: 1px solid #e9eef8;
    border-radius: 16px;
    box-shadow:
        0 5px 20px rgba(16, 26, 51, 0.035);
}
.legal-icon {
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    color: #0866f5;
    background:
        linear-gradient(
            135deg,
            #eaf2ff,
            #f1eaff
        );
    border-radius: 12px;
    font-size: 20px;
}
.legal-card a {
    color: #0866f5;
    text-decoration: none;
}
.legal-card a:hover {
    text-decoration: underline;
}
/* Buttons innerhalb von Karten nicht unterstreichen */
.legal-card a.btn:hover {
    text-decoration: none;
}
/* =========================================================
   PARTNERKARTEN
   ========================================================= */
.partners-section .row > div {
    display: flex;
}
.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 285px;
    padding: 22px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e5ebf7;
    border-radius: 17px;
    box-shadow:
        0 5px 20px rgba(16, 26, 51, 0.04);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}
.partner-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 10px 28px rgba(16, 26, 51, 0.08);
}
/* Einheitlicher Logobereich */
.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 120px;
    margin-bottom: 14px;
}
/* Logos proportional skalieren */
.partner-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 190px;
    max-height: 100px;
    object-fit: contain;
}
/* Überschriften */
.partner-card h3 {
    min-height: 45px;
    margin-bottom: 8px;
    font-size: 1.1rem;
}
/* Beschreibung */
.partner-card p {
    margin-bottom: 15px;
    color: var(--muted);
    line-height: 1.55;
}
/* Link unten */
.partner-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: auto;
    color: #0866f5;
    font-weight: 600;
    text-decoration: none;
}
.partner-link:hover {
    color: #7828f8;
}
/* =========================================================
   REGISTRIERUNGSSEITE
   ========================================================= */
.registration-extra {
    padding: 1.15rem;
    margin-top: 0.5rem;
    background: #f7f9ff;
    border: 1px solid #e1e9fa;
    border-radius: 12px;
}
/* Formularfelder */
.legal-card .form-control,
.legal-card .form-select {
    min-height: 44px;
    background-color: #ffffff;
    border: 1px solid #d8e1ef;
    border-radius: 9px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}
.legal-card .form-control:focus,
.legal-card .form-select:focus {
    border-color: #5375e8;
    box-shadow:
        0 0 0 0.18rem
        rgba(83, 117, 232, 0.1);
}
/* Formularbeschriftungen */
.legal-card .form-label {
    color: #263451;
    font-size: 0.9rem;
}
/* Rechte Informationsspalte */
.registration-benefit {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.8rem 0;
    border-bottom:
        1px solid #edf0f6;
}
.registration-benefit:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
.registration-benefit i {
    display: flex;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    color: #4169e1;
    background: #edf2ff;
    border-radius: 9px;
    font-size: 1rem;
}
.registration-benefit span {
    padding-top: 0.25rem;
    color: #44516a;
    line-height: 1.5;
}
/* Dynamische Formularbereiche */
#companyFields[hidden],
#schoolFields[hidden] {
    display: none !important;
}
/* =========================================================
   DATENSCHUTZEINSTELLUNGEN
   ========================================================= */
.privacy-globe {
    position: fixed;
    z-index: 1040;
    left: 16px;
    bottom: 16px;
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #174b85;
    border:
        1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.15);
    font-size: 20px;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}
.privacy-globe:hover {
    background: #2468af;
    transform: translateY(-1px);
}
.privacy-globe:focus-visible {
    outline: 3px solid #f5b841;
    outline-offset: 3px;
}
.privacy-modal {
    border: none;
    border-radius: 15px;
    box-shadow:
        0 14px 45px rgba(0, 0, 0, 0.16);
}
.privacy-modal .modal-body {
    padding-top: 1rem;
}
/* =========================================================
   KONTAKT-WIDGET
   ========================================================= */
.contact-widget {
    position: fixed;
    z-index: 1035;
    top: 50%;
    right: 0;
    display: flex;
    align-items: center;
    transform: translateY(-50%);
}
.contact-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 13px 8px;
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            #2563eb,
            #1647ae
        );
    border: 0;
    border-radius: 11px 0 0 11px;
    box-shadow:
        -2px 3px 13px
        rgba(20, 50, 110, 0.16);
    cursor: pointer;
    transition:
        padding 0.2s ease;
}
.contact-toggle:hover {
    padding-right: 11px;
}
.contact-toggle i {
    font-size: 1.15rem;
}
.contact-toggle span {
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    writing-mode: vertical-rl;
}
.contact-toggle:focus-visible,
.contact-close:focus-visible,
.contact-option:focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 3px;
}
/* Kontaktpanel */
.contact-panel {
    position: absolute;
    top: 50%;
    right: calc(100% + 10px);
    width:
        min(
            290px,
            calc(100vw - 75px)
        );
    padding: 17px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow:
        0 10px 32px
        rgba(15, 23, 42, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform:
        translate(10px, -50%);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}
.contact-widget.is-open .contact-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform:
        translate(0, -50%);
}
.contact-panel-header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}
.contact-panel-header strong {
    color: #172554;
}
.contact-panel-header p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 0.82rem;
}
.contact-close {
    align-self: flex-start;
    color: #64748b;
    background: transparent;
    border: 0;
    cursor: pointer;
}
/* Kontaktoptionen */
.contact-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: #172554;
    border-top:
        1px solid #edf2f7;
    text-decoration: none;
}
.contact-option:hover {
    color: #2563eb;
}
.contact-option-icon {
    display: grid;
    flex-shrink: 0;
    width: 37px;
    height: 37px;
    place-items: center;
    color: #2563eb;
    background: #eff6ff;
    border-radius: 10px;
}
.contact-option small,
.contact-option strong {
    display: block;
}
.contact-option small {
    margin-bottom: 2px;
    color: #64748b;
}
.contact-option strong {
    font-size: 0.82rem;
    overflow-wrap: anywhere;
}
/* =========================================================
   KONTAKTFORMULAR
   ========================================================= */
.contact-honeypot {
    position: absolute;
    top: auto;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
/* Standortvorschläge */
.location-suggestions {
    z-index: 1050;
    max-height: 240px;
    overflow-y: auto;
}
/* =========================================================
   TABLES / ADMINBEREICH
   ========================================================= */
/*
 * Etwas kompaktere Tabellen.
 * Besonders hilfreich für Benutzer- und
 * Organisationsverwaltung.
 */
.legal-card .table {
    margin-bottom: 0;
}
.legal-card .table > :not(caption) > * > * {
    padding: 0.72rem 0.65rem;
}
.legal-card .table thead th {
    color: #4d5b73;
    font-size: 0.8rem;
    font-weight: 750;
    white-space: nowrap;
}
.legal-card .badge {
    font-weight: 650;
}
/* =========================================================
   DASHBOARD
   ========================================================= */
/*
 * Dashboard-Karten sollen Informationen strukturieren,
 * aber nicht wie große Werbekacheln wirken.
 */
#hauptinhalt .legal-card h2,
#hauptinhalt .legal-card h3 {
    letter-spacing: -0.01em;
}
#hauptinhalt .legal-card p:last-child {
    margin-bottom: 0;
}
/* Kleine Buttons in Verwaltungskarten */
.legal-card .btn-sm {
    padding: 0.42rem 0.7rem;
    border-radius: 8px;
    font-size: 0.82rem;
}
/* =========================================================
   RESPONSIVE – TABLET
   ========================================================= */
@media (max-width: 991.98px) {
    .py-lg-6 {
        padding-top: 3.8rem !important;
        padding-bottom: 3.8rem !important;
    }
    .navbar-nav {
        padding: 0.8rem 0;
    }
    .navbar-nav .btn {
        margin: 0.25rem 0;
    }
    .hero-visual {
        min-height: 320px;
    }
    .floating-label {
        right: 5%;
    }
}
/* =========================================================
   RESPONSIVE – SMARTPHONE
   ========================================================= */
@media (max-width: 767.98px) {
    .registration-extra {
        padding: 1rem;
    }
    .legal-card .form-control,
    .legal-card .form-select {
        font-size: 16px;
    }
    .partner-card {
        min-height: 250px;
        padding: 20px 17px;
    }
    .partner-logo {
        height: 105px;
    }
    .partner-logo img {
        max-width: 170px;
        max-height: 90px;
    }
}
@media (max-width: 575.98px) {
    .hero h1 {
        font-size: 2.25rem;
    }
    .section-space {
        padding: 3rem 0;
    }
    .hero-visual {
        min-height: 290px;
    }
    .rocket-card {
        width: 82%;
        min-height: 260px;
        border-radius: 23px;
    }
    .rocket-img {
        max-width: 170px;
    }
    .floating-label {
        right: 0;
        padding: 8px 11px;
        font-size: 0.76rem;
    }
    .feature-card {
        padding: 1.3rem;
    }
    .cta-box {
        padding: 2.4rem 1rem;
        border-radius: 18px;
    }
    /* Entwicklungshinweis */
    .development-content {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    /* Karten */
    .legal-card {
        padding: 20px;
        border-radius: 14px;
    }
    .legal-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
    /* Datenschutz */
    .privacy-globe {
        left: 12px;
        bottom: 12px;
        width: 42px;
        height: 42px;
        font-size: 19px;
    }
    .privacy-modal .modal-footer {
        display: grid;
        grid-template-columns: 1fr;
    }
    .privacy-modal .modal-footer .btn {
        width: 100%;
        margin: 0;
    }
    /* Kontakt */
    .contact-widget {
        top: auto;
        bottom: 88px;
        transform: none;
    }
    .contact-toggle {
        padding: 11px 7px;
    }
    .contact-panel {
        top: auto;
        bottom: 0;
        transform: translateX(10px);
    }
    .contact-widget.is-open .contact-panel {
        transform: translateX(0);
    }
}
/* =========================================================
   BARRIEREFREIHEIT
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .btn-gradient,
    .feature-card,
    .partner-card,
    .contact-toggle,
    .contact-panel {
        transition: none;
    }
    .btn-gradient:hover,
    .feature-card:hover,
    .partner-card:hover {
        transform: none;
    }
}