/* Allgemeine Stile */
:root {
    --primary-color: #0f172a;
    --secondary-color: #06b6d4;
    --text-color-light: #f8fafc;
    --text-color-dark: #1e293b;
    --card-bg: rgba(255, 255, 255, 0.08);
    --border-color: rgba(255, 255, 255, 0.15);
    --gradient-start: rgba(6, 182, 212, 0.2);
    --gradient-end: rgba(15, 23, 42, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color-light);
    background-color: var(--primary-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-color-light);
    margin-bottom: 0.8em;
    line-height: 1.2;
}

h1 {
    font-size: 2.5em;
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.5em;
}

section {
    padding: 40px 20px;
    margin: 0 auto;
    max-width: 1200px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 8px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.button:hover {
    background-color: #00eaff;
    transform: translateY(-2px);
    text-decoration: none;
}

.button.secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.button.secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Header */
.site-header {
    background-color: var(--primary-color);
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--text-color-light);
    display: flex;
    align-items: center;
}

.logo .emoji {
    margin-right: 10px;
    font-size: 1.2em;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: var(--text-color-light);
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.hamburger-menu {
    display: none;
    font-size: 2em;
    cursor: pointer;
    color: var(--text-color-light);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    flex-direction: column;
    background-color: var(--primary-color);
    position: absolute;
    top: 70px; /* Adjust based on header height */
    left: 0;
    width: 100%;
    border-top: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav ul {
    list-style: none;
    width: 100%;
}

.mobile-nav ul li {
    text-align: center;
    margin: 15px 0;
}

.mobile-nav ul li a {
    color: var(--text-color-light);
    font-size: 1.2em;
    padding: 10px 0;
    display: block;
}

.mobile-nav ul li a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2b4a 100%);
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    animation: pulse-glow 10s infinite alternate;
    z-index: 0;
}

@keyframes pulse-glow {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero-small {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2b4a 100%);
    padding: 60px 20px;
    text-align: center;
    min-height: 30vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-small h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
}

.hero-small p {
    font-size: 1.1em;
    max-width: 800px;
}

/* Benefits Section */
.benefits {
    text-align: center;
    background-color: #1a2b4a;
    padding: 60px 20px;
}

.benefits h2 {
    margin-bottom: 40px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.benefit-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.benefit-item h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Services Overview Section */
.services-overview {
    text-align: center;
    padding: 60px 20px;
}

.services-overview h2 {
    margin-bottom: 40px;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.service-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    text-align: left;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-item h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* CTA Section */
.cta {
    background: linear-gradient(45deg, var(--secondary-color) 0%, #00eaff 100%);
    color: var(--primary-color);
    text-align: center;
    padding: 60px 20px;
    border-radius: 15px;
    margin: 40px auto;
    max-width: 1000px;
}

.cta h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.cta .button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.cta .button:hover {
    background-color: #1e293b;
    color: #00eaff;
}

/* Service Detail Page */
.service-detail {
    padding: 40px 20px;
    border-bottom: 1px solid var(--border-color);
}

.service-detail:last-of-type {
    border-bottom: none;
}

.service-detail h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-detail p {
    margin-bottom: 15px;
}

.service-detail ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.service-detail ul li {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.service-detail ul li::before {
    content: '⚡'; /* Icon for list items */
    margin-right: 10px;
    color: var(--secondary-color);
    font-size: 1.2em;
}

.service-detail.bg-light {
    background-color: #1a2b4a;
}

/* References Page */
.references-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 20px;
}

.reference-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reference-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.reference-item h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.reference-item p {
    margin-bottom: 15px;
}

.testimonial {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-color);
}

.testimonial p {
    font-style: italic;
    color: #cbd5e1;
    margin-bottom: 10px;
}

.testimonial span {
    display: block;
    text-align: right;
    font-weight: bold;
    color: var(--secondary-color);
}

/* Career Page */
.career-intro {
    padding: 40px 20px;
    text-align: center;
}

.career-intro h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.open-positions {
    padding: 40px 20px;
    background-color: #1a2b4a;
}

.position-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.position-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.position-item h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.position-item ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
    margin-bottom: 20px;
}

.position-item ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.position-item ul li::before {
    content: '✓';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    top: 0;
}

.position-item .button.small {
    padding: 8px 15px;
    font-size: 0.9em;
}

.application-process {
    padding: 40px 20px;
    text-align: center;
}

.application-process h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* About Us Page */
.about-intro {
    padding: 40px 20px;
    text-align: center;
}

.about-intro h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.team {
    padding: 40px 20px;
    background-color: #1a2b4a;
    text-align: center;
}

.team h2 {
    margin-bottom: 40px;
}

.team-member {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.team-member h3 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.team-member p {
    margin-bottom: 10px;
}

.values {
    padding: 40px 20px;
}

.values h2 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
}

.values ul {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.values ul li {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    font-weight: 500;
    position: relative;
    padding-left: 45px;
    text-align: left;
}

.values ul li::before {
    content: '✨'; /* Icon for values */
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
}

/* Contact Page */
.contact-form-section {
    padding: 40px 20px;
    background-color: #1a2b4a;
}

.contact-form-section h2 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-color-light);
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.form-group textarea {
    resize: vertical;
}

.form-feedback {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    display: none;
}

.form-feedback.success {
    background-color: rgba(0, 255, 0, 0.2);
    color: #0f0;
}

.form-feedback.error {
    background-color: rgba(255, 0, 0, 0.2);
    color: #f00;
}

.contact-info {
    padding: 40px 20px;
    text-align: center;
}

.contact-info h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

/* Impressum, Datenschutz, AGB */
.content-section {
    padding: 40px 20px;
    line-height: 1.8;
}

.content-section h2 {
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-section h3 {
    color: #cbd5e1;
    margin-top: 20px;
    margin-bottom: 10px;
}

.content-section p {
    margin-bottom: 1em;
}

.content-section ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 1em;
}

.content-section ul li {
    margin-bottom: 0.5em;
}

/* 404 Page */
.error-page {
    text-align: center;
    padding: 80px 20px;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.error-page h1 {
    font-size: 6em;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.error-page p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-nav ul li {
    margin: 0 15px 10px 15px;
}

.footer-nav ul li a {
    color: var(--text-color-light);
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: var(--secondary-color);
}

.social-links a {
    color: var(--text-color-light);
    font-size: 1.5em;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (min-width: 768px) {
    h1 {
        font-size: 3.5em;
    }

    h2 {
        font-size: 2.5em;
    }

    .hero h1 {
        font-size: 4.5em;
    }

    .hero p {
        font-size: 1.5em;
    }

    .hero-small h1 {
        font-size: 3.5em;
    }

    .benefit-grid,
    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .references-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }

    .team-member {
        max-width: 45%;
        margin-left: auto;
        margin-right: auto;
    }

    .values ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .main-nav {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .site-header {
        padding: 10px 20px;
    }

    .logo {
        font-size: 1.5em;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1em;
    }

    .hero-small h1 {
        font-size: 2em;
    }

    .hero-small p {
        font-size: 0.9em;
    }

    .cta h2 {
        font-size: 1.8em;
    }

    .cta p {
        font-size: 1em;
    }

    .service-detail ul li,
    .position-item ul li,
    .values ul li {
        padding-left: 15px;
    }

    .service-detail ul li::before,
    .position-item ul li::before,
    .values ul li::before {
        position: static;
        transform: none;
        display: inline-block;
        margin-right: 5px;
    }

    .content-section ul {
        margin-left: 15px;
    }
}
