/* 
 * Milas Marketing - Innovative Marketingagentur
 * Hauptstilbogen
 */

/* ===== GRUNDEINSTELLUNGEN ===== */
:root {
    /* Hauptfarben */
    --primary-color: #f4ebc6;
    --secondary-color: #ff6584;
    --accent-color: #43cea2;
    
    /* Neutrale Farben - Dunkles Theme */
    --dark: #121212;
    --medium: #a0a0a0;
    --light-gray: #1e1e1e;
    --white: #f0f0f0;
    
    /* Typografie */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Playfair Display', serif;
    
    /* Abstände */
    --section-padding: 100px 0;
    --section-spacing: 80px;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--white);
    background-color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: var(--section-padding);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--white);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.75rem;
    letter-spacing: -0.3px;
}

p {
    margin-bottom: 20px;
    color: var(--medium);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.highlight {
    color: var(--primary-color);
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.section-subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.section-title {
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.1rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    outline: none;
}

.primary-btn {
    background-color: var(--primary-color);
    color: #333333;
    box-shadow: 0 10px 20px rgba(244, 235, 198, 0.2);
}

.primary-btn:hover {
    background-color: #dcd5b0;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(244, 235, 198, 0.3);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: #333333;
    transform: translateY(-3px);
}

/* ===== HEADER & NAVIGATION ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(18, 18, 18, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 90px;
}

header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 5%;
    max-width: 1600px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 750px;
    height: 90px;
    position: relative;
    margin-right: 30px;
    overflow: visible;
}

.logo-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 80px;
    z-index: 1001;
    fill: #f4ebc6;
    transform: scale(1.1);
}

.nav-menu {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1002;
}

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

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
}

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

.nav-link:hover {
    color: var(--primary-color);
}

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

.contact-btn {
    background-color: var(--primary-color);
    color: #333333;
    padding: 10px 20px;
    border-radius: 50px;
}

.contact-btn:hover {
    background-color: #dcd5b0;
    color: var(--white);
}

.contact-btn:after {
    display: none;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: var(--white);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 210px 0 120px;
    background-color: var(--dark);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-bg-gradient, linear-gradient(135deg, rgba(244, 235, 198, 0.2) 0%, rgba(255, 101, 132, 0.2) 100%));
    z-index: 1;
    transition: background 1.5s ease-out;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-visual {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    background-image: url('../images/logo.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%;
    opacity: 0.15;
    filter: brightness(1.2);
}

.shape {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 1;
}

.shape i {
    font-size: 80%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.shape:hover i {
    transform: scale(1.05);
    opacity: 1;
}

/* Social Media Shapes */
.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, rgba(193, 53, 132, 0.3), rgba(252, 175, 69, 0.3));
    bottom: 15%;
    right: 15%;
    /* Animation wird in shape-animations.css überschrieben */
}

.shape-1 i {
    font-size: 280px;
    color: rgba(255, 255, 255, 0.7);
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, rgba(238, 29, 82, 0.3), rgba(105, 201, 208, 0.3));
    bottom: 20%;
    left: 5%;
    /* Animation wird in shape-animations.css überschrieben */
}

.shape-2 i {
    font-size: 180px;
    color: rgba(255, 255, 255, 0.7);
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, rgba(24, 119, 242, 0.3), rgba(24, 119, 242, 0.2));
    top: 25%;
    left: 10%;
    /* Animation wird in shape-animations.css überschrieben */
}

.shape-3 i {
    font-size: 130px;
    color: rgba(255, 255, 255, 0.7);
}

.shape-4 {
    width: 180px;
    height: 180px;
    background: linear-gradient(45deg, rgba(0, 119, 181, 0.3), rgba(0, 119, 181, 0.2));
    bottom: 30%;
    right: 5%;
    /* Animation wird in shape-animations.css überschrieben */
}

.shape-4 i {
    font-size: 140px;
    color: rgba(255, 255, 255, 0.7);
}

.shape-5 {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, rgba(230, 0, 35, 0.3), rgba(230, 0, 35, 0.2));
    top: 50%;
    left: 25%;
    /* Animation wird in shape-animations.css überschrieben */
}

.shape-5 i {
    font-size: 100px;
    color: rgba(255, 255, 255, 0.7);
}

/* Neue Social Media Shapes */
.shape-6 {
    width: 220px;
    height: 220px;
    background: linear-gradient(45deg, rgba(255, 0, 0, 0.3), rgba(255, 0, 0, 0.2));
    bottom: 25%;
    right: 25%;
    /* Animation wird in shape-animations.css überschrieben */
}

.shape-6 i {
    font-size: 160px;
    color: rgba(255, 255, 255, 0.7);
}

.shape-7 {
    width: 160px;
    height: 160px;
    background: linear-gradient(45deg, rgba(0, 126, 130, 0.3), rgba(0, 126, 130, 0.2));
    top: 65%;
    right: 15%;
    /* Animation wird in shape-animations.css überschrieben */
}

.shape-7 i {
    font-size: 140px;
    color: rgba(255, 255, 255, 0.7);
}

