﻿/* =========================================================
   Grundstruktur
   ========================================================= */
:root {
    --bg-dark: #0b1020;
    --blue: #1f7cff;
    --blue-strong: #4aa8ff;
    --blue-soft: #5db1ff;
    --text: #ffffff;
    --text-soft: #aeb9cb;
    --text-muted: #7f8ca3;
    --border: rgba(255, 255, 255, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 75% 20%, rgba(40, 110, 255, 0.12), transparent 35%),
        radial-gradient(circle at 20% 70%, rgba(0, 140, 255, 0.08), transparent 30%),
        var(--bg-dark);
    color: var(--text);
    font-family: Arial, sans-serif;
}

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

a {
    color: inherit;
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;

    width: 100%;
    padding: 22px 0;

    z-index: 100;

    background: transparent;
    border-bottom: 1px solid transparent;

    transition:
        padding 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* Header nach dem Scrollen */

.site-header.scrolled {
    padding: 9px 0;

    background: rgba(8, 15, 29, 0.88);

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

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.22);
}


/* Inhalt */

.header-inner {
    width: min(1200px, 90%);
    margin: 0 auto;

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

    gap: 32px;
}


/* Logo */

.brand {
    display: flex;
    align-items: center;

    text-decoration: none;
}

.brand-logo {
    display: block;

    width: 230px;
    height: auto;

    transition: width 0.3s ease;
}

.site-header.scrolled .brand-logo {
    width: 185px;
}


/* Desktop Navigation */

.main-nav {
    display: flex;
    align-items: center;

    gap: 32px;

    transition: gap 0.3s ease;
}

.site-header.scrolled .main-nav {
    gap: 26px;
}

.main-nav a {
    color: #c8d2e3;

    text-decoration: none;

    font-size: 0.95rem;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.main-nav a:hover {
    color: var(--blue-strong);

    transform: translateY(-1px);
}


/* Projekt anfragen Button */

.header-cta {
    color: white;

    text-decoration: none;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--blue-strong)
        );

    padding: 12px 20px;

    border-radius: 10px;

    font-size: 0.95rem;
    font-weight: 600;

    box-shadow:
        0 8px 24px rgba(31, 124, 255, 0.25);

    transition:
        padding 0.3s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.site-header.scrolled .header-cta {
    padding: 10px 18px;
}

.header-cta:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(31, 124, 255, 0.35);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 110px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: 8%;
    top: 5%;
    border-radius: 50%;
    background: rgba(38, 119, 255, 0.12);
    filter: blur(110px);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1400px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.hero-content {
    max-width: 720px;
}

.hero-kicker {
    margin-bottom: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--blue-strong);
}

.hero-title {
    margin: 0;
    font-size: clamp(3rem, 6vw, 5.6rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    color: var(--text);
}

.hero-title span {
    display: block;
    background: linear-gradient(90deg, var(--blue-soft), #2f7dff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-text {
    max-width: 640px;
    margin-top: 28px;
    margin-bottom: 32px;
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-soft);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--blue-strong));
    box-shadow: 0 10px 28px rgba(31, 124, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(31, 124, 255, 0.38);
}

.btn-secondary {
    color: #d7e2f2;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
}

.hero-benefits {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    margin-top: 44px;
}

.hero-benefit {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hero-benefit strong {
    color: white;
    font-size: 0.95rem;
}

.hero-benefit span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.hero-visual {
    position: relative;
}

.demo-browser {
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(25, 42, 70, 0.95), rgba(8, 14, 28, 0.98));
    border: 1px solid rgba(120, 170, 255, 0.18);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.45), 0 0 60px rgba(31, 124, 255, 0.16);
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
}

.demo-browser-bar {
    height: 54px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.025);
}

.browser-dots {
    display: flex;
    gap: 7px;
}

.browser-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.demo-address {
    margin: 0 auto;
    padding: 7px 24px;
    border-radius: 8px;
    font-size: 0.75rem;
    color: #7f8da5;
    background: rgba(0, 0, 0, 0.22);
}

.demo-page {
    position: relative;
    min-height: 410px;
    padding: 55px 50px;
    background: radial-gradient(circle at 80% 20%, rgba(41, 123, 255, 0.18), transparent 40%);
}

.demo-page-label {
    margin-bottom: 14px;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: #579fff;
}

