/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors from design */
    --yellow-light: #e0e070;
    --gold: #e0c135;
    --dark-green: #13371d;
    --beige: #c3b7a1;
    --dark-brown: #422c38;
    --white: #fafafa;
    --black: #1a1a1a;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gold);
    z-index: 9999;
    transform-origin: left;
    width: 100%;
    transform: scaleX(0);
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(250, 250, 250, 0);
    backdrop-filter: blur(0px);
    transition: all 0.4s ease;
}

.nav.scrolled {
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-logo {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.nav.scrolled .nav-logo {
    opacity: 1;
}

.nav:has(.nav-hamburger.active) .nav-logo {
    opacity: 1;
}

.nav-logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    transition: color 0.3s ease;
}

.nav.scrolled .nav-menu a {
    color: var(--dark-green);
}

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

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

.nav-cta {
    background: var(--gold);
    color: var(--dark-green) !important;
    padding: 0.8rem 2rem;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(224, 193, 53, 0.3);
}

.nav-cta::after {
    display: none;
}

/* Hamburger Menu */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    outline: none;
}

.nav-hamburger:focus {
    outline: none;
}

.nav-hamburger span {
    display: block;
    width: 32px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-hamburger span:first-child {
    width: 24px;
}

.nav-hamburger.active span:first-child {
    width: 32px;
}

.nav.scrolled .nav-hamburger span {
    background: var(--dark-green);
}
    
    .nav-hamburger.active span {
        background: white;
    }
    
    .nav.scrolled .nav-hamburger.active span {
        background: white;
    }
    
    .nav-hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(2px, 2px);
    }
    
    .nav-hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    /* Mobile Menu Overlay */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0);
        pointer-events: none;
        transition: background 0.4s ease;
        z-index: -1;
    }
    
    .nav-menu.active::before {
        pointer-events: all;
    }

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark-green);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: grayscale(20%);
}

/* Main Logo with Drawing Animation */
.hero-main-logo-wrapper {
    position: relative;
    z-index: 10;
    max-width: 90%;
    width: 1200px;
    text-align: center;
    transform: translateY(-17vh);
}

.hero-main-logo {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.logo-path {
    fill: var(--gold);
    fill-opacity: 0;
    stroke: var(--gold);
    stroke-width: 0.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    /* Will be animated with JS */
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0;
    transform: translateY(30px);
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    color: white;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.5);
    margin: 1rem auto 0;
    position: relative;
    overflow: hidden;
}

.hero-scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: white;
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        transform: translateY(-30px);
    }
    100% {
        transform: translateY(60px);
    }
}

/* ===== CONTAINERS ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.container-fluid {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* ===== TYPOGRAPHY ===== */
.outline-title {
    font-size: clamp(4rem, 10vw, 10rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1;
    color: var(--dark-green);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.outline-title-medium {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.1;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.outline-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 500;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--dark-green);
    margin-bottom: 1.5rem;
    padding: 0.5rem 1.5rem;
    background: var(--gold);
    color: white;
}

.section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-green);
}

.subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 600px;
}

.section-intro {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--dark-green);
    margin-bottom: 4rem;
    max-width: 800px;
}

