/* =====================================================
   EuDo Projektbau - Stylesheet (DSGVO-konform)
   Optimiert für SEO und Performance
   ===================================================== */

/* =====================================================
   LOKALE SCHRIFTARTEN (DSGVO-konform)
   Keine externen Google Fonts - alle lokal gehostet
   ===================================================== */

/* Outfit Font Family */
@font-face {
    font-family: 'Outfit';
    src: url('fonts/Outfit-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('fonts/Outfit-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('fonts/Outfit-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('fonts/Outfit-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('fonts/Outfit-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Playfair Display Font Family */
@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/PlayfairDisplay-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/PlayfairDisplay-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/PlayfairDisplay-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* =====================================================
   FARBEN & VARIABLEN
   ===================================================== */
:root {
    --teal: #3d9b94;
    --teal-dark: #2d7872;
    --teal-light: #4fb5ad;
    --charcoal: #3a3a3a;
    --charcoal-dark: #2a2a2a;
    --cream: #f8f7f5;
    --cream-dark: #edecea;
    --white: #ffffff;
    --text-dark: #2d2d2d;
    --text-light: #5a5a5a;
    --focus-ring: 2px solid var(--teal);
    --focus-offset: 2px;
    --error-color: #d32f2f;
    --error-bg: #fdecea;
    --success-color: #2d7872;
    --success-bg: #e8f5f4;
}

/* =====================================================
   FOKUS & ACCESSIBILITY (focus-visible)
   ===================================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.slider-dot:focus-visible,
.modal-close:focus-visible,
.lightbox-close:focus-visible {
    outline: var(--focus-ring);
    outline-offset: var(--focus-offset);
}

/* Skip-Link: nur bei Tastaturfokus sichtbar */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 10000;
    padding: 0.75rem 1.25rem;
    background: var(--teal);
    color: var(--white);
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
    outline: var(--focus-ring);
    outline-offset: var(--focus-offset);
}

/* =====================================================
   RESET & BASIS
   ===================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* =====================================================
   WASSERZEICHEN LOGO IM HINTERGRUND
   ===================================================== */
body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85vw;
    height: 85vw;
    max-width: 1200px;
    max-height: 1200px;
    background-image: url('logo.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

/* Alle Sections über dem Wasserzeichen */
nav,
.hero,
.stats-bar,
.services,
.process,
.benefits,
.gallery,
.cta,
.contact,
footer {
    position: relative;
    z-index: 1;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
nav {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1400px;
    z-index: 100;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
    background: rgba(61, 155, 148, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

nav.scrolled {
    top: 0.5rem;
    padding: 0.5rem 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--white);
}

.logo-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: all 0.4s ease;
}

nav.scrolled .logo-icon {
    width: 44px;
    height: 44px;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.logo-text span {
    display: block;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 1px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 400;
    font-size: 0.95rem;
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

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

.nav-links a:hover {
    color: var(--cream);
}

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

.nav-links a:active {
    transform: translateY(1px);
}

.nav-cta {
    background: var(--white);
    color: var(--teal) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(61, 155, 148, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.nav-cta:hover::before {
    width: 300px;
    height: 300px;
}

.nav-cta:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-cta:active {
    transform: translateY(0);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 10rem 5% 4rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text {
    animation: fadeInUp 1s ease forwards;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--teal);
    font-weight: 500;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(61, 155, 148, 0.15);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--teal);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--charcoal-dark);
}

.hero h1 .highlight {
    color: var(--teal);
}

.hero p {
    font-size: 1.15rem;
    color: #4a4a4a;
    max-width: 500px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    min-height: 44px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

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

.btn-primary:hover {
    background: var(--teal-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(61, 155, 148, 0.3);
}

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

.btn-secondary:hover {
    background: var(--charcoal);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(58, 58, 58, 0.2);
}

.btn:active {
    transform: scale(0.98);
}

.btn:active.btn-primary { transform: translateY(-1px) scale(0.98); }
.btn:active.btn-secondary { transform: scale(0.98); }

.btn svg {
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(3px);
}

/* Submit-Button Ladezustand */
.btn-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: btnSpin 0.7s linear infinite;
}

@keyframes btnSpin {
    to { transform: rotate(360deg); }
}

/* =====================================================
   HERO VISUAL & SLIDER
   ===================================================== */
.hero-visual {
    position: relative;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.slider {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
}

.slides {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    height: 100%;
    flex-shrink: 0;
    width: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--cream-dark);
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--teal);
    border-color: var(--teal);
    transform: scale(1.2);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.slider-arrow:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow svg {
    width: 20px;
    height: 20px;
    stroke: var(--charcoal);
    stroke-width: 2.5;
    fill: none;
}

.slider-arrow.prev { left: 15px; }
.slider-arrow.next { right: 15px; }

/* =====================================================
   FLOATING CARDS
   ===================================================== */
.floating-card {
    position: absolute;
    background: var(--white);
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.floating-card-1 {
    bottom: 60px;
    left: -60px;
    animation-delay: -2s;
}

.floating-card-2 {
    top: 40px;
    right: -40px;
    animation-delay: -4s;
}

.floating-card .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal);
    line-height: 1;
}

.floating-card .label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* =====================================================
   STATS BAR
   ===================================================== */
.stats-bar {
    background: var(--charcoal-dark);
    padding: 3rem 5%;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--teal-light);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    letter-spacing: 0.05em;
}

/* =====================================================
   SECTION HEADERS
   ===================================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    color: var(--teal);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--charcoal-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #4a4a4a;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services {
    padding: 8rem 5%;
    background: var(--white);
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--cream);
    padding: 2.5rem;
    border-radius: 16px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--teal);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--teal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--white);
    stroke-width: 2;
    fill: none;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--charcoal-dark);
}

.service-card p {
    color: #4a4a4a;
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-card .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--teal);
    font-weight: 500;
    margin-top: 1.5rem;
    text-decoration: none;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.service-card .learn-more:hover {
    gap: 0.75rem;
}

/* =====================================================
   PROCESS SECTION
   ===================================================== */
.process {
    padding: 8rem 5%;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.process-steps {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--teal), var(--teal-light));
}

.process-step {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--teal);
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--teal);
    z-index: 1;
}

.step-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    flex: 1;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--charcoal-dark);
}

.step-content p {
    color: #4a4a4a;
    line-height: 1.7;
}

/* =====================================================
   BENEFITS SECTION
   ===================================================== */
.benefits {
    padding: 8rem 5%;
    background: var(--charcoal-dark);
    color: var(--white);
}

.benefits .section-tag { color: var(--teal-light); }
.benefits .section-title { color: var(--white); }
.benefits .section-subtitle { color: rgba(255, 255, 255, 0.7); }

.benefits-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--teal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
    stroke-width: 2;
    fill: none;
}

.benefit-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta {
    padding: 8rem 5%;
    background: var(--white);
    text-align: center;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    padding: 5rem;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.cta h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    position: relative;
}

.cta .btn {
    background: var(--white);
    color: var(--teal);
    position: relative;
}

.cta .btn:hover {
    background: var(--cream);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact {
    padding: 8rem 5%;
    background: var(--cream);
}

.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--charcoal-dark);
}

.contact-info p {
    color: #4a4a4a;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-style: normal;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item-icon {
    width: 45px;
    height: 45px;
    background: var(--teal);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
    stroke-width: 2;
    fill: none;
}

.contact-item-text strong {
    display: block;
    color: var(--charcoal);
    font-size: 0.85rem;
    margin-bottom: 0.15rem;
}

.contact-item-text span,
.contact-item-text a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item-text a:hover {
    color: var(--teal);
    transform: translateX(3px);
    display: inline-block;
}

.contact-item {
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item:hover .contact-item-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(61, 155, 148, 0.3);
}

.contact-item-icon {
    transition: all 0.3s ease;
}

/* =====================================================
   CONTACT FORM
   ===================================================== */
.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* Formular-Feedback (Success/Error) */
.form-message {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message--success {
    background: var(--success-bg);
    color: var(--success-color);
    border: 1px solid var(--teal);
}

.form-message--success::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--teal);
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
    font-weight: bold;
}

.form-message--error {
    background: var(--error-bg);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

.form-message--error::before {
    content: '!';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--error-color);
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
    font-weight: bold;
}

.form-group input.is-invalid,
.form-group textarea.is-invalid,
.form-group select.is-invalid {
    border-color: var(--error-color);
    background: var(--error-bg);
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

.form-group input.is-invalid:focus,
.form-group textarea.is-invalid:focus,
.form-group select.is-invalid:focus {
    border-color: var(--error-color);
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.1);
}

.form-group input.is-valid,
.form-group textarea.is-valid,
.form-group select.is-valid {
    border-color: var(--teal);
    background: var(--success-bg);
}

.form-error-message {
    display: block;
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    animation: slideDown 0.3s ease;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--charcoal);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--cream-dark);
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--cream);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--teal);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(61, 155, 148, 0.1);
    transform: translateY(-1px);
}

.form-group input:hover:not(:focus),
.form-group textarea:hover:not(:focus),
.form-group select:hover:not(:focus) {
    border-color: #d5d4d2;
}

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

/* DSGVO Checkbox Styling */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    accent-color: var(--teal);
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-light);
    cursor: pointer;
}

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

.form-checkbox label a:hover {
    color: var(--teal-dark);
}

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

.contact-form .btn:disabled {
    opacity: 0.85;
    cursor: not-allowed;
}

/* =====================================================
   FOOTER
   ===================================================== */
footer {
    background: var(--charcoal-dark);
    color: var(--white);
    padding: 5rem 5% 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-brand .logo-icon {
    width: 55px;
    height: 55px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

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

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-column ul a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--teal-light);
    transition: width 0.3s ease;
}

.footer-column ul a:hover {
    color: var(--teal-light);
    transform: translateX(5px);
}