.shape-8 {
    width: 140px;
    height: 140px;
    background: linear-gradient(45deg, rgba(255, 252, 0, 0.3), rgba(255, 252, 0, 0.2));
    bottom: 40%;
    right: 10%;
    /* Animation wird in shape-animations.css überschrieben */
}

.shape-8 i {
    font-size: 120px;
    color: rgba(255, 255, 255, 0.7);
}

.shape-9 {
    width: 170px;
    height: 170px;
    background: linear-gradient(45deg, rgba(29, 29, 29, 0.3), rgba(65, 65, 65, 0.2));
    bottom: 10%;
    left: 35%;
    /* Animation wird in shape-animations.css überschrieben */
}

.shape-9 i {
    font-size: 130px;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 1;
    }
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }
}

/* ===== ÜBER UNS SECTION ===== */
.about {
    position: relative;
    background-color: var(--dark);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-services {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-services h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.service-list {
    margin-bottom: 30px;
}

.service-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.service-list li i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

.about-cta {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.8;
    color: var(--white);
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

.location-link, .contact-link {
    display: inline-block;
    color: var(--primary-color);
    margin-top: 10px;
    font-size: 0.9rem;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.contact-link {
    margin-top: 0;
    text-decoration: none;
}

.contact-link:hover, .location-link:hover {
    color: #dcd5b0;
    transform: translateY(-2px);
}

.contact-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-top: 20px;
}

.social-label {
    margin-top: 30px;
    margin-bottom: 15px;
}

.social-label h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* ===== SERVICES SECTION ===== */
.services {
    background-color: var(--dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(45deg, var(--primary-color), #dcd5b0);
    z-index: -1;
    transition: all 0.5s ease;
}

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

.service-card:hover:before {
    height: 100%;
}

.service-card:hover h3,
.service-card:hover p {
    color: #333333;
}

.service-card:hover .service-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: #333333;
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(244, 235, 198, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-card p {
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.service-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(244, 235, 198, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: scale(0.9);
    border-radius: 10px;
    padding: 30px;
}

.service-card:hover .service-hover {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.service-hover ul {
    list-style: disc;
    padding-left: 20px;
}

.service-hover ul li {
    color: #333333;
    font-size: 1rem;
    margin-bottom: 10px;
}

/* ===== APPROACH SECTION ===== */
.approach {
    position: relative;
    background-color: var(--dark);
}

.approach-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.approach-timeline:before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background-color: rgba(244, 235, 198, 0.2);
    left: 50%;
    transform: translateX(-50%);
    top: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    display: flex;
    align-items: center;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    z-index: 2;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 10px 20px rgba(244, 235, 198, 0.3);
}

.timeline-content {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: calc(50% - 50px);
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.timeline-content p {
    margin-bottom: 0;
}

/* ===== CASES SECTION ===== */
.cases {
    background-color: var(--dark);
    position: relative;
}

.cases-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.case-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.case-slide.active {
    display: block;
    opacity: 1;
}

.case-content {
    display: flex;
    background-color: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.case-info {
    flex: 1;
    padding: 50px 40px;
}

.case-category {
    display: inline-block;
    padding: 8px 15px;
    background-color: rgba(244, 235, 198, 0.2);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.case-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.case-description {
    margin-bottom: 30px;
}

.case-results {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.result-item {
    text-align: center;
}

.result-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.result-label {
    font-size: 0.9rem;
    color: var(--medium);
}

.case-image {
    flex: 1;
    background-color: #2a2a2a;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(244, 235, 198, 0.2);
}

.placeholder-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}

.prev-btn, .next-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-gray);
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--primary-color);
    color: #333333;
    transform: translateY(-3px);
}

.slider-dots {
    display: flex;
    align-items: center;
    margin: 0 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(244, 235, 198, 0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.5);
}

/* ===== TEAM SECTION ===== */
.team {
    position: relative;
    background-color: var(--dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-member {
    background-color: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.member-photo {
    height: 250px;
    background-color: #2a2a2a;
    position: relative;
    overflow: hidden;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background-color: rgba(244, 235, 198, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-info {
    padding: 25px 20px;
    text-align: center;
}

.member-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.member-role {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.member-bio {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(244, 235, 198, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: #333333;
    transform: translateY(-3px);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background-color: var(--dark);
    position: relative;
}

.contact-container {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(244, 235, 198, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.info-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-content p {
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.info-content .social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: #333333;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(244, 235, 198, 0.2);
}

.contact-form {
    flex: 1;
    background-color: var(--light-gray);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: transparent;
    position: relative;
    z-index: 2;
    color: var(--white);
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    font-size: 1rem;
    color: var(--medium);
    transition: all 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.form-group textarea + label {
    top: 25px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(244, 235, 198, 0.2);
    outline: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 0;
    left: 15px;
    transform: translateY(-50%);
    background-color: var(--light-gray);
    padding: 0 5px;
    font-size: 0.85rem;
    color: var(--primary-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    opacity: 0;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn i {
    transition: all 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* ===== FOOTER ===== */
.footer {
    background-color: #0a0a0a;
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 15px;
    max-width: 500px;
}

.footer-logo-img {
    width: 100%;
    height: auto;
    max-height: 120px;
    transform: scale(3.0);
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

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

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

.footer-newsletter h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    max-width: 350px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px 0 0 50px;
    font-size: 1rem;
    outline: none;
    background-color: #2a2a2a;
    color: var(--white);
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    background-color: #333;
    box-shadow: 0 0 0 3px rgba(244, 235, 198, 0.2);
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: #333333;
    border: none;
    border-radius: 0 50px 50px 0;
    width: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #dcd5b0;
}

.newsletter-message {
    margin-top: 15px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.newsletter-message.success {
    color: #4cd964;
    opacity: 1;
    height: auto;
}

.newsletter-message.error {
    color: #ff3b30;
    opacity: 1;
    height: auto;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-policy-links {
    display: flex;
    gap: 20px;
}

.footer-policy-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-top {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(244, 235, 198, 0.3);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: #dcd5b0;
    transform: translateY(-5px);
}

/* ===== CUSTOM CURSOR ===== */
/* Cursor-Follower wurde entfernt */

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== VIDEO PLAYER ===== */
.promo-video {
    background-color: var(--dark);
    position: relative;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.custom-video-player {
    position: relative;
    width: 100%;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
}

.custom-video-player video {
    width: 100%;
    display: block;
    border-radius: 10px 10px 0 0;
}

.video-controls {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--light-gray);
    border-radius: 0 0 10px 10px;
}

.play-btn, .fullscreen-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.play-btn:hover, .fullscreen-btn:hover {
    background-color: rgba(244, 235, 198, 0.1);
    transform: scale(1.1);
}

.progress-bar {
    flex: 1;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    margin: 0 15px;
    cursor: pointer;
    position: relative;
}

.progress {
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 5px;
    transition: width 0.1s linear;
}

.time-display {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 15px;
}

/* Overlay for video */
.custom-video-player::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 80%, rgba(18, 18, 18, 0.8));
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-video-player:hover::before {
    opacity: 1;
}

/* ===== LEGAL PAGES (IMPRESSUM, DATENSCHUTZ, AGB) ===== */
.legal-section {
    background-color: var(--dark);
    padding-top: 180px;
}

.legal-content {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 40px 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
}

.legal-block {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(244, 235, 198, 0.1);
    padding-bottom: 25px;
}

.legal-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.legal-block h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.legal-block p {
    color: var(--medium);
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-block p:last-child {
    margin-bottom: 0;
}

.legal-block a {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.legal-block a:hover {
    color: #dcd5b0;
    text-decoration: underline;
}

.legal-back-link {
    text-align: center;
}

.legal-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

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

.legal-nav .btn i {
    margin-right: 8px;
    font-size: 1rem;
}

@media (max-width: 576px) {
    .legal-nav {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 140px;
        flex-direction: column;
        background-color: var(--dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        padding: 20px 0;
        max-width: 100%;
    }
    
    .logo {
        max-width: 450px;
        height: 60px;
    }
    
    .logo-img {
        max-height: 50px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .nav-link:after {
        display: none;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 70px 0;
    }
    
    .hero {
        padding: 150px 0 100px;
    }
    
    header {
        height: 80px;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .approach-timeline:before {
        left: 30px;
    }
    
    .timeline-number {
        left: 30px;
        transform: none;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }
    
    .case-content {
        flex-direction: column;
    }
    
    .case-image {
        min-height: 300px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .case-results {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .logo {
        max-width: 300px;
        height: 50px;
    }
    
    .logo-img {
        max-height: 40px;
    }
}

/* Kontaktformular Nachrichtenstile */
.form-message {
    margin-top: 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    opacity: 0;
    height: 0;
    overflow: hidden;
    margin-bottom: 10px;
}

.form-message.success {
    color: #4cd964;
    opacity: 1;
    height: auto;
    margin-bottom: 20px;
}

.form-message.error {
    color: #ff3b30;
    opacity: 1;
    height: auto;
    margin-bottom: 20px;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #ff3b30;
    box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.2);
}

/* Google reCAPTCHA Badge ausblenden (falls notwendig) */
.grecaptcha-badge { 
    visibility: hidden;
}

/* reCAPTCHA Hinweis */
.recaptcha-notice {
    margin-top: 10px;
    text-align: left;
    color: var(--medium);
    line-height: 1.4;
}

.recaptcha-notice a {
    text-decoration: underline;
}

.recaptcha-notice a:hover {
    color: #dcd5b0;
}

.newsletter-recaptcha-notice {
    max-width: 350px;
    margin-top: 15px;
}

/* Designer Info */
.designer-info {
    margin-top: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.designer-link {
    text-decoration: none;
    transition: transform 0.3s ease;
    display: inline-block;
}

.designer-link:hover {
    transform: translateY(-2px);
}

.designer-highlight {
    background: linear-gradient(120deg, #6c63ff, #ff6584);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}