.text-block p {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.gold-line {
    width: 80px;
    height: 4px;
    background: var(--gold);
    margin-top: 2rem;
}

/* ===== GEOMETRIC ELEMENTS ===== */
.geometric-circle {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.circle-sm {
    width: 100px;
    height: 100px;
    background: var(--beige);
}

.circle-md {
    width: 200px;
    height: 200px;
    background: var(--yellow-light);
}

.circle-lg {
    width: 300px;
    height: 300px;
    background: var(--gold);
    opacity: 0.3;
}

.circle-xl {
    width: 400px;
    height: 400px;
    background: var(--yellow-light);
    opacity: 0.5;
}

.circle-xxl {
    width: 600px;
    height: 600px;
    background: var(--gold);
    opacity: 0.2;
}

/* ===== COLOR BLOCKS ===== */
.color-block {
    position: absolute;
    z-index: 0;
    transition: transform 0.3s ease-out;
}

.color-block-yellow {
    background: #e0e070;
}

.color-block-green {
    background: #13371d;
}

.color-block-beige {
    background: #c3b7a1;
}

.color-block-brown {
    background: #422c38;
}

.color-block-gold {
    background: #e0c135;
}

/* ===== INTRO SECTION ===== */
.intro {
    padding: 8rem 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.intro-title-wrapper {
    text-align: center;
    margin-bottom: 6rem;
    padding: 0 2rem;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.intro-image-wrapper {
    position: relative;
    height: 700px;
    overflow: visible;
}

.intro-image-wrapper .color-block {
    width: 500px;
    height: 600px;
    top: -80px;
    right: -120px;
}

.intro-image {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

.intro-image-wrapper .geometric-circle {
    bottom: -100px;
    left: -150px;
}

.intro-content {
    position: relative;
    z-index: 10;
}

/* Secondary Logo Animation */
.secondary-logo-wrapper {
    position: absolute;
    bottom: -100px;
    right: -150px;
    width: 300px;
    height: 300px;
    z-index: 1;
}

.intro-content .section-label,
.intro-content .section-title,
.intro-content .subtitle,
.intro-content .text-block {
    position: relative;
    z-index: 2;
}

#secondary-logo-svg {
    width: 100%;
    height: 100%;
}

.logo-inner-circle {
    transform: none !important;
    animation: none !important;
    /* Fixed - does not rotate */
}

.logo-outer-text {
    transform-origin: 50% 50%;
    animation: rotate-slow 20s linear infinite;
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ===== PROJEKT SECTION ===== */
.projekt {
    padding: 10rem 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.projekt-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    position: relative;
    min-height: 900px;
}

.projekt-number {
    grid-column: 1 / 4;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.outline-number {
    font-size: clamp(8rem, 15vw, 15rem);
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    font-family: "ohm-bold", sans-serif;
font-weight: 700;
font-style: normal;
}

.outline-separator {
    font-size: clamp(6rem, 12vw, 12rem);
    font-weight: 300;
    color: var(--gold);
    font-family: "ohm-bold", sans-serif;
font-weight: 700;
font-style: normal;
}

.projekt-image-1 {
    grid-column: 1 / 8;
    grid-row: 2;
    position: relative;
    height: 600px;
    overflow: visible;
}

.projekt-image-1 .color-block {
    width: 450px;
    height: 550px;
    top: -60px;
    left: -100px;
}

.projekt-image-1 img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

.projekt-image-2 {
    grid-column: 9 / 13;
    grid-row: 2;
    position: relative;
    height: 500px;
    margin-top: 100px;
    overflow: visible;
}

.projekt-image-2 .color-block {
    width: 380px;
    height: 480px;
    top: 80px;
    right: -90px;
}

.projekt-image-2 img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

.projekt-text-box {
    grid-column: 3 / 10;
    grid-row: 2;
    background: white;
    padding: 4rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    z-index: 20;
    margin-top: 200px;
}

.projekt-text-box h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

.projekt-text-box .subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.projekt-text-box p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.projekt-grid .geometric-circle {
    grid-column: 10 / 13;
    grid-row: 1 / 3;
    right: -200px;
    top: -100px;
}

/* ===== AUSBAU SECTION ===== */
.ausbau {
    padding: 10rem 0;
    background: var(--dark-green);
    color: white;
    position: relative;
    overflow: hidden;
}

.ausbau .section-label {
    background: var(--gold);
    color: white;
}

.ausbau .outline-title-medium {
    -webkit-text-stroke-color: var(--gold);
    margin-bottom: 1rem;
}

.ausbau .section-intro {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 6rem;
}

.ausbau-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem;
}

.ausbau-card {
    position: relative;
}

.ausbau-card-image {
    position: relative;
    height: 450px;
    margin-bottom: 2rem;
    overflow: visible;
}

.ausbau-card-image .color-block {
    width: 200px;
    height: 280px;
    bottom: -50px;
    right: -50px;
}

.ausbau-card-image img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    transition: transform 0.6s ease;
}

.ausbau-card:hover .ausbau-card-image img {
    transform: scale(1.05);
}

.ausbau-number {
    font-size: 5rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
    display: block;
    margin-bottom: 1rem;
}

.ausbau-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.ausbau-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .ausbau .section-intro {
        margin-bottom: 2rem;
    }
}

/* ===== WOHNUNGEN SECTION ===== */
.wohnungen {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    overflow: visible;
}

.wohnungen-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 4rem;
    max-width: 1000px;
    overflow: visible;
    margin-left: auto;
    margin-right: auto;
}

.wohnungen-svg-container {
    padding: 11rem 3rem 3rem 3rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    overflow: visible;
}

#building-svg {
    width: 80%;
    height: auto;
    max-width: 600px;
    margin: 0 auto;
    display: block;
    overflow: visible;
}

.apartment {
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}

.apartment:hover {
    filter: drop-shadow(0 2px 8px rgba(224, 193, 53, 0.3));
}

.apartment.dimmed {
    opacity: 0.3;
    filter: grayscale(50%);
}

.apartment.selected {
    opacity: 1;
}

/* Individuelle Drop-Shadows basierend auf Wohnungsfarben */
#wohnung-1.apartment.selected {
    filter: drop-shadow(0 8px 20px rgba(192, 156, 113, 0.8));
}

#wohnung-2.apartment.selected {
    filter: drop-shadow(0 8px 20px rgba(224, 228, 131, 0.8));
}

#wohnung-3.apartment.selected {
    filter: drop-shadow(0 8px 20px rgba(184, 174, 89, 0.8));
}

#wohnung-4.apartment.selected {
    filter: drop-shadow(0 8px 20px rgba(122, 198, 182, 0.8));
}

#wohnung-5.apartment.selected {
    filter: drop-shadow(0 8px 20px rgba(255, 230, 141, 0.8));
}

#wohnung-6.apartment.selected {
    filter: drop-shadow(0 8px 20px rgba(188, 228, 250, 0.8));
}

#wohnung-7.apartment.selected {
    filter: drop-shadow(0 8px 20px rgba(250, 203, 189, 0.8));
}

#wohnung-8.apartment.selected {
    filter: drop-shadow(0 8px 20px rgba(199, 166, 207, 0.8));
}

.wohnungen-table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.wohnungen-table {
    width: 100%;
    border-collapse: collapse;
}

.wohnungen-table thead {
    background: var(--dark-green);
}

.wohnungen-table th {
    color: white;
    padding: 1.5rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wohnungen-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    cursor: pointer;
}

.wohnungen-table tbody tr:hover {
    background: rgba(224, 193, 53, 0.1);
    transform: translateX(5px);
}

.wohnungen-table tbody tr.selected {
    background: rgba(224, 193, 53, 0.2);
    border-left: 4px solid var(--gold);
}

.wohnungen-table td {
    padding: 1.2rem 1.5rem;
    color: #333;
}

.wohnung-number {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--gold);
}

.status-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-available {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-reserved {
    background: #fff3e0;
    color: #ef6c00;
}

.status-sold {
    background: #ffebee;
    color: #c62828;
}

.pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--dark-green);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.pdf-link:hover {
    opacity: 1;
    color: var(--gold);
}

.pdf-link::before {
    content: "↓";
    font-size: 0.9rem;
}

/* PDF Download Buttons */
.pdf-download-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.btn-pdf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--dark-green);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(45, 95, 63, 0.3);
    min-width: 200px;
    flex: 1;
    max-width: 250px;
}

.btn-pdf:hover {
    background: var(--gold);
    color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224, 193, 53, 0.4);
}

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

.btn-pdf:hover svg {
    transform: translateY(2px);
}

/* ===== LAGE SECTION ===== */
.lage-image-section {
    width: 100%;
    overflow: hidden;
}

.lage-hero-image {
    width: 100%;
    height: 75vh;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.lage-hero-image:hover {
    transform: scale(1.02);
}

.lage {
    width: 100%;
    background: var(--dark-green);
    padding: 6rem 0;
}

.lage-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
    color: white;
}

.lage-content .section-label {
    background: var(--gold);
}

.lage-content .outline-title-medium {
    -webkit-text-stroke-color: white;
    margin-bottom: 1rem;
}

.lage-content .subtitle {
    color: var(--gold);
}

