/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF6B35;
    --secondary-color: #1E1E1E;
    --accent-color: #F7931E;
    --text-dark: #0A0A0A;
    --text-light: #4A4A4A;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --bg-dark: #0F0F0F;
    --border-color: #E5E5E5;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(255, 107, 53, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Styles */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
}

.logo {
    text-decoration: none;
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.logo .accent {
    color: var(--primary-color);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav a:hover,
.nav a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 160px 24px 100px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a2e 100%);
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 72px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--primary-color);
    display: block;
    margin-top: 4px;
}

.hero-subtitle {
    font-size: 19px;
    margin-bottom: 36px;
    opacity: 0.9;
    line-height: 1.7;
    font-weight: 400;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 15px;
    text-align: center;
}

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

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-submit {
    background: var(--primary-color);
    color: white;
    width: 100%;
    padding: 18px;
    font-size: 16px;
    border-radius: 8px;
}

.btn-submit:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: 100px 24px;
    background: var(--bg-white);
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.section-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-light);
    padding: 40px 32px;
    border-radius: 16px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-color);
    background: var(--bg-white);
}

.service-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
    background: var(--bg-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
}

.service-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: var(--transition);
}

.service-card:hover .service-icon img {
    filter: brightness(0) invert(1);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* Advantages Section */
.advantages {
    padding: 100px 24px;
    background: var(--bg-light);
}

.advantages-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.advantages-text h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.advantages-text > p {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.advantages-list {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}

.advantages-list li {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.advantages-list li:last-child {
    border-bottom: none;
}

.advantages-list li strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.advantages-list li span {
    font-size: 15px;
    color: var(--text-light);
}

.advantages-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

/* CTA Section */
.cta-section {
    padding: 80px 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* Contact Preview Section */
.contact-preview {
    padding: 80px 24px;
    background: var(--bg-white);
}

.contact-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.contact-info-block h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-value {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-value a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.contact-value a:hover {
    color: var(--primary-color);
}

/* Page Hero */
.page-hero {
    padding: 140px 24px 60px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a2e 100%);
    text-align: center;
    margin-top: 72px;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
}

/* About Page Styles */
.about-intro {
    padding: 80px 24px;
    background: var(--bg-white);
}

.about-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
}

/* Values Section */
.about-values {
    padding: 80px 24px;
    background: var(--bg-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.value-card {
    background: var(--bg-white);
    padding: 36px;
    border-radius: 16px;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.value-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 12px;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Stats Section */
.about-stats {
    padding: 60px 24px;
    background: var(--bg-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Approach Section */
.about-team {
    padding: 80px 24px;
    background: var(--bg-white);
}

.approach-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.approach-step {
    text-align: center;
    padding: 32px 24px;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    color: white;
    font-size: 24px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.approach-step h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.approach-step p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Contact Page Styles */
.contact-main {
    padding: 80px 24px;
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-details {
    display: grid;
    gap: 24px;
}

.contact-detail-item h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.contact-detail-item p,
.contact-detail-item address {
    font-size: 16px;
    color: var(--text-dark);
    font-style: normal;
    line-height: 1.6;
}

.contact-detail-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-detail-item a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 16px;
}

.contact-form {
    margin-top: 24px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-white);
    color: var(--text-dark);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234A4A4A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-light);
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* Legal Pages (Impressum, Datenschutz, Cookie) */
.legal-content-section {
    padding: 60px 24px 80px;
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
}

.legal-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.legal-updated {
    color: var(--text-light);
    margin-bottom: 48px;
    font-size: 15px;
}

.legal-content {
    line-height: 1.8;
}

.legal-content h2 {
    font-size: 26px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.legal-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.legal-content p {
    margin-bottom: 16px;
    color: var(--text-dark);
    font-size: 16px;
}

.legal-content ul {
    margin-left: 24px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 16px;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-back {
    margin-top: 48px;
    text-align: center;
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.cookie-table th,
.cookie-table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.cookie-table th {
    background: var(--bg-light);
    font-weight: 600;
    font-size: 14px;
}

.cookie-table td {
    font-size: 15px;
}

/* Thanks Page */
.thanks-section {
    padding: 160px 24px 100px;
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
    background: var(--bg-light);
    margin-top: 72px;
}

.thanks-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.thanks-icon {
    margin-bottom: 32px;
    color: var(--primary-color);
}

.thanks-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.thanks-text {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.thanks-contact {
    margin-top: 32px;
    padding: 24px;
    background: var(--bg-white);
    border-radius: 12px;
}

.thanks-contact p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.thanks-phone {
    font-size: 20px;
    font-weight: 700;
}

.thanks-phone a {
    color: var(--primary-color);
    text-decoration: none;
}

.thanks-actions {
    margin-top: 32px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 24px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.footer-section p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-contact p {
    margin-bottom: 8px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-section address {
    font-style: normal;
    font-size: 15px;
    line-height: 1.7;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 42px;
    }

    .advantages-content,
    .about-intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        padding: 80px 24px 24px;
        transition: var(--transition);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
    }

    .nav ul li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav ul li a {
        display: block;
        padding: 16px 0;
        font-size: 16px;
    }

    .hero {
        padding: 120px 24px 60px;
        margin-top: 62px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 16px;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section-title {
        font-size: 32px;
    }

    .services,
    .advantages,
    .about-values,
    .about-team,
    .contact-main {
        padding: 60px 24px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 100px 24px 40px;
        margin-top: 62px;
    }

    .page-hero h1 {
        font-size: 36px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .legal-section {
        padding: 100px 24px 60px;
        margin-top: 62px;
    }

    .legal-title {
        font-size: 32px;
    }

    .thanks-section {
        padding: 120px 24px 60px;
        margin-top: 62px;
    }

    .thanks-title {
        font-size: 32px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 26px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 14px;
    }

    .service-card {
        padding: 28px 20px;
    }

    .values-grid,
    .approach-content {
        grid-template-columns: 1fr;
    }

    .contact-preview-grid {
        grid-template-columns: 1fr;
    }
}