.demo-page h2 {
    margin: 0;
    max-width: 500px;
    font-size: 2.6rem;
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: white;
}

.demo-page h2 span {
    display: block;
    color: #4f9fff;
}

.demo-page p {
    max-width: 490px;
    margin: 22px 0 26px;
    line-height: 1.6;
    color: #98a6bb;
}

.demo-page-actions {
    display: flex;
    gap: 12px;
}

.demo-primary,
.demo-secondary {
    padding: 11px 16px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
}

.demo-primary {
    color: white;
    background: #247cff;
}

.demo-secondary {
    color: #cbd6e7;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 50px;
}

.demo-features div {
    padding: 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.demo-features strong,
.demo-features span {
    display: block;
}

.demo-features strong {
    margin-bottom: 5px;
    font-size: 0.78rem;
    color: white;
}

.demo-features span {
    font-size: 0.7rem;
    color: #718198;
}

.floating-card {
    position: absolute;
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(20, 34, 58, 0.94), rgba(8, 16, 30, 0.94));
    border: 1px solid rgba(95, 160, 255, 0.18);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(31, 124, 255, 0.12);
    backdrop-filter: blur(14px);
    z-index: 4;
}

.floating-card-left {
    left: -45px;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-card-left span {
    font-size: 0.76rem;
    color: #cfd8e7;
}

.floating-card-top {
    right: 20px;
    top: -30px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.floating-card-top strong {
    font-size: 0.8rem;
    color: white;
}

.floating-card-top span {
    font-size: 0.68rem;
    color: #6faeff;
}

.demo-phone {
    position: absolute;
    width: 185px;
    height: 360px;
    right: -55px;
    bottom: -35px;
    overflow: hidden;
    border-radius: 26px;
    background: linear-gradient(160deg, rgba(18, 31, 53, 0.98), rgba(6, 12, 24, 1));
    border: 1px solid rgba(110, 170, 255, 0.22);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 35px rgba(31, 124, 255, 0.2);
    transform: rotate(4deg) translateZ(0);
    z-index: 3;
}

.demo-phone::before {
    content: "";
    position: absolute;
    width: 70px;
    height: 6px;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
}

.demo-phone-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 26px 14px 12px;
    font-size: 0.65rem;
    color: #7d8ba1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.demo-phone-content {
    padding: 24px 16px;
}

.demo-phone-label {
    margin-bottom: 12px;
    font-size: 0.55rem;
    letter-spacing: 0.12em;
    color: #4f9fff;
}

.demo-phone h3 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.08;
    color: white;
}

.demo-phone h3 span {
    display: block;
    color: #4f9fff;
}

.demo-phone p {
    margin: 16px 0 22px;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #8c9ab0;
}

.demo-phone-button {
    display: inline-block;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #1f7cff, #43a4ff);
    box-shadow: 0 8px 20px rgba(31, 124, 255, 0.25);
}

/* =========================================================
   Services
   ========================================================= */
.services {
    position: relative;
    padding: 120px 0;
}

.services-inner {
    width: min(1400px, 92%);
    margin: 0 auto;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 55px;
}

.section-kicker {
    display: block;
    margin-bottom: 16px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: #4d9dff;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: white;
}

.section-heading h2 span {
    display: block;
    color: #4d9dff;
}

.section-heading p {
    margin-top: 22px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #9aa8bc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 32px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(20, 32, 54, 0.9), rgba(9, 16, 30, 0.96));
    border: 1px solid rgba(120, 170, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(77, 157, 255, 0.35);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.3), 0 0 35px rgba(31, 124, 255, 0.08);
}

.service-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #78b7ff;
    background: rgba(31, 124, 255, 0.09);
    border: 1px solid rgba(77, 157, 255, 0.16);
}

.service-card h3 {
    margin: 0 0 14px;
    font-size: 1.45rem;
    color: white;
}

.service-card p {
    margin: 0 0 24px;
    line-height: 1.65;
    color: #95a4b9;
}

.service-card ul {
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.service-card li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #bdc8d8;
}

.service-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4d9dff;
    box-shadow: 0 0 10px rgba(77, 157, 255, 0.5);
}

