/* ==========================================================================
   BURKTECH GMBH - GLASFASER & NETZWERKAUSBAU SCHWEIZ
   Hauptstylesheet - Mit Overlay Navigation & Dropdown
   ========================================================================== */

/* CSS Variables */
:root {
    --color-bg-dark: #020617;
    --color-bg-section: #0f172a;
    --color-primary: #38bdf8;
    --color-primary-light: #22d3ee;
    --color-primary-dark: #0ea5e9;
    --color-text: #e5f0ff;
    --color-text-muted: rgba(148, 163, 184, 0.95);
    --color-text-light: rgba(226, 232, 240, 0.9);
    --color-border: rgba(148, 163, 184, 0.35);
    --color-border-accent: rgba(56, 189, 248, 0.45);
    --color-success: #22c55e;
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --shadow-glow: 0 0 20px rgba(56, 189, 248, 0.4);
    --shadow-glow-strong: 0 0 30px rgba(56, 189, 248, 0.6);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-text);
    line-height: 1.6;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   OVERLAY NAVIGATION (im Hero integriert)
   ========================================================================== */

.hero-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 10;
}

.brand-logo {
    max-height: 52px;
    width: auto;
    display: block;
    transition: transform var(--transition-normal);
}

.brand-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-link {
    position: relative;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    transition: all var(--transition-fast);
    backdrop-filter: blur(4px);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

.nav-link:hover {
    color: var(--color-primary);
    background: rgba(56, 189, 248, 0.15);
}

.nav-link.active {
    color: var(--color-primary);
}

.nav-cta {
    margin-left: 0.5rem;
    padding: 0.6rem 1.4rem;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-dark));
    color: var(--color-bg-dark);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 999px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-glow);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-strong);
}

/* ==========================================================================
   DROPDOWN NAVIGATION (Desktop)
   ========================================================================== */

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    line-height: 1;
}

.nav-dropdown-toggle .chevron-icon {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.nav-dropdown-toggle[aria-expanded="true"] .chevron-icon {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: rgba(15, 23, 42, 0.97);
    border: 1px solid var(--color-border-accent);
    border-radius: 12px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-8px);
    transition: all var(--transition-normal);
    z-index: 100;
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.1);
}

.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(15, 23, 42, 0.97);
    border-left: 1px solid var(--color-border-accent);
    border-top: 1px solid var(--color-border-accent);
}

/* Show dropdown on hover (Desktop only) */
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.nav-dropdown-link:hover {
    color: var(--color-primary);
    background: rgba(56, 189, 248, 0.12);
}

.nav-dropdown-link.active {
    color: var(--color-primary);
    background: rgba(56, 189, 248, 0.08);
}

.nav-dropdown-link .dropdown-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.nav-dropdown-link .dropdown-label {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.nav-dropdown-link .dropdown-label small {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 8px;
    cursor: pointer;
    padding: 0.6rem;
    z-index: 1001;
    backdrop-filter: blur(10px);
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    color: #f9fbff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("../images/burktech-gmbh-glasfaserinstallationen-ftth.jpg");
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    filter: saturate(1.1) contrast(1.05) brightness(0.98);
    z-index: 0;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% -10%, rgba(0, 175, 255, 0.25), transparent 55%),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.68));
    z-index: 1;
}

.fiber-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: screen;
    transition: transform 0.15s ease-out;
}

.fiber-line {
    position: absolute;
    left: -50%;
    width: 200%;
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0),
        rgba(56, 189, 248, 0.0),
        rgba(125, 211, 252, 0.9),
        rgba(56, 189, 248, 0.0),
        rgba(0, 0, 0, 0)
    );
    box-shadow:
        0 0 15px rgba(56, 189, 248, 0.9),
        0 0 30px rgba(56, 189, 248, 0.9);
    opacity: 0.65;
    filter: blur(0.3px);
    transform-origin: left center;
    animation-name: moveLine;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform;
}

@keyframes moveLine {
    0% { transform: translate3d(-20%, 0, 0) rotate(var(--angle, -24deg)); }
    100% { transform: translate3d(40%, 0, 0) rotate(var(--angle, -24deg)); }
}

.hero-inner {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 3.5rem);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
}

.hero-badge {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    backdrop-filter: blur(10px);
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--color-success);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.hero-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 680px;
    gap: 1.5rem;
    padding-top: clamp(2.5rem, 8vw, 4rem);
    padding-bottom: clamp(3rem, 8vw, 4.5rem);
}

.eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-text-muted);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    line-height: 1.08;
    font-weight: 700;
}

.hero-title span {
    background: linear-gradient(120deg, var(--color-primary-light), var(--color-primary), var(--color-primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 25px rgba(56, 189, 248, 0.55);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.15vw, 1.1rem);
    line-height: 1.6;
    color: var(--color-text-light);
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 0.5rem;
}

.hero-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-dark));
    color: #0b1020;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.9), 0 0 40px rgba(37, 99, 235, 0.7);
    cursor: pointer;
    border: none;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.hero-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.4), transparent);
    opacity: 0;
    transform: translateX(-40%);
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.hero-cta:hover::before {
    opacity: 1;
    transform: translateX(40%);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 26px rgba(56, 189, 248, 1), 0 0 55px rgba(37, 99, 235, 0.9);
}

.hero-cta span.icon { font-size: 1.1rem; }

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

.hero-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.hero-footer-pill {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(14px);
}

.hero-footer-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-footer-metrics span { opacity: 0.95; }

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

.subpage-hero {
    position: relative;
    width: 100%;
    min-height: 50vh;
    overflow: hidden;
    color: #f9fbff;
}

.subpage-hero .hero-bg { filter: saturate(0.8) brightness(0.4); }
.subpage-hero .hero-inner { min-height: 50vh; }
.subpage-hero .hero-main { padding-top: 2rem; padding-bottom: 2rem; }

/* ==========================================================================
   PAGE SECTIONS
   ========================================================================== */

.page-section {
    padding: clamp(3rem, 7vw, 4.5rem) clamp(1.5rem, 5vw, 3.5rem);
    border-top: 1px solid rgba(30, 64, 175, 0.35);
    background: radial-gradient(circle at top left, rgba(15, 118, 255, 0.12), transparent 55%),
                radial-gradient(circle at bottom right, rgba(8, 47, 73, 0.7), var(--color-bg-dark));
}

.page-section:nth-of-type(even) {
    background: radial-gradient(circle at top right, rgba(45, 212, 191, 0.12), transparent 55%),
                radial-gradient(circle at bottom left, rgba(15, 23, 42, 0.85), var(--color-bg-dark));
}

.section-inner { max-width: 1100px; margin: 0 auto; }

.section-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    margin-bottom: 0.35rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    margin-bottom: 0.75rem;
}

.section-title span { color: var(--color-primary); }

.section-subtitle {
    max-width: 640px;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

/* Cards Grid */
.section-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.card {
    border-radius: 1.25rem;
    padding: 1.5rem 1.4rem;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--color-border);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.7);
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-accent);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.8), 0 0 30px rgba(56, 189, 248, 0.15);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.card-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: radial-gradient(circle at 30% 0, var(--color-primary-light), var(--color-primary-dark) 60%, var(--color-bg-dark) 100%);
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.7);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 600;
}

.card-text {
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(203, 213, 225, 0.95);
}

/* ==========================================================================
   SERVICES OVERVIEW (Startseite)
   ========================================================================== */

.services-overview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-overview-card {
    position: relative;
    border-radius: 1.5rem;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--color-border);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.7);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.service-overview-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary-dark));
    border-radius: 1.5rem 1.5rem 0 0;
}

.service-overview-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-accent);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.8), 0 0 30px rgba(56, 189, 248, 0.15);
}

.service-overview-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: radial-gradient(circle at 30% 0, var(--color-primary-light), var(--color-primary-dark) 60%, var(--color-bg-dark) 100%);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
    margin-bottom: 1.2rem;
}

.service-overview-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-overview-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(203, 213, 225, 0.95);
    margin-bottom: 1.2rem;
}

.service-overview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.service-overview-tags span {
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.4);
    background: rgba(56, 189, 248, 0.08);
    font-size: 0.78rem;
    color: var(--color-primary-light);
}

.service-overview-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: all var(--transition-fast);
}

