/* ==========================================================
   ngware.de
   Mobile First
   Author: ChatGPT
   ========================================================== */

@font-face {
    font-family: "Inter";
    src: url("../font/InterVariable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

/* ==========================================================
   RESET
   ========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

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

ul,
ol {
    list-style: none;
}

/* ==========================================================
   DESIGN TOKENS
   ========================================================== */

:root {

    /* Farben */

    --color-primary: #009DE1;
    --color-primary-dark: #007EB5;
    --color-primary-light: #EAF8FE;

    --color-text: #1F2937;
    --color-text-light: #6B7280;

    --color-background: #FFFFFF;
    --color-surface: #F7FAFC;

    --color-border: #E5E7EB;

    --color-shadow: rgba(0, 0, 0, .08);

    /* Typografie */

    --font-family: "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;

    --font-size-xs: .875rem;
    --font-size-sm: 1rem;
    --font-size-md: 1.125rem;
    --font-size-lg: 1.5rem;
    --font-size-xl: 2.25rem;
    --font-size-xxl: 3.25rem;

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-black: 800;

    /* Abstände */

    --space-1: .25rem;
    --space-2: .5rem;
    --space-3: .75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;
    --space-9: 6rem;

    /* Radius */

    --radius-small: .5rem;
    --radius-medium: 1rem;
    --radius-large: 1.5rem;
    --radius-xl: 2rem;

    /* Schatten */

    --shadow-small: 0 2px 10px rgba(0, 0, 0, .05);

    --shadow-medium: 0 10px 30px rgba(0, 0, 0, .08);

    --shadow-large: 0 20px 60px rgba(0, 0, 0, .12);

    /* Container */

    --container-width: 1180px;

    /* Animation */

    --transition: 220ms ease;

}

/* ==========================================================
   BASE
   ========================================================== */

body {

    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-normal);
    line-height: 1.7;

    color: var(--color-text);
    background: var(--color-background);

}

h1,
h2,
h3,
h4 {

    line-height: 1.15;
    font-weight: var(--font-weight-bold);

}

h1 {

    font-size: clamp(2.4rem, 7vw, 4.8rem);

}

h2 {

    font-size: clamp(2rem, 5vw, 3rem);

}

h3 {

    font-size: 1.35rem;

}

p {

    color: var(--color-text-light);

}

strong {

    color: var(--color-text);

}

/* ==========================================================
   LAYOUT
   ========================================================== */

.container {

    width: min(100% - 2rem, var(--container-width));
    margin-inline: auto;

}

.section {

    padding-block: 5rem;

}

.section--light {

    background: var(--color-surface);

}

/* ==========================================================
   SECTION HEADER
   ========================================================== */

.section-header {

    text-align: center;
    margin-bottom: 3rem;

}

.section-header__eyebrow {

    display: inline-block;

    margin-bottom: .75rem;
    padding: .35rem .9rem;

    border-radius: 999px;

    background: var(--color-primary-light);
    color: var(--color-primary);

    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;

}

.section-header h2 {

    margin-bottom: 1rem;

}

.section-header p {

    max-width: 650px;
    margin-inline: auto;

}

/* ==========================================================
   BUTTONS
   ========================================================== */

.button {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: .95rem 1.8rem;

    border-radius: 999px;

    background: var(--color-primary);
    color: white;

    font-weight: 600;

    transition: background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);

    box-shadow: var(--shadow-small);

}

.button:hover {

    background: var(--color-primary-dark);

    transform: translateY(-2px);

    box-shadow: var(--shadow-medium);

}

.button--light {

    background: white;
    color: var(--color-primary);

}

.button--light:hover {

    background: #f5f5f5;

}

/* ==========================================================
   CARD BASIS
   ========================================================== */

.card {

    padding: 2rem;

    border: 1px solid var(--color-border);

    border-radius: var(--radius-medium);

    background: white;

    box-shadow: var(--shadow-small);

    transition: transform var(--transition),
    box-shadow var(--transition);

}

