/* ===== ОСНОВНЫЕ СТИЛИ САЙТА DOMAIN ===== */
/* Цветовая палитра:
   - Основной: яркий кобальтово-синий #1E4BD8
   - Акцентный: насыщенный неоново-лимонный #E1FF00
   - Фон: светлый градиент от #FAFAFA к #EDEDED
   - Текст: тёмно-серый #1B1B1B
   - Элементы: белый с мягкими тенями
*/

/* ===== БАЗОВЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1B1B1B;
    background: linear-gradient(135deg, #FAFAFA 0%, #EDEDED 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ТИПОГРАФИКА ===== */
h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

h2 {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #1E4BD8;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 16px;
}

h4 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 12px;
}

p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.lead {
    font-size: 18px;
    font-weight: 400;
    color: #4A5568;
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #1E4BD8 0%, #0F2E8C 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 75, 216, 0.3);
}

.btn-accent {
    background: linear-gradient(135deg, #E1FF00 0%, #C8E600 100%);
    color: #1B1B1B;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(225, 255, 0, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: white;
    color: #1E4BD8;
    border-color: white;
}

/* ===== КАРТОЧКИ ===== */
.card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card-gradient {
    background: linear-gradient(135deg, #1E4BD8 0%, #E1FF00 100%);
    color: white;
    padding: 4px;
    border-radius: 24px;
}

.card-gradient .card-inner {
    background: white;
    border-radius: 20px;
    padding: 28px;
    color: #1B1B1B;
}

/* ===== HEADER ===== */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(30, 75, 216, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #1E4BD8;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo::before {
    content: "⬡";
    margin-right: 8px;
    color: #E1FF00;
    text-shadow: 0 0 10px rgba(225, 255, 0, 0.5);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

nav a {
    text-decoration: none;
    color: #1B1B1B;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

nav a:hover {
    color: #1E4BD8;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #E1FF00;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: #4A5568;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, rgba(30, 75, 216, 0.9) 0%, rgba(15, 46, 140, 0.9) 100%),
                url('./img/TnSsAU.jpg') center/cover;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(225, 255, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: white;
    font-size: 56px;
    margin-bottom: 24px;
    animation: fadeInUp 1s ease;
}

.hero .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s both;
}

/* ===== СЕКЦИИ ===== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1E4BD8, #E1FF00);
    border-radius: 2px;
}

/* ===== GRID СИСТЕМЫ ===== */
.grid {
    display: grid;
    gap: 32px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ===== ИКОНКИ ===== */
.icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
    background: linear-gradient(135deg, #1E4BD8, #E1FF00);
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ===== ФОРМА ===== */
.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1B1B1B;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #1E4BD8;
    box-shadow: 0 0 0 3px rgba(30, 75, 216, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
}

/* ===== ОТЗЫВЫ ===== */
.testimonial {
    text-align: center;
    padding: 40px;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 24px;
    color: #4A5568;
}

.testimonial-author {
    font-weight: 600;
    color: #1E4BD8;
}

.testimonial-company {
    font-size: 14px;
    color: #718096;
}

/* ===== FOOTER ===== */
footer {
    background: #1B1B1B;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #E1FF00;
    margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
    color: #CBD5E0;
    text-decoration: none;
    margin-bottom: 8px;
    display: block;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #E1FF00;
}

.footer-bottom {
    border-top: 1px solid #2D3748;
    padding-top: 20px;
    text-align: center;
    color: #718096;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(27, 27, 27, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: #E1FF00;
    color: #1B1B1B;
}

.cookie-decline {
    background: transparent;
    border: 1px solid #CBD5E0;
    color: #CBD5E0;
}

.cookie-accept:hover {
    background: #C8E600;
}

.cookie-decline:hover {
    background: #CBD5E0;
    color: #1B1B1B;
}

/* ===== АНИМАЦИИ ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .hero h1 {
        font-size: 42px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Компактная мобильная шапка */
    header {
        padding: 8px 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 12px;
        padding: 8px 0;
    }
    
    .logo {
        font-size: 24px;
    }
    
    /* Скрываем навигацию и контакты в мобильной версии */
    nav,
    .contact-info {
        display: none;
    }
    
    /* Добавляем мобильную версию контактов только для логотипа */
    .logo::after {
        content: " | München | +49 89 62058373";
        font-size: 12px;
        font-weight: 400;
        color: #718096;
        display: block;
        margin-top: 4px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 60px 0;
    }
    
    /* Дополнительные отступы от компактной шапки */
    .hero {
        padding: 100px 0 60px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .card {
        padding: 24px;
    }
    
    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

/* ===== УТИЛИТАРНЫЕ КЛАССЫ ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 40px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 40px; }

.hidden {
    display: none;
}

.visible {
    display: block;
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }
