/* Minimal reset and tuned base styles */
:root {
    --bg: #081022;
    /* deeper blue */
    --bg-2: #071426;
    --card-bg: rgba(255, 255, 255, 0.03);
    --muted: #b7c6d9;
    /* softer muted */
    --muted-2: #9fb0c6;
    --accent: #6b61ff;
    /* purple accent */
    --accent-2: #22d1ff;
    /* cyan highlight */
    --glass: rgba(255, 255, 255, 0.03);
    --container: 1100px;
    --radius: 12px;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: #eaf4ff;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 2rem;
}

/* global section spacing */
section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(6px);
    background: linear-gradient(180deg, rgba(7, 16, 36, 0.6), rgba(7, 16, 36, 0.35));
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    z-index: 40;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}


.logo {
    display: flex;
    align-items: center;
    background-color: #eaf4ff;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.logo-text {
    color: #0e55ba;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1;
    letter-spacing: 0.2px;
}


/* Rounded icon badge layout */
.tech-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.02);
}

.tech-icon img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

/* subtle brand accents */
.tech-icon.brand-openai {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.tech-icon.brand-azure {
    background: linear-gradient(135deg, #0078d4, #00b4ff);
}

.tech-icon.brand-google {
    background: linear-gradient(135deg, #34a853, #4285f4);
}

.tech-icon.brand-langchain {
    background: linear-gradient(135deg, #ff7a00, #ffb86b);
}

.tech-icon.brand-hf {
    background: linear-gradient(135deg, #ff9900, #ffb86b);
}

.tech-icon.brand-claude {
    background: linear-gradient(135deg, #7b61ff, #22d1ff);
}

.tech-icon.brand-mistral {
    background: linear-gradient(135deg, #2bde73, #00a3ff);
}

.logo-by {
    font-weight: 400;
    font-size: 0.65rem;
    color: var(--muted);
    display: block;
    margin-top: 2px;
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.site-nav a {
    color: var(--muted);
    text-decoration: none;
    padding: 0.45rem 0.75rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 180ms ease;
}

.site-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 0;
    margin-left: 1rem;
}

.hamburger {
    width: 22px;
    height: 2px;
    background: var(--muted);
    display: block;
    position: relative
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: var(--muted)
}

.hamburger::before {
    top: -7px
}

.hamburger::after {
    top: 7px
}

/* Hero */
.hero-section {
    padding: 4.5rem 0
}

.hero-section {
    padding-bottom: 2.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 2.25rem;
    align-items: center
}

.hero-grid {
    grid-template-columns: 1fr 480px;
    gap: 2.5rem;
    align-content: center;
}

.hero-content h1 {
    font-size: 2.6rem;
    margin: 0 0 0.75rem;
    line-height: 1.03;
    font-weight: 700;
    letter-spacing: -0.02em
}

.lead {
    color: var(--muted);
    margin-bottom: 1rem;
    font-size: 1.05rem
}

.hero-image img {
    width: 100%;
    max-width: 460px;
    border-radius: calc(var(--radius) + 4px);
    box-shadow: 0 20px 40px rgba(6, 14, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: block
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.7rem 1.1rem;
    border-radius: 12px;
    background: transparent;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    font-weight: 700;
    transition: transform 160ms ease, box-shadow 160ms ease
}

.btn.primary {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: #071426;
    border: 0;
    box-shadow: 0 8px 30px rgba(99, 88, 255, 0.12)
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(99, 88, 255, 0.14)
}

.btn.ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--muted)
}

.trust {
    display: flex;
    gap: 1rem;
    color: var(--muted);
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem
}

/* Section title */
.section-title {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

/* About grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2rem;
    align-items: center;
    margin-top: 1rem;
}

.about-text p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(3, 10, 30, 0.45);
}

/* Services */
.services-section {
    padding: 3rem 0
}

.section-intro {
    color: var(--muted);
    margin-bottom: 1rem
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(4px);
    transition: transform 200ms ease, box-shadow 200ms ease
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(3, 10, 30, 0.45)
}

.card h3 {
    margin: 0 0 0.5rem
}

.card-icon {
    font-size: 1.6rem;
    margin-bottom: 0.35rem
}

/* SVG icon styling inside cards */
.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px
}

.card-icon svg {
    width: 40px;
    height: 40px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.2;
    color: var(--accent-2);
}

.card-icon svg path,
.card-icon svg rect {
    stroke: currentColor;
    stroke-width: 1.2;
    fill: none;
}

/* Approach / agile section styles */
.approach-section {
    padding: 3rem 0;
}

.approach-section h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.approach-section .lead {
    color: var(--muted);
    margin-bottom: 1rem;
}

.approach-section .service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem
}

.approach-section .card {
    padding: 0.9rem
}

.approach-section .card h3 {
    font-size: 1.05rem
}

.tech-grid {
    margin-top: 0.75rem
}

/* Tech grid visual style */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 1rem;
    align-items: center;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 0.6rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--muted);
    font-size: 0.95rem;
    transition: transform 180ms cubic-bezier(.2, .9, .2, 1), box-shadow 180ms cubic-bezier(.2, .9, .2, 1);
}

.tech-item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    padding: 3px;
}

.tech-item span {
    display: inline-block;
    vertical-align: middle
}

.tech-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(3, 10, 30, 0.45);
    color: #fff;
}

@media (max-width:680px) {
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .tech-item {
        font-size: 0.9rem;
    }
}

.tech-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--muted);
    text-align: center;
    font-size: 0.95rem
}


