:root {
    --primary: #0f172a;
    --primary-soft: #1f2937;
    --accent: #2563eb;
    --bg: #e5e7eb;
    --bg-alt: #f3f4f6;
    --card-bg: #ffffff;
    --text-main: #111827;
    --text-muted: #6b7280;
    --border-subtle: #d1d5db;
    --radius-lg: 18px;
    --radius-md: 12px;
}

/* RESET */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
    color: var(--text-main);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

/* PAGE WRAPPER */

.page {
    max-width: 1600px;
    margin: 0 auto;
    padding: 24px 16px 56px;
}

/* HEADER */

header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    padding: 10px 0;
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
    backdrop-filter: blur(10px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-text-main {
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0.16em;
}

.brand-text-sub {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
}

nav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

nav a {
    position: relative;
    padding-bottom: 2px;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--primary-soft);
    transition: width 0.2s ease-out;
}

nav a:hover::after {
    width: 100%;
}

/* LANGUAGE SWITCH */

.lang-switch {
    display: inline-flex;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: rgba(255,255,255,0.9);
    overflow: hidden;
}

.lang-btn {
    padding: 4px 10px;
    font-size: 11px;
    min-width: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.lang-btn.active {
    background: var(--primary-soft);
    color: #fff;
}

/* HERO */

.hero {
    margin-bottom: 30px;
}

.hero-premium {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 26px;
    padding: 40px 26px;
    border-radius: 22px;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 16px 36px rgba(15,23,42,0.14);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tag {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    margin: 16px 0 10px;
}

.hero-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 560px;
}

.hero-buttons {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* HERO IMAGE */

.hero-image img {
    width: 100%;
    border-radius: 16px;
    opacity: 0.9;
    filter: brightness(0.96);
    box-shadow: 0 20px 40px rgba(15,23,42,0.28);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-image img:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 56px rgba(15,23,42,0.35);
}

/* BUTTONS */

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
    background: var(--primary-soft);
    color: #fff;
    border-color: var(--primary-soft);
    box-shadow: 0 12px 24px rgba(15,23,42,0.35);
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(15,23,42,0.45);
}

.btn-secondary {
    border-color: var(--border-subtle);
    background: #f9fafb;
    color: var(--primary);
}

.btn-secondary:hover {
    border-color: var(--primary-soft);
    background: #e5e7eb;
    transform: translateY(-2px);
}

/* SECTIONS */

section {
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
}

.section-sub {
    font-size: 13px;
    color: var(--text-muted);
}

/* PLANNING SECTION */

.planning-section {
    margin-top: 6px;
}

.planning-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.planning-image img {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    height: 320px;
}

.planning-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 12px 28px rgba(15,23,42,0.12);
    padding: 16px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
}

.planning-card img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    height: 140px;
}

.planning-card-title {
    font-weight: 600;
    font-size: 14px;
}

.planning-card-text {
    font-size: 13px;
    color: var(--text-muted);
}

/* CARDS (LEISTUNGEN) */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 14px 14px 12px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 8px 20px rgba(15,23,42,0.10);
    transition: transform 0.16s ease-out, box-shadow 0.16s ease-out;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(15,23,42,0.18);
}

.card-label {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.card-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.card-footer {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.badge {
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    font-size: 11px;
}

/* PROJECTS (фото проектов и Innenansichten) */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.project-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 22px rgba(15,23,42,0.10);
    transition: transform 0.16s ease-out, box-shadow 0.16s ease-out;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(15,23,42,0.18);
}

.project-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.project-body {
    padding: 10px 12px 12px;
}

.project-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.project-text {
    font-size: 12px;
    color: var(--text-muted);
}

/* ABOUT */

.about-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 16px 16px 14px;
    border: 1px solid var(--border-subtle);
    font-size: 13px;
    color: var(--text-muted);
    box-shadow: 0 10px 24px rgba(15,23,42,0.10);
    transition: transform 0.16s ease-out, box-shadow 0.16s ease-out;
}

.about-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(15,23,42,0.18);
}

.about-card p + p {
    margin-top: 8px;
}

/* CONTACT */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
    gap: 18px;
}

.contact-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 16px 16px 14px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 10px 24px rgba(15,23,42,0.10);
    transition: transform 0.16s ease-out, box-shadow 0.16s ease-out;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(15,23,42,0.16);
}

.contact-card h3 {
    font-size: 15px;
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

form {
    display: grid;
    gap: 10px;
    font-size: 13px;
}

label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 2px;
    display: block;
}

input, select, textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    padding: 7px 9px;
    font-size: 13px;
    outline: none;
    background: #f9fafb;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-soft);
}