.service-overview-link:hover {
    gap: 0.75rem;
    color: var(--color-primary-light);
}

/* Region Section */
.region-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.region-highlight {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.region-pill {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.6);
    background: rgba(15, 23, 42, 0.85);
    font-size: 0.85rem;
    transition: all var(--transition-normal);
}

.region-pill:hover {
    background: rgba(56, 189, 248, 0.2);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.region-list {
    border-radius: 1.25rem;
    padding: 1.4rem 1.5rem;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.region-list h3 {
    font-family: var(--font-display);
    font-size: 0.98rem;
    margin-bottom: 0.6rem;
}

.region-list ul {
    list-style: none;
    font-size: 0.9rem;
    color: rgba(203, 213, 225, 0.95);
}

.region-list li + li { margin-top: 0.25rem; }

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    counter-reset: step;
}

.process-step {
    position: relative;
    padding: 1.6rem 1.5rem 1.5rem;
    border-radius: 1.3rem;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--color-border-accent);
    transition: all var(--transition-normal);
}

.process-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.6), 0 0 25px rgba(56, 189, 248, 0.2);
}

.process-step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: -0.9rem; left: 1.4rem;
    width: 1.8rem; height: 1.8rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    background: linear-gradient(145deg, var(--color-primary-light), var(--color-primary-dark));
    color: var(--color-bg-dark);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.8);
}

.process-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.process-text {
    font-size: 0.92rem;
    color: rgba(203, 213, 225, 0.95);
    line-height: 1.6;
}

/* Contact Section */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
    gap: 2.4rem;
    align-items: center;
}

.contact-highlight {
    border-radius: 1.3rem;
    padding: 1.6rem 1.6rem 1.5rem;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.7);
    font-size: 0.94rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.contact-highlight strong { color: var(--color-text); }
.contact-cta { margin-top: 1.4rem; }

.contact-details {
    font-size: 0.95rem;
    color: rgba(203, 213, 225, 0.95);
}

.contact-details p + p { margin-top: 0.6rem; }

.contact-details a {
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

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

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

.site-footer {
    border-top: 1px solid rgba(30, 64, 175, 0.5);
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.88), var(--color-bg-dark));
    padding: 1.9rem 1.5rem 2.3rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.site-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
}

.site-footer-links a {
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

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

/* ==========================================================================
   GLASFASER PAGE HERO
   ========================================================================== */

.glasfaser-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.glasfaser-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5%;
}

.glasfaser-hero-bg img {
    width: 80%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    opacity: 0.5;
    filter: brightness(1.2) contrast(1.1) drop-shadow(0 0 30px rgba(56, 189, 248, 0.3));
    animation: floatMap 6s ease-in-out infinite;
}

@keyframes floatMap {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.02); }
}

.glasfaser-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(56, 189, 248, 0.12), transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(34, 211, 238, 0.08), transparent 50%),
        linear-gradient(to bottom, rgba(2, 6, 23, 0.6), rgba(2, 6, 23, 0.85) 80%, rgba(2, 6, 23, 1));
    z-index: 1;
}

.fiber-network-dots {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.fiber-dot {
    position: absolute;
    width: 12px; height: 12px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--color-primary), 0 0 30px var(--color-primary), 0 0 45px rgba(56, 189, 248, 0.4);
    animation: fiberPulse 2s ease-in-out infinite;
}

.fiber-dot::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 30px; height: 30px;
    border: 2px solid rgba(56, 189, 248, 0.5);
    border-radius: 50%;
    animation: fiberRipple 2s ease-out infinite;
}

.fiber-dot::after {
    content: attr(data-city);
    position: absolute;
    top: -25px; left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-primary-light);
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

@keyframes fiberPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.4); }
}

@keyframes fiberRipple {
    0% { width: 30px; height: 30px; opacity: 0.6; }
    100% { width: 70px; height: 70px; opacity: 0; }
}

.glasfaser-hero-nav {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 5vw, 3.5rem);
}

.glasfaser-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.glasfaser-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 40px rgba(56, 189, 248, 0.3);
}

.glasfaser-hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==========================================================================
   NETZWERKAUSBAU PAGE HERO
   ========================================================================== */

