/* Globales Box-Sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Allgemeine Stile */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    padding: 0;
}

h1, h2, h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    color: #2980b9;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #2c3e50;
    padding: 10px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo h1 {
    color: #fff;
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

nav ul li a:hover,
nav ul li a.active {
    color: #3498db;
}

/* Hero-Bereich */
.hero {
    position: relative;
    background-image: url('images/hero5.jpg'); /* Pfad zum Bild */
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 80px 20px; /* Anpassung des Paddings */
    overflow: hidden;
}

.hero-content {
    z-index: 1;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    animation: fadeIn 2s ease-in-out;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
}

.hero p {
    font-size: 26px;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #ffffff;
}

/* Full-Service Abschnitt innerhalb des Hero-Bereichs */
.full-service {
    background: transparent; /* Kein Hintergrund, um das Bild sichtbar zu lassen */
    padding: 40px 0 0 0; /* Oben mehr Platz, unten weniger */
}

.full-service h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #ffffff;
}

.full-service p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #ffffff;
}

.full-service .call-to-action .button {
    background-color: #3498db;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.full-service .call-to-action .button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

/* Button */
.button {
    background-color: #3498db;
    padding: 15px 30px;
    color: #fff;
    text-decoration: none;
    border-radius: 5px; /* Einheitliche Button-Form */
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #2980b9;
}

/* Keyframe-Animation für sanftes Einblenden */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 20px 0;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}

.footer-links a:hover {
    color: #3498db;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .full-service h2 {
        font-size: 28px;
    }

    .full-service p {
        font-size: 16px;
    }

    .button {
        font-size: 16px;
    }
}

/* Preise-Seite */
.pricing {
    text-align: center;
    padding: 50px 20px;
    background-color: #f0f8ff;
}

.pricing h1, .pricing h2 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.pricing p {
    margin-bottom: 40px;
    font-size: 18px;
    color: #34495e;
}

.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

.pricing-card.popular::before {
    content: "Beliebtestes Paket";
    background-color: #3498db;
    color: #fff;
    padding: 5px 10px;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
    font-size: 14px;
}

.pricing-card h2 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.pricing-card .price {
    font-size: 36px;
    color: #3498db;
    margin: 20px 0;
}

/* Listenformatierung in den Karten */
.pricing-card ul,
.hosting-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    margin-bottom: 20px;
}

.pricing-card ul li,
.hosting-card ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 16px;
    color: #555;
}

.pricing-card ul li i,
.hosting-card ul li i {
    color: #28a745;
    margin-right: 10px;
    font-size: 18px;
    line-height: 1.5;
    flex-shrink: 0;
}

.pricing-card ul li span,
.hosting-card ul li span {
    flex: 1;
}