textarea {
    resize: vertical;
    min-height: 90px;
}

.contact-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
}

.contact-box {
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    padding: 10px 12px;
    background: #f9fafb;
}

.contact-box-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--primary);
}

.contact-box-line {
    font-size: 12px;
    color: var(--text-muted);
}

.contact-box a {
    color: var(--primary-soft);
    text-decoration: none;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* PROPERTIES GRID (Immobilien) */

.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.property-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 24px rgba(15,23,42,0.12);
    transition: transform 0.22s ease-out, box-shadow 0.22s ease-out;
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15,23,42,0.2);
}

.property-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.property-card:hover img {
    transform: scale(1.05);
}

.property-body {
    padding: 10px 12px 12px;
}

.property-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.property-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.property-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 11px;
}

.badge-status {
    padding: 3px 8px;
    border-radius: 999px;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    color: #0369a1;
}

.badge-status.sold {
    background: #fee2e2;
    border-color: #fecaca;
    color: #b91c1c;
}

/* BUYING SECTION (Was Käufer erwarten können) */

.buying-section {
    margin-bottom: 30px;
}

.buying-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.buying-text p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.buying-points {
    list-style: none;
    font-size: 13px;
    color: var(--text-muted);
    display: grid;
    gap: 4px;
}

.buying-image img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    height: 260px;
    box-shadow: 0 16px 36px rgba(15,23,42,0.22);
}

/* INTERIOR GRID */

.interior-section {
    margin-top: 20px;
}

.interior-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.interior-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 8px 20px rgba(15,23,42,0.12);
}

.interior-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.interior-card:hover img {
    transform: scale(1.04);
}

/* FOOTER */

footer {
    margin-top: 30px;
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
}

/* FLOATING WHATSAPP BUTTON */

.floating-contact {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: #22c55e;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 1px solid rgba(15,23,42,0.15);
    box-shadow: 0 14px 30px rgba(15,23,42,0.35);
    cursor: pointer;
    z-index: 50;
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, background 0.18s ease-out;
}

.floating-contact:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 40px rgba(15,23,42,0.45);
    background: #16a34a;
}

/* LANGUAGE VISIBILITY */

.lang {
    display: none;
}

.block-de,
.block-en {
    display: none;
}

[data-lang="de"] .lang-de {
    display: inline;
}

[data-lang="en"] .lang-en {
    display: inline;
}

[data-lang="de"] .block-de {
    display: block;
}

[data-lang="en"] .block-en {
    display: block;
}

/* SCROLL REVEAL */

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .hero-premium {
        grid-template-columns: minmax(0, 1fr);
    }

    .cards-grid,
    .projects-grid,
    .properties-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .planning-grid,
    .buying-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .interior-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        width: 100%;
        justify-content: space-between;
    }

    .cards-grid,
    .projects-grid,
    .properties-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .interior-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* TRUST BLOCK */
.trust-block {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px 50px;
    margin: 60px auto;
    max-width: 1300px;
}

.trust-image img {
    width: 100%;
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.trust-text h2 {
    margin-bottom: 12px;
    font-size: 24px;
}

.trust-text p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* INVESTORS PAGE */

.hero-investors .hero-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(15,23,42,0.35);
}

/* общий контейнер секций на странице инвесторов */
.invest-section {
    margin-top: 26px;
    margin-bottom: 18px;
}

/* карточки стратегий */
.invest-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.invest-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    padding: 16px 16px 14px;
    box-shadow: 0 12px 26px rgba(15,23,42,0.12);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.invest-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15,23,42,0.22);
}

.invest-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.invest-text {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.invest-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: grid;
    gap: 2px;
    font-size: 12px;
    color: var(--text-muted);
}

/* КЕННЗАЛЬНЫЕ КАРТОЧКИ */

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.metric-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    padding: 14px 16px 12px;
    box-shadow: 0 10px 22px rgba(15,23,42,0.12);
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.metric-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(15,23,42,0.20);
}

.metric-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.metric-value {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.metric-note {
    font-size: 12px;
    color: var(--text-muted);
}

/* PIPELINE-КАРТОЧКИ */

.pipeline-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.pipeline-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15,23,42,0.12);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.pipeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15,23,42,0.22);
}

.pipeline-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.pipeline-card:hover img {
    transform: scale(1.05);
}

.pipeline-body {
    padding: 10px 12px 12px;
}

.pipeline-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.pipeline-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.pipeline-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 11px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .trust-block {
        grid-template-columns: 1fr;
        padding: 25px;
    }
}