.card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow-medium);

}

/* ==========================================================
   ICONS
   ========================================================== */
.icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 4rem;
    height: 4rem;
    margin-inline: auto;
    margin-bottom: var(--space-4);

    border-radius: 50%;

    background-color: var(--color-primary);
}

.icon img {
    width: 2rem;
    height: 2rem;

    filter: brightness(0) invert(1);
    object-fit: contain;
}

/* ==========================================================
   UTILITIES
   ========================================================== */

.text-center {

    text-align: center;

}

.mt-1 {
    margin-top: var(--space-1);
}

.mt-2 {
    margin-top: var(--space-2);
}

.mt-3 {
    margin-top: var(--space-3);
}

.mt-4 {
    margin-top: var(--space-4);
}

.mt-5 {
    margin-top: var(--space-5);
}

.mb-1 {
    margin-bottom: var(--space-1);
}

.mb-2 {
    margin-bottom: var(--space-2);
}

.mb-3 {
    margin-bottom: var(--space-3);
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-5 {
    margin-bottom: var(--space-5);
}


/* ==========================================================
   HEADER
   ========================================================== */

.header {

    position: sticky;
    top: 0;
    z-index: 1000;

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    background: rgba(255, 255, 255, .88);

    border-bottom: 1px solid rgba(0, 0, 0, .05);

}

.header .container {

    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 78px;

}

/* ==========================================================
   LOGO
   ========================================================== */

.logo {

    display: flex;
    align-items: center;
    gap: .85rem;

    font-weight: 700;
    font-size: 1.35rem;

}

.logo__image {

    width: 48px;
    height: 48px;

    flex-shrink: 0;

}

.logo__text {

    letter-spacing: -.03em;

}

/* ==========================================================
   NAVIGATION
   ========================================================== */

.navigation {

    display: none;

}

.navigation__list {

    display: flex;
    align-items: center;
    gap: 2rem;

}

.navigation a {

    position: relative;

    font-weight: 500;

    color: var(--color-text);

    transition: color var(--transition);

}

.navigation a:hover {

    color: var(--color-primary);

}

.navigation a::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -.35rem;

    width: 0;
    height: 2px;

    background: var(--color-primary);

    transition: width var(--transition);

}

.navigation a:hover::after {

    width: 100%;

}

/* ==========================================================
   HERO
   ========================================================== */

.hero {

    position: relative;

    overflow: hidden;

    padding-top: 4rem;
    padding-bottom: 5rem;

}

/* dekorative Farbflächen */

.hero::before {

    content: "";

    position: absolute;

    top: -250px;
    right: -180px;

    width: 600px;
    height: 600px;

    border-radius: 50%;

    background: radial-gradient(
            circle,
            rgba(0, 157, 225, .12),
            rgba(0, 157, 225, 0)
    );

    pointer-events: none;

}

.hero::after {

    content: "";

    position: absolute;

    bottom: -220px;
    left: -160px;

    width: 450px;
    height: 450px;

    border-radius: 50%;

    background: radial-gradient(
            circle,
            rgba(0, 157, 225, .08),
            transparent
    );

    pointer-events: none;

}

.hero__grid {

    position: relative;

    z-index: 2;

    display: grid;

    gap: 3rem;

}

/* ==========================================================
   HERO CONTENT
   ========================================================== */

.hero__content {

    display: flex;
    flex-direction: column;
    justify-content: center;

}

.hero__eyebrow {

    display: inline-flex;

    align-self: flex-start;

    padding: .45rem .9rem;

    margin-bottom: 1.5rem;

    border-radius: 999px;

    background: var(--color-primary-light);

    color: var(--color-primary);

    font-size: .8rem;
    font-weight: 700;

    letter-spacing: .08em;

}

.hero h1 {

    margin-bottom: 1.5rem;

    letter-spacing: -.04em;

}