.footer-column ul a:hover::after {
    width: 100%;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
    position: relative;
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--teal-light);
    transition: width 0.3s ease;
}

.footer-legal a:hover {
    color: var(--teal-light);
}

.footer-legal a:hover::after {
    width: 100%;
}

/* =====================================================
   MODALS
   ===================================================== */
.modal-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-content {
    background: var(--white);
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    scroll-margin: 1rem;
    transform: scale(0.95);
    transition: transform 0.25s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--cream);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--cream-dark);
}

.modal-close svg {
    width: 20px;
    height: 20px;
    stroke: var(--charcoal);
    stroke-width: 2;
}

.modal-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    color: var(--charcoal-dark);
    margin-bottom: 1.5rem;
}

.modal-content h3 {
    font-size: 1.1rem;
    color: var(--charcoal);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-content h4 {
    font-size: 0.95rem;
    color: var(--charcoal);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.modal-content p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.modal-content a {
    color: var(--teal);
    text-decoration: underline;
}

.modal-content a:hover {
    color: var(--teal-dark);
}

/* =====================================================
   LIGHTBOX
   ===================================================== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 2100;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
    stroke-width: 2;
}

/* =====================================================
   GALERIE SECTION
   ===================================================== */
.gallery {
    padding: 8rem 5%;
    background: var(--white);
}

.gallery-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3/5;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    cursor: pointer;
    background: var(--cream);
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    font: inherit;
    color: inherit;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.gallery-item:active {
    transform: translateY(-2px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 120, 114, 0.9), rgba(61, 155, 148, 0.4));
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.gallery-overlay::before {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 3rem;
    transition: transform 0.3s ease 0.1s;
}

.overlay-content {
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

/* Hover Effekte */
.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.9);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay::before {
    transform: translate(-50%, -50%) scale(1);
}

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

.overlay-content h4 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.overlay-content span {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}
/* =====================================================
   REDUCED MOTION (Accessibility)
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
    .floating-card {
        animation: none;
    }
}

body.reduce-motion .floating-card {
    animation: none;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text { order: 2; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-visual { order: 1; max-width: 500px; margin: 0 auto; }
    .floating-card-1 { left: 20px; bottom: 20px; }
    .floating-card-2 { right: 20px; top: 20px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    
    /* Navigation Anpassungen für Tablet */
    .nav-links { gap: 1.5rem; }
    .nav-cta {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }
}

/* Medium Tablet - Navigation weiter anpassen */
@media (max-width: 900px) {
    nav { padding: 0.75rem 1.5rem; }
    .nav-links { gap: 1rem; }
    .nav-links a { font-size: 0.9rem; }
    .nav-cta {
        padding: 0.5rem 0.85rem;
        font-size: 0.8rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    nav {
        width: calc(100% - 2rem);
        padding: 0.5rem 1rem;
        top: 0.5rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        right: 0;
        background: rgba(61, 155, 148, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        animation: slideDown 0.3s ease;
    }
    
    .nav-links li {
        opacity: 0;
        animation: fadeInUp 0.3s ease forwards;
    }
    
    .nav-links.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { animation-delay: 0.15s; }
    .nav-links.active li:nth-child(3) { animation-delay: 0.2s; }
    .nav-links.active li:nth-child(4) { animation-delay: 0.25s; }
    .nav-links.active li:nth-child(5) { animation-delay: 0.3s; }
    .nav-links.active li:nth-child(6) { animation-delay: 0.35s; }
    
    .nav-links a {
        padding: 0.75rem;
        display: block;
        text-align: center;
        border-radius: 8px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .nav-links.active { display: flex; }
    .mobile-menu-btn { 
        display: flex;
        min-width: 44px;
        min-height: 44px;
    }
    .nav-cta { display: none; }
    .logo-icon { width: 40px; height: 40px; }
    .stats-container { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; }
    .slider { height: 400px; }
    .process-steps::before { left: 20px; }
    .step-number { width: 40px; height: 40px; font-size: 1rem; }
    .process-step { gap: 1rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { max-width: 100%; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .footer-legal a { margin: 0 0.75rem; }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero { padding: 7rem 5% 3rem; }
    .hero h1 { font-size: 2rem; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .cta-container { padding: 3rem 2rem; }
    .contact-form { padding: 2rem; }
    .slider { height: 320px; }
    .slider-arrow { width: 36px; height: 36px; }
    .floating-card { display: none; }
    .modal-content { padding: 1.5rem; }
}

/* =====================================================
   SCROLL ANIMATIONS
   ===================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animations */
.scroll-reveal:nth-child(1) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(2) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.3s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.4s; }
.scroll-reveal:nth-child(5) { transition-delay: 0.5s; }
.scroll-reveal:nth-child(6) { transition-delay: 0.6s; }

/* =====================================================
   PRINT STYLES
   ===================================================== */
@media print {
    nav,
    .slider-controls,
    .slider-arrow,
    .floating-card,
    .cta,
    .modal-overlay {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem;
    }
    
    a {
        text-decoration: underline;
    }
}
