/* ========================================
   HOBEGE Hausverwaltung - Styles
   ======================================== */

/* Hausverwaltung Page Body */
.hausverwaltung-page {
    background-color: var(--color-dark);
}

/* Container Override for Hausverwaltung */
.hausverwaltung-page .container {
    max-width: 1920px;
    padding: 0 280px;
}

/* Header Dropdown Styles */
.header-hausverwaltung .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 0;
    min-width: 180px;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-hausverwaltung .dropdown {
    position: relative;
}

.header-hausverwaltung .dropdown:hover .dropdown-menu {
    display: block;
}

.header-hausverwaltung .dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--color-text-light);
    text-decoration: none;
    transition: all 0.2s ease;
}

.header-hausverwaltung .dropdown-menu a:hover {
    background-color: rgba(71, 186, 178, 0.1);
    color: var(--color-accent);
}

/* Login Button Style */
.hv-login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.hv-login-btn:hover {
    color: var(--color-accent);
}

.hv-login-btn svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   Hero Section - Hausverwaltung
   ======================================== */
.hausverwaltung-hero {
    height: 711px;
}

.hausverwaltung-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.hausverwaltung-hero .hero-content {
    max-width: 704px;
}

.hausverwaltung-hero .hero-content h1 {
    font-size: 60px;
    line-height: 70px;
}

.hausverwaltung-hero .hero-content p {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 40px;
}

/* ========================================
   Target Groups Section (Mieter/Eigentümer)
   ======================================== */
.target-groups-section {
    background-color: var(--color-dark);
    padding: 100px 0;
}

.target-groups-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.target-group-card {
    text-align: center;
}

.target-group-image {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 40px;
    border: 6px solid var(--color-accent);
}

.target-group-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.target-group-subtitle {
    color: var(--color-accent);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.target-group-card h3 {
    color: var(--color-light);
    font-size: 32px;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: 24px;
}

.target-group-text {
    color: var(--color-text-light);
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 40px;
}

/* ========================================
   Statistics Section
   ======================================== */
.statistics-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.statistics-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.statistics-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.statistics-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(38, 38, 38, 0.95) 0%, rgba(38, 38, 38, 0.7) 100%);
}

.statistics-section .container {
    position: relative;
    z-index: 1;
}

.statistics-section h2 {
    color: var(--color-light);
    font-size: 48px;
    line-height: 56px;
    margin-bottom: 24px;
}

.statistics-intro {
    color: var(--color-text-light);
    font-size: 18px;
    line-height: 28px;
    max-width: 800px;
    margin-bottom: 60px;
}

.statistics-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    color: var(--color-accent);
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 16px;
}

.stat-label {
    color: var(--color-light);
    font-size: 18px;
    line-height: 24px;
}

/* ========================================
   HV Intro Section
   ======================================== */
.hv-intro-section {
    background-color: var(--color-dark);
    padding: 80px 0;
}

.hv-intro-section h2 {
    color: var(--color-light);
    font-size: 48px;
    line-height: 56px;
    margin-bottom: 32px;
}

.hv-intro-section .intro-text {
    color: var(--color-text-light);
    font-size: 20px;
    line-height: 32px;
    max-width: 1100px;
}

/* ========================================
   Problems Section
   ======================================== */
.problems-section {
    background-color: var(--color-dark);
    padding: 80px 0;
}

.problems-section h2 {
    color: var(--color-light);
    font-size: 48px;
    line-height: 56px;
    margin-bottom: 48px;
}

.problems-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 60px;
}

.problem-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.problem-icon {
    width: 30px;
    height: 27px;
    flex-shrink: 0;
}

.problem-item span {
    color: var(--color-light);
    font-size: 20px;
    font-weight: 600;
}

/* ========================================
   Comparison Section
   ======================================== */
.comparison-section {
    background-color: var(--color-dark);
    padding: 100px 0;
}

.comparison-section h2 {
    color: var(--color-light);
    font-size: 48px;
    line-height: 56px;
    margin-bottom: 24px;
}

.comparison-intro {
    color: var(--color-text-light);
    font-size: 18px;
    line-height: 28px;
    max-width: 1000px;
    margin-bottom: 60px;
}

