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

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --primary-color: #13e6b1;
    --secondary-color: #232328;
    --background-color: #18181b;
    --text-color: #fafafc;
    --card-background: #232328;
    --card-shadow: 0 4px 32px 0 rgba(10, 18, 30, 0.17), 0 1.5px 3px 0 rgba(20, 20, 30, 0.05);
    --card-radius: 2.2rem;
    --hover-color: #242445;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    background: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.65;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--secondary-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    white-space: nowrap;
}

.logo-sub {
    font-size: 0.85rem;
    color: #8a8b9e;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle:hover {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}


/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    background: var(--background-color);
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Positioniert das neue, einzelne SVG als Hintergrund */
#hero-background-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Hinter dem Inhalt */
    object-fit: cover;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2; /* Vor dem Hintergrund */
    max-width: 680px;
    margin: 0 auto;
    padding: 3rem 2rem 3rem 2rem;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: -2px;
    color: var(--primary-color);
    margin-bottom: 0.7rem;
    text-shadow: 0 1px 0 #0001;
}

.hero p {
    font-size: 1.35rem;
    color: var(--text-color);
    margin-bottom: 2.2rem;
}

.cta-button {
    font-family: inherit;
    background: var(--primary-color);
    color: #222;
    border: none;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1.1rem 2.8rem;
    border-radius: 3rem;
    box-shadow: 0 2px 12px 0 rgba(30, 200, 170, 0.13);
    cursor: pointer;
    text-decoration: none;
    transition: box-shadow 0.2s, background 0.2s;
    margin-top: 0.7rem;
}

.cta-button:hover {
    background: #0cd1a3;
    color: #000;
    box-shadow: 0 4px 18px 0 rgba(30, 230, 170, 0.18);
}

/* Use Cases Section */
.use-cases {
    max-width: 1150px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem 2rem;
}

.use-cases h2 {
    font-size: 2.3rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3.2rem;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.use-case-card {
    background: var(--card-background);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 2.4rem 2rem 2.2rem 2rem;
    transition: transform 0.22s cubic-bezier(.19,1,.22,1), box-shadow 0.18s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 250px;
}

.use-case-card:hover {
    transform: translateY(-8px) scale(1.025);
    box-shadow: 0 6px 28px 0 rgba(30, 200, 170, 0.09);
}

.card-icon {
    font-size: 2.4rem;
    color: var(--primary-color);
    margin-bottom: 1.4rem;
    text-align: left;
}

.use-case-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.use-case-card p {
    font-size: 1.1rem;
    color: #f4f7fa;
    margin-bottom: 0.7rem;
}

.learn-more {
    margin-top: auto;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 2px solid var(--primary-color);
    transition: color 0.2s;
}

.learn-more:hover {
    color: #0cd1a3;
}

/* ======== STYLES FÜR UNTERSEITEN ======== */

.content-wrapper {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-header {
    padding: 8rem 0 4rem 0;
    text-align: center;
    border-bottom: 1px solid #282b3b;
    margin-bottom: 4rem;
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
}

/* ======== STYLES FÜR ABOUT.HTML ======== */
.about-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
}

.about-profile-card {
    background: var(--card-background);
    border-radius: var(--card-radius);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: var(--card-shadow);
}

.profile-image-placeholder {
    width: 120px;
    height: 120px;
    background: var(--background-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 4rem;
    flex-shrink: 0;
}

.profile-info h2 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.profile-info p {
    margin: 0;
    line-height: 1.5;
}

.profile-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem !important;
}

.about-content h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #282b3b;
}

