/* ===========================
   Fonts
   =========================== */
@font-face {
    font-family: 'Trip Sans';
    src: url('assets/trip-sans.otf') format('opentype');
    font-weight: 100 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Trip Sans';
    src: url('assets/trip-sans-bold.otf') format('opentype');
    font-weight: 600 900;
    font-style: normal;
    font-display: swap;
}

/* ===========================
   Variables
   =========================== */
:root {
    --color-ink:   #252525;
    --color-paper: #e6e6e6;
    --color-stone: #a7a39c;

    --font-display: 'Trip Sans', 'Helvetica Neue', Arial, sans-serif;

    --text-xs:   11px;
    --text-sm:   13px;
    --text-base: 16px;
    --text-xl:   28px;
}

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

/* ===========================
   Placeholder page (index2)
   =========================== */
html, body {
    height: 100%;
    background: var(--color-paper);
    font-family: var(--font-display);
}

body.ph-page {
    overflow: hidden;
}

/* Image frame — matches .hero-slide-frame */
.ph-frame {
    position: fixed;
    width: 95%;
    height: 84%;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    overflow: hidden;
}

.ph-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 65%;
    display: block;
}

.ph-overlay {
    display: none;
}

/* Logo — matches .fixed-logo position */
.ph-logo {
    position: fixed;
    top: 50%;
    left: 52%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.ph-logo img {
    height: 13vh;
    width: auto;
}

/* Bottom-left: label + headline + contact */
.ph-contact {
    position: fixed;
    bottom: 12%;
    left: 8%;
    z-index: 2;
}

.ph-label {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--color-ink);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.ph-headline {
    font-size: clamp(36px, 5vw, 80px);
    font-weight: 900;
    color: var(--color-ink);
    letter-spacing: 0.04em;
    line-height: 1;
    margin-bottom: 28px;
}

.ph-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ph-info a {
    font-size: var(--text-base);
    font-weight: 400;
    color: var(--color-ink);
    text-decoration: none;
    letter-spacing: 0.06em;
    transition: color 0.2s ease;
}

.ph-info a:hover {
    color: var(--color-stone);
}

/* Bottom-right: legal links */
.ph-legal {
    position: fixed;
    bottom: 3%;
    right: 3.5%;
    z-index: 2;
    display: flex;
    gap: 28px;
}

.ph-legal a {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--color-stone);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.ph-legal a:hover {
    color: var(--color-ink);
}

/* ===========================
   Legal pages (impressum2 / datenschutz2)
   =========================== */
.page-legal {
    min-height: 100vh;
    padding: 140px 60px 100px;
    background: var(--color-paper);
}

.legal-header {
    margin-bottom: 60px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-ink);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.legal-back {
    font-size: var(--text-sm);
    color: var(--color-stone);
    text-decoration: none;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.legal-back:hover {
    color: var(--color-ink);
}

.legal-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 80px);
    font-weight: 900;
    color: var(--color-ink);
    margin: 0;
}

.legal-content {
    max-width: 800px;
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 900;
    color: var(--color-ink);
    margin: 52px 0 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.legal-content h3 {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 900;
    color: var(--color-ink);
    margin: 32px 0 8px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.legal-content p {
    font-size: var(--text-base);
    color: var(--color-ink);
    line-height: 1.8;
    margin: 0 0 16px;
}

.legal-content a {
    color: var(--color-ink);
    text-decoration: underline;
}

.legal-content ul {
    margin: 0 0 16px;
    padding-left: 24px;
}

.legal-content ul li {
    font-size: var(--text-base);
    color: var(--color-ink);
    line-height: 1.8;
    margin: 4px 0;
}

/* ===========================
   Mobile
   =========================== */
@media (max-width: 768px) {
    body.ph-page {
        overflow: auto;
    }

    .ph-frame {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        transform: none;
    }

    .ph-logo {
        left: 50%;
        top: 32%;
    }

    .ph-contact {
        bottom: auto;
        top: 58%;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }

    .ph-info {
        align-items: center;
    }

    .ph-legal {
        bottom: 6%;
        right: 50%;
        transform: translateX(50%);
    }

    .page-legal {
        padding: 100px 30px 80px;
    }
}

@media (max-width: 480px) {
    .page-legal {
        padding: 80px 20px 60px;
    }
}
