@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');
        /* Modal styles for impressum and datenschutz */
        
        .rund_header {
            padding-top: 10vh;   
        }
        @media (min-width: 1024px) {
            .rund_header {
                padding-top: 1px;
            }
        }
        @media (max-width: 500px) {
            div.section.rund_header {
                padding: 110px 20px;
            }
        }




        .modal {
            display: none;
            position: fixed;
            z-index: 1100;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.5);
           

        }


        .modal-content {
            background-color: #fefefe;
            margin: 10% auto;
            padding: 30px;
            border-radius: 10px;
            width: 80%;
            max-width: 800px;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
            position: relative;
            animation: modalAnimation 0.4s;
        }

        @keyframes modalAnimation {
            from {opacity: 0; transform: translateY(-50px);}
            to {opacity: 1; transform: translateY(0);}
        }

        .close-modal {
            position: absolute;
            top: 20px;
            right: 30px;
            font-size: 28px;
            font-weight: bold;
            color:  #00008B;
            cursor: pointer;
        }

        .modal-title {
            color: #00008B;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid #ADD8E6;
        }

        .modal-body {
            max-height: 70vh;
            overflow-y: auto;
            line-height: 1.6;
            
        }

        
        :root {
            --dark-blue: #0a2463;
            --blue: #008aff;
            --light-blue: #8fb8de;
            --gray: #fffaff;
            --dark-gray: #d8d8d8;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Montserrat', sans-serif;
        }

        body {
            background-color: var(--gray);
            overflow-x: hidden;
        }

        header#header {
            position: fixed;
            width: 100%;
            padding: 0;
            background-color: transparent;
            height: 120px;
            transition: all 0.3s ease;
            z-index: 1000;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            margin: 0;
            align-items: flex-start;
            pointer-events: none;
            
        }

        
        
         

        .company-name {
            color: white;
            font-size: 1.5rem;
            font-weight: 500;
            letter-spacing: 1px;
        }

        .logo {
            transition: all 0.3s ease;
            float: left; /* Das Logo nach links verschieben */
            height: 200px;
            margin-left:10px;
            margin-top: 0;
            width: auto;
            position: fixed;
            pointer-events: auto;
            z-index: 1001;
            
        }
  
        .logo img {
            height: 125px;
            width: 125px;
            transition: all 0.3s ease;
        }

        header.scrolled .logo img {
            height:  75px;
            width: 75px;
        }
        
         
    

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg-mobile);
    background-size: cover;
    background-position: var(--bg-hero-position, center center);
    background-attachment: fixed;
}
@media(min-width: 768px) {
    .hero-bg {
        background-image: var(--hero-bg-tablet);
    }
}
@media(min-width: 1024px) {
    .hero-bg {
        background-image: var(--hero-bg-desktop);
    }
}

.hero-picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: var(--hero-object-position, 50% 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 0 10%;
    height: 100%;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 600;
    animation: fadeInDown 1.5s;
}