/* Contact */
.contact-section {
    padding: 3rem 0
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start
}

.contact-card {
    background: rgba(10, 14, 22, 0.6);
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03)
}

.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.75rem
}

label {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0.35rem
}

input,
textarea {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0.65rem;
    border-radius: 10px;
    color: inherit
}

.form-actions {
    margin-top: 0.5rem
}

.form-status {
    margin-top: 0.75rem;
    color: var(--muted)
}

.contact-info {
    color: var(--muted)
}

.small {
    font-size: 0.85rem;
    color: var(--muted)
}

/* Footer */
.site-footer {
    padding: 2rem 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.muted {
    color: var(--muted)
}

/* Responsive */
@media (max-width:980px) {
    .hero-grid {
        grid-template-columns: 1fr
    }

    .hero-image {
        order: -1
    }

    .service-cards {
        grid-template-columns: 1fr
    }

    .contact-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width: 1100px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width:680px) {
    .site-nav {
        display: none
    }

    .nav-toggle {
        display: block
    }

    .container {
        padding: 1rem
    }

    .hero-content h1 {
        font-size: 1.35rem;
        line-height: 1.08
    }

    .hero-image img {
        max-width: 100%;
    }
}

/* Mobile nav open */
.site-nav.open {
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: linear-gradient(180deg, rgba(7, 16, 36, 0.95), rgba(7, 16, 36, 0.98));
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03)
}

.site-nav.open ul {
    flex-direction: column
}

.site-nav.open a {
    padding: 0.6rem 1rem
}

/* ---- Linie + Animation ---- */
/* ---- Grunddesign ---- */
.linie-container {
    width: 80%;
    height: 4px;
    background-color: #ddd;
    margin: 100px auto;
    /* etwas Platz oben/unten */
    overflow: hidden;
    border-radius: 2px;
}

/* ---- Linie selbst ---- */
.linie {
    width: 0;
    height: 100%;
    background-color: #007bff;
    transition: width 4s ease-out;
    /* sanftes Wachsen */
}

/* ---- Zustand, wenn sie sichtbar ist ---- */
.linie.aktiv {
    width: 100%;
}

/* ---- Ende Linie + Animation ---- */

/* --- Karussell --- */
.karussell {
    position: relative;
    width: 80%;
    max-width: 300px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* --- Bilderreihe --- */
.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    width: 100%;
    border-radius: 10px;
    flex-shrink: 0;
    user-select: none;
    pointer-events: none;
    /* verhindert Bildziehen auf Mobile */
}

/* --- Pfeilnavigation --- */
.buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.buttons button {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.buttons button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* --- Punkte unten --- */
.indikatoren {
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.indikatoren span {
    display: inline-block;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.indikatoren .aktiv {
    background-color: white;
}

.indikatoren .aktiv {
    background-color: white;
}