/* ============================================
   GP-Network – Design nach Vorbild Modern Workplace
   Eigenes Erscheinungsbild: Dunkel + Teal, klar & professionell
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

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

:root {
    --primary: #050912;
    --primary-light: #0a1320;
    --surface: #0f1e33;
    --surface-hover: #152a45;
    --border: rgba(255,255,255,0.10);
    --text: #e6edf3;
    --text-muted: #8b949e;
    --accent: #1F7F86;
    --accent-light: #2da8b0;
    --accent-glow: rgba(31, 127, 134, 0.35);
    --white: #ffffff;
    --container: 1200px;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0,0,0,0.25);
    --transition: 0.25s ease;
}

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--primary);
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== Header (wie Modern Workplace) ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(5, 9, 18, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
}

.site-header.hidden {
    transform: translateY(-100%);
}

.site-header .header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-header .logo {
    display: flex;
    align-items: center;
}

.site-header .logo img {
    height: 40px;
    width: auto;
}

.site-header .nav-main {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.site-header .nav-main a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.site-header .nav-main a:hover,
.site-header .nav-main a.active {
    color: var(--text);
}

.site-header .nav-main a.active {
    color: var(--accent);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.25rem;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: background var(--transition), transform var(--transition);
}

.header-cta:hover {
    background: var(--accent-light);
    color: var(--white);
    transform: translateY(-1px);
}

.header-cta-support {
    margin-left: 0.75rem;
    background: transparent;
    color: var(--accent-light);
    border: 1px solid rgba(99, 179, 189, 0.7);
    padding: 0.55rem 1.2rem;
}

.header-cta-support:hover {
    background: rgba(31, 127, 134, 0.18);
    color: var(--white);
}

/* Hamburger (mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
}

/* ========== Hero (wie Modern Workplace: großer Claim + Subline) ========== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 20%, rgba(31, 127, 134, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(31, 127, 134, 0.06) 0%, transparent 50%),
        var(--primary);
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: background var(--transition), transform var(--transition);
}

.hero .cta-button:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

/* Feature-Karten unter dem Hero (Bausteine) */
.hero-features {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
    max-width: var(--container);
    margin: 3rem auto 0;
}

.hero-feature-card {
    background: radial-gradient(circle at top, rgba(31,127,134,0.16), transparent 55%) var(--primary-light);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 14px;
    padding: 1rem 0.7rem;
    text-align: center;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition), background var(--transition);
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-feature-card:hover {
    border-color: rgba(31, 127, 134, 0.9);
    box-shadow: 0 10px 26px var(--accent-glow);
    transform: translateY(-3px);
    background: radial-gradient(circle at top, rgba(31,127,134,0.28), transparent 60%) var(--primary-light);
}

.hero-feature-card .icon {
    font-size: 1.6rem;
    margin-bottom: 0.45rem;
}

.hero-feature-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.hero-feature-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 0.25rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    color: var(--accent);
    background: rgba(31, 127, 134, 0.08);
    border: 1px solid rgba(31, 127, 134, 0.5);
    transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.hero-feature-link:hover {
    background: rgba(31, 127, 134, 0.18);
    color: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 0 12px var(--accent-glow);
}

/* Scroll-Indikator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(-8px); }
}

/* ========== Sektionen (einheitlicher Stil) ========== */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    text-align: center;
    color: var(--text);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

