* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
    color: #111827;
    background: #f3f4f6;
    overflow-x: hidden;
}

body::before {
    content: "";
    display: block;
    height: 64px;
}

/* Container */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

/* Logo */
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

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

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0b599b, #38bdf8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-size: 0.9rem;
}

.main-nav a {
    text-decoration: none;
    color: #4b5563;
    padding: 0.25rem 0.45rem;
    border-radius: 999px;
    transition: color 0.15s ease-out, background 0.15s ease-out;
}

.main-nav a:hover {
    color: #0b599b;
    background: rgba(15, 23, 42, 0.04);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.badge-pill {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    color: #4b5563;
}

/* Theme Toggle */
.theme-toggle {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    color: #4b5563;
    font-size: 0.9rem;
    transition: background 0.15s ease-out, color 0.15s ease-out, border-color 0.15s ease-out;
}

.theme-toggle:hover {
    background: #0b599b;
    color: #ffffff;
    border-color: #0b599b;
}

/* Breadcrumb */
.breadcrumb {
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
    background: #f9fafb;
}

.breadcrumb .container {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

.breadcrumb ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.breadcrumb li + li::before {
    content: "/";
    color: #9ca3af;
    font-size: 0.78rem;
}

.breadcrumb a {
    color: #4b5563;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #0b599b;
}

/* Hero */
.hero {
    position: relative;
    min-height: calc(100vh - 64px);
    background: linear-gradient(135deg, #1e5fa8 0%, #38a3dd 50%, #5eb8e8 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 1.5rem 0.5rem 1.5rem;
}

.hero::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    background-image: url('/assets/img/hero-person-clean.png');
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 55%;
    background: linear-gradient(
        90deg,
        rgba(30, 95, 168, 0.95) 0%,
        rgba(56, 163, 221, 0.85) 40%,
        rgba(94, 184, 232, 0.3) 70%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
}

.hero-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    min-height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-text {
    color: white;
    max-width: 600px;
    position: absolute;
    top: 12vh;
    left: 1.5rem;
    z-index: 10;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.95;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    position: absolute;
    top: 2vh;
    left: 0;
    z-index: 10;
}

.hero-sub {
    font-size: 2.25rem;
    line-height: 1.6;
    opacity: 0.95;
    color: white;
    position: absolute;
    top: 14vh;
    margin-bottom: 1.9rem;
}

.hero-hint {
    margin-top: 0.2rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Formular */
.hero-form-shell,
.form-container {
    background: white;
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    width: 100%;
    margin: auto 0 0 0;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    position: relative;
    width: 100%;
}

.form-header {
    text-align: right;
    margin-bottom: 0.45rem;
}

.form-powered,
.powered-by {
    text-align: right;

    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}


.form-powered a,
.powered-by a {
    text-decoration: none;
    color: #111827;

}


.form-powered strong,
.powered-by strong {
    color: #111827;

}

.hero-form-title {
    margin-top: 0.1rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.03rem;
    color: #111827;
    display: none;
}

.hero-form-sub {
    font-size: 0.6rem;
    color: #6b7280;
    margin-bottom: 0.15rem;
    display: none;
}

.form-steps {
    display: none;
}

/* Formular Layout */
.form-row-main,
.form-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 0.6rem;
    align-items: end;
    width: 100%;
}

.form-group {
    margin-bottom: 0;
    width: 100%;
}

.form-group-submit {
    flex: 0 0 auto;
    width: auto;
    padding: 0;
    display: flex;
    align-items: stretch;
}

.form-group label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.22rem;
}

/* Input Wrapper */
.input-wrapper {
    position: relative;
    width: 100%;
}

.input-wrapper::after {
    content: "▼";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #6b7280;
    pointer-events: none;
}

.input-wrapper.no-arrow::after {
    content: "";
}

.select-shell {
    position: relative;
    display: flex;
    align-items: center;
    background: transparent;
    padding: 0;
    border: none;
    width: 100%;
}

.select-icon {
    font-size: 1.2rem;
    color: #4b5563;
    margin-right: 0.45rem;
    flex: 0 0 auto;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.4rem 0.45rem;
    font-size: 1.2rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #111827;
    transition: all 0.2s;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #1e5fa8;
    box-shadow: 0 0 0 3px rgba(30, 95, 168, 0.1);
}

select option {
    background: white;
    color: #111827;
}

/* Button */
.btn-primary {
    padding: 0.42rem 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    background: #1e5fa8;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    height: auto;
    min-height: 30px;
}

.btn-primary:hover {
    background: #174a87;
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(30, 95, 168, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Disclaimer */
.form-disclaimer,
.form-footer {
    margin-top: 0.1rem;
    padding-top: 0.1rem;
    border-top: 1px solid #e5e7eb;
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.5;
}

/* Sticky CTA Mobile */
.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    display: none;
    padding: 0.6rem 1rem;
    background: rgba(15, 23, 42, 0.96);
    box-shadow: 0 -6px 18px rgba(15, 23, 42, 0.8);
}

.sticky-cta-btn {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    display: block;
    border-radius: 999px;
    border: 0;
    padding: 0.7rem 1.4rem;
    background: #0b599b;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
}

/* Footer */
.footer {
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
    padding: 1.6rem 0;
    color: #6b7280;
}

.footer-inner {
    text-align: left;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: 1.2rem;
}

.footer-col h3 {
    font-size: 0.95rem;
    margin: 0 0 0.6rem 0;
    color: #111827;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.88rem;
}

.footer-col li + li {
    margin-top: 0.25rem;
}

.footer-col a {
    text-decoration: none;
    color: #6b7280;
}

.footer-col a:hover {
    color: #0b599b;
}

.footer-small {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: #9ca3af;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

.footer-brand {
    max-width: 360px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    font-size: 0.85rem;
}

.footer-nav a {
    color: #6b7280;
    text-decoration: none;
}

.footer-nav a:hover {
    color: #0b599b;
}

.footer-bottom {
    margin-top: 0.75rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    display: none;
    background: rgba(15, 23, 42, 0.96);
    color: #e5e7eb;
    padding: 0.9rem 1.2rem;
}

.cookie-banner-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
}

.cookie-text {
    font-size: 0.8rem;
    max-width: 720px;
}

.cookie-btn {
    border: 0;
    border-radius: 999px;
    padding: 0.45rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    background: #facc15;
    color: #111827;
}

.cookie-btn:hover {
    background: #eab308;
}

/* Dark Theme */
body.theme-dark {
    background: #020617;
    color: #e5e7eb;
}

body.theme-dark .header {
    background: rgba(15, 23, 42, 0.96);
    border-bottom-color: rgba(15, 23, 42, 0.9);
}

body.theme-dark .logo-text {
    color: #f9fafb;
}

body.theme-dark .main-nav a {
    color: #e5e7eb;
}

body.theme-dark .main-nav a:hover {
    background: rgba(148, 163, 184, 0.15);
    color: #e5e7eb;
}

body.theme-dark .breadcrumb {
    background: #020617;
    border-bottom-color: rgba(15, 23, 42, 0.9);
}

body.theme-dark .breadcrumb a {
    color: #e5e7eb;
}

body.theme-dark .hero {
    background-color: #020617;
}

body.theme-dark .hero-title {
    color: #f9fafb;
}

body.theme-dark .hero-sub {
    color: #cbd5f5;
}

/* Responsive */
@media (max-width: 1024px) {
    .main-nav {
        gap: 0.6rem;
        font-size: 0.86rem;
    }

    .hero-text h1,
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-title {
        top: 10vh;
    }

    .hero::before {
        width: 100%;
        opacity: 0.3;
    }

    .hero::after {
        width: 100%;
        background: linear-gradient(
            180deg,
            rgba(30, 95, 168, 0.85) 0%,
            rgba(56, 163, 221, 0.75) 50%,
            rgba(94, 184, 232, 0.85) 100%
        );
    }

    .form-row-main,
    .form-fields {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .btn-primary {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .hero-inner {
        text-align: left;
    }

    .hero {
        padding: 2.6rem 0 3.8rem 0;
        align-items: flex-start;
        background-position: center top;
        background-size: contain;
    }
}

@media (max-width: 820px) {
    .container,
    .hero .container {
        max-width: 100%;
        padding: 0 1rem;
    }

    .hero-inner {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-title,
    .hero-sub {
        display: none;
    }

    .hero-text {
        position: static;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .hero-form-shell,
    .form-container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0.6rem 0.9rem;
    }

    .form-row-main,
    .form-fields {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .form-group,
    .form-group-submit {
        padding: 0.3rem 0;
        width: 100%;
    }

    .form-group label {
        text-align: left;
    }

    .form-group-submit {
        flex: 1 1 auto;
    }

    .select-shell,
    .select-shell select,
    .form-group input,
    .form-group select,
    .btn-primary {
        width: 100%;
    }

    .header-inner {
        gap: 0.75rem;
    }

    .main-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero {
        padding: 1.5rem 0.75rem;
    }

    .hero-title,
    .hero-sub {
        display: none;
    }

    .hero-text {
        left: 0.75rem;
        max-width: calc(100% - 1.5rem);
        position: static;
        margin-bottom: 2rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-form-shell,
    .form-container {
        padding: 1rem 0.75rem;
    }

    .form-row-main,
    .form-fields {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .form-group input,
    .form-group select {
        font-size: 0.875rem;
        padding: 0.5rem;
    }

    .form-group label {
        font-size: 0.75rem;
    }

    .btn-primary {
        padding: 0.6rem 1rem;
        font-size: 0.875rem;
    }

    .form-footer,
    .form-disclaimer {
        font-size: 0.7rem;
    }

    .sticky-cta {
        display: block;
    }

    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}