.comparison-table {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-column {
    display: flex;
    flex-direction: column;
}

.comparison-labels {
    background-color: transparent;
}

.comparison-hobege {
    background-color: rgba(71, 186, 178, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-others {
    background-color: rgba(255, 255, 255, 0.03);
}

.comparison-header {
    padding: 24px 32px;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 80px;
    display: flex;
    align-items: center;
}

.comparison-hobege .comparison-header {
    color: var(--color-accent);
}

.comparison-row {
    padding: 20px 32px;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row.highlight {
    background-color: rgba(255, 255, 255, 0.02);
}

.comparison-labels .comparison-row {
    font-weight: 600;
    color: var(--color-light);
}

.comparison-hobege .comparison-row {
    color: var(--color-accent);
}

/* ========================================
   Locations Section
   ======================================== */
.locations-section {
    background-color: var(--color-dark);
    padding: 100px 0;
}

.locations-section h2 {
    color: var(--color-light);
    font-size: 48px;
    line-height: 56px;
    margin-bottom: 48px;
}

.locations-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: start;
}

.location-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 8px;
}

.location-card h3 {
    color: var(--color-accent);
    font-size: 24px;
    margin-bottom: 16px;
}

.location-card p {
    color: var(--color-text-light);
    font-size: 16px;
    line-height: 26px;
}

.location-map {
    position: relative;
}

.map-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.map-container img {
    width: 100%;
    display: block;
}

.map-markers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.marker {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--color-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 4px rgba(71, 186, 178, 0.3);
}

.marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background-color: var(--color-dark);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* ========================================
   Properties Section
   ======================================== */
.properties-section {
    background-color: var(--color-dark);
    padding: 100px 0;
}

.properties-section h2 {
    color: var(--color-light);
    font-size: 48px;
    line-height: 56px;
    margin-bottom: 48px;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.property-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.property-card:hover {
    transform: translateY(-8px);
}

.property-image {
    height: 240px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-content {
    padding: 24px;
}

.property-content h3 {
    color: var(--color-light);
    font-size: 24px;
    margin-bottom: 16px;
}

.property-details {
    display: flex;
    gap: 32px;
}

.property-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-light);
    font-size: 14px;
}

.property-detail svg {
    width: 16px;
    height: 16px;
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials-section {
    background-color: var(--color-dark);
    padding: 100px 0;
}

.testimonials-section h2 {
    color: var(--color-light);
    font-size: 48px;
    line-height: 56px;
    margin-bottom: 48px;
    text-align: center;
}

.testimonial-slider {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: center;
}

.slider-arrow {
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.3s ease;
}

.slider-arrow:hover {
    opacity: 0.7;
}

.slider-arrow svg {
    width: 100%;
    height: 100%;
}

.testimonial-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 900px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 48px;
    border-radius: 16px;
}

.testimonial-avatar {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    flex: 1;
}

.testimonial-text p {
    color: var(--color-text-light);
    font-size: 18px;
    line-height: 28px;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    margin-bottom: 12px;
}

.testimonial-author strong {
    display: block;
    color: var(--color-light);
    font-size: 18px;
    margin-bottom: 4px;
}

.testimonial-author span {
    color: var(--color-text-light);
    font-size: 14px;
}

.testimonial-rating {
    display: flex;
    gap: 4px;
}

.testimonial-rating .star {
    color: var(--color-accent);
    font-size: 20px;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-section {
    background-color: var(--color-dark);
    padding: 100px 0;
}

.faq-section h2 {
    color: var(--color-light);
    font-size: 48px;
    line-height: 56px;
    margin-bottom: 48px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: 8px;
    border-left: 4px solid var(--color-accent);
}

.faq-item h3 {
    color: var(--color-light);
    font-size: 20px;
    margin-bottom: 16px;
}

.faq-item p {
    color: var(--color-text-light);
    font-size: 16px;
    line-height: 26px;
}

.faq-item a {
    color: var(--color-accent);
    text-decoration: underline;
}

/* ========================================
   Contact Section - Hausverwaltung
   ======================================== */
.hv-contact-section {
    background-color: var(--color-dark);
    padding: 100px 0;
}

.hv-contact-section h2 {
    color: var(--color-light);
    font-size: 48px;
    line-height: 56px;
    margin-bottom: 24px;
}

.contact-intro {
    color: var(--color-text-light);
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 48px;
}

.contact-form {
    max-width: 900px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px 20px;
    color: var(--color-light);
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.file-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 16px 24px;
    color: var(--color-text-light);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-wrapper input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.checkbox-wrapper input:checked + .checkmark {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.checkbox-label {
    color: var(--color-text-light);
    font-size: 14px;
    line-height: 20px;
}

.required-note {
    color: var(--color-text-light);
    font-size: 14px;
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 1600px) {
    .hausverwaltung-page .container {
        padding: 0 120px;
    }
}

@media (max-width: 1200px) {
    .hausverwaltung-page .container {
        padding: 0 60px;
    }

    .target-groups-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .statistics-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-item {
        flex: 0 0 calc(33.333% - 27px);
    }

    .comparison-table {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 768px) {
    .hausverwaltung-page .container {
        padding: 0 20px;
    }

    /* Hero Mobile */
    .hausverwaltung-hero {
        height: auto;
        min-height: 400px;
        margin-top: 80px;
    }

    .hausverwaltung-hero .hero-content {
        padding: 30px 20px;
        max-width: 100%;
    }

    .hausverwaltung-hero .hero-content h1 {
        font-size: 28px;
        line-height: 36px;
        text-align: left;
    }

    .hausverwaltung-hero .hero-content p {
        font-size: 16px;
        line-height: 24px;
        text-align: left;
    }

    /* Target Groups Mobile */
    .target-groups-section {
        padding: 60px 0;
    }

    .target-group-image {
        width: 200px;
        height: 200px;
    }

    .target-group-subtitle {
        font-size: 18px;
    }

    .target-group-card h3 {
        font-size: 24px;
        line-height: 32px;
    }

    .target-group-text {
        font-size: 16px;
        line-height: 24px;
    }

    /* Statistics Mobile */
    .statistics-section {
        padding: 60px 0;
    }

    .statistics-grid {
        gap: 24px;
    }

    .stat-item {
        flex: 0 0 calc(50% - 12px);
    }

    .stat-number {
        font-size: 40px;
    }

    .stat-label {
        font-size: 14px;
    }

    /* Problems Mobile */
    .problems-section {
        padding: 60px 0;
    }

    .problems-grid {
        flex-direction: column;
        gap: 20px;
    }

    .problem-item span {
        font-size: 16px;
    }

    /* Comparison Mobile */
    .comparison-section {
        padding: 60px 0;
    }

    .comparison-intro {
        font-size: 16px;
        text-align: left;
    }

    /* Properties Mobile */
    .properties-section {
        padding: 60px 0;
    }

    .properties-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Testimonial Mobile */
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonial-slider {
        flex-direction: column;
        gap: 20px;
    }

    .testimonial-content {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
        padding: 30px;
    }

    .testimonial-avatar {
        width: 80px;
        height: 80px;
    }

    .testimonial-text p {
        font-size: 16px;
        line-height: 24px;
    }

    /* FAQ Mobile */
    .faq-section {
        padding: 60px 0;
    }

    .faq-item {
        padding: 20px;
    }

    .faq-item h3 {
        font-size: 18px;
    }

    .faq-item p {
        font-size: 14px;
        line-height: 22px;
    }

    /* Form Mobile */
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    /* All Headings left-aligned and smaller */
    .faq-section h2,
    .hv-intro-section h2,
    .problems-section h2,
    .comparison-section h2,
    .locations-section h2,
    .properties-section h2,
    .testimonials-section h2,
    .hv-contact-section h2,
    .statistics-section h2,
    .target-groups-section h2 {
        font-size: 26px;
        line-height: 34px;
        text-align: left;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hausverwaltung-hero .hero-content h1 {
        font-size: 24px;
        line-height: 32px;
    }

    .stat-item {
        flex: 0 0 100%;
    }

    .stat-number {
        font-size: 36px;
    }

    .target-group-image {
        width: 150px;
        height: 150px;
    }
}