.service-card a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: #5ea9ff;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .hero-content {
        max-width: 780px;
    }

    .hero-visual {
        max-width: 760px;
        margin: 0 auto;
    }

    .demo-browser {
        transform: none;
    }

    .demo-phone {
        right: -20px;
        bottom: -45px;
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services {
        padding: 90px 0;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 18px 0;
    }

    .site-header.scrolled {
    padding: 7px 0;
}

.site-header.scrolled .brand-logo {
    width: 160px;
}


    .header-inner {
        width: min(94%, 1200px);
        gap: 18px;
    }

    .main-nav,
    .header-cta {
        display: none;
    }

    .brand-logo {
        width: 180px;
    }

    .hero {
        padding: 60px 0 90px;
    }

    .hero-inner {
        width: 92%;
        gap: 55px;
    }

    .hero-title {
        font-size: clamp(2.8rem, 12vw, 4.4rem);
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        box-sizing: border-box;
    }

    .hero-benefits {
        flex-direction: column;
        gap: 20px;
    }

    .demo-page {
        padding: 38px 28px;
    }

    .demo-page h2 {
        font-size: 2rem;
    }

    .demo-features {
        grid-template-columns: 1fr;
    }

    .floating-card {
        display: none;
    }

    .demo-phone {
        position: relative;
        width: 210px;
        height: 390px;
        right: auto;
        bottom: auto;
        margin: 28px auto 0;
        transform: none;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        width: 160px;
    }

    .site-header.scrolled .brand-logo {
        width: 145px;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-kicker {
        font-size: 0.7rem;
        letter-spacing: 0.08em;
    }

    .demo-browser-bar {
        height: 46px;
        padding: 0 12px;
    }

    .demo-address {
        padding: 6px 12px;
        font-size: 0.65rem;
    }

    .demo-page {
        padding: 30px 20px;
    }

    .demo-page h2 {
        font-size: 1.7rem;
    }

    .demo-page p {
        font-size: 0.9rem;
    }
}

    .care-section {
    padding: 110px 0;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.015),
            rgba(255,255,255,0)
        );
}

.care-inner {
    width: min(1400px, 92%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.2fr 0.8fr;

    gap: 80px;

    align-items: center;
}

.care-content h2 {
    margin: 0 0 22px;

    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;

    color: white;
}

.care-content > p {
    max-width: 680px;

    margin-bottom: 36px;

    font-size: 1.05rem;
    line-height: 1.7;

    color: #9aa8bc;
}

.care-points {
    display: grid;
    gap: 20px;

    margin-bottom: 36px;
}

.care-points div {
    padding-left: 18px;

    border-left: 2px solid #3f95ff;
}

.care-points strong,
.care-points span {
    display: block;
}

.care-points strong {
    margin-bottom: 4px;

    color: white;
}

.care-points span {
    color: #8998ad;
    font-size: 0.9rem;
}

.care-card {
    padding: 36px;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(23, 39, 65, 0.95),
            rgba(8, 15, 29, 0.98)
        );

    border:
        1px solid rgba(95, 160, 255, 0.2);

    box-shadow:
        0 30px 70px rgba(0,0,0,0.32),
        0 0 45px rgba(31,124,255,0.1);
}

.care-card-label {
    display: inline-block;

    margin-bottom: 16px;

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;

    color: #58a7ff;
}

.care-card h3 {
    margin: 0 0 26px;

    font-size: 2rem;

    color: white;
}

.care-card ul {
    margin: 0 0 32px;
    padding: 0;

    list-style: none;
}

.care-card li {
    position: relative;

    margin-bottom: 14px;
    padding-left: 24px;

    color: #bdc8d8;
}

.care-card li::before {
    content: "✓";

    position: absolute;
    left: 0;

    color: #4d9dff;
}

.care-price {
    display: flex;
    align-items: baseline;
    gap: 8px;

    margin-bottom: 10px;
}

.care-price span {
    color: #7f8da3;
}

.care-price strong {
    font-size: 2.5rem;

    color: white;
}

.care-card small {
    color: #66758b;
}

@media (max-width: 900px) {

    .care-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .care-section {
        padding: 90px 0;
    }
}

.projects-section {
    padding: 120px 0;
}

.projects-inner {
    width: min(1400px, 92%);
    margin: 0 auto;
}

.project-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;

    padding: 42px;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(20, 32, 54, 0.95),
            rgba(8, 15, 29, 0.98)
        );

    border: 1px solid rgba(95, 160, 255, 0.16);

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

    overflow: hidden;
}

.project-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-label {
    margin-bottom: 16px;

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;

    color: #5daaff;
}

