/* 
* SteuerKlar - Stylesheet
* Стили для лендинга бухгалтерских услуг в Германии
* Автор: AI Developer
*/

/* ------------ ПЕРЕМЕННЫЕ И БАЗОВЫЕ СТИЛИ ------------ */
:root {
    /* Основные цвета из ТЗ */
    --deep-purple: #3B1F47;
    --neon-pink: #FF6F61;
    --neon-yellow: #FFD700;
    --cream-bg: #FDF6F0;
    --mint-green: #9AEBA3;
    
    /* Дополнительные цвета */
    --light-purple: #7051A8;
    --dark-text: #292639;
    --light-text: #F8F8F8;
    --gray-text: #6C757D;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: rgba(0, 0, 0, 0.1);
    
    /* Размеры и отступы */
    --container-width: 1200px;
    --section-padding: 5rem 0;
    --border-radius: 12px;
    --button-radius: 50px;
    --transition-speed: 0.3s;
}

/* Сброс стилей */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--cream-bg);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* Общие стили для контейнеров */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Типографика */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--deep-purple);
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-pink) 0%, var(--neon-yellow) 100%);
    left: 0;
    bottom: -10px;
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--deep-purple);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

a:hover {
    color: var(--neon-pink);
}

section {
    padding: var(--section-padding);
    position: relative;
}

/* -------------------- КНОПКИ -------------------- */
.button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--button-radius);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border: none;
    outline: none;
    text-decoration: none;
}

.primary-button {
    background: linear-gradient(90deg, var(--neon-pink) 0%, var(--neon-yellow) 100%);
    color: var(--light-text);
    box-shadow: 0 4px 15px rgba(255, 111, 97, 0.3);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 25px rgba(255, 111, 97, 0.5);
    color: var(--light-text);
}

.secondary-button {
    background-color: transparent;
    color: var(--deep-purple);
    border: 2px solid var(--deep-purple);
}

.secondary-button:hover {
    background-color: var(--deep-purple);
    color: var(--light-text);
    transform: translateY(-3px);
}

.nav-button {
    padding: 8px 20px;
    background-color: var(--deep-purple);
    color: var(--light-text);
}

.nav-button:hover {
    background-color: var(--light-purple);
    color: var(--light-text);
}

/* Cookie Banner */
.cookie-button {
    background-color: var(--mint-green);
    color: var(--deep-purple);
    padding: 8px 24px;
    margin-left: 20px;
}

.cookie-button:hover {
    background-color: var(--deep-purple);
    color: var(--light-text);
}

/* -------------------- HEADER -------------------- */
.site-header {
    background-color: rgba(253, 246, 240, 0.95);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

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

.logo a {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--deep-purple);
}

.logo-svg {
    margin-right: 10px;
}

.logo-text {
    background: linear-gradient(90deg, var(--deep-purple) 0%, var(--neon-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    position: relative;
    font-weight: 500;
    padding: 5px 0;
}

.nav-menu a:not(.button)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-pink) 0%, var(--neon-yellow) 100%);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    width: 30px;
    height: 20px;
    justify-content: space-between;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--deep-purple);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* -------------------- COOKIE BANNER -------------------- */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(59, 31, 71, 0.95);
    color: var(--light-text);
    z-index: 1000;
    padding: 15px;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    backdrop-filter: blur(5px);
}

.cookie-content {
    max-width: 1000px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
    padding-right: 20px;
}

.cookie-content a {
    color: var(--neon-yellow);
    text-decoration: underline;
}

/* -------------------- HERO SECTION -------------------- */
.hero {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(59, 31, 71, 0.9) 0%, rgba(112, 81, 168, 0.8) 100%);
    color: var(--light-text);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/Api5fe.jpg') center/cover no-repeat;
    opacity: 0.2;
    z-index: -1;
}

.hero h1 {
    color: var(--light-text);
    font-size: 3.8rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-slogan {
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-cta {
    animation: fadeInUp 1s ease-out 0.6s both;
}

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

/* -------------------- ABOUT SECTION -------------------- */
.about {
    background-color: var(--cream-bg);
    padding: 6rem 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.5s ease;
}

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

/* -------------------- SERVICES SECTION -------------------- */
.services {
    background-color: #fff;
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: linear-gradient(135deg, #fff, var(--cream-bg));
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-yellow));
    color: white;
    position: relative;
    z-index: 1;
}

.service-svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.service-card p {
    margin-bottom: 1.5rem;
}

/* -------------------- WHY US SECTION -------------------- */
.why-us {
    background-color: var(--cream-bg);
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-yellow) 100%);
    transition: all 0.6s ease;
    z-index: -1;
    opacity: 0;
    border-radius: 50%;
}

