/* ====================================================================
   KPJ Real Estate — Aika-Layout
   ==================================================================== */

/* Type scale (Aika-Stil: große Display-Headlines mit Italic-Akzent) */
.display-1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.75rem, 6vw, 5.5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: 32px;
    color: var(--ivory);
}
.display-2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 4.5vw, 3.75rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 48px;
    color: var(--ivory);
}
.display--center { text-align: center; max-width: 900px; margin-left: auto; margin-right: auto; }

.accent-italic {
    background: linear-gradient(180deg, var(--gold-dark) 0%, var(--gold-mid) 35%, var(--gold-light) 55%, var(--gold-mid) 75%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-style: italic;
    font-weight: 500;
}

.eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    background: linear-gradient(180deg, var(--gold-mid) 0%, var(--gold-light) 50%, var(--gold-mid) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 24px;
    font-weight: 500;
}
.eyebrow--center { text-align: center; }

/* Section layout (asymmetrisch, viel Whitespace, dezenter Left-Padding für "Edge"-Effekt) */
.section { padding: 96px 0 96px 10px; }
.section--wide { padding: 96px 0 96px 10px; }
.section--top { padding: 128px 0 0 10px; }
.section--cta {
    padding: 128px 0 128px 10px;
    text-align: center;
}

/* Hairline divider mit Serifen-Symbol (Aika-typisch) */
.hairline-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 32px 0;
    max-width: var(--max-width);
    margin: 0 auto;
}
.hairline-divider::before,
.hairline-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    opacity: 0.5;
}
.hairline-divider span {
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    opacity: 0.8;
}

/* Signature divider (Katharina-Signatur aus Logo extrahiert) — persönlicher Anker */
.signature-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 0;
    max-width: var(--max-width);
    margin: 0 auto;
}
.signature-divider img {
    height: 36px;
    width: auto;
    opacity: 0.85;
    filter: drop-shadow(0 0 1px rgba(197, 160, 89, 0.3));
}

/* Hero-Signatur (im Hero-Text-Bereich) */
.hero-signature {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}
.hero-signature img {
    height: 48px;
    width: auto;
    opacity: 0.9;
}

/* HERO: Split 40/60 */
.hero-split {
    display: grid;
    grid-template-columns: 40% 60%;
    min-height: 80vh;
    border-bottom: 1px solid var(--line);
}
.hero-split__text {
    padding: 96px var(--gutter) 96px max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter)));
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-split__image {
    background: #1a1a1a;
    overflow: hidden;
    position: relative;
}
.hero-split__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 48px;
}
.hero-subtitle--center {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* INTRO */
.intro-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
    align-items: start;
}
.intro-lede {
    font-family: 'Inter', sans-serif;
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.7;
}
.intro-stat {
    border-left: 1px solid var(--gold);
    padding-left: 32px;
}
.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(180deg, var(--gold-dark) 0%, var(--gold-mid) 35%, var(--gold-light) 55%, var(--gold-mid) 75%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 500;
}
.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
}

/* LEISTUNGEN (3-Card mit Hairline-Top) */
.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}
.leistung-card {
    border-top: 1px solid var(--gold);
    padding-top: 0;
    transition: border-color 0.3s ease;
}
.leistung-card:hover { border-top-color: var(--ivory); }
.card-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    background: linear-gradient(180deg, var(--gold-mid) 0%, var(--gold-light) 50%, var(--gold-mid) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 0;
    letter-spacing: 0.05em;
}
.card-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--ivory);
}
.card-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.65;
}

/* SERVICES (5 Items, 2-Spalten mit Hairline-Top) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--gold);
    border-bottom: 1px solid var(--line);
}
.service-card {
    background: var(--bg);
    padding: 48px 32px;
}
.service-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--ivory);
}
.service-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.65;
}

/* BILDERGALERIE: asymmetrisches Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 280px 280px;
    gap: 16px;
    margin-bottom: 32px;
}
.gallery-item {
    overflow: hidden;
    background: #1a1a1a;
}
.gallery-item--large { grid-row: 1 / 3; }

/* METALLIC-GOLD TEXT (3D-Effekt wie im Logo) */
.text-gold {
    background: linear-gradient(
        180deg,
        var(--gold-dark) 0%,
        var(--gold-mid) 35%,
        var(--gold-light) 55%,
        var(--gold-mid) 75%,
        var(--gold-dark) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.text-gold--subtle {
    background: linear-gradient(
        180deg,
        var(--gold-mid) 0%,
        var(--gold-light) 50%,
        var(--gold-mid) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-note {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
    font-style: italic;
    margin-top: 16px;
}

/* INTRO: Text links (Lesespalte, rechtsbuendig zum Bild hin), Bild rechts (vollstaendig sichtbar, skaliert) */
.intro-split {
    display: grid;
    grid-template-columns: minmax(0, 880px) auto;
    gap: 48px;
    align-items: center;
}
.intro-split__text {
    text-align: right;
}
.intro-split__text p { max-width: 48ch; margin-left: auto; }
.intro-split__image {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-height: 520px;
    overflow: hidden;
}
.intro-split__image img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 520px;
    object-fit: contain;
}

/* POLEN / INTERNATIONAL Split */
.polen-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.polen-split--reverse { direction: rtl; }
.polen-split--reverse > * { direction: ltr; }
.polen-split__image {
    height: 100%;
    width: 100%;
    overflow: hidden;
    background: #1a1a1a;
    aspect-ratio: 4 / 3;
}
.polen-split__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.polen-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}
.polen-list li {
    font-family: 'Inter', sans-serif;
    color: var(--ivory);
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
}
.polen-list li:last-child { border-bottom: 0; }

/* KONTAKT */
.kontakt-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}
.kontakt-side { padding-top: 8px; }
.kontakt-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 16px;
}
.country-card {
    border-top: 1px solid var(--gold);
    padding: 24px 0;
}
.country-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--ivory);
    margin-bottom: 8px;
    font-weight: 500;
}
.country-detail {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--muted);
}
.form-status { margin-top: 24px; min-height: 1.5em; }

/* Kontakt: Bild + Caption + Networks */
.kontakt-caption {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 32px;
}
.contact-networks {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

/* CTA buttons */
.btn--large {
    padding: 18px 48px;
    font-size: 0.8rem;
}
.btn--ghost {
    border-color: var(--muted);
    color: var(--muted);
}
.btn--ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: transparent;
}

.cta-image {
    margin: 48px auto;
    max-width: 480px;
    max-height: 720px;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #1a1a1a;
}
.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* 404 */
.error-page {
    text-align: center;
    padding: 160px 0;
}
.error-page h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 8rem;
    color: var(--gold);
    margin-bottom: 24px;
    line-height: 1;
}

/* Side padding helper (Aika nutzt asymmetrisches Padding) */
.site-main {
    overflow-x: hidden;
}