.project-content h3 {
    margin: 0 0 18px;

    font-size: clamp(2rem, 3.5vw, 3.6rem);
    line-height: 1.05;

    color: white;
}

.project-content p {
    max-width: 650px;

    margin: 0 0 28px;

    line-height: 1.7;

    color: #9ba9bc;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-bottom: 30px;
}

.project-tags span {
    padding: 8px 12px;

    border-radius: 999px;

    font-size: 0.78rem;

    color: #b9d7ff;

    background: rgba(31, 124, 255, 0.08);

    border: 1px solid rgba(77, 157, 255, 0.16);
}

.project-content .btn {
    align-self: flex-start;
}

.project-visual {
    position: relative;

    min-height: 320px;

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

.project-glow {
    position: absolute;

    width: 260px;
    height: 260px;

    border-radius: 50%;

    background: rgba(42, 119, 255, 0.18);

    filter: blur(80px);
}

.project-panel {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 420px;

    padding: 46px 34px;

    border-radius: 20px;

    background:
        linear-gradient(
            150deg,
            rgba(30, 50, 82, 0.94),
            rgba(7, 13, 25, 0.98)
        );

    border: 1px solid rgba(110, 170, 255, 0.2);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 45px rgba(31, 124, 255, 0.12);

    transform:
        perspective(1000px)
        rotateY(-6deg)
        rotateX(2deg);
}

.project-panel-label {
    display: block;

    margin-bottom: 12px;

    font-size: 0.78rem;
    letter-spacing: 0.16em;

    color: #67aeff;
}

.project-panel strong {
    display: block;

    margin-bottom: 12px;

    font-size: 2rem;

    color: white;
}

.project-panel small {
    color: #7f8da3;
}

.projects-note {
    margin-top: 28px;

    text-align: center;

    font-size: 0.9rem;

    color: #69798f;
}

@media (max-width: 900px) {

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

    .projects-section {
        padding: 90px 0;
    }

    .project-panel {
        transform: none;
    }
}

.about-section {
    padding: 120px 0;
}

.about-inner {
    width: min(1400px, 92%);
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: center;
}

.about-text {
    max-width: 720px;
}

.about-text p {
    margin: 0 0 20px;

    font-size: 1.05rem;
    line-height: 1.75;

    color: #9aa8bc;
}

.about-card {
    padding: 42px;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(20, 34, 58, 0.95),
            rgba(8, 15, 29, 0.98)
        );

    border: 1px solid rgba(95, 160, 255, 0.16);

    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.28);
}

.about-card span {
    display: block;

    margin-bottom: 18px;

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;

    color: #58a7ff;
}

.about-card strong {
    display: block;

    margin-bottom: 24px;

    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.1;

    color: white;
}

.about-card small {
    color: #74839a;
}

@media (max-width: 900px) {

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

    .about-section {
        padding: 90px 0;
    }
}

.contact-section {
    padding: 120px 0;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(31, 124, 255, 0.08),
            transparent 35%
        );
}

.contact-inner {
    width: min(1400px, 92%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    gap: 80px;

    align-items: start;
}

.contact-content h2 {
    margin: 0;

    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;

    color: white;
}

.contact-content h2 span {
    display: block;

    color: #4d9dff;
}

.contact-content > p {
    margin: 24px 0 36px;

    max-width: 600px;

    font-size: 1.05rem;
    line-height: 1.7;

    color: #9aa8bc;
}

.contact-details {
    display: grid;
    gap: 20px;
}

.contact-details div {
    padding-left: 18px;

    border-left: 2px solid #3f95ff;
}

.contact-details strong,
.contact-details span {
    display: block;
}

.contact-details strong {
    margin-bottom: 4px;

    color: white;
}

.contact-details span {
    font-size: 0.9rem;

    color: #8998ad;
}

.contact-form {
    padding: 36px;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(20, 34, 58, 0.95),
            rgba(8, 15, 29, 0.98)
        );

    border: 1px solid rgba(95, 160, 255, 0.16);

    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.28);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;

    gap: 8px;

    margin-bottom: 18px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;

    color: #d2dbea;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 14px 15px;

    border-radius: 10px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    background: rgba(255, 255, 255, 0.035);

    color: white;

    font: inherit;

    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748a;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(77, 157, 255, 0.5);

    box-shadow:
        0 0 0 3px rgba(31, 124, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
}