.hero h1 span {

    color: var(--color-primary);

}

.hero__lead {

    max-width: 42rem;

    font-size: 1.15rem;

    margin-bottom: 2rem;

}

/* ==========================================================
   FACTS
   ========================================================== */

.hero__facts {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 1rem;

    margin-bottom: 2.5rem;

}

.fact {

    padding: 1.25rem;

    border-radius: var(--radius-medium);

    background: white;

    border: 1px solid var(--color-border);

    box-shadow: var(--shadow-small);

}

.fact strong {

    display: block;

    margin-bottom: .4rem;

    font-size: 1.6rem;

    color: var(--color-primary);

}

.fact span {

    font-size: .9rem;

    color: var(--color-text-light);

}

/* ==========================================================
   PORTRAIT
   ========================================================== */

.hero__portrait {

    display: flex;
    justify-content: center;
    align-items: center;

}

.hero__portrait img {

    width: min(100%, 340px);

    aspect-ratio: 1;

    object-fit: cover;

    border-radius: 32px;

    background: white;

    padding: .75rem;

    border: 1px solid var(--color-border);

    box-shadow: var(--shadow-large);

    transition: transform .35s ease,
    box-shadow .35s ease;

}

.hero__portrait img:hover {

    transform: translateY(-8px);

    box-shadow: 0 30px 70px rgba(0, 0, 0, .15);

}

/* ==========================================================
   HERO BUTTON
   ========================================================== */

.hero .button {

    align-self: flex-start;

}

/* ==========================================================
   TABLET
   ========================================================== */

@media (min-width: 768px) {

    .hero {

        padding-top: 6rem;
        padding-bottom: 7rem;

    }

}

/* ==========================================================
   DESKTOP
   ========================================================== */

@media (min-width: 960px) {

    .navigation {

        display: block;

    }

    .hero__grid {

        grid-template-columns:
            1.2fr
            .8fr;

        align-items: center;

        gap: 5rem;

    }

    .hero__portrait {

        justify-content: flex-end;

    }

    .hero__portrait img {

        width: 420px;

    }

}

/* ==========================================================
   LARGE DESKTOP
   ========================================================== */

@media (min-width: 1200px) {

    .hero {

        min-height: calc(100vh - 78px);

        display: flex;
        align-items: center;

    }

    .hero__portrait img {

        width: 470px;

    }

}

/* ==========================================================
   CARDS GRID (LEISTUNGEN)
   ========================================================== */

.cards {

    display: grid;

    grid-template-columns: 1fr;

    gap: 1.5rem;

}

/* kleine Akzent-Optik für Card-Titel */

.card h3 {

    margin-bottom: .75rem;

    color: var(--color-text);

}

.card p {

    font-size: .98rem;

    line-height: 1.65;

}

/* ==========================================================
   ABOUT SECTION
   ========================================================== */

.about {

    display: grid;

    grid-template-columns: 1fr;

    gap: 3rem;

    align-items: start;

}

.about h2 {

    margin-bottom: 1.5rem;

}

.about p {

    margin-bottom: 1.25rem;

    max-width: 60ch;

}

/* ==========================================================
   CHECKLIST (ABOUT)
   ========================================================== */

.checklist {

    display: grid;

    gap: .75rem;

    padding: 0;

}

.checklist li {

    position: relative;

    padding-left: 1.75rem;

    color: var(--color-text-light);

    font-weight: 500;

}

/* simples Check-Icon ohne Bilder */

.checklist li::before {

    content: "✓";

    position: absolute;

    left: 0;

    top: 0;

    color: var(--color-primary);

    font-weight: 700;

}

/* ==========================================================
   TECHNOLOGIES
   ========================================================== */

.tags {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: .75rem;

}

/* einzelne Technologie-Chips */

