/* Design 6 — KOMBI
   Base: Design 5 (Vorhang) — oxblood/brass/cream palette, dark About.
   Gallery: Design 1 — side-by-side tile grid, tint clears on hover.
   Headline + type: Design 3 — Syne (display) + Manrope (body). */

:root {
    --oxblood: #4a0e17;
    --oxblood-2: #380a11;
    --brass: #b8893b;
    --brass-lt: #d4a95a;
    --cream: #f5efe2;
    --paper: #faf6ec;
    --ink: #2a1418;
    --muted: #8a6f6a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background: var(--paper);
    color: var(--ink);
    font-family: "Manrope", system-ui, sans-serif;
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

[lang="de"] .lang-en { display: none; }
[lang="en"] .lang-de { display: none; }

/* Header */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.3rem 2.5rem;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(250, 246, 236, 0.92), rgba(250, 246, 236, 0));
}
.brand { font-family: "Syne", sans-serif; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; color: var(--oxblood); }
.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-link { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); transition: color 0.2s; }
.nav-link:hover { color: var(--brass); }
.lang-btn {
    background: none; border: 1px solid var(--oxblood); color: var(--oxblood);
    font-family: "Syne", sans-serif; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em;
    padding: 0.4rem 0.65rem; cursor: pointer; transition: all 0.2s;
}
.lang-btn:hover { background: var(--oxblood); color: var(--cream); }

/* Hero (headline style from Design 3) */
.hero {
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; padding: 7rem 1.5rem 4rem;
}
.hero-kicker { font-weight: 600; font-size: 0.82rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--brass); margin-bottom: 1.8rem; }
.hero h1 {
    font-family: "Syne", sans-serif;
    font-weight: 800;
    font-size: clamp(3rem, 12vw, 8.5rem);
    line-height: 0.9;
    letter-spacing: -0.03em;
    color: var(--oxblood);
}
.hero h1 .accent { color: var(--brass); }
.hero-rule { width: 120px; height: 2px; background: var(--brass); margin: 2rem 0 1.6rem; }
.hero-sub { max-width: 46ch; font-size: 1.15rem; color: #4c3238; }

/* Section titles (Syne) */
.section-title {
    font-family: "Syne", sans-serif;
    font-weight: 800;
    font-size: clamp(1.9rem, 4.5vw, 2.8rem);
    letter-spacing: -0.02em;
    color: var(--oxblood);
    text-align: center;
    margin-bottom: 3.2rem;
}
.section-title::after { content: ""; display: block; width: 60px; height: 2px; background: var(--brass); margin: 1rem auto 0; }

/* Project grid (from Design 1, themed) */
.work { max-width: 1300px; margin: 0 auto; padding: 6rem 2.5rem; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.tile { position: relative; overflow: hidden; cursor: pointer; background: var(--oxblood); }
.tile-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.tile-media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.2,0.7,0.2,1), filter 0.5s ease;
    filter: saturate(0.9) brightness(0.92);
}
.tile-tint { position: absolute; inset: 0; background: rgba(74, 14, 23, 0.5); transition: background 0.45s ease; }
.tile:hover .tile-media img { transform: scale(1.06); filter: none; }
.tile:hover .tile-tint { background: rgba(74, 14, 23, 0.06); }
.tile-label {
    position: absolute; left: 0; bottom: 0; width: 100%;
    padding: 1.4rem; z-index: 2;
    background: linear-gradient(to top, rgba(40, 8, 14, 0.85), rgba(40, 8, 14, 0));
}
.tile-label h3 { font-family: "Syne", sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--cream); letter-spacing: -0.01em; }
.tile-label .meta { font-size: 0.72rem; color: var(--brass-lt); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 0.35rem; }
.tile--placeholder { cursor: default; }
.tile--placeholder .tile-media { display: flex; align-items: center; justify-content: center; border: 2px dashed var(--brass); background: var(--cream); }
.placeholder-fill { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.9rem; text-align: center; padding: 1.5rem; }
.ph-title { font-family: "Syne", sans-serif; font-weight: 700; color: var(--oxblood); font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.01em; }
.ph-note { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); }

/* About (dark oxblood background from Design 5) */
.about { background: var(--oxblood); color: var(--cream); padding: 6rem 2.5rem; }
.about .section-title { color: var(--cream); }
.about-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 4rem; align-items: start; }
.about-text p { margin-bottom: 1.3rem; max-width: 62ch; color: #ecdfd4; }
.about-text p:last-child { margin-bottom: 0; }
.about-text em { color: var(--brass-lt); font-style: italic; }
.placeholder-note { color: #c6a9a2; font-style: italic; opacity: 0.9; }
.about-portrait { position: sticky; top: 5rem; }
.about-portrait img { width: 100%; border: 1px solid var(--brass); }

/* Contact */
.contact { padding: 6rem 2.5rem; text-align: center; }
.contact-inner { max-width: 620px; margin: 0 auto; }
.contact-name { font-family: "Syne", sans-serif; font-weight: 800; font-size: 2rem; color: var(--oxblood); margin-bottom: 1rem; }
.contact-inner p { margin: 0.4rem 0; color: #4c3238; }
a.mail { color: var(--brass); border-bottom: 1px solid var(--brass); font-weight: 500; }
a.mail:hover { color: var(--oxblood); border-color: var(--oxblood); }

/* Footer */
footer {
    border-top: 1px solid rgba(74, 14, 23, 0.2);
    padding: 2rem 2.5rem;
    font-size: 0.8rem; color: var(--muted);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
footer a:hover { color: var(--brass); }

/* Lightbox */
.modal { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(40, 8, 14, 0.97); justify-content: center; align-items: center; }
.modal.active { display: flex; }
.modal-content { max-width: 82%; max-height: 88%; display: flex; flex-direction: column; align-items: center; }
.modal-image-container { display: flex; max-height: 74vh; }
#modal-active-img { max-width: 100%; max-height: 74vh; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.modal-caption { text-align: center; margin-top: 1.2rem; color: var(--cream); }
#modal-project-title { font-family: "Syne", sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--brass-lt); }
#modal-project-meta { color: #e2cfc4; margin-top: 0.25rem; font-size: 0.9rem; }
.gallery-counter { color: var(--brass); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 0.5rem; }
.modal-close { position: absolute; top: 1.4rem; right: 2rem; background: none; border: none; color: var(--cream); font-size: 2.6rem; line-height: 1; cursor: pointer; z-index: 1010; }
.modal-close:hover { color: var(--brass); }
.modal-nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--cream); font-size: 2.2rem; padding: 1.5rem; cursor: pointer; }
.modal-nav:hover { color: var(--brass); }
.prev-btn { left: 1rem; }
.next-btn { right: 1rem; }

/* Responsive */
@media (max-width: 860px) {
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-portrait { position: static; max-width: 380px; }
}
@media (max-width: 600px) {
    .nav-links { display: none; }
    .site-header { padding: 1rem 1.3rem; }
    .work, .about, .contact { padding: 4.5rem 1.3rem; }
    .work-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; scroll-behavior: auto; }
}
