/* General Styles */
:root {
    --primary-color: #333;
    --secondary-color: #555;
    --accent-color: #d0a85c;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #666;
    --text-color: #333;
    --white: #fff;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

img {
    max-width: 100%;
    height: auto;
}

/* Image Placeholder Styles */
.image-placeholder {
    margin: 30px 0;
    text-align: center;
}

.image-placeholder img {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    margin-bottom: 10px;
}

.image-caption {
    font-style: italic;
    color: var(--dark-gray);
    font-size: 0.9em;
    margin: 0;
}

/* Content Section Styles */
.content-section {
    padding: 40px 0;
}

.content-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.8;
}

.content-text p {
    margin-bottom: 20px;
    text-align: justify;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

/* Button Styles */
.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-small {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 8px 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-small:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
}

.btn-secondary {
    background-color: var(--light-gray);
    color: var(--dark-gray);
}

.btn-secondary:hover {
    background-color: var(--medium-gray);
    color: var(--primary-color);
}

.btn-filter {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-filter:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-reset {
    background-color: var(--medium-gray);
    color: var(--dark-gray);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-reset:hover {
    background-color: var(--dark-gray);
    color: var(--white);
}



h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--primary-color);
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 18px;
}

p {
    margin-bottom: 15px;
}

section {
    padding: 20px 0;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo img {
    height: 60px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

nav ul li a:hover,
nav ul li a.active {
    border-bottom: 2px solid var(--accent-color);
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.3)), url('uploads/static/hero.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    color: var(--white);
    text-align: center;
    padding: 140px 0;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.15) 100%);
    pointer-events: none;
}

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

.hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6), 0 0 30px rgba(0,0,0,0.4);
    font-weight: 700;
}

.hero p {
    font-size: 22px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

@media screen and (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        padding: 100px 0;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }
}

/* Featured Properties Section */
.featured {
    background-color: var(--light-gray);
}

.featured h2 {
    text-align: center;
    margin-bottom: 40px;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.large-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.property-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.property-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

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

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

.property-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.property-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    padding-bottom: 60px;
}

.property-details h3 {
    margin-bottom: 10px;
}

.property-details p {
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.property-details .btn-small {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.property-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    font-size: 14px;
}

.property-meta span {
    margin-right: 15px;
    color: var(--dark-gray);
}

.property-meta i {
    margin-right: 5px;
    color: var(--accent-color);
}

/* About Preview Section */
.about-preview {
    background-color: var(--white);
}

.about-preview .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-gray);
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 40px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.stars {
    margin-bottom: 15px;
    color: var(--accent-color);
}

.testimonial p {
    font-style: italic;
    color: var(--dark-gray);
}

.author {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 15px;
}

/* Footer Styles */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 200px;
    margin-bottom: 20px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

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

.footer-links ul li a {
    color: var(--medium-gray);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 10px;
    color: var(--medium-gray);
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--medium-gray);
    font-size: 14px;
}

/* Page Header */
.page-header {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 40px 0;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    color: var(--white);
    font-size: 36px;
}

/* About Page Styles */
.about-section {
    background-color: var(--white);
}