/* ========== Über uns / Motivation ========== */
.about {
    background: var(--primary-light);
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
    border: 1px solid var(--border);
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.about-text p:first-child {
    color: var(--text);
    font-size: 1.15rem;
}

.about-text strong {
    color: var(--accent);
}

/* ========== Leistungen (Service-Grid) ========== */
.services {
    background: var(--primary);
}

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

.service-item {
    background: var(--primary-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.4rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.service-item:hover {
    border-color: rgba(31, 127, 134, 0.35);
    box-shadow: var(--shadow);
}

.service-item .service-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-item h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.service-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-details .hero-feature-link {
    align-self: flex-start;
}

/* Laufband-Partnerbanner auf der Startseite */
.partner-ticker {
    background: transparent;
    border-top: none;
    border-bottom: none;
    margin-top: 2.5rem;
}

.partner-ticker-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    overflow: visible;
    padding: 0.75rem 1.25rem;
    background: var(--primary);
    border-radius: 999px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-ticker-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.partner-ticker-track {
    position: relative;
    overflow: hidden;
    flex: 1;
}

.partner-ticker-track::before,
.partner-ticker-track::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    pointer-events: none;
    z-index: 1;
}

.partner-ticker-track::before {
    left: 0;
    background: linear-gradient(to right, var(--primary), transparent);
}

.partner-ticker-track::after {
    right: 0;
    background: linear-gradient(to left, var(--primary), transparent);
}

.partner-ticker-row {
    display: inline-flex;
    align-items: center;
    gap: 2.5rem;
    white-space: nowrap;
    animation: tickerMove 35s linear infinite;
}

.partner-ticker-row span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    opacity: 0.9;
}

@keyframes tickerMove {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ========== Projekte ========== */
.projects {
    background: var(--primary-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.project-card:hover {
    border-color: rgba(31, 127, 134, 0.4);
    box-shadow: var(--shadow);
}

.project-image {
    height: 180px;
    background: linear-gradient(135deg, rgba(31, 127, 134, 0.15), rgba(31, 127, 134, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder {
    font-size: 3rem;
    opacity: 0.7;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.project-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.project-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
}

/* ========== Kontakt ========== */
.contact {
    background: var(--primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    background: linear-gradient(135deg, rgba(31, 127, 134, 0.16), rgba(31, 127, 134, 0.04));
    border: 1px solid rgba(31, 127, 134, 0.6);
    border-radius: 999px;
    color: var(--text);
    text-decoration: none;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition), transform var(--transition);
    cursor: pointer;
}

.contact-item:hover {
    border-color: rgba(31, 127, 134, 0.95);
    box-shadow: 0 10px 26px var(--accent-glow);
    background: linear-gradient(135deg, rgba(31, 127, 134, 0.26), rgba(31, 127, 134, 0.08));
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
}

.contact-details h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.contact-details a,
.contact-details p {
    color: var(--text);
    text-decoration: none;
    font-size: 1rem;
}

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

/* ========== Partner ========== */
.partners {
    background: var(--primary-light);
    padding: 3rem 0;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.partner-item {
    padding: 1rem 2rem;
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.partner-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ========== Footer (wie MW: Kontakt + Links) ========== */
.site-footer {
    background: var(--primary-light);
    border-top: 1px solid var(--border);
    padding: 3rem 0 2rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.footer-brand {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

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

.footer-contact a {
    color: var(--text);
    text-decoration: none;
}

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

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
}

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

.footer-bottom {
    max-width: var(--container);
    margin: 0 auto;
    padding: 1.5rem 24px 0;
    border-top: 1px solid var(--border);
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
}

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

.back-to-top {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.back-to-top:hover {
    color: var(--accent);
}

/* ========== Unterseiten (Links, Impressum, Datenschutz) ========== */
.page-hero {
    padding: 120px 24px 3rem;
    background:
        radial-gradient(1000px circle at 18% 0%, rgba(31, 127, 134, 0.18), transparent 55%),
        linear-gradient(180deg, rgba(10, 19, 32, 0.95), rgba(10, 19, 32, 0.65));
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text);
    text-align: center;
}

.page-content {
    padding: 3rem 0 4rem;
}

.back-home-wrapper {
    margin-bottom: 1.5rem;
}

/* Detailseiten IT-Baumaßnahmen / ähnliche Inhalte */
.build-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.build-card-top {
    grid-column: span 2;
}

.build-card-bottom {
    grid-column: span 3;
}

.build-card-bottom-full {
    grid-column: 1 / -1;
}
.build-card-bottom-narrow {
    grid-column: span 2;
}

.build-card-bottom-wide {
    grid-column: span 4;
}

.build-section h3 {
    margin-bottom: 0.75rem;
}

.build-two-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
}

.check-list {
    margin-left: 1.3rem;
    margin-bottom: 0.75rem;
}

.check-list li {
    position: relative;
    list-style: none;
    padding-left: 1.2rem;
    margin-bottom: 0.3rem;
}

.check-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-light);
}

.build-highlight {
    border-color: rgba(31, 127, 134, 0.72);
    background: linear-gradient(180deg, rgba(31, 127, 134, 0.12), rgba(31, 127, 134, 0.03));
    box-shadow: 0 6px 24px var(--accent-glow), 0 0 0 1px rgba(31, 127, 134, 0.12);
}

.build-cta {
    background:
        radial-gradient(800px circle at 20% 0%, rgba(31, 127, 134, 0.28), transparent 55%),
        linear-gradient(135deg, rgba(31, 127, 134, 0.22), rgba(31, 127, 134, 0.05));
    border-color: rgba(31, 127, 134, 0.6);
}

.build-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.cta-button.small,
.cta-button-outline.small {
    font-size: 0.9rem;
    padding: 0.55rem 1.2rem;
}

.cta-button-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.cta-button-outline:hover {
    background: rgba(31, 127, 134, 0.22);
    color: var(--white);
    border-color: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 0 18px var(--accent-glow);
}

/* Links-Seite */
.links-section {
    margin-bottom: 2.5rem;
}

.links-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--primary-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: border-color var(--transition);
}

.link-item:hover {
    border-color: var(--accent);
}

.link-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.link-content h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.link-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Impressum / Datenschutz */
.impressum-item,
.datenschutz-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background:
        radial-gradient(800px circle at 18% 0%, rgba(31, 127, 134, 0.14), transparent 55%),
        linear-gradient(180deg, rgba(10, 19, 32, 0.88), rgba(10, 19, 32, 0.62));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 60px rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
}

.impressum-item:hover,
.datenschutz-section:hover {
    border-color: rgba(31, 127, 134, 0.65);
    box-shadow: 0 26px 90px rgba(0,0,0,0.45), 0 0 0 1px rgba(31, 127, 134, 0.20);
}

.impressum-item h3,
.datenschutz-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
}

.impressum-item p,
.datenschutz-subsection p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.datenschutz-subsection {
    margin-bottom: 1.5rem;
}

.datenschutz-subsection h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.datenschutz-subsection ul {
    margin-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.impressum-item a,
.datenschutz-subsection a {
    color: var(--accent);
    text-decoration: none;
}

.impressum-item a:hover,
.datenschutz-subsection a:hover {
    text-decoration: underline;
}

/* ========== Cookie-Banner ========== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-light);
    border-top: 1px solid var(--border);
    padding: 1.25rem 24px;
    z-index: 3000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-text h3 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.cookie-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cookie-accept {
    padding: 0.5rem 1.25rem;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: inherit;
}

.cookie-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
}

.cookie-link:hover {
    text-decoration: underline;
}

/* ========== Lösungen-Modal (behalten für "Passgenaue") ========== */
.solutions-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.solutions-overlay.active {
    opacity: 1;
    visibility: visible;
}

.solutions-modal {
    background: var(--primary-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    position: relative;
}

.close-solutions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 8px;
}

.close-solutions:hover {
    color: var(--text);
    background: var(--surface-hover);
}

.solutions-modal h2 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.solutions-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.solution-item {
    padding: 0.75rem;
    background: var(--primary);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.solution-content h3 {
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.solution-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========== Projekt-Modal ========== */
.project-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.project-modal.active {
    display: flex;
}

.project-modal-content {
    background: var(--primary-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.project-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--surface-hover);
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 8px;
}

.project-modal-body {
    padding: 2.5rem;
}

.project-modal-body h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.project-modal-body h3 {
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.project-modal-body p,
.project-modal-body li {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

/* ========== Links-Button (Startseite) ========== */
.links-button {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.6rem 1.25rem;
    background: var(--primary-light);
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 8px;
    z-index: 999;
    transition: border-color var(--transition), background var(--transition);
}

.links-button:hover {
    border-color: var(--accent);
    background: rgba(31, 127, 134, 0.1);
}

.links-button.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ========== Legacy-Klassen (für script.js / bestehende IDs) ========== */
.navbar { display: none; }
.network-topology-global,
.network-topology { display: none; }

/* Sichtbarkeit Nav für Scroll (optional: Script setzt .visible auf .site-header) */
.site-header.visible { opacity: 1; transform: translateY(0); }

/* ========== Responsive ========== */
@media (max-width: 900px) {
    .hero-features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.75rem;
    }

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

    .about-inner {
        grid-template-columns: 1fr;
    }

    .build-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .hero-features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.6rem;
    }

    .hero-feature-card {
        padding: 0.6rem 0.4rem;
    }

    .hero-feature-card .icon {
        font-size: 1.4rem;
        margin-bottom: 0.35rem;
    }

    .hero-feature-card h3 {
        font-size: 0.8rem;
        margin-bottom: 0.35rem;
    }

    .hero-feature-link {
        padding: 0.2rem 0.55rem;
        font-size: 0.75rem;
    }

    .site-header .nav-main {
        display: none;
    }

    .site-header .nav-main.open {
        display: flex;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: auto;
        flex-direction: column;
        padding: 1.5rem;
        background: var(--primary-light);
        border-bottom: 1px solid var(--border);
    }

    .hamburger {
        display: flex;
    }

    .header-cta {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .section {
        padding: 3rem 0;
    }

    .solutions-list {
        grid-template-columns: 1fr;
    }

    .build-two-columns {
        grid-template-columns: 1fr;
    }

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

    .partner-ticker-inner {
        flex-direction: column;
        align-items: center;
        gap: 0.4rem;
        max-width: 420px;
        width: 100%;
        padding: 0.5rem 0.8rem;
        border-radius: 999px;
        margin: 0 auto;
        box-shadow: 0 6px 18px rgba(0,0,0,0.25);
        overflow: hidden;
        text-align: center;
    }

    .partner-ticker-title {
        font-size: 0.8rem;
    }

    /* Mobile: weiches Ausblenden über das ganze Element */
    .partner-ticker-inner::before,
    .partner-ticker-inner::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 40px;
        pointer-events: none;
        z-index: 1;
    }

    .partner-ticker-inner::before {
        left: 0;
        background: linear-gradient(to right, rgba(13, 17, 23, 0.95), rgba(13, 17, 23, 0));
    }

    .partner-ticker-inner::after {
        right: 0;
        background: linear-gradient(to left, rgba(13, 17, 23, 0.95), rgba(13, 17, 23, 0));
    }
}