.feature:hover::before {
    width: 150%;
    height: 150%;
    opacity: 0.05;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-svg {
    width: 100%;
    height: 100%;
    fill: var(--deep-purple);
}

.feature h3 {
    margin-bottom: 0.8rem;
}

.feature p {
    color: var(--gray-text);
    margin-bottom: 0;
}

/* -------------------- TESTIMONIALS SECTION -------------------- */
.testimonials {
    background-color: white;
    padding: 6rem 0;
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial {
    flex: 1;
    min-width: 300px;
}

.testimonial-content {
    background-color: var(--cream-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content::before {
    content: '\201C';
    font-size: 5rem;
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    opacity: 0.1;
    color: var(--deep-purple);
    font-family: Georgia, serif;
}

.testimonial-content p {
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--deep-purple);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--gray-text);
}

/* -------------------- BENEFITS SECTION -------------------- */
.benefits {
    background-color: var(--cream-bg);
    padding: 6rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.benefit-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.5s ease;
}

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

.benefit-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
}

.benefit-card p {
    padding: 0 1.5rem 1.5rem;
    margin-bottom: 0;
    color: var(--gray-text);
}

/* -------------------- CONTACT FORM SECTION -------------------- */
.contact-form {
    background: linear-gradient(135deg, var(--deep-purple) 0%, var(--light-purple) 100%);
    padding: 6rem 0;
    color: var(--light-text);
}

.contact-form h2 {
    color: var(--light-text);
    text-align: center;
}

.contact-form h2::after {
    background: linear-gradient(90deg, var(--mint-green) 0%, var(--neon-yellow) 100%);
    margin: 0 auto;
    left: 0;
    right: 0;
}

.form-container {
    max-width: 700px;
    margin: 3rem auto 0;
}

.glass-form {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: 0 10px 30px var(--glass-shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--neon-pink);
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.radio-label span,
.checkbox-label span {
    margin-left: 0.5rem;
}

.checkbox-group {
    margin-top: 1.5rem;
}

.checkbox-label a {
    color: var(--neon-yellow);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--mint-green);
}

.form-submit {
    margin-top: 2rem;
    text-align: center;
}

/* -------------------- CONTACT MAP SECTION -------------------- */
.contact-map {
    background-color: white;
    padding: 6rem 0;
}

.contact-map h2 {
    text-align: center;
}

.contact-map h2::after {
    left: 0;
    right: 0;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-details {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 24px;
    height: 24px;
    fill: var(--deep-purple);
    flex-shrink: 0;
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.contact-item p {
    margin-bottom: 0;
}

.map-container {
    flex: 2;
    min-width: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.google-map {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
    border-radius: var(--border-radius);
}

/* -------------------- FOOTER -------------------- */
.site-footer {
    background-color: var(--deep-purple);
    color: var(--light-text);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-title {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-pink) 0%, var(--neon-yellow) 100%);
    border-radius: 1.5px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-icon {
    width: 18px;
    height: 18px;
    fill: var(--neon-yellow);
    flex-shrink: 0;
    margin-right: 10px;
    margin-top: 4px;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--neon-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* -------------------- LEGAL PAGES -------------------- */
.legal-page {
    padding: 6rem 0;
}

.legal-page h1 {
    margin-bottom: 3rem;
}

.legal-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.legal-content h2 {
    margin-top: 3rem;
    font-size: 1.8rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    margin-top: 2rem;
    font-size: 1.5rem;
}

.legal-content p, 
.legal-content ul,
.legal-content ol {
    margin-bottom: 1.5rem;
}

.legal-content ul,
.legal-content ol {
    padding-left: 1.5rem;
}

.legal-content ul li,
.legal-content ol li {
    margin-bottom: 0.5rem;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cookie-table th {
    background-color: var(--cream-bg);
    font-weight: 600;
}

/* -------------------- THANK YOU PAGE -------------------- */
.thank-you {
    padding: 6rem 0;
    text-align: center;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 4rem 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--neon-pink) 0%, var(--mint-green) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.check-icon {
    width: 60%;
    height: 60%;
    fill: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 111, 97, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 111, 97, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 111, 97, 0);
    }
}

.thank-you h1 {
    margin-bottom: 1.5rem;
}

.back-link {
    margin-top: 2rem;
}

/* Предотвращение горизонтальной прокрутки на мобильных устройствах */
html, body {
    overflow-x: hidden;
}

img, svg, iframe, video, table {
    max-width: 100%;
}

* {
    box-sizing: border-box;
}

/* -------------------- АДАПТИВНОСТЬ -------------------- */
@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .hero-slogan {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .about-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .about-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-info {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-bottom: 1rem;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 5rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-slogan {
        font-size: 1.2rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.5s ease;
        z-index: 99;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .legal-content {
        padding: 2rem 1.5rem;
    }
    
    .thank-you-content {
        padding: 3rem 1.5rem;
    }
    
    .button {
        padding: 10px 25px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-slogan {
        font-size: 1.1rem;
    }
    
    .services-grid, 
    .features-grid, 
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .logo a {
        font-size: 1.5rem;
    }
    
    .glass-form {
        padding: 1.5rem;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 0.5rem;
    }
} 