.lage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.lage-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.lage-map {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lage-map img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.lage-map img:hover {
    transform: scale(1.02);
}

.lage .geometric-circle {
    right: -300px;
    top: -300px;
}

/* ===== FAQ ===== */
.faq {
    padding: 8rem 0;
    background: var(--dark-green);
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(224, 193, 53, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.faq::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(224, 193, 53, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.faq .section-title {
    color: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.faq-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(224, 193, 53, 0.3);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gold);
    transition: height 0.4s ease;
}

.faq-item:hover,
.faq-item.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(224, 193, 53, 0.3);
}

.faq-item.active::before {
    height: 100%;
}

.faq-question {
    width: 100%;
    padding: 2rem 2.5rem;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question span:first-child {
    flex: 1;
}

.faq-question:hover {
    color: var(--gold);
}

.faq-icon {
    font-size: 2rem;
    color: var(--gold);
    font-weight: 300;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gold);
    border-radius: 50%;
    background: rgba(224, 193, 53, 0.1);
}

.faq-item.active .faq-icon {
    transform: rotate(135deg);
    background: var(--gold);
    color: var(--dark-green);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s ease;
    padding: 0 2.5rem;
}

.faq-item.active .faq-answer {
    max-height: 600px;
    padding: 0 2.5rem 2rem 2.5rem;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    margin: 0;
    font-size: 1.05rem;
}

/* ===== GALLERY ===== */
.gallery {
    padding: 8rem 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.gallery-item {
    position: relative;
    height: 600px;
    cursor: pointer;
    overflow: visible;
}

.gallery-item .color-block {
    width: 180px;
    height: 280px;
    bottom: -50px;
    left: -40px;
    opacity: 0.6;
    transition: transform 0.3s ease-out;
}

.gallery-item img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    transition: transform 0.6s ease;
}

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

.gallery-item:hover .color-block {
    transform: translate(-20px, -20px);
}

/* ===== KONTAKT SECTION ===== */
.kontakt {
    padding: 10rem 0;
    background: var(--dark-green);
    color: white;
    position: relative;
    overflow: hidden;
}

.kontakt .section-label {
    background: var(--gold);
}

.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.kontakt-left {
    position: relative;
}

.kontakt-left .outline-title-medium {
    -webkit-text-stroke-color: var(--gold);
    color: var(--white);
}

.kontakt-left .subtitle {
    color: var(--gold);
}

.kontakt-left p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.kontakt-left .circle-md {
    top: 50%;
    left: -100px;
}

.kontakt-left .circle-sm {
    bottom: 20%;
    right: -50px;
}

/* Form Styles */
.kontakt-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.2rem 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-bottom-color: var(--gold);
}

.form-group label {
    position: absolute;
    left: 0;
    top: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group select:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:valid + label,
.form-group select + label {
    top: -1.5rem;
    font-size: 0.85rem;
    color: var(--gold);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7l5 5 5-5' stroke='%23e0c135' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px;
    padding-right: 3rem;
    transition: all 0.3s ease;
}

.form-group select:hover {
    border-bottom-color: var(--gold);
    background-color: rgba(224, 193, 53, 0.05);
}

.form-group select:focus {
    background-color: rgba(224, 193, 53, 0.08);
}

.form-group select option {
    background: var(--dark-green);
    color: white;
    padding: 1rem;
}

.form-group select option:first-child {
    color: rgba(255, 255, 255, 0.6);
}

.form-group select option:hover,
.form-group select option:checked {
    background: linear-gradient(135deg, var(--dark-green) 0%, #1a4d28 100%);
    color: var(--gold);
}

.btn-submit {
    padding: 1.5rem 4rem;
    background: var(--gold);
    color: white;
    border: none;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(224, 193, 53, 0.2);
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-submit:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(224, 193, 53, 0.4);
    background: linear-gradient(135deg, var(--gold) 0%, #f0d050 100%);
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:active {
    transform: scale(0.98);
    box-shadow: 0 2px 10px rgba(224, 193, 53, 0.3);
}

/* ===== FOOTER ===== */
.footer {
    padding: 2rem 0;
    background: var(--black);
    color: white;
    text-align: center;
}

.footer p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    z-index: 10001;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 10002;
    background: transparent;
    border: none;
    color: white;
    font-size: 4rem;
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
}

.lightbox-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10002;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

/* Clickable Images */
.intro-image,
.projekt-image-1 img,
.projekt-image-2 img,
.ausbau-card-image img,
.lage-bg,
.gallery-item img {
    cursor: pointer;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
}

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

/* Tablet */
@media (max-width: 1024px) {
    .container,
    .container-fluid {
        padding: 0 2rem;
    }
    
    .intro-grid,
    .projekt-grid,
    .kontakt-grid,
    .lage-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        display: flex;
        flex-direction: column;
    }
    
    .lage-map {
        order: -1;
    }
    
    .lage-text {
        order: 1;
    }
    
    .projekt-number {
        grid-column: 1 / -1;
        justify-content: center;
    }
    
    .projekt-image-1,
    .projekt-image-2,
    .projekt-text-box {
        grid-column: 1 / -1;
        grid-row: auto;
        margin-top: 0;
    }
    
    .projekt-text-box {
        margin-top: 0;
    }
    
    .ausbau-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .secondary-logo-wrapper {
        width: 200px;
        height: 200px;
        right: -100px;
        bottom: -50px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Spacing */
    .container,
    .container-fluid {
        padding: 0 1.5rem;
    }
    
    .intro,
    .projekt,
    .ausbau {
        padding: 5rem 0;
    }
    
    /* Navigation - Mobile Menu */
    .nav {
        padding: 1rem 1.5rem;
    }
    
    .nav-logo img {
        height: 40px;
    }
    
    /* Show Hamburger on Mobile */
    .nav-hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--dark-green);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 999;
        padding: 0;
        overflow: hidden;
    }
    
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at top right, rgba(224, 193, 53, 0.15) 0%, transparent 60%),
            radial-gradient(circle at bottom left, rgba(224, 193, 53, 0.1) 0%, transparent 50%);
        pointer-events: none;
    }
    
    .nav-menu-logo {
        display: none;
    }
    
    .nav-logo {
        z-index: 1002;
        position: relative;
        text-decoration: none;
        display: inline-block;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        list-style: none;
        margin: 0.5rem 0;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-menu.active li:nth-child(2) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.35s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.45s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.55s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.65s; }
    
    .nav-menu a {
        font-size: 1.1rem;
        color: white !important;
        font-weight: 600;
        letter-spacing: 0.1em;
        padding: 1rem 2rem;
        display: block;
        position: relative;
        transition: all 0.3s ease;
        text-transform: uppercase;
    }
    
    .nav.scrolled .nav-menu a {
        color: white !important;
    }
    
    .nav-menu a::after {
        content: '';
        position: absolute;
        left: 2rem;
        bottom: 0.5rem;
        width: 0;
        height: 2px;
        background: var(--gold);
        transition: width 0.3s ease;
    }
    
    .nav-menu a:hover {
        color: var(--gold);
        padding-left: 2.5rem;
    }
    
    .nav-menu a:hover::after {
        width: 50px;
    }
    
    .nav-cta {
        margin-top: 1.5rem;
        padding: 1rem 2.5rem !important;
        background: var(--gold) !important;
        color: var(--dark-green) !important;
        border-radius: 2px;
        font-weight: 700 !important;
        box-shadow: 0 10px 30px rgba(224, 193, 53, 0.3);
    }
    
    .nav-menu .nav-cta {
        color: var(--dark-green) !important;
    }
    
    .nav-menu .nav-cta:hover {
        color: var(--dark-green) !important;
    }
    
    .nav-cta::before {
        display: none;
    }
    
    .nav-cta:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 15px 40px rgba(224, 193, 53, 0.4);
    }
    
    /* Hero */
    .hero-main-logo-wrapper {
        width: 95%;
        max-width: 600px;
    }
    
    .hero-main-logo {
        margin-bottom: 1rem;
    }
    
    .hero-scroll {
        bottom: 30px;
        font-size: 0.65rem;
    }
    
    .hero-scroll-line {
        height: 40px;
    }
    
    /* Projekt Numbers */
    .outline-number {
        font-size: clamp(5rem, 20vw, 10rem);
    }
    
    .outline-separator {
        font-size: clamp(4rem, 16vw, 8rem);
    }
    
    .projekt-text-box {
        padding: 1rem;
    }
    
    /* Typography */
    .section-title {
        font-size: clamp(1.8rem, 6vw, 3rem);
    }
    
    .subtitle {
        font-size: clamp(1rem, 3vw, 1.5rem);
    }
    
    /* FAQ */
    .faq {
        padding: 6rem 0;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        padding: 1.5rem 1.5rem;
        font-size: 1rem;
    }
    
    .faq-icon {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
        padding-left: 0.5rem;
    }
    
    /* Wohnungen */
    .wohnungen {
        padding: 6rem 0;
    }
    
    .wohnungen-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .wohnungen-svg-container {
        position: relative;
        top: 0;
        padding: 6rem 1.5rem 2rem 1.5rem;
        overflow: visible;
    }
    
    #building-svg {
        width: 90%;
        max-width: 100%;
    }
    
    .wohnungen-table-container {
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }
    
    .wohnungen-table-container::after {
        display: none;
    }
    
    .wohnungen-table thead {
        display: none;
    }
    
    .wohnungen-table,
    .wohnungen-table tbody {
        display: block;
    }
    
    .wohnungen-table tbody tr {
        display: block;
        background: white;
        border-radius: 12px;
        margin-bottom: 1rem;
        padding: 1.5rem;
        border: 2px solid #eee;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }
    
    .wohnungen-table tbody tr:hover {
        transform: none;
        border-color: var(--gold);
    }
    
    .wohnungen-table tbody tr.selected {
        border-color: var(--gold);
        border-width: 3px;
        background: rgba(224, 193, 53, 0.05);
    }
    
    .wohnungen-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.6rem 0;
        border: none;
    }
    
    .wohnungen-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--dark-green);
        flex: 0 0 40%;
        font-size: 0.85rem;
    }
    
    .wohnungen-table td:first-child {
        padding-top: 0;
        margin-bottom: 0.5rem;
        border-bottom: 2px solid #eee;
        padding-bottom: 0.8rem;
    }
    
    .wohnungen-table td:last-child {
        padding-bottom: 0;
    }
    
    .wohnung-number {
        font-size: 1.5rem;
    }
    
    .status-badge {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
    
    .pdf-link {
        font-size: 0.85rem;
        opacity: 0.7;
    }
    
    .pdf-download-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-top: 0;
    }
    
    .btn-pdf {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .text-block p {
        font-size: 1rem;
    }
    
    /* Images */
    .intro-image-wrapper,
    .projekt-image-1,
    .projekt-image-2,
    .ausbau-card-image,
    .gallery-item {
        height: 400px;
    }
    
    /* Color blocks smaller on mobile */
    .color-block {
        opacity: 0.8;
    }
    
    .intro-image-wrapper .color-block {
        width: 250px;
        height: 350px;
        top: -40px;
        right: -60px;
    }
    
    .projekt-image-1 .color-block,
    .projekt-image-2 .color-block {
        width: 200px;
        height: 300px;
    }
    
    .ausbau-card-image .color-block {
        width: 150px;
        height: 220px;
        bottom: -40px;
        right: -40px;
    }
    
    .gallery-item .color-block {
        width: 120px;
        height: 180px;
        bottom: -30px;
        left: -30px;
    }
    
    /* Geometric circles */
    .geometric-circle {
        display: none;
    }
    
    /* Lage Section */
    .lage-content {
        padding: 3rem 2rem;
    }
    
    .lage-map img {
        border-radius: 2px;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Contact */
    .kontakt {
        padding: 6rem 0;
    }
    
    .kontakt-grid {
        gap: 4rem;
    }
    
    /* Lightbox */
    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .lightbox-prev {
        left: 1rem;
    }
    
    .lightbox-next {
        right: 1rem;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        font-size: 3rem;
        width: 50px;
        height: 50px;
    }
    
    /* Secondary Logo */
    .secondary-logo-wrapper {
        width: 180px;
        height: 180px;
        right: -50px;
        bottom: -30px;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .container,
    .container-fluid {
        padding: 0 1rem;
    }
    
    .nav {
        padding: 0.8rem 1rem;
    }
    
    .nav-logo img {
        height: 35px;
    }
    
    .hero-main-logo-wrapper {
        width: 100%;
        padding: 0 1rem;
    }
    
    .section-label {
        font-size: 0.65rem;
        padding: 0.4rem 1rem;
    }
    
    .intro,
    .projekt,
    .ausbau {
        padding: 4rem 0;
    }
    
    .intro-image-wrapper,
    .projekt-image-1,
    .projekt-image-2,
    .ausbau-card-image,
    .gallery-item {
        height: 300px;
    }
    
    .lage-content {
        padding: 2rem 1.5rem;
    }
    
    .lage-hero-image {
        height: 40vh;
    }
}