.pricing-card .button,
.hosting-card .button {
    margin-top: auto;
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.pricing-card .button:hover,
.hosting-card .button:hover {
    background-color: #2980b9;
}

.hosting-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.hosting-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    width: 350px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hosting-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

.hosting-card h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.hosting-card .price {
    font-size: 28px;
    color: #3498db;
    margin: 20px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-cards, .hosting-options {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card, .hosting-card {
        width: 100%;
        max-width: 350px;
    }
}

/* Aktiver Navigationslink */
nav ul li a.active {
    color: #3498db;
    border-bottom: 2px solid #3498db;
}

/* Dienstleistungen-Seite (angepasst von Preise-Seite) */
.pricing {
    text-align: center;
    padding: 50px 20px;
    background-color: #f7f9fc; /* Gleiche Hintergrundfarbe wie auf der Preise-Seite */
}

.pricing h1, .pricing h2 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.pricing p {
    margin-bottom: 40px;
    font-size: 18px;
    color: #34495e;
}

.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    align-items: center; /* Zentriert den Inhalt horizontal */
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    text-align: center; /* Zentriert den Text */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

.pricing-card i {
    font-size: 50px;
    color: #3498db;
    margin-bottom: 20px;
}

.pricing-card h2 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.pricing-card p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1; /* Nimmt den verfügbaren Platz ein */
}

.pricing-card .button {
    margin-top: auto; /* Schiebt den Button an das Ende der Karte */
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.pricing-card .button:hover {
    background-color: #2980b9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 100%;
        max-width: 350px;
    }
}


/* Erfolgsmeldungen */


.success-message {
    color: #28a745;
    background-color: #d4edda;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.error-message {
    color: #dc3545;
    background-color: #f8d7da;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Über mich Seite */
.about-me {
    padding: 80px 0;
    background-color: #f7f9fc;
}

.intro-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.intro-section .image-content {
    flex: 0 0 150px;
}

.intro-section .image-content img {
    width: 100%;
    height: auto;
    border-radius: 10px; /* Leicht abgerundete Ecken */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}


.intro-section h2 {
    flex: 1;
    font-size: 36px;
    color: #2c3e50;
    margin: 0;
}



.text-content h3 {
    font-size: 28px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #3498db;
    position: relative;
}

.text-content h3::after {
    content: '';
    width: 60px;
    height: 3px;
    background-color: #3498db;
    position: absolute;
    left: 0;
    bottom: -10px;
}

.text-content p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    flex: 1 1 200px;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

.feature-item i {
    font-size: 40px;
    color: #3498db;
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.feature-item p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.call-to-action {
    margin-top: 50px;
}

.call-to-action .button {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.call-to-action .button:hover {
    background-color: #2980b9;
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .intro-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .intro-section .image-content {
        margin-bottom: 20px;
    }

    .features {
        flex-direction: column;
        align-items: center;
    }
}




/* Impressum Seite */
.impressum {
    max-width: 800px;
    margin: 50px auto;
    padding: 0 20px;
}

.impressum h1, .impressum h2, .impressum h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.impressum p {
    margin-bottom: 20px;
    font-size: 18px;
    color: #34495e;
    line-height: 1.6;
}

.impressum a {
    color: #3498db;
    text-decoration: none;
}

.impressum a:hover {
    text-decoration: underline;
}

.disclaimer {
    margin-top: 40px;
    font-size: 16px;
    color: #777;
}

/* Features Abschnitt */
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
    justify-content: center;
}

.feature-item {
    flex: 1 1 300px;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

.feature-item i {
    font-size: 50px;
    color: #3498db;
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.feature-item p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* Datenschutzerklärung Seite */
.datenschutz {
    padding: 60px 0;
}

.datenschutz h1 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    color: #2c3e50;
}

.datenschutz h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #3498db;
    position: relative;
}

.datenschutz h2::after {
    content: '';
    width: 60px;
    height: 3px;
    background-color: #3498db;
    position: absolute;
    left: 0;
    bottom: -10px;
}

.datenschutz h3 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.datenschutz p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.datenschutz ul {
    list-style-type: disc;
    margin-left: 40px;
    margin-bottom: 20px;
}

.datenschutz ul li {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
}

.datenschutz strong {
    font-weight: 600;
}

.datenschutz a {
    color: #3498db;
    text-decoration: none;
}

.datenschutz a:hover {
    text-decoration: underline;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .datenschutz h1 {
        font-size: 30px;
    }

    .datenschutz h2 {
        font-size: 24px;
    }

    .datenschutz h3 {
        font-size: 20px;
    }

    .datenschutz p,
    .datenschutz ul li {
        font-size: 16px;
    }
}

/* Kontaktformular Seite */
.contact-form {
    padding: 80px 0;
    background-color: #f7f9fc;
}

.contact-form h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
}

.contact-form p {
    font-size: 18px;
    margin-bottom: 40px;
    text-align: center;
    color: #555;
}

.contact-form .success,
.contact-form .error {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
    background-color: #27ae60; /* Grün für Erfolgsmeldung */
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.contact-form .error {
    background-color: #e74c3c; /* Rot für Fehlermeldung */
}

.contact-form form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.contact-form .form-group input[type="text"],
.contact-form .form-group input[type="email"],
.contact-form .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    color: #2c3e50;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.contact-form .form-group input[type="text"]:focus,
.contact-form .form-group input[type="email"]:focus,
.contact-form .form-group textarea:focus {
    border-color: #3498db;
    outline: none;
}

.contact-form .form-group textarea {
    resize: vertical;
}

.contact-form .button {
    display: block;
    background-color: #3498db;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
}

.contact-form .button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-form h1 {
        font-size: 30px;
    }

    .contact-form p {
        font-size: 16px;
    }
}

/* Desktop-Navigation */
.menu-toggle {
    display: none;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #2c3e50;
        position: absolute;
        top: 70px; /* Höhe des Headers anpassen */
        left: 0;
        z-index: 1000;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: #fff;
        transition: all 0.3s;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}