.expertise-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.expertise-list li {
    background: var(--card-background);
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.expertise-list i {
    color: var(--primary-color);
}

/* ======== STYLES FÜR BLOG.HTML ======== */
.blog-grid {
    margin-bottom: 5rem;
}

.use-case-card .post-meta {
    font-size: 0.9rem;
    color: #8a8b9e;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.use-case-card .post-meta + h3 {
    margin-top: 0;
}

/* ======== STYLES FÜR CONTACT.HTML ======== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: var(--card-background);
    padding: 3rem;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    margin-bottom: 5rem;
}

.contact-grid h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.contact-item a,
.contact-details p {
    color: #f4f7fa;
    text-decoration: none;
    transition: color 0.2s;
}

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

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

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--background-color);
    border: 1px solid #3a3a44;
    border-radius: 0.5rem;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form .cta-button {
    width: 100%;
    margin-top: 1rem;
}

/* Responsive Design für mobile Geräte */
@media screen and (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1.5rem;
    }

    .logo {
        align-items: flex-start;
        text-align: left;
        padding-left: 0;
    }
    
    .logo-main {
        font-size: 1.3rem;
    }
    
    .logo-sub {
        font-size: 0.75rem;
    }

    .nav-toggle {
        display: block;
    }
    
    .nav-center {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--secondary-color);
        position: static;
        padding: 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        gap: 0;
    }

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

    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(250, 250, 252, 0.05);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        padding: 1rem;
        width: 100%;
        display: block;
    }

    .hero {
        padding-top: 5rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .use-cases {
        padding: 3.5rem 1rem 2rem 1rem;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .use-case-card {
        padding: 1.5rem;
    }

    .cta-button {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }

    .content-wrapper {
        padding: 0 1rem;
    }
    .page-header {
        padding: 6rem 0 3rem 0;
        margin-bottom: 3rem;
    }
    .page-header h1 {
        font-size: 2.3rem;
    }
    .page-header p {
        font-size: 1.1rem;
    }
    .about-profile-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Zusätzliche Anpassungen für sehr kleine Geräte */
@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .logo-main {
        font-size: 1.2rem;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0.9rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.90);
    z-index: 2000;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background: var(--card-background);
    margin: 5vh auto;
    padding: 1.5rem;
    width: 90%;
    max-width: 700px;
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-right: 2.5rem;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-color);
    cursor: pointer;
    z-index: 10;
}

.close:hover {
    color: var(--primary-color);
}

.iframe-container {
    width: 100%;
    margin: 1rem auto 0;
    padding: 0;
    background: var(--background-color);
    max-width: 100%;
    overflow: hidden;
}

.iframe-container iframe {
    width: 100%;
    height: 70vh;
    border: none;
    border-radius: 0.5rem;
    box-shadow: var(--card-shadow);
    display: block;
}

/* Responsive iframe und Modal Anpassungen */
@media screen and (max-width: 768px) {
    .modal-content {
        padding: 1.2rem;
        width: 95%;
        margin: 5vh auto;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }

    .close {
        font-size: 1.8rem;
        right: 0.8rem;
        top: 0.8rem;
    }

    .iframe-container iframe {
        height: 60vh; 
    }
}

@media screen and (max-width: 480px) {
    .modal-content h2 {
        font-size: 1.3rem;
        margin-right: 2rem;
    }

    .close {
        font-size: 1.7rem;
        right: 0.6rem;
        top: 0.6rem;
    }

    .iframe-container iframe {
        height: 60vh;
    }
}

/* Footer */
.footer {
    background: var(--secondary-color);
    margin-top: 6rem;
    padding: 3.4rem 2rem 1.2rem 2rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2.2rem;
    max-width: 1100px;
    margin: 0 auto;
}
.footer-section h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.7rem;
}
.social-links {
    display: flex;
    gap: 2rem;
}
.social-links a {
    color: var(--text-color);
    font-size: 1.7rem;
    transition: color 0.19s;
}
.social-links a:hover {
    color: var(--primary-color);
}
.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.1rem;
    border-top: 1px solid #282b3b;
    color: #8a8b9e;
    font-size: 0.95rem;
}

/* ======== LANGUAGE SWITCHER & NAVBAR LAYOUT ======== */

.navbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    padding-left: 0;
}

.nav-center {
    justify-self: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-self: end;
}

.lang-switcher {
    position: relative;
    display: inline-block;
}

.lang-switcher-button {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.lang-switcher-button:hover {
    color: var(--primary-color);
}

.lang-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background-color: var(--card-background);
    min-width: 120px;
    box-shadow: var(--card-shadow);
    border-radius: 0.75rem;
    z-index: 100;
    overflow: hidden;
    border: 1px solid #3a3a44;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.lang-dropdown.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.lang-dropdown .lang-link {
    color: var(--text-color);
    padding: 0.8rem 1.2rem;
    text-decoration: none;
    display: block;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.lang-dropdown .lang-link:hover {
    background-color: var(--hover-color);
}

.lang-dropdown .lang-link.active {
    color: var(--primary-color);
    font-weight: 700;
    background-color: rgba(19, 230, 177, 0.05);
}

.nav-toggle {
    margin-right: -0.5rem;
}

/* Responsive Anpassungen für die neue Navbar-Struktur */
@media screen and (max-width: 768px) {
    .navbar {
        display: flex;
        justify-content: space-between;
    }
    
    .nav-right {
        gap: 1rem;
    }
}