/* Загальні стилі */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f9f9f9;
}

/* Хедер */
header {
    background-color: #a9fbc3;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav .logo {
    font-weight: bold;
    color: #8f2d56;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

header nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #8f2d56;
}

/* Футер */
footer {
    background-color: #1e1e1e;
    color: #a9fbc3;
    padding: 2rem 1rem;
    text-align: center;
}

footer h3 {
    margin-top: 0;
    color: #a9fbc3;
}

footer p {
    margin: 0.4rem 0;
}

footer a {
    color: #aaa;
    text-decoration: underline;
    transition: color 0.3s;
}

footer a:hover {
    color: #a9fbc3;
}
/* Header */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #a9fbc3;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.logo {
    font-weight: bold;
    color: #8f2d56;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #8f2d56;
}

.btn {
    padding: 0 1rem;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s, color 0.3s, border 0.3s;
    text-decoration: none;
}

.btn-outline {
    border: 2px solid #8f2d56;
    color: #8f2d56;
}

.btn-outline:hover {
    background-color: #8f2d56;
    color: white;
}

.btn-solid {
    background-color: #889ab3;
    color: white;
    border: 2px solid transparent;
}

.btn-solid:hover {
    background-color: #00337a;
}

/* Footer */
footer {
    background-color: #1e1e1e;
    color: #a9fbc3;
    padding: 2.5rem 1rem;
    font-size: 0.95rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-left h3 {
    margin-bottom: 0.5rem;
    color: #a9fbc3;
}

.footer-left p,
.footer-right p {
    margin: 0.3rem 0;
}

.footer-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.5rem;
    text-align: right;
}

footer a {
    color: #bbb;
    text-decoration: underline;
    transition: color 0.3s;
}

footer a:hover {
    color: #a9fbc3;
}

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 0.8rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .footer-right {
        text-align: left;
    }
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

section {
    padding: 4rem 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    background: #a9fbc3;
}

.section.alt {
    background: #f4f8fb;
}

h1, h2, h3 {
    color: #8f2d56;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

/* === HERO === */
.hero {
    background: linear-gradient(to right, #8f2d56, #0073e6);
    color: white;
    padding: 6rem 1rem;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* === ABOUT US === */
.section-image {
    margin-top: 2rem;
    width: 100%;
    max-width: 600px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* === SERVICES === */
.services {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1.1rem;
}

/* === COUNTER === */
.counters {
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.counters div {
    font-size: 1.5rem;
}

.counters strong {
    font-size: 2.5rem;
    display: block;
    color: #8f2d56;
}

/* === TESTIMONIALS === */
blockquote {
    font-style: italic;
    padding: 1rem 1.5rem;
    border-left: 5px solid #8f2d56;
    background-color: #f1f7fc;
    max-width: 800px;
    margin: 2rem auto;
}

/* === FAQ === */
details {
    background: white;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

details summary {
    cursor: pointer;
    font-weight: 600;
}

/* === BLOG === */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-grid article {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.blog-grid h3 {
    margin-top: 0.5rem;
    color: #8f2d56;
}

/* === FORM === */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

form input, form textarea {
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    background-color: #8f2d56;
    color: white;
    border: none;
    padding: 0.8rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
}

form button:hover {
    background-color: #00337a;
}

.alert {
    color: green;
    font-weight: 600;
}

.hidden {
    display: none;
}

/* === COOKIE POPUP === */
.cookie-popup {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #222;
    color: #a9fbc3;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
}

.cookie-popup a {
    color: #4fc3f7;
    text-decoration: underline;
}

.cookie-popup button {
    background: #8f2d56;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    margin-left: 1rem;
    border-radius: 4px;
    cursor: pointer;
}

.cookie-popup button:hover {
    background-color: #00337a;
}

/* === ABOUT US (Über uns) === */
#about-us {
    background-color: #f9fbff;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-in-out both;
}

#about-us .container {
    text-align: center;
}

#about-us p {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #444;
}

/* === OUR APPROACH (Unser Ansatz) === */
.section.alt {
    background: linear-gradient(90deg, #eef3f7, #f7fbfd);
    animation: slideInLeft 1.2s ease-in-out both;
}

.section.alt p {
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.75;
    color: #333;
}

/* === OUR SERVICES (Unsere Leistungen) === */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    animation: fadeIn 1s ease-in-out both;
}

.services li {
    background: #a9fbc3;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-color: #cce4ff;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.auth-container {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
.auth-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #8f2d56;
}
.auth-container form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.auth-container input {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}
.auth-container button {
    padding: 0.8rem;
    background: #8f2d56;
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.auth-container button:hover {
    background: #00337a;
}
.extra-links {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
}
.extra-links a {
    color: #8f2d56;
    text-decoration: none;
}
.extra-links a:hover {
    text-decoration: underline;
}
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);

    align-items: center;
    justify-content: center;
}
.popup-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.popup-content button {
    margin-top: 1rem;
    background: #8f2d56;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
}
.popup-content button:hover {
    background: #00337a;
}
.sign-container{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}