/* ===================================
   OWL Autoteile EF - Main Stylesheet
   Elegant Porsche Oldtimer Website
   =================================== */

/* === CSS Variables === */
:root {
    /* Colors */
    --primary-color: #1a1a1a;
    --secondary-color: #c8a882;
    --accent-color: #8b7355;
    --text-primary: #2c2c2c;
    --text-secondary: #666666;
    --text-light: #999999;
    --background-light: #f8f8f8;
    --background-white: #ffffff;
    --border-color: #e0e0e0;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-max: 1200px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--background-white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* === Container === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 30px;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-color);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 20px 0;
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    transition: var(--transition-fast);
}

.navbar.scrolled .logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--primary-color);
    position: relative;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

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

/* Dropdown Menu Styles */
.nav-menu .has-dropdown {
    position: relative;
}

.dropdown-icon {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--background-white);
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 15px;
    z-index: 1001;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    color: var(--text-primary);
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: var(--background-light);
    color: var(--secondary-color);
    padding-left: 30px;
}

.dropdown-menu a::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition-fast);
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

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

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

.btn-light:hover {
    background-color: var(--secondary-color);
    color: var(--background-white);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* === Hero Section === */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--background-white);
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: var(--background-white);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* === Page Header === */
.page-header {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    margin-top: 90px;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-porsche.jpg') center/cover;
    opacity: 0.15;
}

.page-header .container {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--background-white);
}

