/*!* Modernes Design *!*/
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

header.modern-header {
    background-color: #0073e6;
    color: #fff;
    padding: 20px 0;
}

header .logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    margin-bottom: 10px;
}

header .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

header .nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: color 0.3s ease;
}

header .nav-links a:hover {
    color: #cceeff;
}

.hero {
    background: linear-gradient(to right, #0073e6, #005bb5);
    color: #fff;
    text-align: center;
    padding: 5px 5px;
}

.hero h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.hero a {
    color: #fff; /* Weiße Schriftfarbe */
}

.hero .btn-primary {
    background-color: #fff;
    color: #0073e6;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.hero .btn-primary:hover {
    background-color: #cceeff;
}

.features {
    padding: 40px 20px;
    background-color: #fff;
}

.features h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #0073e6;
}

.features .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.feature-box {
    background-color: #f4f4f9;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-box-left {
    background-color: #f4f4f9;
    padding: 20px;
    border-radius: 5px;
    /*text-align: center;*/
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-box h3 {
    color: #005bb5;
    margin-bottom: 10px;
}

.contact-link {
    font-weight: bold;
    /*font-size: 1.2rem; !* Größere Schrift *!*/
    padding: 15px 20px; /* Mehr Innenabstand */
    border-radius: 8px; /* Abgerundete Ecken */
    text-decoration: none;
    background-color: #0073e6; /* Auffällige Hintergrundfarbe */
    color: #fff; /* Weiße Schriftfarbe */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Weiche Übergänge */
    display: inline-block; /* Block-ähnliches Verhalten */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Schatten für Tiefe */
    margin: 0; /* Keine zusätzlichen Abstände oben/unten */
}

.contact-link a {
    color: #fff; /* Weiße Schriftfarbe */
}

.contact-link:hover {
    background-color: #005bb5; /* Dunklere Farbe beim Hover */
    transform: scale(1.05); /* Leichtes Vergrößern beim Hover */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* Stärkerer Schatten */
}

footer.modern-footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer .footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 10px 0 0;
    padding: 0;
}

footer .footer-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: color 0.3s ease;
}

footer .footer-links a:hover {
    color: #cceeff;
}

.overlay {
    display: none; /* Standardmäßig versteckt */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* Stelle sicher, dass eingebettete iframes im Ergebnisbereich nicht als Overlay erscheinen */
#ai-result iframe {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    display: block;
    width: 100%;
    max-width: 100%;
    height: 700px; /* anpassbar bei Bedarf */
    border: 0;
}

.overlay .loading {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