.hero p {
    font-size: 1.8rem;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1.5s;
}
.hero h1,
.hero p {
    text-shadow: 1px 1px black;
}
.hero .cta-link {
    margin-top: 1.5rem;
    animation: fadeInUp 1.5s;
}
.hero .cta-link a {
    text-decoration: none;
    font-size: 0.75rem;
    background-color: var(--dark-blue);
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 12px;
    transition: background-color 300ms ease-out;
    &:hover {
        background-color: var(--blue);
    }
}


        .section {
            padding: 100px 50px;
            
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .section-title,
        .section-title h2 {
            font-size: 2.5rem;
            color: var(--dark-blue);
            text-align: center;
            position: relative;
            font-weight: 600;
        }
        .section-title h2 {
            margin-bottom: 50px;
            font-size: 2.0625rem;
            @media(min-width: 768px) {
                font-size: 2.5rem;
            }
        }

        .section-title h2:after {
            content: '';
            position: absolute;
            width: 100px;
            height: 3px;
            background-color: var(--blue);
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
        }
        h1.section-title::after {
            content: '';
            position: absolute;
            width: 100px;
            height: 3px;
            background-color: var(--blue);
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
        }
        h1.section-title {
            margin-bottom: 50px;
        }

        #ueber-mich {
            background-color: white;
            position: relative;
            overflow: hidden;
        }

        #ueber-mich-1 {
            background-color: var(--dark-gray);
            position: relative;
            overflow: hidden;
        }

        #ueber-mich:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url("bilder/Moebel-Raumausstattung-Scholten_3.jpg");
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            opacity: 0.05;
            z-index: 1;
        }

        .about-content {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 50px;
            position: relative;
            z-index: 2;
        }

        .about-text {
            flex: 1;
            
            line-height: 1.8;
            margin-left: 15%;
            margin-right: 15%;
        }

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

        

        .about-image:hover {
            transform: translateY(-10px);
        }

        #leistungen {
            background-color: var(--dark-gray);
            position: relative;
            overflow: hidden;
        }

        #leistungen:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url("bilder/header-start-1.jpg");
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            opacity: 0.05;
            z-index: 1;
        }

        .accordion {
            max-width: 800px;
            margin: 0 auto;
            width: 100%;
            position: relative;
            z-index: 2;
        }

        .accordion-item {
            margin-bottom: 15px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
            background-color: white;
            transition: all 0.3s ease;
            z-index: 1;
            &.active {
                .accordion-content {
                    padding-top: 1.5rem;
                }
            }
        }

        .accordion-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
        }

        .accordion-header {
            background-color: var(--dark-blue);
            color: white;
            padding: 18px 25px;
            cursor: pointer;
            font-size: 1.2rem;
            position: relative;
            font-weight: 500;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
            -webkit-tap-highlight-color: transparent;
        }

        .accordion-header:hover {
            background-color: var(--blue);
            z-index: 1;
        }

        .accordion-header:after {
            content: '+';
            position: absolute;
            right: 25px;
            transition: transform 0.3s ease;
            font-size: 1.5rem;
            top: 50%;
            transform: translateY(-50%);
        }

        .accordion-item.active .accordion-header:after {
            content: '-';
        }

        .accordion-content {
            height: 0;
            overflow: hidden;
            transition: height 0.3s ease;
            padding-left: 20px;
            padding-right: 20px;
            padding-top: 0;
            position: relative;
            box-sizing: border-box;
        }
        .accordion-content h3 {
            margin: 1.56rem 0;
        }

.accordion-content p {
    margin-bottom: 25px;
    position: relative;
}