.page-header h1 {
    color: var(--background-white);
    font-size: 4rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* === Section Styles === */
section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.title-separator {
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0 auto 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.text-center {
    text-align: center;
    margin-top: 50px;
}

/* === Welcome Section === */
.welcome-section {
    background-color: var(--background-white);
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 40px;
}

.welcome-text p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.welcome-text .btn {
    margin-top: 30px;
}

.welcome-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* === Services Preview/Grid === */
.services-preview {
    background-color: var(--background-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.service-card {
    background-color: var(--background-white);
    padding: 40px 30px;
    text-align: center;
    border-radius: 5px;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* === Gallery Preview === */
.gallery-preview {
    background-color: var(--background-white);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--background-white);
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: var(--background-white);
    font-size: 1.3rem;
}

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

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/workshop.jpg') center/cover;
    opacity: 0.1;
}

.cta-section .container {
    position: relative;
    z-index: 10;
}

.cta-section h2 {
    color: var(--background-white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-section p {
    color: var(--background-white);
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 300;
}

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

/* === Footer === */
.footer {
    background-color: var(--primary-color);
    color: var(--background-white);
    padding: 80px 0 30px;
}

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

.footer-col h4 {
    color: var(--background-white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-col ul li:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-info i {
    color: var(--secondary-color);
    margin-top: 5px;
}

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

/* === Services Detail Page === */
.services-detail {
    background-color: var(--background-white);
}

.service-detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

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

.service-detail-item.reverse {
    direction: rtl;
}

.service-detail-item.reverse > * {
    direction: ltr;
}

.service-detail-content {
    background-color: var(--background-light);
    padding: 50px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.service-detail-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.service-detail-content h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-detail-content .lead {
    margin-bottom: 30px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--text-secondary);
    padding: 10px 0;
    line-height: 1.6;
}

.service-features i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.service-detail-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.service-detail-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

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

.additional-services {
    background-color: var(--background-light);
}

/* === Gallery Page === */
.gallery-section {
    background-color: var(--background-light);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background-color: var(--background-white);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    transition: var(--transition-fast);
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--background-white);
    border-color: var(--primary-color);
}

.gallery-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item-full {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    aspect-ratio: 4/3;
    background-color: var(--background-white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.gallery-item-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item-full:hover img {
    transform: scale(1.05);
}

.gallery-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-zoom {
    margin-top: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--background-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.gallery-zoom:hover {
    background-color: var(--background-white);
    color: var(--primary-color);
    transform: scale(1.1);
}

/* === Lightbox === */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--background-white);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    border-radius: 50%;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--secondary-color);
}

.lightbox-close {
    top: 30px;
    right: 30px;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* === About Page === */
.about-section {
    background-color: var(--background-white);
}

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

.about-text h2 {
    margin-bottom: 30px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.values-section {
    background-color: var(--background-light);
}

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

.value-card {
    background-color: var(--background-white);
    padding: 40px 30px;
    text-align: center;
    border-radius: 5px;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.value-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.value-card h3 {
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.expertise-section {
    background-color: var(--background-white);
}

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

.expertise-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.expertise-text h2 {
    margin-bottom: 20px;
}

.expertise-text .lead {
    margin-bottom: 40px;
}

.expertise-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: var(--font-heading);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 10px;
}

.philosophy-section {
    background-color: var(--background-light);
}

.philosophy-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 40px;
}

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

.philosophy-item i {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.philosophy-item h3 {
    margin-bottom: 15px;
}

.philosophy-item p {
    color: var(--text-secondary);
}

/* === Kaufberatung Page === */
.kaufberatung-intro {
    background-color: var(--background-white);
}

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

.intro-text h2 {
    margin-bottom: 30px;
}

.intro-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.intro-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.why-section {
    background-color: var(--background-light);
}

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

.why-card {
    background-color: var(--background-white);
    padding: 40px 30px;
    text-align: center;
    border-radius: 10px;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.why-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

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

.why-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.kaufberatung-details {
    background-color: var(--background-white);
}

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

.detail-card {
    background-color: var(--background-light);
    padding: 40px 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition-smooth);
}

.detail-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.detail-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--background-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.detail-card h3 {
    margin-bottom: 20px;
    margin-top: 20px;
    color: var(--primary-color);
}

.detail-card ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.detail-card ul li i {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.process-section {
    background-color: var(--background-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: 40px;
}

.process-step {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--background-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    flex-shrink: 0;
}

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

.step-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.models-section {
    background-color: var(--background-white);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.model-card {
    background-color: var(--background-light);
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    transition: var(--transition-smooth);
}

.model-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.model-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.model-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.testimonial-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 100px 0;
    position: relative;
}

.testimonial-section .section-header {
    margin-bottom: 60px;
}

.testimonial-section .section-title {
    color: var(--background-white);
}

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

.testimonial-card {
    background-color: var(--background-white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.quote-icon-small {
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.3;
    margin-bottom: 20px;
}

.testimonial-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 0.95rem;
    font-style: italic;
}

.testimonial-card cite {
    display: block;
    font-size: 0.9rem;
    font-style: normal;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.rating {
    display: flex;
    gap: 5px;
}

.rating i {
    color: #ffc107;
    font-size: 1rem;
}

/* Old single testimonial style - keep for other pages */
.testimonial-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--background-white);
}

.quote-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.3;
    margin-bottom: 30px;
}

.testimonial-content blockquote {
    margin: 0;
}

.testimonial-content p {
    font-size: 1.4rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--background-white);
}

.testimonial-content cite {
    font-size: 1.1rem;
    font-style: normal;
    color: var(--secondary-color);
    font-weight: 500;
}

.pricing-section {
    background-color: var(--background-white);
}

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

.pricing-intro {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.pricing-intro strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.pricing-note {
    background-color: var(--background-light);
    padding: 25px 30px;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.pricing-note i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* === Impressum & Legal Pages === */
.impressum-section {
    background-color: var(--background-white);
    padding: var(--section-padding) 0;
}

.impressum-content {
    max-width: 900px;
    margin: 0 auto;
}

.impressum-block {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.impressum-block:last-of-type {
    border-bottom: none;
}

.impressum-block h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.impressum-block p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

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

.impressum-block i {
    color: var(--secondary-color);
    margin-right: 8px;
    width: 20px;
    display: inline-block;
}

.impressum-block a {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: var(--transition-fast);
}

.impressum-block a:hover {
    color: var(--primary-color);
}

.impressum-block ul {
    margin: 20px 0;
    padding-left: 30px;
}

.impressum-block ul li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 10px;
    list-style: disc;
}

.impressum-block h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.impressum-note {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.impressum-note small {
    color: var(--text-light);
    font-size: 0.85rem;
}

.impressum-note a {
    color: var(--text-light);
    text-decoration: underline;
}

.impressum-note a:hover {
    color: var(--secondary-color);
}

/* === Contact Page === */
.contact-section {
    background-color: var(--background-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
}

.contact-info-wrapper h2 {
    margin-bottom: 20px;
}

.contact-info-wrapper > p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--background-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0;
}

.contact-form-wrapper {
    background-color: var(--background-white);
    padding: 50px;
    border-radius: 5px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper h2 {
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
    background-color: var(--background-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

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

.checkbox-group {
    flex-direction: row;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-message {
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}

.map-section {
    background-color: var(--background-white);
}

.map-placeholder {
    height: 400px;
    background-color: var(--background-light);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--text-secondary);
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--secondary-color);
}

.map-placeholder p {
    margin: 0;
    font-size: 1.1rem;
}

.map-note {
    font-size: 0.9rem !important;
    font-style: italic;
}

.appointment-section {
    background-color: var(--background-light);
    padding: 60px 0;
}

.appointment-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.appointment-icon {
    font-size: 4rem;
    color: var(--secondary-color);
}

.appointment-text {
    flex: 1;
}

.appointment-text h2 {
    margin-bottom: 10px;
}

.appointment-text p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* === Responsive Design === */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .welcome-content,
    .about-content,
    .expertise-content,
    .intro-content,
    .service-detail-item {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .models-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .philosophy-content {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .service-detail-content {
        padding: 40px 30px;
    }
    
    .service-detail-item.reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-menu {
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: var(--transition-smooth);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    /* Mobile Dropdown Styles */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 10px;
        padding: 10px 0 10px 20px;
        background-color: var(--background-light);
        border-radius: 8px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    
    .has-dropdown.active .dropdown-menu {
        max-height: 300px;
        padding: 10px 0 10px 20px;
    }
    
    .dropdown-menu a {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .dropdown-icon {
        transition: transform 0.3s ease;
    }
    
    .has-dropdown.active .dropdown-icon {
        transform: rotate(180deg);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .page-header h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid-full {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .values-grid,
    .why-grid,
    .detail-grid,
    .models-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .expertise-stats {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .appointment-content {
        flex-direction: column;
        text-align: center;
    }
    
    .lightbox-prev,
    .lightbox-next {
        display: none;
    }
    
    .service-detail-content {
        padding: 30px 25px;
    }
    
    .service-detail-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .page-header {
        height: 300px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.85rem;
    }
    
    .service-detail-content {
        padding: 25px 20px;
    }
    
    .service-detail-content h2 {
        font-size: 1.8rem;
    }
    
    .service-detail-icon {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
}

/* === REFERENCES PAGE === */
.reference-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background-color: var(--background-white);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--background-white);
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--background-white);
}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 40px;
}

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

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

.reference-card.hidden {
    display: none;
}

.reference-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.reference-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.reference-card:hover .reference-image img {
    transform: scale(1.1);
}

.reference-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

.reference-category {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--secondary-color);
    color: var(--background-white);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 25px;
}

.reference-content {
    padding: 30px;
}

.reference-content h3 {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.reference-specs {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
    border-left: 3px solid var(--secondary-color);
    padding-left: 15px;
}

.reference-specs i {
    color: var(--secondary-color);
    width: 20px;
}

.reference-content > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.reference-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reference-highlights li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reference-highlights i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--background-white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Responsive Styles for References */
@media (max-width: 1024px) {
    .reference-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .reference-grid {
        grid-template-columns: 1fr;
    }
    
    .reference-filter {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .reference-content {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .reference-content h3 {
        font-size: 1.3rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}