.netzwerk-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--color-bg-dark);
}

.netzwerk-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 60% 30%, rgba(56, 189, 248, 0.15), transparent 50%),
        radial-gradient(circle at 20% 70%, rgba(34, 211, 238, 0.1), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.08), transparent 50%);
    z-index: 1;
}

.netzwerk-hero-nav {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 5vw, 3.5rem);
}

.netzwerk-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.netzwerk-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 40px rgba(56, 189, 248, 0.3);
}

.netzwerk-hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.network-grid-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.network-node {
    position: absolute;
    width: 6px; height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.3;
    box-shadow: 0 0 10px var(--color-primary);
    animation: nodeGlow 3s ease-in-out infinite;
}

@keyframes nodeGlow {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.5); }
}

/* ==========================================================================
   ÜBER UNS HERO
   ========================================================================== */

.about-hero {
    position: relative;
    min-height: 60vh;
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.5) saturate(0.9);
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(56, 189, 248, 0.2), transparent 50%),
        linear-gradient(to bottom, rgba(2, 6, 23, 0.4), rgba(2, 6, 23, 0.8));
    z-index: 1;
}

.about-hero-nav {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 5vw, 3.5rem);
}

.about-hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem clamp(1.5rem, 5vw, 3.5rem);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ==========================================================================
   TEAM
   ========================================================================== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-card {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--color-border);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-accent);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.6), 0 0 30px rgba(56, 189, 248, 0.1);
}

.team-card-image {
    width: 100%; height: 280px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(15, 23, 42, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.team-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.1), transparent 70%);
}

.team-card-image img { width: 100%; height: 100%; object-fit: cover; }

.team-card-placeholder {
    width: 100px; height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-bg-dark);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.5);
}

.team-card-content { padding: 1.5rem; }

.team-card-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-card-role {
    font-size: 0.85rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.team-card-bio {
    font-size: 0.9rem;
    color: rgba(203, 213, 225, 0.9);
    line-height: 1.6;
}

/* ==========================================================================
   REFERENZEN / PARTNERS
   ========================================================================== */

.partner-section { margin-top: 3rem; }
.partner-section:first-child { margin-top: 0; }

.partner-section-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border-accent);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.partner-card {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--color-border);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.partner-card:hover {
    border-color: var(--color-border-accent);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.6), 0 0 20px rgba(56, 189, 248, 0.1);
}

.partner-card-image {
    width: 100%; height: 140px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 245, 250, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
    position: relative;
}

.partner-card-image img {
    max-width: 200px; max-height: 80px;
    width: auto; height: auto;
    object-fit: contain;
    transition: all var(--transition-normal);
}

.partner-card:hover .partner-card-image img { transform: scale(1.08); }

.partner-logo-placeholder {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
}

.partner-card-content { padding: 1.25rem; }

.partner-card-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.partner-card-desc {
    font-size: 0.9rem;
    color: rgba(203, 213, 225, 0.9);
    line-height: 1.6;
}

/* ==========================================================================
   KONTAKT FORMULAR
   ========================================================================== */

.contact-form-section { max-width: 700px; margin: 0 auto; }

.contact-form {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--color-border);
    border-radius: 1.5rem;
    padding: 2rem;
    margin-top: 2rem;
}

.form-group { margin-bottom: 1.5rem; }

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(2, 6, 23, 0.8);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--color-text-muted); }

.form-textarea { min-height: 150px; resize: vertical; }

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-submit { width: 100%; padding: 1rem 2rem; margin-top: 1rem; }

.form-note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
    text-align: center;
}

