/*=============== :ROOT ===============*/
:root {
    --primary-color: #00274d; /* Dunkelblau */
    --secondary-color: #f1f1f1; /* Helles Grau */
    --accent-color: #ffa500; /* Orange */
    --gold-color: #ffd700; /* Gold */
    --text-color: #ffffff; /* Weiß */
    --overlay-color: rgba(0, 0, 0, 0.7); /* Schwarze Überlagerung */
    --font-family: 'Arial', sans-serif;
}

/*=============== GLOBAL STYLES ===============*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: white;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/*=============== HERO SECTION ===============*/
.hero {
    position: relative;
    height: 100vh;
    background: url('../images/hero2.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 90%; /* Breite anpassen */
    margin: 0 auto; /* Zentriert auf dem Bildschirm */
    text-align: center; /* Text zentrieren */
}

.hero__title {
    font-size: 2.5rem; /* Reduzierte Schriftgröße */
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    word-wrap: break-word; /* Zeilenumbruch für lange Wörter */
}

.hero__subtitle {
    font-size: 1.2rem; /* Reduzierte Schriftgröße */
    color: var(--text-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
}

/* RESPONSIVE STYLES */
@media screen and (max-width: 768px) {
    .hero__title {
        font-size: 2rem; /* Noch kleinere Schriftgröße auf Smartphones */
    }

    .hero__subtitle {
        font-size: 1rem; /* Reduzierte Schriftgröße auf Smartphones */
    }

    .nav__logo img {
        width: 120px; /* Logo kleiner */
        height: auto; /* Proportional skalieren */
    }
}

@media screen and (max-width: 480px) {
    .hero__title {
        font-size: 1.8rem; /* Weitere Reduktion für sehr kleine Displays */
    }

    .hero__subtitle {
        font-size: 0.9rem; /* Subtitle noch kleiner */
    }

    .nav__logo img {
        width: 180px; /* Noch kleineres Logo */
        height: auto; /* Proportional skalieren */
    }
}


/* ABOUT SECTION */
.about {
    padding: 4rem 1rem;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-align: center;
}

.about__content {
    max-width: 800px;
    margin: 0 auto;
}

.about__title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.about__text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about__signature {
    font-size: 1.1rem;
    font-style: italic;
    margin-top: 2rem;
    color: var(--primary-color);
}

/* IMAGE-TEXT SECTION */
.image-text {
    padding: 4rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.image-text__block {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.image-text__image {
    width: 50%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.image-text__content {
    width: 50%;
    text-align: left;
}

.image-text__title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.image-text__text {
    font-size: 1rem;
    color: var(--primary-color);
    line-height: 1.6;
}

/* Reverse Layout */
.image-text__block--reverse {
    flex-direction: row-reverse;
}

/* RESPONSIVE STYLES */
@media screen and (max-width: 768px) {
    .image-text__block {
        flex-direction: column;
    }

    .image-text__image, .image-text__content {
        width: 100%;
        text-align: center;
    }
}

/* ANKAUF SECTION */
.ankauf {
    padding: 8rem 1rem 4rem; /* Mehr Abstand nach oben für Navigation */
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-align: left;
}

.ankauf__title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary-color);
}

.ankauf__text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* VORTEILE (CARDS) */
.ankauf__benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.ankauf__benefit {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ankauf__benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.ankauf__benefit-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.ankauf__benefit-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.ankauf__benefit-text {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.5;
}

/* SCHRITTE */
.ankauf__steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.ankauf__step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.ankauf__step-number {
    font-size: 1.5rem;
    font-weight: bold;
    background-color: var(--primary-color);
    color: var(--text-color);
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ankauf__step-content {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--primary-color);
}

/* RESPONSIVE STYLES */
@media screen and (max-width: 768px) {
    .ankauf {
        padding: 6rem 1rem 2rem;
    }

    .ankauf__benefits {
        grid-template-columns: 1fr;
    }

    .ankauf__text,
    .ankauf__step-content {
        font-size: 0.9rem;
    }
}

/* KONTAKT SECTION */
.kontakt {
    padding: 6rem 1rem 4rem; /* Abstand nach oben und unten */
    background-color: #f8f9fa; /* Heller Hintergrund */
    color: #333; /* Dunkler Text */
    text-align: center;
}

.kontakt__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

.kontakt__text {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    color: #555;
}

/* KONTAKT SECTION */
.kontakt {
    padding: 6rem 1rem 4rem;
    background-color: #f8f9fa; /* Heller Hintergrund */
    color: #333;
    text-align: center;
}

.kontakt__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
}

.kontakt__text {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    color: #555;
}

/* KONTAKT INFO */
.kontakt__info {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto 2rem auto; /* Zentrierung und Abstand nach unten */
    max-width: 600px; /* Gleiche Breite wie das Kontaktformular */
}

.kontakt__info p {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin: 1rem 0;
}

.kontakt__info i {
    font-size: 1.8rem;
    color: #ff9800;
    margin-right: 0.8rem;
}

/* KONTAKTFORMULAR */
.kontakt__form {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin: 0 auto; /* Zentrierung */
    max-width: 600px; /* Maximale Breite */
}

.kontakt__form-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
}

.kontakt__form-group {
    display: flex;
    flex-direction: column;
}

.kontakt__form-group label {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #444;
}

.kontakt__form-group input,
.kontakt__form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    color: #333;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.kontakt__form-group input:focus,
.kontakt__form-group textarea:focus {
    border-color: #ff9800;
    box-shadow: 0 0 4px rgba(255, 152, 0, 0.4);
    outline: none;
}

/* BUTTON STYLE */
.kontakt__button {
    background-color: #ff9800;
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.kontakt__button:hover {
    background-color: #e68900;
    transform: scale(1.02);
}

.kontakt__button:active {
    transform: scale(0.98);
}

/* RESPONSIVE DESIGN */
@media screen and (max-width: 768px) {
    .kontakt {
        padding: 4rem 1rem;
    }

    .kontakt__info {
        text-align: center;
    }

    .kontakt__info p {
        flex-direction: column;
        align-items: center;
        font-size: 1rem;
    }

    .kontakt__info i {
        margin-right: 0;
        margin-bottom: 0.5rem;
        font-size: 1.5rem;
    }

    .kontakt__form {
        padding: 2rem;
    }

    .kontakt__form-title {
        font-size: 1.8rem;
    }

    .kontakt__form-group input,
    .kontakt__form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .kontakt__button {
        padding: 0.9rem;
        font-size: 1rem;
    }
}

.notification {
    padding: 1rem;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #fff;
}

.notification.success {
    background-color: #4caf50; /* Grün */
}

.notification.error {
    background-color: #f44336; /* Rot */
}



/* Cards Section */
.cards-section {
    padding: 4rem 1rem;
    text-align: center;
    background-color: #f9f9f9;
}

.cards-section h1 {
    font-size: 2rem;
    color: #00274d;
    margin-bottom: 2rem;
}

/* Cards Container */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

/* Card Styles */
.card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px; /* Feste Breite der Card */
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    height: 200px; /* Feste Höhe für Bilder */
    object-fit: cover;
}

.card-content {
    padding: 1rem;
}

.card-content h2 {
    font-size: 1.25rem;
    color: #00274d;
    margin: 0.5rem 0;
}

.card-content p {
    font-size: 1rem;
    color: #555555;
}

/* "Mehr anzeigen" Button */
.cards-button {
    margin-top: 2rem;
}

.cards-button .more-button {
    background-color: #00274d;
    color: #ffffff;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s, transform 0.3s;
    display: inline-block;
}

.cards-button .more-button:hover {
    background-color: #003a6b;
    transform: translateY(-3px);
}

.ankauf__relax-card {
    width: 100%;
    background-color: var(--primary-color); /* Dunkelblau */
    color: var(--text-color); /* Weiß */
    padding: 2rem;
    text-align: center;
    border-radius: 12px;
    font-size: 1.2rem;
    margin-top: 3rem; /* Abstand nach oben */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Schatten */
}

.ankauf__relax-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.ankauf__relax-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

