/* ===================================================
   aigraphiX Custom Styles
   =================================================== */

/* --- HEADER --- */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

#header .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 2rem;
}

/* --- LOGO --- */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 90px;
    width: auto;
    margin-right: 10px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- NAVIGATION --- */
#header nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

#header nav a {
    color: #222;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

#header nav a:hover,
#header nav a.active {
    color: #00ffd4;
}

/* --- HAMBURGER MENÜ --- */
.navPanelToggle {
    display: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

/* --- HEADER ABSTAND / FIXIERTER HEADER --- */
body {
    scroll-padding-top: 100px; /* Für Anker-Links */
    padding-top: 100px;        /* Abstand unter fixiertem Header */
}

#wrapper {
    margin-top: 10px; /* Inhalt unter Header verschieben */
}

/* --- RESPONSIVE HEADER --- */
@media screen and (max-width: 900px) {
    #header .inner {
        flex-wrap: wrap;
    }

    .navPanelToggle {
        display: block;
    }

    #nav {
        width: 100%;
        display: none;
    }

    #nav ul {
        flex-direction: column;
        width: 100%;
        padding: 1rem 0;
        background: white;
        border-top: 1px solid #eee;
        text-align: center;
    }

    #header.active #nav {
        display: block;
    }

    #wrapper {
        margin-top: 50px; /* Mehr Abstand bei kleineren Bildschirmen */
    }

    body.is-preload,
    body {
        padding-top: 20px !important;
    }
}

/* ===================================================
   FOOTER
   =================================================== */
footer .icons {
    margin-bottom: 0.5rem;
}

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

footer a:hover {
    color: #00ffd4;
}

/* ===================================================
   MODAL / POPUP
   =================================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 80%;
    text-align: center;
}

#close-modal {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#close-modal:hover {
    background-color: #0056b3;
}

/* ===================================================
   FAQ ACCORDION
   =================================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.2em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1em;
}

.faq-question {
    cursor: pointer;
    position: relative;
    font-weight: 600;
    font-size: 1.1em;
    padding-right: 1.5em;
    transition: color 0.2s ease;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    font-weight: bold;
    color: #f56a6a;
    transition: transform 0.2s ease;
}

.faq-question.active::after {
    content: '–';
    transform: rotate(180deg);
}

.faq-question:hover {
    color: #f56a6a;
}

.faq-answer {
    margin-top: 0.5em;
    padding-left: 0.5em;
    color: #555;
    line-height: 1.6em;
}

/* ===================================================
   PRICING CARD
   =================================================== */
.pricing-card {
    background: #fff;
    border-radius: 10px;
    padding: 2em 1.5em;
    margin: 1em;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0,0,0,0.1);
}

.pricing-card h3 {
    margin-bottom: 0.5em;
}

.pricing-card .price {
    font-size: 1.8em;
    color: #f56a6a;
    margin-bottom: 0.5em;
}

.pricing-card.highlight {
    border: 2px solid #f56a6a;
    transform: scale(1.03);
}

/* ===================================================
   FORM & INPUTS
   =================================================== */
.form-action {
    text-align: center;
    margin-top: 100px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.form-action button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 16px;
    background-color: #ffffff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    line-height: 1.2;
    vertical-align: middle;
}

.form-action button:hover {
    background-color: #ffffff;
}

input[type="text"],
input[type="email"],
input[type="file"],
textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
    font-size: 16px;
}

input[type="file"]:hover {
    background-color: #f7f7f7;
    border-color: #007bff;
}
