/* Grundlegende Einstellungen */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/Poppins-Latin-Ext-300.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/Poppins-Latin-300.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/Poppins-Latin-Ext-400.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/Poppins-Latin-400.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/Poppins-Latin-Ext-600.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/Poppins-Latin-600.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/Poppins-Latin-Ext-700.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/Poppins-Latin-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(rgba(10, 22, 40, 0.72), rgba(10, 22, 40, 0.9)), url('Hintergrund.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #0a1628;
}

/* Hero Section mit Hintergrundbild */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 120px 20px 80px;
    overflow: hidden;
    background: linear-gradient(rgba(10, 22, 40, 0.7), rgba(10, 22, 40, 0.9)), url('Hintergrund.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Digitale Partikel */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 212, 255, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px #00d4ff, 0 0 20px rgba(0, 212, 255, 0.3);
}

.particle-1 { top: 10%; left: 10%; animation: float 8s ease-in-out infinite; }
.particle-2 { top: 20%; right: 15%; animation: float 10s ease-in-out infinite reverse; }
.particle-3 { bottom: 20%; left: 20%; animation: float 12s ease-in-out infinite; }
.particle-4 { bottom: 15%; right: 10%; animation: float 9s ease-in-out infinite reverse; }
.particle-5 { top: 50%; left: 50%; transform: translate(-50%, -50%); animation: float 15s ease-in-out infinite; }

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-30px) scale(1.2); opacity: 0.9; }
}

/* Schaltkreise */
.circuit {
    position: absolute;
    opacity: 0.3;
}

.circuit-circuit1, .circuit-circuit2, .circuit-circuit3 {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(0, 212, 255, 0.4);
    transform-origin: center;
}

.circuit-circuit1 { top: -100px; right: -100px; border-radius: 0 50% 0 50%; animation: rotateCircuit1 20s linear infinite; }
.circuit-circuit2 { bottom: -100px; left: -100px; border-radius: 50% 0 50% 0; animation: rotateCircuit2 25s linear infinite reverse; }
.circuit-circuit3 { top: 30%; left: 30%; width: 200px; height: 200px; border-radius: 30%; opacity: 0.15; animation: rotateCircuit3 30s linear infinite; }

@keyframes rotateCircuit1 { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes rotateCircuit2 { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
@keyframes rotateCircuit3 { from { transform: rotate(-45deg); } to { transform: rotate(315deg); } }

/* Begrüßungsbox mit runden Ecken */
.welcome-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 40px;
    padding: 2rem 3rem;
    max-width: 700px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 212, 255, 0.1);
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { 
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 212, 255, 0.1);
    }
    50% { 
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 60px rgba(0, 212, 255, 0.3);
    }
}

.welcome-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.welcome-image {
    display: block;
    max-width: 100%;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto 1rem;
}

.welcome-title {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.welcome-text {
    font-size: 1.1rem;
    color: #b8c5d4;
    line-height: 1.7;
}

.welcome-subtext {
    margin-top: 0.75rem;
    font-size: 1.1rem;
    color: #dfeaff;
    letter-spacing: 0.05em;
    text-transform: none;
    opacity: 0.9;
}

.hero-spacer {
    flex: 0 0 8rem;
}

/* Hero Content */
.hero-content {
    z-index: 10;
    max-width: 800px;
}

.animated-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.line {
    display: block;
    overflow: hidden;
}

.line span {
    display: block;
    transform: translateY(100%);
    animation: slideUp 1s ease forwards;
}

.line1 span { animation-delay: 0.2s; }
.line2 span { animation-delay: 0.8s; }

@keyframes slideUp {
    to { transform: translateY(0); }
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #a8b5c8;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    min-height: 58px;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    color: #eaf8ff;
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    color: #eaf8ff;
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: #00d4ff;
    border-radius: 2px;
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
}

/* Features Section */
.features-section {
    padding: 100px 5%;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.82), rgba(10, 22, 40, 0.95)), url('Hintergrund.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(90deg, #00d4ff, #00a8cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Feature Grid mit abwechselnder Anordnung */
.features-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 2rem;
}

/* Feature Item Layout */
.feature-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.feature-left {
    flex-direction: row;
}

.feature-right {
    flex-direction: row-reverse;
}

.feature-item:hover {
    transform: scale(1.02);
}