.site-footer {
    padding: 70px 0 24px;

    border-top: 1px solid rgba(255, 255, 255, 0.06);

    background: rgba(3, 8, 18, 0.45);
}

.footer-inner {
    width: min(1400px, 92%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;

    gap: 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;

    gap: 18px;
}

.footer-logo {
    width: 200px;
}

.footer-brand span {
    max-width: 380px;

    color: #79879b;

    font-size: 0.9rem;
}

.footer-links,
.footer-legal {
    display: flex;
    flex-direction: column;

    gap: 12px;
}

.footer-links a,
.footer-legal a {
    text-decoration: none;

    color: #98a6ba;

    font-size: 0.9rem;

    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: #4d9dff;
}

.footer-bottom {
    width: min(1400px, 92%);
    margin: 45px auto 0;

    padding-top: 22px;

    border-top: 1px solid rgba(255, 255, 255, 0.05);

    color: #5f6d82;

    font-size: 0.82rem;
}

@media (max-width: 900px) {

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-section {
        padding: 90px 0;
    }
}

@media (max-width: 600px) {

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 24px;
    }
}

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.03);

    cursor: pointer;
}

/* =========================================================
   Mobile Navigation
   ========================================================= */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.03);

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 20px;
    height: 2px;

    margin: 4px auto;

    background: white;
    border-radius: 2px;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


/* Burger → X */

.menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}


/* Mobiles Menü */

.mobile-nav {
    position: absolute;

    top: 90px;
    left: 4%;
    right: 4%;

    z-index: 20;

    display: flex;
    flex-direction: column;
    gap: 6px;

    padding: 20px;

    border-radius: 16px;

    background: rgba(10, 18, 34, 0.98);

    border: 1px solid rgba(100, 160, 255, 0.15);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.45);

    /* geschlossen */

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-14px) scale(0.98);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
}


/* Gesamtes Menü öffnen */

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0) scale(1);
}


/* einzelne Menüpunkte */

.mobile-nav a {
    padding: 13px 14px;

    border-radius: 8px;

    color: #cbd6e7;
    text-decoration: none;

    font-size: 0.95rem;

    opacity: 0;
    transform: translateY(-8px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        background 0.2s ease,
        color 0.2s ease;
}


/* Links einblenden */

.mobile-nav.active a {
    opacity: 1;
    transform: translateY(0);
}


/* zeitversetzte Animation */

.mobile-nav.active a:nth-child(1) {
    transition-delay: 0.10s;
}

.mobile-nav.active a:nth-child(2) {
    transition-delay: 0.20s;
}

.mobile-nav.active a:nth-child(3) {
    transition-delay: 0.30s;
}

.mobile-nav.active a:nth-child(4) {
    transition-delay: 0.40s;
}

.mobile-nav.active a:nth-child(5) {
    transition-delay: 0.50s;
}


/* Hover */

.mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.04);
    color: white;
}


/* CTA im mobilen Menü */

.mobile-nav-cta {
    margin-top: 8px;

    text-align: center;

    background: linear-gradient(
        135deg,
        #1f7cff,
        #4aa8ff
    );

    color: white !important;
}


/* Burger nur auf Mobile */

@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }
}

.nowrap {
    white-space: nowrap;
}

/* =========================================================
   Scroll Reveal
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(28px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* gestaffelte Karten */

.reveal-delay-1 {
    transition-delay: 0.08s;
}

.reveal-delay-2 {
    transition-delay: 0.16s;
}

.reveal-delay-3 {
    transition-delay: 0.24s;
}

.services,
.care-section,
.projects-section,
.about-section,
.contact-section {
    position: relative;
    overflow: hidden;
}

.services::before,
.projects-section::before,
.contact-section::before {
    content: "";

    position: absolute;
    width: 520px;
    height: 520px;

    border-radius: 50%;

    background: rgba(31, 124, 255, 0.055);
    filter: blur(120px);

    pointer-events: none;
}

.services::before {
    left: -180px;
    top: 15%;
}

.projects-section::before {
    right: -180px;
    top: 10%;
}

.contact-section::before {
    left: -160px;
    bottom: 0;
}

.care-section,
.projects-section,
.about-section,
.contact-section {
    border-top: 1px solid rgba(255, 255, 255, 0.035);
}