.tags span {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: .55rem .9rem;

    border-radius: 999px;

    font-size: .9rem;

    font-weight: 500;

    color: var(--color-text);

    background: white;

    border: 1px solid var(--color-border);

    box-shadow: var(--shadow-small);

    transition: transform var(--transition),
    border-color var(--transition),
    color var(--transition);

}

.tags span:hover {

    transform: translateY(-3px);

    border-color: var(--color-primary);

    color: var(--color-primary);

}

/* ==========================================================
   RESPONSIVE: TABLET
   ========================================================== */

@media (min-width: 768px) {

    .cards {

        grid-template-columns: repeat(2, 1fr);

    }

    .about {

        grid-template-columns: 1.2fr .8fr;

        gap: 4rem;

    }

}

/* ==========================================================
   RESPONSIVE: DESKTOP
   ========================================================== */

@media (min-width: 960px) {

    .cards {

        grid-template-columns: repeat(4, 1fr);

    }

}


/* ==========================================================
   CTA SECTION
   ========================================================== */

.cta {

    position: relative;

    padding: 5rem 0;

    background: linear-gradient(
            135deg,
            rgba(0, 157, 225, .10),
            rgba(0, 157, 225, .02)
    );

    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);

    overflow: hidden;

}

/* dezente Hintergrundform */

.cta::before {

    content: "";

    position: absolute;

    top: -120px;
    right: -120px;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    background: rgba(0, 157, 225, .12);

    filter: blur(40px);

}

.cta__content {

    position: relative;

    display: flex;

    flex-direction: column;

    gap: 2rem;

    align-items: center;

    text-align: center;

}

.cta h2 {

    margin-bottom: .75rem;

}

.cta p {

    font-size: 1.1rem;

}

/* ==========================================================
   FOOTER
   ========================================================== */

.footer {

    padding-top: 4rem;
    padding-bottom: 2rem;

    background: white;

    border-top: 1px solid var(--color-border);

}

.footer__grid {

    display: grid;

    grid-template-columns: 1fr;

    gap: 2.5rem;

    margin-bottom: 2rem;

}

.footer h3 {

    margin-top: .75rem;

}

.footer h4 {

    margin-bottom: .75rem;

    font-size: 1.1rem;

}

.footer p {

    font-size: .95rem;

    color: var(--color-text-light);

}

.footer__logo {

    width: 48px;
    height: 48px;

}

/* Footer Bottom */

.footer__bottom {

    padding-top: 1.5rem;

    font-size: .85rem;

    text-align: center;

    color: var(--color-text-light);

    border-top: 1px solid var(--color-border);

}

.footer__bottom a {

    color: inherit;

}

/* ==========================================================
   LEGAL PAGE
   ========================================================== */

.legal-page {

    min-height: calc(100vh - 240px);

}

.legal-page__content {

    max-width: 760px;

}

.legal-page h1 {

    margin-top: .5rem;
    margin-bottom: 2.5rem;

}

.legal-page h2 {

    margin-top: 2rem;
    margin-bottom: .75rem;

    font-size: 1.25rem;

}

.legal-page address {

    color: var(--color-text-light);
    font-style: normal;
    line-height: 1.7;

}

/* ==========================================================
   RESPONSIVE FOOTER
   ========================================================== */

@media (min-width: 768px) {

    .cta__content {

        flex-direction: row;

        justify-content: space-between;

        text-align: left;

    }

    .footer__grid {

        grid-template-columns: 2fr 1fr;

    }

}

/* ==========================================================
   FOCUS STATES (ACCESSIBILITY)
   ========================================================== */

a:focus-visible,
.button:focus-visible {

    outline: 3px solid rgba(0, 157, 225, .5);
    outline-offset: 3px;

}

/* ==========================================================
   SMALL OPTIMIZATIONS
   ========================================================== */

::selection {

    background: rgba(0, 157, 225, .2);

}

html, body {

    overflow-x: hidden;

}

/* smooth hover consistency */

.card,
.button,
.tags span,
.hero__portrait img {

    will-change: transform;

}