.accordion-item.active .accordion-content {
    padding: 25px 20px;            

}
    .div_ib {
        text-align: center;
        font-weight: 1000;
    }

    .rund {
            background-image: url('bilder/pp.jpeg');
            background-size: cover;
            aspect-ratio: 1 / 1;
            margin-bottom: 20px;
            border-radius: 100%;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            width: 70%;
            max-width: 60vh;
            
    
}

    .rund_div {
        display: flex;
            justify-content: center;
            align-items: center;


    }
        .service-image-1 {
            background-size: cover;
            aspect-ratio: 16 / 9;
            margin-bottom: 20px;
            border-radius: 5px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        .service-image-2 {
            background-size: cover;
            width: 50%;
            margin-left: auto;
            margin-right: auto;
            aspect-ratio: 9/16;
            margin-bottom: 20px;
            margin-top: 20px;
            border-radius: 5px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        .service-image-3 {
            width: 100%;
            height: 250px;
            background-image: url('bilder/Startbilder/Startbild\ Bodengestaltung.jpg');
            background-size: cover;
            background-position: 50% 40%;
            margin-bottom: 20px;
            border-radius: 5px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        .service-image-4 {
            width: 100%;
            height: 250px;
            background-image: url('bilder/Startbilder/Startbild\ Wandgestaltung.jpg');
            background-size: cover;
            background-position: center;
            margin-bottom: 20px;
            border-radius: 5px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        .service-image-5 {
            width: 100%;
            height: 250px;
            background-image: url('bilder/Startbilder/Startbild\ 1\ Sonnenschutz.jpg');
            background-size: cover;
            background-position: 50% 60%;
            margin-bottom: 20px;
            border-radius: 5px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        .service-image-6 {
            width: 100%;
            height: 250px;
            background-image: url('bilder/Startbilder/Startbild\ 1\ Insektenschutz.jpg');
            background-size: cover;
            background-position: 50% 70%;
            margin-bottom: 20px;
            border-radius: 5px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        .service-image-7 {
            width: 100%;
            height: 250px;
            background-image: url('bilder/Startbilder/Startbild\ Reinigung.jpg');
            background-size: cover;
            background-position: center;
            margin-bottom: 20px;
            border-radius: 5px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        #gal {
            display: none;
            min-height: 0;
            padding: 20px 50px 60px 50px;
        }

                .leistung-galerie {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
            margin-left: 15%;
            margin-right: 15%;
        }

        .galerie-item {
            height: 250px;
            background-size: cover;
            background-position: center;
            border-radius: 10px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .galerie-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }

        .leistungen-links {
            margin-top: 15px;
            bottom: 15px;
            right: 20px;
            display: flex; 
            justify-content: flex-end;
        }

        .leistungen-links a {
            color: darkgrey;
            text-decoration: none;
            margin: 0 00px;
            transition: color 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            
        }

        .leistungen-links a:hover {
            color: lightblue;
        }

        #kontakt {
            background-color: white;
            position: relative;
            overflow: hidden;
        }

        .contact-info {
            max-width: 1000px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
            
        }

        .contact-item {
            display: flex;
            align-items: center;
            margin-bottom: 35px;
            transition: all 0.3s ease;
        }

        .contact-item:hover {
            transform: translateX(10px);
        }

        .contact-icon {
            width: 60px;
            height: 60px;
            background-color: var(--dark-blue);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 25px;
            font-size: 1.2rem;
            transition: all 0.3s ease;
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
            flex-shrink: 0;
        }

   

        .contact-item:hover .contact-icon {
            background-color: var(--blue);
            transform: rotate(360deg);
        }

        .contact-text h3 {
            color: var(--dark-blue);
            margin-bottom: 8px;
            font-weight: 600;
        }

        .contact-text p {
            line-height: 1.6;
            color: var(--dark-blue);
        }

        .social-links {
            position: fixed;
            bottom: 40px;
            right: 30px;
            display: flex;
            flex-direction: column;
            gap: 15px;
            z-index: 900;
            
        }

        

        .social-link {
            width: 50px;
            height: 50px;
            background-color: var(--dark-blue);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
            font-size: 1.2rem;
        }

        .social-link:hover {
            transform: translateY(-5px) rotate(360deg);
            background-color: var(--blue);
        }

        footer {
            background-color: var(--dark-blue);
            color: white;
            padding: 30px 20px;
            text-align: center;
        }

        .footer-links {
            margin-top: 15px;
        }

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

        .footer-links button {
            appearance: none;
            background: transparent;
            border: 0;
            color: white;
            cursor: pointer;
            font: inherit;
            margin: 0 10px;
            padding: 0;
            transition: color 0.3s ease;
        }

        .footer-links a:hover,
        .footer-links button:hover {
            color: var(--light-blue);
        }


      

       
        /* Animations */
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Scroll animations */
        .fade-in {
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 1s ease, transform 1s ease;
        }

        .fade-in.active {
            opacity: 1;
            transform: translateY(0);
        }

        @media (max-width: 768px) {
            
            .close-modal {
                margin-left: 30px; /* Abstand rechts vom Schließen-Button */
             }

            .modal-title {
                display: inline-block; /* Damit margin funktioniert */
                margin-right: 15px;     /* Abstand links von der Überschrift */
            }

            .about-content {
                margin-right: 10px;
                margin-left: 10px;
                
            }

            .about-text {
                margin-right: 10px;
                margin-left: 10px;
            }
            
            .company-name {
                font-size: 1.2rem;
            }
            
            .logo img {
                height: 100px;
                width: 100px;
            }
            
            header.scrolled .logo img {
                height: 62px;
                width: 62px;
            }
            
            .section {
                padding: 80px 20px;
            }
            
            .hero h1 {
                font-size: 2.5rem;
                overflow-wrap: break-word;
                hyphens: auto;
                @media(min-width: 768px) {
                    font-size: 4rem;
                }
            }
            
            .hero p {
                font-size: 1.2rem;
            }
            
            
            .about-content {
                flex-direction: column;
            }
            
            .social-links {
                bottom: 40px;
                right: 20px;
            }

            .social-link {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }
            
            .modal-content {
                width: 99%;
                margin:  auto;
                padding: 20px;
                gap: 10px;
            }

            .service-image-2 {
                aspect-ratio: 9/16;
                background-size: cover;
                width: 100%;
                margin-left: auto;
                margin-right: auto;
                margin-bottom: 25px;
                margin-top: 20px;
                border-radius: 5px;
                box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
                

            }
           

            

        }
        i {
    font-family: "Font Awesome 6 Free"; /* Nur nötig, wenn du es überschreibst */
}




.menu-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1030;
}

.hamburger-menu {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
}

.hamburger-menu:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.line {
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
    margin: 3px 0;
}

.hamburger-menu.active .line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active .line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.menu-items {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background-color: var(--dark-blue);
    box-shadow: -2px 0 10px rgba(240, 240, 240, 0.2);
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1020;
    display: flex;
    flex-direction: column;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.menu-items.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.menu-items ul {
    list-style: none;
    padding: 0;
}

.menu-items li {
    padding: 15px 30px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.menu-items li:last-child {
    border-bottom: none;
}

.menu-items li:hover {
    background-color: #ffffff;
}

.menu-items li:hover a {
    color: var(--dark-blue);
}

.menu-items a {
    text-decoration: none;
    color: #ffffff;
    display: block;
    font-size: 18px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    z-index: 1010;
}

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

/* Dropdown-Container */
.dropdown {
    position: relative;
}

/* Dropdown-Menü verstecken */
.dropdown-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-menu li {
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li:hover {
    background-color: #f5f5f5;
}

/* Hover-Effekt für Dropdown-Elemente */
.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 10px;
}

.news-hero {
    min-height: 52vh;
    padding-top: 170px;
    background:
        linear-gradient(rgba(10, 36, 99, 0.72), rgba(10, 36, 99, 0.62)),
        url("bilder/leistung/cropped-2024_start-3.jpg");
    background-size: cover;
    background-position: center;
    color: white;
}

.news-hero-inner {
    width: min(1050px, 100%);
    margin: 0 auto;
}

.news-eyebrow {
    color: var(--blue);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.news-hero h1,
.post-admin-intro h1 {
    font-size: clamp(2.3rem, 6vw, 4.4rem);
    line-height: 1.05;
    margin-bottom: 18px;
}

.news-hero p,
.post-admin-intro p {
    max-width: 720px;
    font-size: 1.15rem;
    line-height: 1.7;
}

.news-section {
    background-color: white;
}

.news-feed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    width: min(1120px, 100%);
    margin: 0 auto;
}

.news-card {
    overflow: hidden;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 12px 28px rgba(10, 36, 99, 0.14);
}

.news-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
    background-color: var(--dark-gray);
}

.news-gallery.single {
    display: block;
}

.news-gallery img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-gallery:not(.single) img:first-child {
    grid-column: span 2;
}

.news-card-body {
    padding: 24px;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 14px;
    color: #5c6577;
    font-size: 0.9rem;
}

.news-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background-color: #e9f3ff;
    color: var(--dark-blue);
    font-weight: 600;
}

.news-card h3 {
    color: var(--dark-blue);
    font-size: 1.35rem;
    line-height: 1.3;
    margin-bottom: 12px;
}

.news-text {
    color: #273043;
    line-height: 1.75;
    white-space: pre-line;
}

.news-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--dark-blue);
    font-weight: 700;
    text-decoration: none;
}

.news-link:hover {
    color: var(--blue);
}

.news-empty {
    width: min(780px, 100%);
    margin: 0 auto;
    padding: 44px 24px;
    border: 1px solid #dfe7f0;
    border-radius: 8px;
    text-align: center;
}

.news-empty h3 {
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.post-admin-section {
    min-height: 100vh;
    padding-top: 150px;
    background-color: #f4f8fc;
}

.post-admin-shell {
    width: min(980px, 100%);
    margin: 0 auto;
}

.post-admin-intro {
    margin-bottom: 34px;
}

.post-admin-intro h1 {
    color: var(--dark-blue);
}

.post-admin-intro a {
    color: var(--dark-blue);
    font-weight: 700;
}

.post-form,
.admin-posts {
    padding: 28px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 12px 28px rgba(10, 36, 99, 0.12);
}

.auth-form {
    margin-bottom: 24px;
}

.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding: 14px 18px;
    border-radius: 8px;
    background-color: #e8eef7;
    color: var(--dark-blue);
    font-weight: 700;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.form-row label {
    color: var(--dark-blue);
    font-weight: 700;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    border: 1px solid #cfd9e6;
    border-radius: 6px;
    padding: 13px 14px;
    background-color: #ffffff;
    color: #182236;
    font: inherit;
}

.form-row textarea {
    resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: 3px solid rgba(0, 138, 255, 0.2);
    border-color: var(--blue);
}

.form-help {
    color: #5c6577;
    font-size: 0.92rem;
    line-height: 1.5;
}

.image-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.image-preview-tile {
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    background-color: #e9eef5;
}

.image-preview-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-actions,
.admin-posts-head {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.primary-button,
.secondary-button,
.danger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: 0;
    border-radius: 6px;
    padding: 11px 16px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.primary-button {
    background-color: var(--dark-blue);
    color: white;
}

.secondary-button {
    background-color: #e8eef7;
    color: var(--dark-blue);
}

.danger-button {
    background-color: #f4dede;
    color: #8b1e1e;
}

.danger-button.compact {
    min-height: 38px;
    padding: 8px 12px;
}

.primary-button:hover,
.secondary-button:hover,
.danger-button:hover {
    filter: brightness(0.95);
}

.form-status {
    min-height: 24px;
    margin-top: 14px;
    color: var(--dark-blue);
    font-weight: 700;
}

.form-status.is-error {
    color: #8b1e1e;
}

.admin-posts {
    margin-top: 26px;
}

.admin-posts h2 {
    color: var(--dark-blue);
    font-size: 1.4rem;
}

.admin-post-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.admin-post-item {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    border: 1px solid #e1e8f0;
    border-radius: 8px;
}

.admin-post-item div {
    display: grid;
    gap: 5px;
}

.admin-post-item strong {
    color: var(--dark-blue);
}

.admin-post-item span,
.admin-empty {
    color: #5c6577;
}

@media (max-width: 768px) {
    .news-hero,
    .post-admin-section {
        padding-top: 130px;
    }

    .news-gallery img {
        height: 190px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .post-form,
    .admin-posts {
        padding: 20px;
    }

    .admin-post-item {
        align-items: stretch;
        flex-direction: column;
    }
}
.icon {
    width: 1.2rem;
    height: 1.2rem;
    display: block;
    fill: currentColor;
}

.ce-inner {
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    @media (min-width: 768px) {
        padding: 100px 50px;
    }
    .content-inner {
        @media(min-width: 768px) {
            max-width: 800px;
            margin: 0 auto;
        }
        p {
            margin-bottom: 1.25rem;
            line-height: 1.4rem;
        }
    }
}

.frame-color-white {
    background-color: #fff;
}
.frame-color-redish {
    background-color: #fffaff;
}
.frame-color-dark-grey {
    background-color: var(--dark-gray);
}
section#main.spacingTop {
    padding-top: 3.25rem;
}
section#middle-part {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    padding: 0 50px 100px 50px;
    .ce-inner {
        padding: 100px 0 0 0;
    }
    .contact-info {
        margin-top: 2rem;
        display: flex;
        flex-direction: column;
        width: max-content;
        margin-inline: auto;
        align-items: stretch;
        a {
            width: 100%;
            display: block;
            > .contact-info {
                width: 100%;
                margin-inline: 0;
            }
        }
    } 
}
.showroom-hint {
    text-align: center;
    p {
        font-size: 0.8rem;
        margin: 0;
    }
}

.google-map-container {
    position: relative;
    min-height: 450px;

    iframe {
        width: 100%;
    }
}

.google-map-placeholder {
    min-height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    background-color: var(--dark-gray);

    p {
        margin: 0;
    }

    button {
        border: 0;
        border-radius: 12px;
        padding: 0.5rem 1rem;
        color: white;
        background-color: var(--dark-blue);
        cursor: pointer;
        font: inherit;
    }
}

.google-map-placeholder[hidden] {
    display: none;
}

@media(max-width: 992px) {
    section#middle-part {
        display: flex;
        flex-direction: column;
        padding: 0 20px 80px 20px;
    }
    #karte {
        display: contents;
    }
    #karte > .ce-inner {
        order: 1;
    }
    #form {
        order: 2;
    }
    #karte > .contact-info {
        order: 3;
    }
    #karte > .showroom-hint {
        order: 4;
    }
}
