/* ===== FONTS (lokal gehostet, kein externer Google-Aufruf) ===== */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../assets/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0A1628;
    --secondary: #00B4D8;
    --accent: #48CAE4;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --text-dark: #1A1A2E;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --border: #E5E7EB;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
.text-gradient {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
}

.btn--primary {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    border-color: transparent;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--secondary);
    border-color: var(--secondary);
}

.btn--outline:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-2px);
}

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

/* ===== HEADER / NAV ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.nav__logo-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.nav__logo--img {
    padding: 0;
}

.nav__logo-img {
    height: 46px;
    width: auto;
    display: block;
}

.logo-bos {
    color: var(--secondary);
    font-weight: 800;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all var(--transition);
}

.nav__link:hover {
    color: var(--secondary);
    background: rgba(0, 180, 216, 0.08);
}

.nav__link--cta {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white !important;
    margin-left: 8px;
}

.nav__link--cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
    background: linear-gradient(135deg, var(--secondary), var(--accent));
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #F8F9FA 0%, #EEF2F7 50%, #E8F4F8 100%);
    z-index: 0;
}

.hero__bg::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.12) 0%, transparent 70%);
}

.hero__bg::before {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(72, 202, 228, 0.08) 0%, transparent 70%);
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero__title {
    font-size: clamp(2.2rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero__subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 560px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__actions .btn--outline {
    color: var(--primary);
    border-color: var(--border);
}

.hero__actions .btn--outline:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
}

.section--alt {
    background: var(--bg-light);
}

.section__header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section__tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.section__title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section__subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== SERVICES ===== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 180, 216, 0.2);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.1), rgba(72, 202, 228, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    margin-bottom: 20px;
}

.service-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-card__text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== ABOUT ===== */
.about__grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 760px;
    margin: 0 auto;
}

.about__content .section__tag {
    text-align: left;
}

.about__content .section__title {
    text-align: left;
}

.about__text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ===== TEAM ===== */
.team__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.team-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 180, 216, 0.2);
}

.team-card__image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--bg-light);
}

.team-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.team-card:hover .team-card__image img {
    transform: scale(1.05);
}

.team-card__content {
    padding: 28px;
}

.team-card__name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.team-card__role {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 12px;
}

.team-card__bio {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.team-card__social {
    margin-top: 16px;
    display: flex;
    gap: 12px;
}

.team-card__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-muted);
    transition: all var(--transition);
}

.team-card__social a:hover {
    background: var(--secondary);
    color: white;
}

/* ===== BENEFITS ===== */
.benefits__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.benefit {
    display: flex;
    gap: 20px;
    padding: 32px;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.benefit:hover {
    background: var(--bg-light);
}

.benefit__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), #0D2137);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.benefit__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.benefit__text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== PROJECTS ===== */
.project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px;
    transition: all var(--transition);
}

.project:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 180, 216, 0.2);
}

.project__badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--secondary);
    background: rgba(0, 180, 216, 0.1);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.project__name {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.project__tagline {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.project__text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

.project__visual {
    display: flex;
    justify-content: center;
}

.project__card {
    width: 100%;
    max-width: 360px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.project__card-header {
    display: flex;
    gap: 8px;
    padding: 14px 18px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.project__dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--border);
}

.project__card-body {
    padding: 28px;
}

.project__line {
    height: 10px;
    border-radius: 999px;
    background: var(--bg-light);
    margin-bottom: 14px;
}

.project__line--lg {
    width: 70%;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.25), rgba(72, 202, 228, 0.25));
}

.project__line--sm {
    width: 45%;
}

.project__signature {
    width: 100%;
    height: auto;
    margin-top: 16px;
    color: var(--secondary);
}

/* ===== CONTACT ===== */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact__info .section__tag {
    text-align: left;
}

.contact__info .section__title {
    text-align: left;
}

.contact__text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact__item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.contact__item svg {
    color: var(--secondary);
    flex-shrink: 0;
}

.contact__form {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid var(--border);
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form__input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: all var(--transition);
}

.form__input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.form__input::placeholder {
    color: var(--text-light);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer__brand .nav__logo {
    color: white;
    margin-bottom: 16px;
    display: inline-block;
}

.footer__logo {
    display: inline-block;
    background: #ffffff;
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.footer__logo img {
    height: 52px;
    width: auto;
    display: block;
}

.footer__desc {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
    margin-top: 12px;
}

.footer__links h4 {
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--accent);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* ===== LEGAL PAGES ===== */
.legal {
    padding: 140px 0 80px;
    background: var(--bg-white);
}

.legal__container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 32px;
    transition: color var(--transition);
}

.legal__back:hover {
    color: var(--accent);
}

.legal__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    margin-bottom: 32px;
}

.legal h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin: 36px 0 12px;
}

.legal h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 24px 0 8px;
}

.legal p,
.legal li {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal ul {
    list-style: disc;
    padding-left: 22px;
    margin-bottom: 12px;
}

.legal a {
    color: var(--secondary);
    word-break: break-word;
}

.legal a:hover {
    text-decoration: underline;
}

.legal__placeholder {
    background: rgba(0, 180, 216, 0.08);
    border-radius: 4px;
    padding: 1px 6px;
    font-style: italic;
    color: var(--text-dark);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2000;
    max-width: 520px;
    margin: 0 auto;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 28px;
    transform: translateY(150%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.cookie-banner__text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.cookie-banner__text a {
    color: var(--secondary);
    font-weight: 600;
}

.cookie-banner__text a:hover {
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-banner__actions .btn {
    flex: 1;
    padding: 12px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 20px;
    }

    .cookie-banner__actions {
        flex-direction: column;
    }
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 32px 32px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
    }

    .nav__menu.active {
        right: 0;
    }

    .nav__link {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .nav__link--cta {
        margin-left: 0;
        margin-top: 8px;
        text-align: center;
    }

    .hero {
        min-height: auto;
        padding: 140px 0 80px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__actions {
        flex-direction: column;
    }

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

    .section {
        padding: 64px 0;
    }

    .section__header {
        margin-bottom: 40px;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .team__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .project {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 32px;
    }

    .project__visual {
        order: -1;
    }

    .benefits__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .benefit {
        padding: 24px;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero__title {
        font-size: 1.75rem;
    }

    .section__title {
        font-size: 1.5rem;
    }

    .service-card {
        padding: 24px;
    }

    .contact__form {
        padding: 24px;
    }
}
