
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f6f9;
    color: #333;
}
header {
    background: #004f91;
    color: white;
    padding: 2rem;
    text-align: center;
}
nav ul {
    list-style: none;
    padding: 0;
}
nav li {
    display: inline;
    margin: 0 10px;
}
nav a {
    color: white;
    text-decoration: none;
}
.services {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 2rem;
}
.service-box {
    background: #e1ecf4;
    padding: 1.5rem;
    margin: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex: 1 1 200px;
    text-align: center;
}
form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
input, textarea {
    margin: 0.5rem 0;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}
button {
    background: #004f91;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}


.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.gallery img {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

#arbeiten h3 {
    text-align: center;
    color: #004f91;
    margin-top: 2rem;
}


#bewertungen {
    padding: 2rem;
    background-color: #f8f9fa;
}

#bewertungen h2 {
    text-align: center;
    color: #004f91;
    margin-bottom: 1rem;
}

.review {
    max-width: 700px;
    margin: 1rem auto;
    padding: 1rem 1.5rem;
    background: white;
    border-left: 5px solid #004f91;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 5px;
}


.menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        background: #004f91;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
    }

    nav ul.show {
        display: flex;
    }

    nav li {
        margin: 1rem 0;
        text-align: center;
    }
}


#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    font-size: 1.5rem;
    background-color: #004f91;
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

#scrollTopBtn:hover {
    background-color: #0066cc;
}


#karte {
    padding: 2rem;
    background-color: #f4f6f9;
    text-align: center;
}

#map-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}


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

.fade-up {
    opacity: 0;
    animation: fadeUp 1s ease forwards;
}

.fade-delay-1 { animation-delay: 0.2s; }
.fade-delay-2 { animation-delay: 0.4s; }
.fade-delay-3 { animation-delay: 0.6s; }


#langToggle {
    background: white;
    color: #004f91;
    border: 2px solid #004f91;
    border-radius: 5px;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    margin-left: 1rem;
}

#langToggle:hover {
    background-color: #004f91;
    color: white;
}


#anfrage {
    background-color: #eef3f8;
    padding: 2rem;
    text-align: center;
}

#anfrage form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

#anfrage input,
#anfrage textarea,
#anfrage select {
    margin: 0.5rem 0;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#anfrage button {
    background: #004f91;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#anfrage button:hover {
    background: #0066cc;
}


.telegram-float {
    position: fixed;
    bottom: 140px;
    right: 30px;
    z-index: 100;
    background: white;
    padding: 8px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}


#slider-section {
    background: #f4f6f9;
    padding: 2rem;
    text-align: center;
}

.slider {
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    height: 60px;
}

.slide {
    animation: slideAnim 9s linear infinite;
    font-size: 1.2rem;
    color: #004f91;
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(100%);
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 3s; }
.slide:nth-child(3) { animation-delay: 6s; }

@keyframes slideAnim {
    0%   { opacity: 0; transform: translateY(100%); }
    10%  { opacity: 1; transform: translateY(0); }
    30%  { opacity: 1; transform: translateY(0); }
    40%  { opacity: 0; transform: translateY(-100%); }
    100% { opacity: 0; transform: translateY(-100%); }
}


:root {
    --bg: #f4f6f9;
    --text: #333;
    --card: #ffffff;
}

body {
    background-color: var(--bg);
    color: var(--text);
}

body.dark {
    --bg: #1e1e1e;
    --text: #eeeeee;
    --card: #2e2e2e;
}

.service-box,
.review,
#anfrage,
#slider-section,
#bewertungen,
#karte {
    background-color: var(--card);
    color: var(--text);
}

#themeToggle {
    background: white;
    color: #004f91;
    border: 1px solid #004f91;
    border-radius: 5px;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    margin-left: 1rem;
}


#kontakt label {
    text-align: left;
    margin-top: 1rem;
    font-weight: bold;
    display: block;
}

#kontakt .consent {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}


body {
    font-family: 'Open Sans', sans-serif;
    background: #f9fbfd;
    color: #2b2b2b;
    line-height: 1.6;
}

h1, h2, h3 {
    font-weight: 700;
    color: #003865;
    margin-bottom: 1rem;
}

button,
#langToggle,
#themeToggle {
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

button:hover,
#langToggle:hover,
#themeToggle:hover {
    transform: scale(1.05);
}

input, textarea, select {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    border-color: #004f91;
    box-shadow: 0 0 5px rgba(0, 79, 145, 0.3);
}

section {
    padding: 3rem 1rem;
}


/* Основная свежая палитра */
:root {
    --primary: #005bbb;
    --primary-dark: #004799;
    --accent: #e8f0fe;
    --text: #2b2b2b;
    --background: #f9fbfd;
}

body {
    background-color: var(--background);
    color: var(--text);
}

header {
    background: var(--primary);
    color: white;
}

nav a {
    color: white;
}

button,
#langToggle,
#themeToggle {
    background: var(--primary);
    color: white;
    border: none;
}

button:hover,
#langToggle:hover,
#themeToggle:hover {
    background: var(--primary-dark);
}

.service-box,
.review,
#anfrage,
#karte,
#bewertungen,
#slider-section {
    background-color: var(--accent);
    color: var(--text);
}

footer {
    background: var(--primary-dark);
    color: white;
    padding: 1rem;
    text-align: center;
}


.sticky-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

footer {
    background: var(--primary-dark);
    color: white;
    padding: 1.5rem 1rem;
    text-align: center;
    font-size: 0.9rem;
}

footer a {
    color: #aee1ff;
    text-decoration: none;
    margin: 0 0.5rem;
}

footer a:hover {
    text-decoration: underline;
}


/* Custom Enhancements */

.service-box {
    background: var(--accent);
    padding: 2rem;
    margin: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex: 1 1 240px;
    text-align: left;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.service-box h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.hero {
    background: linear-gradient(135deg, #0077b6 0%, #90e0ef 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.hero .cta-button {
    background: white;
    color: #0077b6;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}
.hero .cta-button:hover {
    background: #e0f7ff;
    transform: scale(1.05);
}

button, a.cta-button {
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
button:hover, a.cta-button:hover {
    transform: scale(1.05);
}

nav::before {
    content: "";
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 98;
}
nav ul.show ~ nav::before {
    display: block;
}



.service-box h3 i {
    color: var(--primary);
    margin-right: 0.5rem;
    font-size: 1.2em;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.service-box:hover h3 i {
    transform: scale(1.2);
}



.slider-container {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
    overflow: hidden;
    text-align: center;
}
.slider-wrapper {
    position: relative;
}
.arbeit-slide {
    display: none;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #004f91;
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    border-radius: 50%;
}
.slider-btn:hover {
    background: #0066cc;
}
.slider-btn.prev {
    left: 10px;
}
.slider-btn.next {
    right: 10px;
}