/* Bildbox - randlos */
.image-box {
    flex: 0 0 46%;
    max-width: 46%;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    background: transparent;
    transition: all 0.4s ease;
}

.feature-item:hover .image-box {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.28);
}

.image-box img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px;
    transition: transform 0.5s ease;
}

.feature-item:hover .image-box img {
    transform: scale(1.02);
}

/* Textbox mit transparentem Hintergrund */
.text-box {
    flex: 1;
    min-width: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 30px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.text-box:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.15);
}

.text-box h3 {
    font-size: 1.6rem;
    color: #00d4ff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.text-box p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #b8c5d4;
    font-weight: 300;
}

.text-box a {
    display: inline-block;
    color: #dfe6ef;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    margin-left: 0.25rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.text-box a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Animationen */
.animate-fade-up {
    opacity: 0;
    animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpCard 0.8s ease forwards;
}

@keyframes slideUpCard {
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.footer {
    padding: 2rem;
    background: rgba(10, 22, 40, 0.9);
    text-align: center;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.footer p {
    color: #a8b5c8;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #a8b5c8;
}

/* Kontaktseite - Box in der Mitte */
.contact-container {
    max-width: 600px;
    margin: 100px auto;
    padding: 20px;
}

.contact-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 40px;
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 212, 255, 0.1);
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { 
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 212, 255, 0.1);
    }
    50% { 
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 60px rgba(0, 212, 255, 0.3);
    }
}

.contact-box h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, #00d4ff, #00a8cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-3px);
}

.contact-label {
    font-size: 0.9rem;
    color: #a8b5c8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
    display: block;
}

.contact-value {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.5;
}

.contact-value a {
    color: #00d4ff;
    text-decoration: none;
}

.contact-value a:hover {
    text-decoration: underline;
}

/* Navigation */
.content-container {
    max-width: 1000px;
    margin: 120px auto 60px;
    padding: 3rem 2.5rem;
    background: linear-gradient(135deg, rgba(12, 24, 38, 0.92), rgba(18, 31, 49, 0.9));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 32px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.content-container h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
    background: linear-gradient(90deg, #00d4ff, #00a8cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-container h2 {
    margin-top: 2.2rem;
    margin-bottom: 0.9rem;
    font-size: 1.4rem;
    color: #dff9ff;
}

.content-container p,
.content-container li {
    color: #d9e4f2;
    line-height: 1.8;
    font-size: 1.03rem;
}

.content-container ul {
    margin: 1rem 0 1rem 1.4rem;
    padding-left: 1rem;
}

.content-container a {
    color: #7fe6ff;
    text-decoration: none;
}

.content-container a:hover {
    text-decoration: underline;
}

.privacy-meta {
    margin-bottom: 1.5rem;
    color: #9ab0c8;
}

.privacy-callout {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.07);
    border: 1px solid rgba(0, 212, 255, 0.28);
    border-left: 4px solid #00d4ff;
    border-radius: 12px;
}

.privacy-callout h3 {
    margin-bottom: 0.6rem;
    color: #dff9ff;
    font-size: 1.15rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: #8edcff;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
    transition: all 0.3s ease;
}

.logo-image:hover {
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6));
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, #00d4ff, #00a8cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #a8b5c8;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00d4ff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #00a8cc);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .logo-image {
        height: 50px;
    }

    .animated-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .welcome-box {
        padding: 1.5rem 2rem;
    }

    .welcome-title {
        font-size: 1.6rem;
    }

    .welcome-text {
        font-size: 1rem;
    }

    .features-grid {
        gap: 3rem;
    }

    .feature-item {
        flex-direction: column;
        gap: 2rem;
    }

    .image-box {
        width: 100%;
    }

    .text-box {
        padding: 1.5rem;
    }

    .text-box h3 {
        font-size: 1.4rem;
    }

    .text-box p {
        font-size: 1rem;
    }

    .content-container {
        margin-top: 100px;
        padding: 2rem 1.25rem;
    }

    .contact-box {
        padding: 2rem 1.5rem;
    }

    .contact-box h1 {
        font-size: 1.6rem;
    }

    .contact-item {
        padding: 1.2rem 1.5rem;
    }

    .contact-icon {
        font-size: 1.8rem;
    }

    .contact-value {
        font-size: 1.2rem;
    }
}