/* Allgemeine Stile */
body {
    font-family: 'Roboto', Arial, sans-serif; /* Modernere Schriftart */
    margin: 0;
    padding: 0;
    background-color: #f9f9f9; /* Helles Grau für den Hintergrund */
    color: #333; /* Dunkelgrau für Text */
    line-height: 1.6;
}

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

/* Topbar */
.topbar {
    background-color: #002244; /* Dunkleres Blau für die Topbar */
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
}

.topbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar-text {
    flex: 1;
    text-align: left;
}

.topbar-links {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.topbar-link {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.topbar-link:hover {
    color: #ff6666; /* Rot beim Hover */
}

/* Dashboard Button in der Topbar */
.topbar-button {
    flex: 0;
    margin-left: auto;
    background-color: #ff6666; /* Rot */
    color: white;
    padding: 5px 15px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.topbar-button:hover {
    background-color: #cc5555; /* Dunkleres Rot beim Hover */
}

.topbar-logo img {
    height: 40px; /* Höhe des Logos */
    width: auto; /* Automatische Breite, um das Seitenverhältnis beizubehalten */
}

/* Header */
.header {
    background-color: #003366; /* Dunkelblau */
    color: white;
    padding: 20px 0;
    text-align: center;
}

.header-title {
    font-size: 2.5rem;
    margin: 0;
    text-align: center; /* Text mittig ausrichten */
}

.highlight {
    color: #fff; /* Weiß für Hervorhebungen */
}

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

.header-nav .nav-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.header-nav .nav-link:hover {
    color: #ff6666; /* Rot beim Hover */
}

.header-content {
    display: flex;
    align-items: center; /* Vertikale Ausrichtung */
    justify-content: center; /* Zentriert den Inhalt horizontal */
    gap: 20px; /* Abstand zwischen Logo und Titel */
    position: relative; /* Ermöglicht die Verwendung von absoluten Positionierungen */
}

.header-logo {
    position: absolute;
    left: 20px; /* Logo bleibt links mit Abstand */
}

.header-logo img {
    height: 100px; /* Höhe des Logos */
    width: auto; /* Automatische Breite */
}

/* Navigation */
.navigation {
    background-color: #00509e; /* Helleres Blau */
    padding: 10px 0;
    position: relative;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ff6666; /* Rot beim Hover */
}

/* Dropdown */
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #003366; /* Dunkleres Blau */
    list-style: none;
    padding: 10px 0;
    margin: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-item:hover .dropdown {
    display: block;
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-link:hover {
    background-color: #00509e; /* Helleres Blau */
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, rgba(0, 51, 102, 0.8), rgba(0, 80, 158, 0.8)), 
                url('/assets/images/hero-image.jpg') no-repeat center center; /* Bild als Hintergrund */
    background-size: cover; /* Bild skaliert, um den gesamten Bereich zu füllen */
    color: white;
    padding: 60px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    height: 300px; /* Feste Höhe */
}

.hero-text {
    max-width: 50%;
    color: white;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

.hero-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff6666; /* Rot */
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.hero-button:hover {
    background-color: #cc5555; /* Dunkleres Rot */
}

/* Features Section */
.features {
    background-color: #e6f7ff; /* Sehr helles Blau */
    padding: 40px 0;
    text-align: center;
}

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

.features-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 10px;
}

/* Produktgruppen */
.product-groups {
    background-color: #f0f8ff; /* Hellblauer Hintergrund */
    padding: 40px 0;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.product-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.product-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    margin-bottom: 15px;
}

.product-box h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #003366; /* Dunkelblau */
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ff6666; /* Rot */
    margin-bottom: 10px;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.product-features li {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 5px;
}

.product-button {
    display: inline-block;
    padding: 10px 15px;
    background-color: #003366; /* Dunkelblau */
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.product-button:hover {
    background-color: #00509e; /* Helleres Blau */
}

/* Teamspeak-spezifische Produktklasse */
.product-box.teamspeak {
    background-color: #f0f8ff; /* Heller Blauton */
    border: 2px solid #003366; /* Dunkelblauer Rand */
    border-radius: 8px;
    padding: 15px; /* Weniger Padding */
    text-align: center;
    width: 250px; /* Breite der Box verkleinern */
    margin: 0 auto; /* Zentrieren */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-box.teamspeak:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.product-box.teamspeak .product-image {
    max-width: auto; /* Bildgröße verkleinern */
    margin-bottom: 10px;
}

.product-box.teamspeak h3 {
    font-size: 1.2rem; /* Kleinere Schriftgröße */
    color: #003366;
    margin-bottom: 8px;
}

.product-box.teamspeak .product-price {
    font-size: 1rem; /* Kleinere Schriftgröße */
    color: #ff6666;
    margin-bottom: 10px;
}

.product-box.teamspeak .product-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    font-size: 0.85rem; /* Kleinere Schriftgröße */
}

.product-box.teamspeak .product-features li {
    margin-bottom: 6px; /* Weniger Abstand zwischen den Features */
}

.product-box.teamspeak .product-button {
    display: inline-block;
    padding: 8px 15px; /* Kleinere Button-Größe */
    background-color: #003366;
    color: white;
    font-size: 0.9rem; /* Kleinere Schriftgröße */
    font-weight: bold;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.product-box.teamspeak .product-button:hover {
    background-color: #00509e;
}

/* FAQ Section */
.faq {
    background-color: #f9f9f9;
    padding: 40px 20px;
    border-radius: 8px;
}

.faq-grid {
    display: flex;
    flex-direction: column; /* Elemente untereinander anordnen */
    gap: 20px; /* Abstand zwischen den FAQ-Elementen */
}

.faq-item {
    width: 100%; /* Volle Breite nutzen */
    max-width: 800px; /* Optional: maximale Breite für bessere Lesbarkeit */
    margin: 0 auto; /* Zentriert die FAQ-Elemente */
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 15px 20px;
    background-color: #003366;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #00509e;
}

.faq-question i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    display: none;
    padding: 15px 20px;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq .section-title {
    text-align: center; /* Text mittig ausrichten */
    margin-bottom: 20px; /* Optional: Abstand nach unten */
    font-size: 2rem; /* Optional: Schriftgröße anpassen */
    color: #003366; /* Optional: Farbe anpassen */
}

/* Contact Section */
.contact {
    text-align: center; /* Zentriert den Inhalt im Kontaktbereich */
    padding: 40px 0; /* Abstand oben und unten */
    margin-bottom: 40px; /* Mehr Abstand zum Footer */
}

.contact-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #003366; /* Dunkelblau */
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #00509e; /* Helleres Blau */
}

/* Domains Section */
.domains {
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.domain-search-form {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.domain-input {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 300px;
}

.domain-button {
    padding: 10px 20px;
    background-color: #003366;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.domain-button:hover {
    background-color: #00509e;
}

.domain-pricing {
    margin-top: 30px;
    text-align: center;
}

.domain-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.domain-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.domain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.domain-card h4 {
    font-size: 1.5rem;
    color: #003366;
    margin-bottom: 10px;
}

.domain-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ff6666;
}

.domain-price span {
    font-size: 0.9rem;
    color: #666;
}

/* Payment Methods Section */
.payment-methods {
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.payment-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.payment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.payment-icon {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 10px;
}

.payment-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.payment-item p {
    font-size: 1rem;
    color: #666;
}

/* Legal Section */
.legal {
    padding: 40px 20px;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.legal h2, .legal h3 {
    color: #003366;
    margin-bottom: 10px;
}

.legal p {
    margin-bottom: 20px;
}

/* Login Section */
.login {
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.login-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.login-form label {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
    color: #333;
}

.form-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-button {
    width: 100%;
    padding: 10px;
    background-color: #003366;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-button:hover {
    background-color: #00509e;
}

/* Register Section */
.register {
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-top: 20px;
}

.register .section-title {
    font-size: 2rem;
    color: #003366;
    margin-bottom: 15px;
}

.register .register-text {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.register .register-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #003366;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.register .register-button:hover {
    background-color: #00509e;
}

/* Footer */
.footer {
    background-color: #003366; /* Dunkelblau */
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-block {
    flex: 1;
    min-width: 200px;
    text-align: left;
}

.footer-block h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ff6666; /* Rot */
}

.footer-block p,
.footer-links {
    font-size: 0.9rem;
    margin: 0;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.footer-links li {
    margin-bottom: 5px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6666; /* Rot beim Hover */
}

.footer-bottom {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #ccc;
}

/* Responsivität */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}