.form-message {
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ade80;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */

.legal-content { max-width: 800px; margin: 0 auto; }

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p { color: var(--color-text-light); line-height: 1.8; margin-bottom: 1rem; }
.legal-content ul { color: var(--color-text-light); margin-left: 1.5rem; margin-bottom: 1rem; }
.legal-content li { margin-bottom: 0.5rem; }
.legal-content a { color: var(--color-primary); }

/* ==========================================================================
   ABOUT US TEXT
   ========================================================================== */

.about-intro { max-width: 800px; margin-bottom: 3rem; }

.about-intro p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

/* ==========================================================================
   RESPONSIVE - MOBILE NAVIGATION & DROPDOWN FIX
   ========================================================================== */

@media (max-width: 1024px) {
    .nav-toggle {
        display: flex;
    }

    /* Fullscreen mobile menu overlay */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: rgba(2, 6, 23, 0.98);
        padding: 2rem 1.5rem;
        gap: 0.4rem;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 0.9rem 2rem;
        text-align: center;
        width: auto;
    }

    .nav-cta {
        margin: 1rem 0 0 0;
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }

    /* ====== MOBILE DROPDOWN - KOMPLETT NEU ====== */

    /* Dropdown wrapper: volle Breite, zentriert */
    .nav-dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    /* Toggle-Button: zentriert, gleiche Grösse wie andere Nav-Links */
    .nav-dropdown-toggle {
        font-size: 1.2rem;
        padding: 0.9rem 2rem;
        width: auto;
        justify-content: center;
        text-align: center;
    }

    .nav-dropdown-toggle .chevron-icon {
        width: 16px;
        height: 16px;
    }

    /* Dropdown-Menü: zentriert unter dem Toggle */
    .nav-dropdown-menu {
        position: static;
        transform: none !important;
        width: 80%;
        max-width: 280px;
        min-width: auto;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        border: none;
        background: rgba(56, 189, 248, 0.06);
        border-radius: 12px;
        box-shadow: none;
        backdrop-filter: none;
        transition: max-height 0.35s ease, padding 0.35s ease, margin 0.35s ease, border 0.35s ease;
        margin-top: 0;
    }

    /* Pfeil-Dreieck ausblenden auf Mobile */
    .nav-dropdown-menu::before {
        display: none;
    }

    /* Dropdown geöffnet */
    .nav-dropdown.open .nav-dropdown-menu {
        max-height: 250px;
        padding: 0.5rem 0.4rem;
        margin-top: 0.3rem;
        border: 1px solid rgba(56, 189, 248, 0.2);
    }

    /* Desktop-Hover komplett deaktivieren auf Touch */
    .nav-dropdown:hover .nav-dropdown-menu {
        max-height: 0;
        padding: 0;
        border: none;
    }

    .nav-dropdown.open:hover .nav-dropdown-menu {
        max-height: 250px;
        padding: 0.5rem 0.4rem;
        border: 1px solid rgba(56, 189, 248, 0.2);
    }

    /* Dropdown-Links: zentrierter Text, kein Icon-Layout */
    .nav-dropdown-link {
        justify-content: center;
        text-align: center;
        font-size: 1.05rem;
        padding: 0.75rem 1rem;
        white-space: normal;
        gap: 0.5rem;
    }

    /* Icon auf Mobile ausblenden für sauberes Layout */
    .nav-dropdown-link .dropdown-icon {
        display: none;
    }

    /* Label zentrieren, kleine Beschreibung ausblenden */
    .nav-dropdown-link .dropdown-label {
        align-items: center;
        text-align: center;
    }

    .nav-dropdown-link .dropdown-label small {
        display: none;
    }

    /* ====== ENDE MOBILE DROPDOWN ====== */

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

    .region-layout,
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .glasfaser-hero-bg img {
        width: 95%;
        opacity: 0.4;
    }

    .services-overview {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-inner {
        padding-inline: 1.25rem;
    }

    .hero-nav {
        flex-wrap: wrap;
    }

    .hero-main {
        max-width: 100%;
    }

    .hero-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-grid,
    .process-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

    .glasfaser-hero {
        min-height: 70vh;
    }

    .glasfaser-hero-bg img {
        width: 100%;
        opacity: 0.35;
    }

    .netzwerk-hero {
        min-height: 70vh;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.1rem;
    }

    .hero-cta-row {
        align-items: flex-start;
    }

    .hero-cta {
        width: 100%;
        justify-content: center;
    }

    .glasfaser-hero-title,
    .netzwerk-hero-title {
        font-size: 2rem;
    }

    .contact-form {
        padding: 1.25rem;
    }

    .brand-logo {
        max-height: 42px;
    }

    /* Dropdown noch kompakter auf kleinen Screens */
    .nav-dropdown-menu {
        width: 90%;
    }
}