.about-content-full {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.about-image-large {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.about-text ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.about-text ul li:before {
    content: "✓";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.workshop {
    background-color: var(--light-gray);
}

.workshop h2 {
    text-align: center;
    margin-bottom: 40px;
}

.workshop-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-item p {
    padding: 15px;
    color: var(--dark-gray);
    text-align: center;
}

.journey {
    background-color: var(--white);
}

.journey h2 {
    text-align: center;
    margin-bottom: 40px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline:before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--medium-gray);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--light-gray);
    border: 4px solid var(--accent-color);
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.timeline-item:nth-child(even):after {
    left: -10px;
}

.timeline-date {
    position: absolute;
    top: 15px;
    right: -150px;
    color: var(--accent-color);
    font-weight: 600;
}

.timeline-item:nth-child(even) .timeline-date {
    left: -150px;
    right: auto;
    text-align: right;
}

.timeline-content {
    padding: 20px;
    background-color: var(--light-gray);
    position: relative;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Property Listings Page */
.property-filter {
    background-color: var(--white);
    padding-bottom: 30px;
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.filter-item {
    flex: 1;
    min-width: 180px;
}

.filter-item label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.filter-item select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 5px;
}

.pagination a {
    display: inline-block;
    margin: 0 2px;
    padding: 8px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    color: var(--dark-gray);
    transition: var(--transition);
    text-decoration: none;
}

.pagination a:hover,
.pagination a.active {
    background-color: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.pagination a.next,
.pagination a.prev {
    padding: 8px 20px;
    font-weight: 500;
}

.pagination-ellipsis {
    display: inline-block;
    margin: 0 5px;
    color: var(--medium-gray);
    font-weight: 500;
}

.contact-cta {
    background-color: var(--accent-color);
    color: var(--white);
    text-align: center;
}

.contact-cta h2,
.contact-cta p {
    color: var(--white);
}

.contact-cta .btn {
    background-color: var(--white);
    color: var(--accent-color);
    margin-top: 20px;
}

.contact-cta .btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Impressum Page */
.impressum-content {
    background-color: var(--white);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.legal-content p {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.legal-content a {
    color: var(--accent-color);
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .about-preview .container {
        flex-direction: column;
    }
    
    .about-content-full {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline:before {
        left: 40px;
    }
    
    .timeline-item:after {
        left: 30px;
        right: auto;
    }
    
    .timeline-date {
        right: auto;
        left: 15px;
        top: -30px;
        text-align: left;
    }
    
    .timeline-item:nth-child(even) .timeline-date {
        left: 15px;
        text-align: left;
    }
}

@media screen and (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 15px 10px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .property-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .filter-controls {
        flex-direction: column;
    }
    
    .filter-item {
        width: 100%;
    }
    
    .filter-item label {
        text-align: left;
    }
    
    .filter-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .filter-buttons .btn-filter {
        flex: 1;
        max-width: 200px;
    }
    
    .pagination a {
        padding: 6px 10px;
        font-size: 14px;
    }
    
    .pagination a.next,
    .pagination a.prev {
        padding: 6px 12px;
    }
    
    .pagination-ellipsis {
        margin: 0 2px;
    }
}

 /* Galerie-Styles */
    .property-gallery {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .main-image-container {
        position: relative;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        height: 400px;
    }
    
    .main-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
        cursor: pointer;
    }
    
    .main-image:hover {
        transform: scale(1.02);
    }
    
    .thumbnail-gallery {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 5px;
    }
    
    .thumbnail-item {
        flex: 0 0 80px;
        height: 60px;
        border-radius: 4px;
        overflow: hidden;
        cursor: pointer;
        opacity: 0.7;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }
    
    .thumbnail-item:hover {
        opacity: 0.9;
    }
    
    .thumbnail-item.active {
        opacity: 1;
        border-color: #d0a85c;
    }
    
    .thumbnail-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Zusätzliche Styles für die Detailseite */
    .property-detail-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }
    
    .property-gallery {
        position: relative;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .property-badge-large {
        position: absolute;
        top: 20px;
        right: 20px;
        background-color: #d0a85c;
        color: white;
        padding: 8px 15px;
        border-radius: 4px;
        font-size: 14px;
        font-weight: 600;
    }
    
    .property-info h2 {
        margin-bottom: 20px;
        font-size: 32px;
    }
    
    .property-features {
        background-color: #f5f5f5;
        padding: 20px;
        border-radius: 8px;
        margin: 20px 0;
    }
    
    .property-features h3 {
        margin-bottom: 15px;
    }
    
    .feature-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .feature-item {
        display: flex;
        align-items: center;
    }
    
    .feature-item i {
        margin-right: 10px;
        color: #d0a85c;
        font-size: 18px;
        width: 25px;
        text-align: center;
    }
    
    .property-description {
        margin: 30px 0;
        line-height: 1.8;
    }
    
    .similar-properties {
        background-color: #f5f5f5;
        padding: 60px 0;
    }
    
    .similar-properties h2 {
        text-align: center;
        margin-bottom: 40px;
    }
    
    /* Lightbox-Styles verbessert */
    .lightbox {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .lightbox.active {
        opacity: 1;
        visibility: visible;
    }
    
    .lightbox-content {
        position: relative;
        max-width: 90%;
        max-height: 90vh;
    }
    
    .lightbox-content img {
        max-width: 100%;
        max-height: 85vh;
        display: block;
        border-radius: 4px;
    }
    
    .lightbox-title {
        position: absolute;
        bottom: -40px;
        left: 0;
        width: 100%;
        text-align: center;
        color: white;
        font-size: 18px;
        padding: 10px;
    }
    
    .close-lightbox {
        position: absolute;
        top: -40px;
        right: 0;
        font-size: 30px;
        color: white;
        cursor: pointer;
        background: none;
        border: none;
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        transition: all 0.3s ease;
    }
    
    .close-lightbox:hover {
        transform: scale(1.2);
    }
    
    .lightbox-nav {
        position: absolute;
        top: 50%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        transform: translateY(-50%);
        padding: 0 20px;
    }
    
    .lightbox-nav button {
        background: rgba(0, 0, 0, 0.5);
        color: white;
        border: none;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        font-size: 24px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .lightbox-nav button:hover {
        background: rgba(255, 255, 255, 0.2);
    }
    
    @media screen and (max-width: 768px) {
        .property-detail-container {
            grid-template-columns: 1fr;
        }
        
        .main-image-container {
            height: 300px;
        }
        
        .thumbnail-item {
            flex: 0 0 70px;
            height: 50px;
        }
        
        .lightbox-nav button {
            width: 40px;
            height: 40px;
            font-size: 18px;
        }
    }
	
	
	/* Links Seite Styles */
.links-section {
    padding: 60px 0;
}

.links-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.links-category {
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.links-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.links-category h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.links-list {
    list-style: none;
    padding: 0;
}

.links-list li {
    margin-bottom: 20px;
}

.links-list li:last-child {
    margin-bottom: 0;
}

.links-list a {
    display: block;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

.links-list a:hover {
    color: var(--accent-color);
}

.link-title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 5px;
}

.link-description {
    color: var(--dark-gray);
    font-size: 14px;
    line-height: 1.5;
}

.links-contact {
    background-color: var(--accent-color);
    color: var(--white);
    text-align: center;
    padding: 40px;
    border-radius: 8px;
    margin-top: 40px;
}

.links-contact h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.links-contact p {
    max-width: 600px;
    margin: 0 auto 20px;
    color: rgba(255, 255, 255, 0.9);
}

.links-contact .btn {
    background-color: var(--white);
    color: var(--accent-color);
}

.links-contact .btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

@media screen and (max-width: 768px) {
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .links-category {
        padding: 20px;
    }
}

/* Wartungsmodus */
.maintenance {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    padding: 20px;
}

.maintenance-content {
    text-align: center;
    padding: 3rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

.maintenance-content i.fa-tools {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    display: block;
}

.maintenance h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #d0a85c;
}

.maintenance p {
    font-size: 1.2em;
    color: #666;
    line-height: 1.6;
}

.maintenance-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--medium-gray);
}

.maintenance-info p {
    font-size: 1rem;
    color: var(--dark-gray);
}

.maintenance-info i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* ===========================
   Immobilien Detail Seite
   =========================== */

/* Galerie-Styles */
.property-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.main-image:hover {
    transform: scale(1.02);
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.thumbnail-item {
    flex: 0 0 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail-item:hover {
    opacity: 0.9;
}

.thumbnail-item.active {
    opacity: 1;
    border-color: #d0a85c;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Zusätzliche Styles für die Detailseite */
.property-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.property-gallery {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.property-badge-large {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #d0a85c;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.image-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    color: white;
    padding: 15px 20px 10px;
    font-size: 16px;
    font-weight: 500;
}

.property-info h2 {
    margin-bottom: 20px;
    font-size: 32px;
}

.property-features {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.property-features h3 {
    margin-bottom: 15px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    min-height: 30px;
}

.feature-item i {
    margin-right: 10px;
    color: #d0a85c;
    font-size: 18px;
    width: 25px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item span {
    flex: 1;
    line-height: 1.4;
    word-wrap: break-word;
    hyphens: auto;
}

.property-description {
    margin: 30px 0;
    line-height: 1.8;
}

.similar-properties {
    background-color: #f5f5f5;
    padding: 60px 0;
}

.similar-properties h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* Lightbox-Styles verbessert */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    display: block;
    border-radius: 4px;
}

.lightbox-title {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 18px;
    padding: 10px;
}

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 30px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.close-lightbox:hover {
    transform: scale(1.2);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.lightbox-nav button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav button:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media screen and (max-width: 768px) {
    .property-detail-container {
        grid-template-columns: 1fr;
    }
    
    .main-image-container {
        height: 300px;
    }
    
    .thumbnail-item {
        flex: 0 0 70px;
        height: 50px;
    }
    
    .lightbox-nav button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .property-features {
        padding: 15px;
    }
}

/* ===========================
   Über Mich Seite - Spezielle Elemente
   =========================== */

.intro-box {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid var(--accent-color);
}

.hobby-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.hobby-tag {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
}

.highlight-box {
    background: linear-gradient(135deg, #fef7e7 0%, #fff2d4 100%);
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
    border: 1px solid #f4e4b8;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.highlight-box::before {
    content: "💡";
    position: absolute;
    top: -8px;
    left: 20px;
    background: var(--white);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.thank-you-box {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    border-left: 4px solid #5dade2;
    text-align: center;
}

.thank-you-box p {
    margin: 0;
    font-size: 16px;
    color: #2874a6;
}

@media screen and (max-width: 768px) {
    .hobby-tag {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .intro-box,
    .highlight-box,
    .thank-you-box {
        padding: 15px;
        margin: 15px 0;
    }
    
    .highlight-box::before {
        left: 15px;
        font-size: 14px;
        padding: 3px 8px;
    }
}

/* ===========================
   Workshop Galerie - Horizontales Scrollen
   =========================== */

.workshop-container {
    width: 90% !important;
    max-width: 1200px !important;
    padding: 0 20px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

.workshop-container h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: var(--text-color);
}

.workshop-gallery {
    width: 100% !important;
    display: block !important;
}

.thumbnail-gallery-large {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 10px 0 20px 0 !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Scrollbar Styling */
.thumbnail-gallery-large::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-gallery-large::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 4px;
}

.thumbnail-gallery-large::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.thumbnail-gallery-large::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.thumbnail-item-large {
    position: relative !important;
    background-color: var(--white) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    flex: 0 0 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    height: auto !important;
    display: block !important;
}

.thumbnail-item-large:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.thumbnail-item-large img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
    display: block !important;
}

.thumbnail-item-large:hover img {
    transform: scale(1.05);
}

.thumbnail-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: white;
    padding: 20px 15px 15px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .workshop-container {
        width: 95%;
        padding: 0 15px;
    }
    
    .workshop-container h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .thumbnail-gallery-large {
        gap: 15px;
    }
    
    .thumbnail-item-large {
        flex: 0 0 250px;
        min-width: 250px;
    }
    
    .thumbnail-item-large img {
        height: 200px;
    }
    
    .thumbnail-title {
        font-size: 14px;
        padding: 15px 10px 10px;
    }
}

@media screen and (max-width: 480px) {
    .thumbnail-item-large {
        flex: 0 0 220px;
        min-width: 220px;
    }
    
    .thumbnail-item-large img {
        height: 180px;
    }
}

/* ===========================
   Admin Maintenance Seite
   =========================== */

.mt-4 {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.mt-4 h3 {
    margin-bottom: 1rem;
    color: #333;
}

.mt-4 ul {
    list-style: none;
    padding: 0;
}

.mt-4 ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.mt-4 ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #d0a85c;
    font-weight: bold;
}

/* ===========================
   Admin Login Seite
   =========================== */

.admin-login-body {
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.login-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    padding: 30px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo img {
    height: 80px;
    margin-bottom: 15px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.login-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.login-form button {
    width: 100%;
    padding: 12px;
}

/* ===========================
   Preview Login Seite
   =========================== */

.preview-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.login-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 100%;
    margin: 1rem;
}

.login-box h1 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
}

.login-box .form-group {
    margin-bottom: 1.5rem;
}

.login-box label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}

.login-box input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.login-box input[type="password"]:focus {
    outline: none;
    border-color: #d0a85c;
}

.login-box button {
    width: 100%;
    padding: 0.75rem;
    background-color: #d0a85c;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-box button:hover {
    background-color: #b8934a;
}

.error-message {
    background-color: #ffebee;
    color: #c62828;
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: center;
}

.info-message {
    text-align: center;
    color: #666;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* ===========================
   TV-Ankündigung
   =========================== */

.tv-announcement {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.tv-announcement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.tv-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.tv-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: tv-pulse 2s ease-in-out infinite;
}

@keyframes tv-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 20px 5px rgba(255, 255, 255, 0.2); }
}

.tv-icon i {
    font-size: 28px;
    color: #fff;
}

.tv-text {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
}

.tv-text strong {
    color: #ffd54f;
}

.tv-text em {
    font-style: italic;
}

.tv-text a {
    color: #81d4fa;
    text-decoration: none;
    margin-left: 10px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.tv-text a:hover {
    color: #fff;
    text-decoration: underline;
}

.tv-text a i {
    font-size: 12px;
    margin-left: 4px;
}

@media screen and (max-width: 768px) {
    .tv-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .tv-icon {
        width: 50px;
        height: 50px;
    }

    .tv-icon i {
        font-size: 24px;
    }

    .tv-text {
        font-size: 15px;
    }

    .tv-text a {
        display: block;
        margin-left: 0;
        margin-top: 10px;
    }
}

/* ===========================
   Sonderausstellung Ankündigung
   =========================== */

/* Anker-Offset für sticky Header */
.anchor-offset {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
    height: 0;
}

.exhibition-announcement {
    background: linear-gradient(135deg, #fef9e7 0%, #fdf2d5 50%, #fce8b2 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--accent-color);
    border-bottom: 4px solid var(--accent-color);
}

.exhibition-announcement::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(208, 168, 92, 0.1) 0%, transparent 70%);
    animation: pulse-bg 15s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.exhibition-announcement .container {
    position: relative;
    z-index: 1;
}

.announcement-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color) 0%, #c4983f 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(208, 168, 92, 0.4);
    animation: badge-glow 2s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(208, 168, 92, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(208, 168, 92, 0.6); }
}

.exhibition-announcement h2 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.announcement-subtitle {
    font-size: 20px;
    color: var(--dark-gray);
    margin-bottom: 30px;
    font-weight: 500;
}

.announcement-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.announcement-text {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.announcement-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
}

.announcement-details {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    width: 30px;
    color: var(--accent-color);
    font-size: 18px;
    flex-shrink: 0;
}

.detail-item span {
    color: var(--text-color);
}

.announcement-invite {
    font-size: 18px !important;
    font-weight: 600;
    color: var(--accent-color) !important;
    text-align: center;
    margin-bottom: 0 !important;
    padding-top: 10px;
}

.announcement-flyers {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flyer-gallery {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.flyer-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 220px;
}

.flyer-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.flyer-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.flyer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.flyer-item:hover .flyer-overlay {
    opacity: 1;
}

.flyer-overlay i {
    font-size: 32px;
    margin-bottom: 10px;
}

.flyer-overlay span {
    font-size: 14px;
    font-weight: 500;
}

@media screen and (max-width: 992px) {
    .announcement-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .exhibition-announcement h2 {
        font-size: 32px;
    }

    .flyer-gallery {
        flex-wrap: wrap;
    }

    .flyer-item {
        max-width: 180px;
    }
}

@media screen and (max-width: 576px) {
    .exhibition-announcement {
        padding: 30px 0;
    }

    .exhibition-announcement h2 {
        font-size: 26px;
    }

    .announcement-subtitle {
        font-size: 16px;
    }

    .announcement-text {
        padding: 20px;
    }

    .flyer-item {
        max-width: 150px;
    }

    .announcement-badge {
        font-size: 12px;
        padding: 6px 15px;
    }
}

/* Dynamischer Hinweis-Block (im Admin pflegbar) */
.homepage-announcement .container {
    text-align: center;
}

.homepage-announcement-text {
    max-width: 760px;
    margin: 25px auto 0;
    text-align: left;
}

.homepage-announcement-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
}

.homepage-announcement-text p:last-child {
    margin-bottom: 0;
}

.homepage-announcement-text a {
    color: var(--accent-color);
    font-weight: 600;
}

.homepage-announcement-text a:hover {
    text-decoration: underline;
}

/* ===========================
   Presse & Medien
   =========================== */

.media-list-section {
    padding: 50px 0 70px;
    background-color: var(--light-gray, #f5f5f5);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.media-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.media-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.media-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #eee;
    overflow: hidden;
}

.media-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0e6d2 0%, #ddd5c0 100%);
    color: var(--accent-color, #d0a85c);
    font-size: 64px;
}

.media-card__type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.media-card__type-badge i {
    font-size: 13px;
}

.media-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.media-card__play:hover {
    background: var(--accent-color, #d0a85c);
    transform: translate(-50%, -50%) scale(1.08);
}

.media-card__body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.media-card__title {
    font-size: 20px;
    margin: 0 0 10px;
    color: var(--primary-color, #2c3e50);
    line-height: 1.3;
}

.media-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.media-card__meta i {
    color: var(--accent-color, #d0a85c);
    margin-right: 4px;
}

.media-card__description {
    color: #444;
    line-height: 1.6;
    font-size: 15px;
    flex: 1;
    margin-bottom: 16px;
}

.media-card__actions {
    margin-top: auto;
}

.media-card__actions .btn-small {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* Video-Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal__inner {
    position: relative;
    width: 100%;
    max-width: 960px;
}

.video-modal__player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
}

.video-modal__player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-modal__close {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    line-height: 1;
}

.video-modal__close:hover {
    transform: scale(1.15);
}

.video-modal__title {
    color: #fff;
    text-align: center;
    margin-bottom: 12px;
    font-size: 18px;
}

@media screen and (max-width: 576px) {
    .media-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .media-card__title {
        font-size: 18px;
    }

    .media-card__play {
        width: 52px;
        height: 52px;
        font-size: 18px;
    }
}