/* ================================
   CTPOLIS – GLOBAL STYLES (Block 1/3)
   ================================ */

:root {
    --color-bg: #050915;
    --color-bg-alt: #0b1020;
    --color-primary: #0093ff;
    --color-primary-light: #35d5ff;
    --color-accent: #37e3ff;
    --color-text: #f9fafb;
    --color-muted: #9ca3af;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
    --radius-xl: 18px;
    --radius-pill: 999px;
    --transition-fast: 0.2s ease-out;
    --max-width: 1120px;
    --nav-height: 72px;
}

/* Reset / Basics */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #1a2a4a 0, #050915 45%, #020309 100%);
    color: var(--color-text);
    line-height: 1.6;
}

/* Layout Container */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ================================
   HEADER & NAVIGATION
   ================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5, 9, 21, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    gap: 1.2rem;
}

/* Brand-Bereich links */

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-logo {
    height: 45px;          /* Header-Logo kompakt */
    width: auto;
    border-radius: 999px;  /* rund, weiche Kanten */
    object-fit: cover;
    box-shadow: var(--shadow-soft);
    background: #020617;
}

.nav-title {
    display: flex;
    flex-direction: column;
}

.nav-title-main {
    font-weight: 700;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
}

.nav-title-sub {
    font-size: 0.7rem;
    color: var(--color-muted);
}

/* Navigation rechts */

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    font-size: 0.95rem;
}

.nav-links a {
    color: var(--color-muted);
    text-decoration: none;
    position: relative;
    padding-bottom: 0.1rem;
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary));
    transition: width var(--transition-fast);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: #e5e7eb;
}

.nav-links a[aria-current="page"]::after,
.nav-links a:hover::after {
    width: 100%;
}

/* Call-to-Action im Header */

.nav-cta {
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    color: #0b1120;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.5);
    border: none;
    white-space: nowrap;
}

/* ================================
   HERO-BEREICH STARTSEITE
   ================================ */

.hero {
    padding: 4.5rem 0 3.5rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
    gap: 3rem;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.3rem, 3vw, 2.9rem);
    margin: 0 0 0.75rem;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    -webkit-background-clip: text;
    color: transparent;
}

.hero-lead {
    color: var(--color-muted);
    max-width: 34rem;
    margin-bottom: 1.8rem;
}

/* Buttons im Hero */

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1.8rem;
}

.btn-primary {
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-pill);
    border: none;
    background: linear-gradient(130deg, var(--color-primary-light), var(--color-primary));
    color: #020617;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.55);
    font-size: 0.95rem;
}

.btn-secondary {
    padding: 0.8rem 1.3rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.7);
    color: var(--color-text);
    font-size: 0.9rem;
    text-decoration: none;
}

/* Meta-Infos unter dem Hero-Text */

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.3rem;
    font-size: 0.75rem;
    color: var(--color-muted);
}

.hero-meta span strong {
    color: #e5e7eb;
}

/* Hero-Logo rechts */

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    height: 150px;        /* dein Wunschmaß im Hero */
    width: auto;
    max-width: 100%;
    border-radius: 999px; /* bleibt schön rund */
    object-fit: cover;
    box-shadow: var(--shadow-soft);
    background: #020617;
}
/* ================================
   CTPOLIS – GLOBAL STYLES (Block 2/3)
   ================================ */

/* ================================
   SECTIONS & BACKGROUNDS
   ================================ */

.section {
    padding: 3.5rem 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.08), transparent);
}

.section-alt {
    padding: 3.5rem 0;
    background: radial-gradient(
        circle at top,
        rgba(37, 99, 235, 0.18) 0,
        rgba(15, 23, 42, 0.75) 32%,
        #020617 100%
    );
}

.section-header {
    margin-bottom: 2.2rem;
}

.section-kicker {
    font-size: 0.8rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 0.4rem;
}

.section-title {
    font-size: 1.7rem;
    margin: 0 0 0.4rem;
}

.section-intro {
    max-width: 36rem;
    color: var(--color-muted);
    font-size: 0.95rem;
}

/* ================================
   GRIDS & LAYOUTS
   ================================ */

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

/* ================================
   CARDS
   ================================ */

.card {
    background: radial-gradient(
        circle at top left,
        rgba(148, 163, 184, 0.18),
        rgba(15, 23, 42, 0.88)
    );
    border-radius: var(--radius-xl);
    padding: 1.4rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.55rem;
    font-size: 1.1rem;
}

.card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.93rem;
}

/* ================================
   LISTEN
   ================================ */

.bullet-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}

.bullet-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.45rem;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.bullet-list li::before {
    content: "";
    position: absolute;
    left: 0.35rem;
    top: 0.42rem;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
}

/* ================================
   KONTAKT-SEITE
   ================================ */

.contact-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: 2rem;
}

.contact-box {
    background: radial-gradient(
        circle at top left,
        rgba(59, 130, 246, 0.35),
        rgba(15, 23, 42, 0.95)
    );
    border-radius: var(--radius-xl);
    padding: 1.6rem 1.7rem 1.7rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(59, 130, 246, 0.5);
    font-size: 0.96rem;
}

.contact-box h3 {
    margin-top: 0;
}

.contact-info p {
    margin: 0.1rem 0;
}

.contact-note {
    font-size: 0.8rem;
    color: var(--color-muted);
    margin-top: 0.8rem;
}

/* ================================
   IMPRESSUM
   ================================ */

.impressum {
    font-size: 0.92rem;
    color: var(--color-muted);
}

.impressum h2 {
    font-size: 1.05rem;
    margin-top: 1.8rem;
    margin-bottom: 0.4rem;
    color: var(--color-text);
}

/* ================================
   FOOTER
   ================================ */

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    padding: 1.3rem 0 1.6rem;
    font-size: 0.8rem;
    color: var(--color-muted);
    background: rgba(3, 6, 18, 0.98);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: var(--color-muted);
    text-decoration: none;
}
/* ================================
   CTPOLIS – GLOBAL STYLES (Block 3/3)
   ================================ */

/* ================================
   UTILITIES
   ================================ */

.text-muted {
    color: var(--color-muted);
}

a {
    color: var(--color-accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ================================
   RESPONSIVE – AB 880px
   ================================ */

@media (max-width: 880px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-visual {
        margin-top: 2rem;
    }

    .grid-2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ================================
   RESPONSIVE – AB 720px
   ================================ */

@media (max-width: 720px) {
    .navbar {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links {
        display: none; /* Mobile: Navigation ausgeblendet */
    }

    .nav-cta {
        margin-top: 0.8rem;
    }

    .hero {
        padding: 3rem 0 2rem;
    }

    .hero-logo {
        height: 120px; /* Etwas kleiner auf mobilen Displays */
    }

    .section {
        padding: 2.5rem 0;
    }
}

/* ================================
   RESPONSIVE – AB 480px
   ================================ */

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.9rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