.care-card,
.project-card,
.about-card {
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.care-card:hover,
.project-card:hover,
.about-card:hover {
    transform: translateY(-4px);

    border-color: rgba(77, 157, 255, 0.28);

    box-shadow:
        0 32px 75px rgba(0, 0, 0, 0.32),
        0 0 40px rgba(31, 124, 255, 0.07);
}
/* Legal overlays */
html.legal-open { overflow: hidden; }
.legal-dialog {
    width: min(800px, calc(100% - 32px));
    max-height: calc(100dvh - 48px);
    margin: auto;
    padding: 0;
    color: #aeb9cb;
    background: linear-gradient(145deg, #14223a, #080f1d);
    border: 1px solid rgba(95, 160, 255, .24);
    border-radius: 22px;
    box-shadow: 0 32px 100px rgba(0, 0, 0, .6);
    overscroll-behavior: contain;
    scrollbar-color: #405574 #0b1020;
}
.legal-dialog::backdrop {
    background: rgba(3, 8, 18, .82);
    backdrop-filter: blur(8px);
}
.legal-dialog-bar {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    background: #101c30;
    border-bottom: 1px solid rgba(95, 160, 255, .16);
}
.legal-dialog-bar > span { font-size: .7rem; letter-spacing: .1em; color: #5db1ff; }
.legal-close {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(95, 160, 255, .25);
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}
.legal-close:hover { background: rgba(77, 157, 255, .18); }
.legal-dialog-content { padding: 24px 40px 40px; overflow-wrap: anywhere; }
.legal-dialog h1 { margin: 0 0 24px; color: white; font-size: clamp(1.7rem, 5vw, 2.5rem); }
.legal-dialog h2 { margin: 28px 0 10px; color: #d2dbea; font-size: 1.1rem; }
.legal-dialog p { line-height: 1.75; }
.legal-dialog a { color: #75b9ff; text-underline-offset: 3px; }
.legal-dialog :focus-visible { outline: 2px solid #5db1ff; outline-offset: 4px; }
.legal-draft { padding: 14px 18px; border-left: 2px solid #5db1ff; background: rgba(31, 124, 255, .08); font-size: .9rem; }
@media (max-width: 600px) {
    .legal-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 16px; }
    .legal-dialog-bar { padding: 12px 16px; }
    .legal-dialog-content { padding: 22px 20px 30px; }
}

/* Footer: navigation, contact and company details */
.footer-heading {
    margin: 0 0 8px;
    color: #d2dbea;
    font-size: .9rem;
    font-weight: 600;
}
.footer-brand span { line-height: 1.65; }
.footer-brand .footer-location { color: #aeb9cb; }
.footer-contact {
    align-self: flex-start;
    color: #5db1ff;
    font-size: .95rem;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.footer-contact:hover { text-decoration: underline; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 30px;
    color: #98a6ba;
    line-height: 1.6;
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #5db1ff; }
.site-footer a:focus-visible {
    outline: 2px solid #5db1ff;
    outline-offset: 5px;
    border-radius: 3px;
}
#care { scroll-margin-top: 110px; }
@media (min-width: 601px) and (max-width: 900px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

.legal-dialog { scroll-behavior: auto; }

/* Contact form: feedback and accessible validation */
.form-intro { margin: 0 0 24px; color: #d2dbea; line-height: 1.6; }
.form-intro span { display: block; color: #aeb9cb; font-size: .8rem; margin-top: 4px; }
.form-group label span { color: #aeb9cb; font-weight: 400; }
.field-error { color: #ffb4ae; font-size: .85rem; line-height: 1.5; }
.field-error:empty { display: none; }
.form-group [aria-invalid="true"] { border-color: #ffb4ae; }
.form-group select { color-scheme: dark; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-privacy { margin: 4px 0 22px; color: #aeb9cb; font-size: .85rem; line-height: 1.7; }
.form-privacy a { color: #75b9ff; text-underline-offset: 3px; }
.form-status { margin: 0 0 20px; padding: 14px 16px; border-radius: 10px; background: rgba(77,157,255,.08); color: #cbd6e7; line-height: 1.6; }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: #ffcbc6; border: 1px solid rgba(255,180,174,.3); }
.form-status[data-state="success"] { color: #a1eac8; border: 1px solid rgba(109,219,166,.3); }
.contact-form button:disabled { opacity: .65; cursor: wait; }
.contact-form :focus-visible { outline: 2px solid #75b9ff; outline-offset: 3px; }
