/* ==========================================================================
   JONAS GINTER - MASTER STYLESHEET (PRODUCTION V6 - TAPE & UNIFIED GRID)
   ========================================================================== */

/* --- 1. CORE VARIABLES & SETUP --- */
:root { 
    --bg: #ffffff; 
    --text: #111111; 
    --header-h: 120px;
    /* 2 FONTS: Permanent Marker für Headlines, DM Sans für alles andere */
    --font-display: 'Permanent Marker', cursive;
    --font-body:    'DM Sans', sans-serif;
    /* Legacy aliases — damit alter Code nicht bricht */
    --font-head:    'DM Sans', sans-serif;
    --font-sketch:  'Permanent Marker', cursive;
    --font-mono:    'DM Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    background: var(--bg); 
    color: var(--text); 
    font-family: var(--font-body); 
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased; 
}

/* --- 2. SECTION HEADINGS — einheitlich, schlicht, Inter 900 --- */
.section-header-wrap { 
    width: 100%; 
    text-align: center; 
    margin-bottom: 70px; 
}

.section-heading { 
    font-family: var(--font-head); 
    font-weight: 900; 
    font-size: clamp(1.6rem, 3vw, 2.8rem); 
    color: #000;
    display: inline-block; 
    text-transform: uppercase; 
    letter-spacing: 0.08em; 
    line-height: 1.1;
    border-bottom: none;
    padding: 0;
}

/* Contact section: invertiert auf schwarzem BG */
.inverted-heading {
    color: #fff;
}

/* --- 3. HEADER & NAVIGATION --- */
header { 
    position: fixed; top: 0; left: 0; width: 100%; height: var(--header-h); 
    z-index: 1000; background: rgba(255,255,255,0.98); 
    display: flex; flex-direction: column; align-items: center; justify-content: center; 
    transition: 0.4s; border-bottom: 1px solid transparent;
}
header.scrolled { height: 80px; border-bottom: 1px solid #eee; }
.logo-img { height: 70px; width: auto; transition: 0.4s; }
header.scrolled .logo-img { height: 40px; }

nav { margin-top: 10px; display: flex; gap: 40px; transition: 0.3s; }
header.scrolled nav { margin-top: 5px; }
nav a { 
    text-decoration: none; color: #000; font-family: var(--font-body); 
    font-size: 0.8rem; font-weight: 700; text-transform: uppercase; 
    letter-spacing: 0.18em; cursor: pointer; transition: 0.3s; 
}
nav a:hover { opacity: 0.5; }

/* Mobile Burger Menu */
.burger-btn { display: none; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 30px; height: 20px; flex-direction: column; justify-content: space-between; cursor: pointer; }
.burger-btn span { display: block; width: 100%; height: 2px; background: #000; transition: 0.3s; }
.burger-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger-btn.active span:nth-child(2) { opacity: 0; }
.burger-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -8px); }

#mobile-menu { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh; 
    background: #fff;
    z-index: 900; display: flex; flex-direction: column; justify-content: center; align-items: center; 
    gap: 24px; transform: translateY(-100%); transition: 0.45s cubic-bezier(0.16, 1, 0.3, 1); 
    padding-top: var(--header-h);
    box-sizing: border-box;
}
#mobile-menu.active { transform: translateY(0); }
#mobile-menu a { 
    font-family: var(--font-display); 
    font-size: clamp(2.4rem, 10vw, 3.5rem); 
    font-weight: 400; 
    text-decoration: none; 
    color: #000; 
    text-transform: none;
    line-height: 1;
}
@media (max-width: 900px) { nav { display: none; } .burger-btn { display: flex; } }

/* --- 4. HERO INTRO — eine Zeile: Titel | Claim | PDF-Button --- */
.hero-intro {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: calc(var(--header-h) + 36px) clamp(24px, 4vw, 80px) 40px;
    max-width: 2200px;
    margin: 0 auto;
    position: relative;
}

.hero-left {
    flex: 1;
    min-width: 0;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.7rem, 2.9vw, 3.9rem);
    line-height: 1.1;
    letter-spacing: 0.01em;
    color: #000;
    text-transform: none;
    margin: 0 0 12px 0;
    white-space: normal;
}

.hero-sub {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    display: block;
    margin-top: 14px;
}

/* Claim ausgeblendet — jetzt Teil des Titels */
.hero-claim { display: none; }

/* PDF-CTA-Block — nicht mehr im HTML */
.hero-text-wrap, .hero-moodboard-cta, .hero-inline-btn { display: none; }
.pdf-cta-block { display: none; }

/* PDF-Button — rechts neben dem Titel-Statement */
.pdf-trigger-btn {
    flex-shrink: 0;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 2px solid #000;
    color: #000;
    font-family: var(--font-body);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
    padding: 9px 16px;
    box-sizing: border-box;
    min-width: 140px;
    position: sticky;
    top: calc(var(--header-h) + 16px);
}
.pdf-btn-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
}
.pdf-btn-label {
    font-weight: 700;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: 1;
}
.pdf-btn-sub {
    font-size: 0.56rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.55;
    line-height: 1;
}
.pdf-trigger-btn:hover { background: #000; color: #fff; }
.pdf-trigger-btn.active { background: #f00; border-color: #f00; color: #fff; }
.pdf-trigger-btn.active .pdf-btn-sub { opacity: 0.8; }
.pdf-trigger-btn svg { flex-shrink: 0; }


/* =========================================================
   5. DAS HAUPT-GRID — luftig, unterschiedliche Gewichte
   ========================================================= */
.wrapper { 
    width: 100%; 
    max-width: 2200px; 
    margin: 0 auto; 
    padding: 0 clamp(24px, 4vw, 80px); 
}


/* ============================================================
   MOBILE FIXES — alle Überlappungen und Layout-Brüche
   ============================================================ */
@media (max-width: 700px) {

    /* HERO — auf Mobile: single column stack */
    .hero-intro {
        flex-direction: column;
        padding: calc(var(--header-h) + 20px) clamp(16px, 5vw, 28px) 24px;
        gap: 16px;
    }
    .hero-title { font-size: clamp(1.6rem, 7vw, 2.6rem); line-height: 1.1; }
    .hero-sub { display: block; font-size: 0.62rem; letter-spacing: 0.1em; }
    .pdf-trigger-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        background: #000;
        color: #fff;
        border-color: #000;
        position: static;
        min-width: unset;
        white-space: normal;
        text-align: center;
    }

    /* Urban-Float-Elemente auf Mobile ausblenden — zu viel Noise */
    .urban-float { display: none; }

    /* Panorama mobil kleiner */
    #panorama { height: 260px; }
    .pano-section { margin: 30px auto 40px; }

    /* About Layout — kein 2-Spalten */
    .about-layout { flex-direction: column; gap: 30px; }
    .about-left, .about-right { width: 100%; }
    .polaroid-wrap { margin: 0 auto; }
    .about-stats { flex-direction: row; justify-content: space-between; }

    /* Section headings kleiner */
    .section-heading { font-size: clamp(1.8rem, 8vw, 3rem) !important; }

    /* Clients cloud — kleinere Tags */
    .client-item { font-size: 0.72rem; padding: 6px 12px; }

    /* Contact — stacked */
    .contact-wrapper { flex-direction: column; gap: 30px; }
    .sticker-card { max-width: 100%; }

    /* VR Hero Video */
    .vr-hero-video { margin: 20px auto 30px; }
}
/* ============================================================
   MASONRY-GRID — JS-gesteuert, echte Masonry-Reihenfolge
   ============================================================ */

.grid {
    position: relative;
    width: 100%;
}

/* KACHEL */
.item {
    position: absolute;
    display: block;
    cursor: pointer;
    overflow: visible;
    box-sizing: border-box;
}
.item.hidden-item { display: none; }
.item--wide, .item--hero, .item--port, .item--sq { }



/* --- 6. BILD --- */
.stack-card { 
    display: block;
    width: 100%;
    height: auto;
    background: #eee;
    transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1),
                box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.stack-card:nth-child(1) { position: relative; z-index: 10; }

/* Karten 2+3 — ausgeblendet */
.stack-card:nth-child(2),
.stack-card:nth-child(3) { display: none; }

/* Hover — leichtes Lift */
.item:hover .stack-card:nth-child(1) { 
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.14); 
}

/* --- 7. TITLE — immer sichtbar, unter dem Bild --- */
.meta { 
    position: relative;
    z-index: 20;
    pointer-events: none;
    padding: 8px 0 0 0;
    background: none;
    opacity: 1;
    transform: none;
    transition: none;
}
.item:hover .meta { opacity: 1; transform: none; }

.meta h3 { 
    font-family: var(--font-body);
    font-weight: 500;
    font-size: clamp(0.62rem, 0.8vw, 0.78rem);
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.35;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
}

/* --- 8. LOAD MORE & PDF UI --- */
.load-more-container { text-align: center; margin: 20px 0 100px 0; }
.load-more-btn { background: transparent; border: 4px solid #000; padding: 15px 40px; font-family: var(--font-head); font-weight: 900; font-size: 1.1rem; cursor: pointer; transition: 0.3s; text-transform: uppercase; }
.load-more-btn:hover { background: #000; color: #fff; }

.pdf-cta-container { width: 100%; max-width: 1400px; margin: 0 auto 60px; background: #fcfcfc; border-top: 1px dashed #ccc; border-bottom: 1px dashed #ccc; padding: 25px 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.pdf-cta-text { font-family: var(--font-body); font-size: 0.95rem; color: #333; line-height: 1.4; text-align: left; }
.pdf-mode-btn { background: #000; color: #fff; border: none; padding: 15px 35px; font-family: var(--font-head); font-weight: 900; text-transform: uppercase; cursor: pointer; transition: 0.3s; }
.pdf-mode-btn:hover, .pdf-mode-btn.active { background: #f00; }

#pdf-bar { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(150px); background: #000; color: #fff; padding: 15px 30px; border-radius: 50px; display: flex; gap: 20px; align-items: center; z-index: 2000; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
#pdf-bar.active { transform: translateX(-50%) translateY(0); }
.pdf-btn { cursor: pointer; font-family: var(--font-head); font-weight: 900; font-size: 0.8rem; text-transform: uppercase; }
.pdf-count { background: #333; padding: 2px 10px; border-radius: 10px; font-size: 0.75rem; font-family: var(--font-mono); }

/* Filmstrip für PDF */
.filmstrip-container { display: none !important; } /* Nie sichtbar — weiße Streifen entfernt */
.pdf-active .item { margin-bottom: 0; }
.item.selected { outline: 4px solid #f00; outline-offset: -4px; }
.item.selected::after { content: '✓'; position: absolute; top: 8px; right: 8px; background: #f00; color: #fff; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; z-index: 200; font-size: 1rem; box-shadow: 0 3px 10px rgba(0,0,0,0.3); }

/* --- 9. 360 & CLIENTS --- */
.intro-360 { max-width: 1100px; margin: 150px auto 80px; padding: 0 20px; text-align: center; }

/* Hero-Video in der 360-Section */
.vr-hero-video {
    position: relative;
    max-width: 860px;
    margin: 40px auto 50px;
    aspect-ratio: 16/9;
}
.vr-hero-video iframe {
    width: 100%;
    height: 100%;
    display: block;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.vr-hero-badge {
    margin-top: 12px;
    font-family: var(--font-body);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #999;
}

/* Pano nach dem Grid */
.pano-section {
    max-width: 1600px;
    margin: 60px auto 80px;
    padding: 0 clamp(24px, 4vw, 80px);
    text-align: center;
}
.pano-text {
    margin-top: 24px;
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1vw, 1rem);
    color: #555;
    line-height: 1.65;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Panellum 360° Viewer */
.pano-wrap {
    margin: 0 auto;
    max-width: 100%;
    position: relative;
}
.pano-label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
}
#panorama {
    width: 100%;
    height: 460px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.pnlm-about-msg { display: none !important; }

/* About Sub-Headline */
.about-subheadline {
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1vw, 1rem);
    color: rgba(255,255,255,0.5);
    font-weight: 300;
    line-height: 1.6;
    max-width: 600px;
    margin: 16px auto 0;
}

/* About — inline link */
.about-inline-link {
    color: #aaa;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    transition: color 0.2s, border-color 0.2s;
}
.about-inline-link:hover { color: #fff; border-color: #fff; }

.intro-text-360 { font-size: 1.15rem; line-height: 1.7; color: #333; margin-bottom: 20px; font-weight: 300; }
.media-list { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 40px; font-family: var(--font-head); font-weight: 900; font-size: 0.85rem; text-transform: uppercase; }
.media-list a { color: #aaa; text-decoration: none; transition: color 0.2s; }
.media-list a:hover { color: #000; }
.media-list span { color: #aaa; }

/* ==========================================================================
   SCROLL-DARKENING — Seite wird dunkler je weiter man scrollt
   Portfolio=weiß → 360=hellgrau → Clients=mittelgrau → About=dunkelgrau → Footer=schwarz
   ========================================================================== */

/* Portfolio-Bereich: weiß, leichtes Papier-Korn */
.wrapper {
    position: relative;
}
.wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* 360° Intro: weiß wie Portfolio */
#\33 60 {
    background: #fff;
    position: relative;
    overflow: hidden;
}
#\33 60::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}
#\33 60 > * { position: relative; z-index: 1; }

/* 360° Grid wrapper: auch weiß */
.wrapper.wrapper-360 {
    background: #fff;
}
.wrapper.wrapper-360::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Clients: mittelgrau mit diagonal lines / crosshatch urban texture */
#clients {
    margin: 0;
    padding: 100px 20px;
    background: #c8c8c4 !important;
    color: #111 !important;
    border-top: none !important;
    border-bottom: none !important;
    position: relative;
    overflow: hidden;
}
#clients::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 18px,
            rgba(0,0,0,0.04) 18px,
            rgba(0,0,0,0.04) 19px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 18px,
            rgba(0,0,0,0.025) 18px,
            rgba(0,0,0,0.025) 19px
        );
    pointer-events: none;
    z-index: 0;
}
#clients > * { position: relative; z-index: 1; }
#clients .client-item { color: #555 !important; }
#clients .client-item:hover { color: #000 !important; }
#clients .section-heading { color: #111; }

/* About: dunkelgrau, grunge scratches */
.about-section {
    background: #2a2a2a !important;
    color: #f0f0f0 !important;
    position: relative;
    overflow: hidden;
}
.about-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}
.about-section > * { position: relative; z-index: 1; }
.about-section .about-stat-num { color: #fff; }
.about-section .about-stat-label { color: #888; }
.about-section .about-stats { border-color: #555; }
.about-section .about-stat { border-color: #555; }
.about-section { margin-top: 0; border-top: none; }


.client-cloud { max-width: 1000px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 15px 30px; line-height: 1.5; text-align: center; }
.client-item { font-family: var(--font-mono); font-size: 1.1rem; font-weight: 700; text-transform: uppercase; color: #aaa; cursor: crosshair; transition: 0.2s; user-select: none; }
.client-item:hover { color: #000; transform: scale(1.1); }
.client-item.redacted { color: transparent; background: #000; pointer-events: none; padding: 0 5px; }

/* --- Plantage 9 Info-Box --- */
.plantage-box {
    margin-top: 50px;
    border: 2px solid #000;
    padding: 22px 24px;
    max-width: 340px;
    position: relative;
}
.plantage-box-label {
    position: absolute;
    top: -11px; left: 16px;
    background: #fff;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0 6px;
    color: #888;
}
.plantage-box-name {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}
.plantage-box-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 14px;
    font-weight: 300;
}
.plantage-box-link {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #000;
    text-decoration: none;
    border-bottom: 2px solid #000;
    padding-bottom: 1px;
    transition: opacity 0.2s;
}
.plantage-box-link:hover { opacity: 0.5; }

/* --- Lightbox PDF Button --- */
#lb-pdf-btn {
    position: absolute;
    top: 20px;
    left: 30px;
    z-index: 100;
    background: rgba(0,0,0,0.55);
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.3);
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 7px 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    backdrop-filter: blur(4px);
}
#lb-pdf-btn:hover { background: rgba(0,0,0,0.9); color: #fff; border-color: rgba(255,255,255,0.6); }
#lb-pdf-btn.lb-pdf-active { background: #000; color: #fff; border-color: #fff; }

/* --- 10. ABOUT SECTION — ZETTEL & POST-IT GRID --- */
.about-section { padding: 120px clamp(24px, 5vw, 80px); background: #2a2a2a; color: #f0f0f0; }

.about-notes-wrap {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 80px;
    align-items: start;
}
@media (max-width: 1100px) { .about-notes-wrap { grid-template-columns: 1fr; gap: 60px; } }

/* LINKE SPALTE: Heading + Polaroid + Stats */
.about-anchor {
    position: sticky;
    top: calc(var(--header-h) + 30px);
}
.about-anchor .section-heading {
    color: #fff !important;
    margin-bottom: 40px;
}
@media (max-width: 1100px) { .about-anchor { position: static; } }

/* ZETTEL GRID — 3 Spalten, unterschiedliche Breiten */
.notes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}
@media (max-width: 900px)  { .notes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .notes-grid { grid-template-columns: 1fr; } }

/* Größen-Varianten */
.note-span2  { grid-column: span 2; }
.note-span3  { grid-column: span 3; }
.note-narrow { padding: 20px 18px 24px; font-size: 0.92em; }
.note-square { aspect-ratio: 1 / 1; display: flex; flex-direction: column; justify-content: flex-start; }
.note-square.note-narrow { padding: 18px 16px; }

@media (max-width: 900px) {
    .note-span2  { grid-column: span 2; }
    .note-span3  { grid-column: span 2; }
    .note-square { aspect-ratio: unset; }
}
@media (max-width: 600px) {
    .note-span2, .note-span3 { grid-column: span 1; }
}

/* EINZELNER ZETTEL — Basis */
.note {
    padding: 24px 26px 28px;
    position: relative;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    line-height: 1.55;
    overflow: hidden;
}
.note:hover { z-index: 5; }

/* Rotationen */
.note-rot-m1 { transform: rotate(-1.6deg); }
.note-rot-m2 { transform: rotate(-3.2deg); }
.note-rot-p1 { transform: rotate(1.4deg); }
.note-rot-p2 { transform: rotate(2.8deg); }
.note-rot-p3 { transform: rotate(0.7deg); }
.note:hover  { transform: rotate(0deg) scale(1.02) !important; }

/* ── FLIP EASTER EGG ── */
.note { transform-style: preserve-3d; perspective: 900px; cursor: pointer; }
.note-inner {
    position: relative; width: 100%; height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.52s cubic-bezier(0.4,0,0.2,1);
}
.note.flipped .note-inner { transform: rotateY(180deg); }
.note-front, .note-back { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.note-back {
    position: absolute; inset: 0;
    transform: rotateY(180deg);
    background: #f0ede6;
    border-top: 2px solid #c0b090;
    padding: 24px 26px 28px;
    display: flex; flex-direction: column; justify-content: center;
    background-image: repeating-linear-gradient(
        transparent, transparent 27px,
        rgba(130,118,100,0.14) 27px, rgba(130,118,100,0.14) 28px
    );
}
.note-back-text {
    font-family: var(--font-display);
    font-size: 1.05rem; line-height: 1.65;
    color: #2a2520; text-transform: none;
}
.note-back-close {
    position: absolute; top: 10px; right: 14px;
    font-family: var(--font-body); font-size: 0.68rem;
    color: #999; cursor: pointer; pointer-events: all;
    transition: color 0.15s;
}
.note-back-close:hover { color: #333; }

/* Pin — erscheint beim Hover */
.note::before {
    content: '';
    position: absolute; top: -5px; left: 50%;
    transform: translateX(-50%) scale(0);
    width: 10px; height: 10px; border-radius: 50%;
    background: #cc0000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.35);
    transition: transform 0.18s ease;
    z-index: 10; pointer-events: none;
}
.note:not(.note-dark):hover::before { transform: translateX(-50%) scale(1); }

/* note-torn darf kein overflow:hidden haben wegen clip-path */
.note-torn { overflow: visible; }
.note-torn .note-back { border-radius: 0; }

/* ── TYP 1: Weißes DIN-Blatt ── */
.note-paper-white {
    background: #faf8f4;
    color: #1a1a1a;
    box-shadow: 2px 3px 0 #dedad4, 4px 7px 18px rgba(0,0,0,0.2);
    border-top: 1px solid #eae6e0;
}
.note-paper-white::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 20px; height: 20px;
    background: linear-gradient(225deg, #ddd8ce 50%, transparent 50%);
}

/* ── TYP 2: Liniertes Blatt ── */
.note-lined {
    background: #f8f6f0;
    color: #1a1a1a;
    border-left: 3px solid #b8ae9e;
    box-shadow: 3px 5px 16px rgba(0,0,0,0.18), 1px 2px 0 #d8d0c4;
    background-image: repeating-linear-gradient(
        transparent, transparent 27px,
        rgba(130,118,100,0.16) 27px, rgba(130,118,100,0.16) 28px
    );
    padding-top: 30px;
}
.note-lined::after {
    content: '';
    position: absolute; bottom: 0; right: 0;
    width: 18px; height: 18px;
    background: linear-gradient(225deg, #ccc4b4 50%, transparent 50%);
}

/* ── TYP 3: Creme / Altpapier ── */
.note-cream {
    background: linear-gradient(158deg, #f0e8d0 0%, #e8dfc0 100%);
    color: #1a1a1a;
    border-top: 2px solid #b8a070;
    box-shadow: 3px 5px 16px rgba(0,0,0,0.2), 1px 1px 0 #c8b888;
}
.note-cream::after {
    content: '';
    position: absolute; bottom: 0; right: 0;
    width: 22px; height: 22px;
    background: linear-gradient(225deg, #b09050 50%, transparent 50%);
    opacity: 0.45;
}

/* ── TYP 4: Kariertes Blatt ── */
.note-grid {
    background: #f5f4ee;
    color: #1a1a1a;
    box-shadow: 3px 5px 16px rgba(0,0,0,0.18), 1px 2px 0 #d4d0c4;
    background-image:
        linear-gradient(rgba(110,100,85,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(110,100,85,0.1) 1px, transparent 1px);
    background-size: 16px 16px;
}

/* ── TYP 5: Gerissener Rand (torn) ── */
.note-torn {
    background: #fdfaf4;
    color: #1a1a1a;
    box-shadow: 3px 6px 18px rgba(0,0,0,0.22), 1px 1px 0 #ddd6c8;
    clip-path: polygon(
        0 0, 100% 0, 100% 86%,
        97% 89%, 95% 86%, 92% 91%, 89% 87%,
        86% 91%, 83% 87%, 80% 90%, 76% 86%,
        73% 90%, 70% 87%, 66% 91%, 63% 87%,
        60% 90%, 56% 86%, 53% 90%, 50% 87%,
        46% 91%, 43% 87%, 39% 90%, 36% 87%,
        32% 91%, 28% 87%, 24% 90%, 20% 87%,
        16% 91%, 12% 87%, 8% 90%, 4% 87%,
        1% 90%, 0 87%
    );
    padding-bottom: 46px;
}

/* ── TYP 6: Zerknüllt / Grunge ── */
.note-crumpled {
    background: #ede8de;
    color: #1a1a1a;
    box-shadow:
        2px 3px 0 #b8b0a0,
        -1px -1px 0 #d8d0c0,
        5px 10px 22px rgba(0,0,0,0.32),
        -2px 4px 8px rgba(0,0,0,0.12);
    /* Viele Knitterfalten */
    background-image:
        linear-gradient(17deg,  transparent 58%, rgba(0,0,0,0.06) 58%, rgba(0,0,0,0.06) 59.5%, rgba(255,255,255,0.08) 59.5%, rgba(255,255,255,0.08) 61%, transparent 61%),
        linear-gradient(143deg, transparent 42%, rgba(0,0,0,0.04) 42%, rgba(0,0,0,0.04) 44%, rgba(255,255,255,0.1) 44%, rgba(255,255,255,0.1) 45.5%, transparent 45.5%),
        linear-gradient(74deg,  transparent 68%, rgba(0,0,0,0.05) 68%, rgba(0,0,0,0.05) 69.5%, rgba(255,255,255,0.12) 69.5%, rgba(255,255,255,0.12) 71%, transparent 71%),
        linear-gradient(205deg, transparent 52%, rgba(0,0,0,0.04) 52%, rgba(0,0,0,0.04) 54%, transparent 54%),
        linear-gradient(330deg, transparent 35%, rgba(255,255,255,0.07) 35%, rgba(255,255,255,0.07) 37%, transparent 37%),
        linear-gradient(262deg, transparent 75%, rgba(0,0,0,0.03) 75%, rgba(0,0,0,0.03) 76.5%, transparent 76.5%);
    /* unregelmäßige Ecken — wie wirklich zerknüllt */
    clip-path: polygon(
        1.2% 0.8%, 97.5% 0.3%, 99.8% 1.5%,
        99.2% 97.8%, 100% 99%,
        2.5% 99.5%, 0.3% 98.2%,
        0% 2%
    );
}
.note-crumpled::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(88deg, transparent 28%, rgba(0,0,0,0.03) 28%, rgba(0,0,0,0.03) 29.5%, transparent 29.5%),
        linear-gradient(177deg, transparent 52%, rgba(0,0,0,0.04) 52%, rgba(0,0,0,0.04) 53.5%, transparent 53.5%),
        linear-gradient(44deg, transparent 62%, rgba(255,255,255,0.08) 62%, rgba(255,255,255,0.08) 63.5%, transparent 63.5%);
    pointer-events: none;
}

/* ── TYP 7: Dunkel / CTA ── */
.note-dark {
    background: #111;
    color: #f0ede8;
    box-shadow: 5px 8px 28px rgba(0,0,0,0.6), 2px 3px 0 rgba(0,0,0,0.4);
    border: 1px solid #222;
}

/* ── STEMPEL ── */
.note-stamp::after {
    content: '★ RECORD';
    position: absolute; top: 14px; right: 14px;
    font-family: var(--font-body);
    font-size: 0.46rem; font-weight: 900;
    letter-spacing: 0.22em; color: #7a1010;
    border: 1.5px solid #7a1010;
    padding: 3px 7px; opacity: 0.55;
    transform: rotate(7deg);
}

/* ── TYPO ── */
.note-h {
    font-family: var(--font-display);
    font-size: 1.15rem; font-weight: 400;
    line-height: 1.2; text-transform: none;
    color: inherit; margin: 0 0 12px 0;
}
.note-narrow .note-h { font-size: 1rem; }

.note-a {
    font-family: var(--font-body);
    font-size: 0.86rem; line-height: 1.68;
    margin: 0; color: inherit;
}
.note-a strong { color: inherit; }

.note-list {
    list-style: none; padding: 0; margin: 0;
    font-family: var(--font-body);
    font-size: 0.84rem; line-height: 1.95;
}

.note-link {
    color: inherit; font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px; opacity: 0.7;
}
.note-link:hover { opacity: 1; }




/* CTA Note */
.note-cta { text-align: center; padding: 40px 28px; }
.note-cta-text {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 400;
    margin: 0 0 24px 0;
    line-height: 1.1;
    color: #fff;
}
.note-cta-btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: #111;
    background: #f5e642;
    padding: 13px 30px;
    transition: 0.2s;
    margin-bottom: 16px;
}
.note-cta-btn:hover { background: #fff; }
.note-cta-sub {
    display: block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}
.note-cta-sub:hover { color: #fff; }

/* LEFT */
.about-statement {
    font-family: var(--font-sketch);
    font-weight: 700;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 40px;
}
.about-statement em {
    font-style: normal;
    background: #000;
    color: #fff;
    padding: 2px 12px;
    display: inline;
}

.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 50px; }
.about-tag {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 7px 14px;
    border: 2px solid #000;
    transition: 0.2s;
    cursor: default;
}
.about-tag:hover { background: #000; color: #fff; }

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 3px solid #000;
    border-left: 3px solid #000;
}
.about-stat {
    border-right: 3px solid #000;
    border-bottom: 3px solid #000;
    padding: 20px 16px;
}
.about-stat-num {
    font-family: var(--font-mono);
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    display: block;
}
.about-stat-label {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    margin-top: 6px;
    display: block;
}

/* RIGHT */
.about-right { display: flex; flex-direction: column; gap: 36px; }

/* --- POLAROID FLIP CARD --- */
.polaroid-wrap {
    width: 260px;
    margin: 0 auto 10px;
    perspective: 1200px;
    cursor: pointer;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.polaroid-wrap:hover { transform: rotate(0deg) scale(1.03); }

.polaroid-inner {
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
}
/* Höhe dynamisch: Foto (3:4) + weißer Streifen unten */
.polaroid-front { padding-bottom: calc(100% * 4/3 + 64px); }

.polaroid-wrap.flipped .polaroid-inner { transform: rotateY(180deg); }

.polaroid-front, .polaroid-back {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.polaroid-front {
    position: relative;
    background: #fff;
    padding: 14px 14px 50px;
    box-shadow:
        2px 2px 0 rgba(0,0,0,0.04),
        0 8px 20px rgba(0,0,0,0.13),
        0 24px 48px rgba(0,0,0,0.09);
}
.polaroid-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #ddd;
}
.polaroid-photo img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    filter: grayscale(10%);
}
.polaroid-caption {
    position: absolute;
    bottom: 14px; left: 0; right: 0;
    font-family: var(--font-sketch);
    font-size: 1rem; font-weight: 700;
    text-align: center; color: #222;
    letter-spacing: 0.02em;
}
.polaroid-hint {
    position: absolute;
    bottom: 2px; left: 0; right: 0;
    font-family: var(--font-mono);
    font-size: 0.5rem; text-align: center;
    color: #ccc; text-transform: uppercase; letter-spacing: 0.1em;
}

.polaroid-back {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    transform: rotateY(180deg);
    background: #fffef5;
    box-shadow:
        0 8px 20px rgba(0,0,0,0.13),
        0 24px 48px rgba(0,0,0,0.09);
    padding: 30px 20px;
    display: flex; align-items: center; justify-content: center;
}
.polaroid-back-inner { text-align: center; width: 100%; }
.polaroid-moin {
    font-family: var(--font-sketch);
    font-size: 3.8rem; font-weight: 700;
    line-height: 1; color: #111; margin-bottom: 20px;
    display: inline-block; transform: rotate(-3deg);
}
.polaroid-back-text {
    font-family: var(--font-mono);
    font-size: 0.68rem; line-height: 1.9;
    color: #777; text-transform: uppercase; letter-spacing: 0.06em;
    border-top: 1px solid #e0e0e0; padding-top: 14px;
}
.polaroid-back-text span { color: #222; font-weight: 700; }

.about-bio { display: flex; flex-direction: column; }
.about-bio-row {
    display: flex; gap: 20px; align-items: baseline;
    padding: 16px 0; border-bottom: 1px solid #ebebeb;
}
.about-bio-row:last-child { border-bottom: none; }
.about-bio-key {
    font-family: var(--font-head); font-weight: 900;
    font-size: 0.62rem; text-transform: uppercase;
    letter-spacing: 0.1em; color: #bbb;
    min-width: 72px; flex-shrink: 0; padding-top: 2px;
}
.about-bio-val {
    font-family: var(--font-body);
    font-size: 0.95rem; line-height: 1.55;
    color: #333; font-weight: 400;
}
.about-bio-val strong { font-weight: 800; color: #000; }

.about-cta { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.about-cta-btn {
    display: inline-block; background: #000; color: #fff;
    font-family: var(--font-head); font-weight: 900;
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em;
    padding: 14px 32px; border: 2px solid #000;
    text-decoration: none; transition: 0.2s;
}
.about-cta-btn:hover { background: #fff; color: #000; }
.about-cta-link {
    font-family: var(--font-mono); font-size: 0.8rem;
    color: #000; text-decoration: none; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em;
    border-bottom: 2px solid #000; padding-bottom: 2px;
    opacity: 0.45; transition: 0.2s;
}
.about-cta-link:hover { opacity: 1; }

/* --- 11. CONTACT (MAILTO TRIGGER) --- */
.contact-urban { padding: 150px 20px; background: #000; color: #fff; position:relative; overflow:hidden;}
.contact-wrapper { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 80px; align-items: center; position:relative; z-index:2;}
@media(min-width: 900px) { .contact-wrapper { grid-template-columns: 1.5fr 1fr; } }

.mail-trigger { display: block; width: 100%; border: 4px solid #fff; padding: 80px 40px; text-align: center; text-decoration: none; color: #fff; transition: 0.3s; background: #000; cursor: pointer; }
.mail-trigger:hover { background: #fff; color: #000; transform: scale(1.02); }
.mail-sub { display: block; font-family: var(--font-body); font-size: 1rem; margin-bottom: 20px; letter-spacing: 0.1em; }
.mail-main { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 6vw, 6rem); line-height: 1; }

.sticker-card { background: #f0f0f0; color: #000; padding: 40px; width: 100%; max-width: 400px; transform: rotate(3deg); box-shadow: 0 20px 50px rgba(0,0,0,0.5); cursor: pointer; transition: transform 0.2s; position: relative; }
.sticker-card:hover { transform: rotate(0deg) scale(1.05); }
.sticker-card:active { transform: scale(0.95); }
.sticker-stamp { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-15deg) scale(2); font-family: var(--font-sketch); font-weight: 700; font-size: 4rem; color: #f00; border: 5px solid #f00; padding: 10px 20px; opacity: 0; pointer-events: none; transition: 0.2s; z-index: 10; }
.sticker-card.copied .sticker-stamp { opacity: 1; transform: translate(-50%, -50%) rotate(-15deg) scale(1); }

/* --- 12. FOOTER & SOCIALS --- */
footer { padding: 80px 20px; text-align: center; border-top: 1px solid #222; background: #000; color: #fff; }
.social-icons { display: flex; justify-content: center; gap: 30px; margin-bottom: 40px; }
.social-icons a svg { width: 30px; height: 30px; fill: #fff; transition: 0.3s; cursor: pointer; }
.social-icons a:hover svg { fill: #f00; transform: scale(1.2) rotate(5deg); }
.footer-links a { color: #fff; margin: 0 15px; text-decoration: none; font-family: var(--font-head); font-weight: 900; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer; opacity: 0.6; transition: 0.3s;}
.footer-links a:hover { opacity: 1; }

/* --- 13. LIGHTBOX & SOLID INFO PANEL --- */
#lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 999999; display: none; align-items: center; justify-content: center; cursor: zoom-out; }
#lightbox.active { display: flex; animation: fadeIn 0.3s ease; }
#lb-wrapper { position: relative; max-width: 90vw; max-height: 90vh; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; cursor: zoom-out; }
/* Bild — lässt links 320px Platz wenn Info-Panel offen */
#lb-content { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; transition: padding 0.3s ease, opacity 0.2s; cursor: zoom-out; }
#lightbox.info-open #lb-content { padding-left: clamp(280px, 22vw, 340px); }
@media(max-width: 900px) { #lightbox.info-open #lb-content { padding-left: 0; padding-top: 180px; } }
#lb-content img { max-height: 85vh; max-width: 100%; object-fit: contain; cursor: default; }
#lb-content iframe { width: 80vw; height: 80vh; border: none; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); cursor: default; }

/* Link-Card für externe URLs aus link.txt */
.lb-link-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 20px; text-align: center; cursor: default;
}
.lb-link-icon {
    font-size: 4rem; color: #fff; opacity: 0.3; line-height: 1;
}
.lb-link-domain {
    font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.18em;
    text-transform: uppercase; color: rgba(255,255,255,0.4);
}
.lb-link-btn {
    font-family: var(--font-body); font-weight: 600; font-size: 0.9rem;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: #fff; background: transparent;
    border: 2px solid #fff; padding: 14px 32px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.lb-link-btn:hover { background: #fff; color: #000; }
#lb-caption { font-family: var(--font-body); color: rgba(255,255,255,0.45); text-align: center; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.6rem; position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); white-space: nowrap; }

.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 4rem; color: rgba(255,255,255,0.5); cursor: pointer; transition: 0.3s; padding: 20px; user-select: none;}
.lb-nav:hover { color: #fff; transform: translateY(-50%) scale(1.1); }
.lb-prev { left: 20px; } .lb-next { right: 20px; }
.lb-close { position: absolute; top: 20px; right: 30px; font-size: 4rem; color: #fff; cursor: pointer; opacity: 0.7; transition: 0.3s; z-index: 100; font-family: var(--font-head); font-weight: 300; line-height: 1;}
.lb-close:hover { opacity: 1; transform: rotate(90deg); }

/* SOLID BLACK INFO PANEL */
#lb-info-panel {
    position: absolute;
    bottom: 30px;
    left: 30px;
    max-width: 300px;
    max-height: 40vh;
    overflow-y: auto;
    
    /* Gaffa-Tape / Notizzettel-Look */
    background: #1a1a1a;
    color: #e8e8e0;
    padding: 28px 22px 18px;
    
    /* Leicht schief wie hingeklebt */
    transform: rotate(-0.8deg);
    
    /* Grobe Papierkante via clip-path */
    clip-path: polygon(
        0% 2%, 2% 0%, 98% 0.5%, 100% 1.5%,
        99.5% 98%, 98% 100%, 1% 99.5%, 0.5% 98%
    );
    
    /* Schatten wie aufgelegtes Papier */
    box-shadow: 
        3px 3px 0 rgba(0,0,0,0.6),
        6px 6px 12px rgba(0,0,0,0.4),
        -1px -1px 0 rgba(255,255,255,0.03);
    
    display: none;
    text-align: left;
    z-index: 50;
}

/* Gaffa-Tape Streifen oben */
#lb-info-panel::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(-1deg);
    width: 70px;
    height: 18px;
    background: rgba(80,80,80,0.85);
    /* Gewebte Gaffa-Textur */
    background-image: 
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 1px,
            transparent 1px, transparent 3px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px,
            transparent 1px, transparent 4px
        );
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.lb-info-title { 
    font-family: var(--font-body); 
    font-weight: 700; 
    font-size: 0.78rem; 
    text-transform: uppercase; 
    letter-spacing: 0.12em; 
    margin-bottom: 10px; 
    color: #fff;
    opacity: 0.9;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding-bottom: 8px;
}
#lb-info-text { 
    font-family: var(--font-body); 
    font-size: 0.78rem; 
    line-height: 1.65; 
    font-weight: 300;
    color: #c8c8c0;
}

@media(max-width: 900px) { 
    .lb-prev, .lb-next { display: none; } 
    #lb-info-panel { 
        bottom: auto;
        top: 80px;
        left: 16px; 
        right: 16px; 
        max-width: none; 
        padding: 24px 18px 16px;
        transform: rotate(-0.4deg);
    }
}
/* --- Lightbox Thumbnail-Leiste --- */
#lb-thumbs {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    display: flex;
    gap: 6px;
    padding: 12px 20px;
    overflow-x: auto;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    z-index: 60;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
    justify-content: center;
    flex-wrap: nowrap;
}
#lb-thumbs::-webkit-scrollbar { height: 3px; }
#lb-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 3px; }

.lb-thumb {
    width: 60px;
    height: 42px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.45;
    transition: opacity 0.2s, transform 0.2s, outline 0.1s;
    flex-shrink: 0;
    border-radius: 2px;
}
.lb-thumb:hover { opacity: 0.85; transform: scale(1.08); }
.lb-thumb-active { opacity: 1 !important; outline: 2px solid #fff; transform: scale(1.1) !important; }

/* --- PDF PICKER PANEL --- */
#pdf-picker {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    z-index: 99998;
    display: none;
    align-items: flex-end;
    justify-content: center;
}
#pdf-picker.active { display: flex; animation: fadeIn 0.2s ease; }

#pdf-picker-inner {
    background: #fff;
    width: 100%;
    max-width: 1200px;
    max-height: 80vh;
    border-radius: 12px 12px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#pdf-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

#pdf-picker-title {
    font-family: var(--font-sketch);
    font-weight: 700;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#pdf-picker-close {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 18px;
    cursor: pointer;
    transition: background 0.2s;
}
#pdf-picker-close:hover { background: #f00; }

#pdf-picker-hint {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #888;
    padding: 8px 24px;
    flex-shrink: 0;
}

#pdf-picker-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 24px 24px;
    overflow-y: auto;
    flex: 1;
}

.picker-thumb-wrap {
    position: relative;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.15s;
    flex-shrink: 0;
}
.picker-thumb-wrap:hover { transform: scale(1.03); }

.picker-thumb {
    display: block;
    width: 160px;
    height: 110px;
    object-fit: cover;
}

.picker-check {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.15s;
}
.picker-thumb-wrap.picker-selected .picker-check { opacity: 1; }
.picker-thumb-wrap.picker-selected { outline: 3px solid #000; outline-offset: -3px; }

@media(max-width: 600px) {
    .picker-thumb { width: calc(50vw - 36px); height: 90px; }
    .lb-thumb { width: 48px; height: 34px; }
}

/* --- 14. LEGAL OVERLAYS --- */
#legal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #fff; z-index: 10000; display: none; overflow-y: auto; padding: 80px 20px; color: #333; }
#legal-overlay.active { display: block; }
.legal-close { position: fixed; top: 30px; right: 40px; font-size: 3rem; cursor: pointer; font-family: var(--font-head); font-weight: 900; color: #000; transition: 0.3s; line-height: 1; }
.legal-close:hover { color: #f00; transform: scale(1.1); }
.legal-content { max-width: 800px; margin: 0 auto; font-family: var(--font-body); }
.legal-tabs { display: flex; gap: 30px; margin-bottom: 40px; border-bottom: 2px solid #eee; }
.legal-tab { font-family: var(--font-head); font-weight: 900; font-size: 1.2rem; cursor: pointer; padding-bottom: 10px; opacity: 0.3; text-transform: uppercase; }
.legal-tab.active { opacity: 1; border-bottom: 4px solid #000; }
.legal-text { display: none; line-height: 1.6; }
.legal-text.active { display: block; }
.legal-text h2 { font-family: var(--font-head); font-weight: 900; margin-top: 40px; margin-bottom: 20px; font-size: 1.5rem; color: #000; }
.legal-text p { margin-bottom: 15px; }

/* --- 15. CONFETTI ANIMATION --- */
.confetti { position: absolute; width: 10px; height: 10px; background: #f00; animation: fall 2s linear forwards; pointer-events: none; z-index: 9999; }
@keyframes fall { to { transform: translateY(800px) rotate(720deg); opacity: 0; } }
/* ==========================================================
   URBAN / STREET LAYER
   ========================================================== */

/* Permanent Marker für ALLE Display-Headlines */
.section-heading,
.hero-title,
.mail-main,
.about-statement,
#mobile-menu a {
    font-family: var(--font-display) !important;
    font-weight: 400 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
}

.section-heading {
    font-size: clamp(1.5rem, 2.4vw, 2.9rem) !important;
    line-height: 1.15 !important;
    text-align: center;
    display: block;
}

/* --- FLOATING URBAN PARALLAX ELEMENTS --- */
.urban-float {
    position: fixed;
    pointer-events: none;
    z-index: 1;
    color: rgba(0,0,0,0.07);
    font-weight: 900;
    line-height: 1;
    will-change: transform;
    transition: color 0.8s ease;
    user-select: none;
}

/* Jedes Element: eigene Größe, Position, Rotation — grafische Akzente */
#uf1 {
    top: 12vh; left: 1.5vw;
    font-size: 5.5rem;
    font-family: var(--font-body);
    letter-spacing: -0.04em;
    opacity: 0.6;
}
#uf2 {
    top: 28vh; right: 2vw;
    font-size: 4rem;
    transform: rotate(18deg);
    opacity: 0.5;
}
#uf3 {
    top: 50vh; left: 1vw;
}
#uf3 svg { width: 72px; height: 72px; opacity: 0.55; }

#uf4 {
    top: 68vh; right: 1.5vw;
    font-size: 3.2rem;
    transform: rotate(-10deg);
    opacity: 0.45;
}
#uf5 {
    top: 40vh; left: 2.5vw;
    font-size: 6rem;
    transform: rotate(6deg);
    opacity: 0.5;
}
#uf6 {
    top: 60vh; right: 3vw;
}
#uf6 svg { width: 80px; height: 8px; opacity: 0.4; }

#uf7 {
    top: 22vh; left: 1.5vw;
    font-size: 8rem;
    font-family: var(--font-body);
    transform: rotate(-4deg);
    opacity: 0.45;
}

/* Im dunkleren Bereich heller */
.urban-float.on-dark {
    color: rgba(255,255,255,0.1);
}

/* VIDEO PLAY BADGE — rotes ▶ auf Video-Items */
.video-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
    width: 48px;
    height: 48px;
    background: rgba(255,0,0,0.92);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
    transition: transform 0.3s ease;
    padding-left: 3px;
}
.item:hover .video-play-badge {
    transform: translate(-50%, -50%) scale(1.15);
}

/* --- DOMINANTE GRID-ITEMS — via grid-column: span 2 in Section 5 geregelt ---
   Hier nur noch der visuelle Akzent: stärkerer Schatten */
.item:nth-child(6n+1) {
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.18));
}
/* Kleinere Items: leicht transparent */
.item:nth-child(6n+4) {
    opacity: 0.9;
}

/* --- FLOATING STICKER OBJECTS --- */
.float-obj {
    position: fixed;
    pointer-events: none;
    z-index: 2;
    color: #000;
    opacity: 0.055;
    will-change: transform;
    transition: opacity 0.3s;
}
/* © copyright mark */
.float-obj-1 {
    font-family: var(--font-display);
    font-size: 7rem;
    top: 30vh;
    right: 3vw;
}
/* Kamera Icon SVG */
.float-obj-2 {
    width: 70px;
    top: 55vh;
    left: 2.5vw;
}
/* schwarzes Quadrat */
.float-obj-3 {
    font-size: 3rem;
    bottom: 35vh;
    right: 5vw;
    opacity: 0.04;
}
/* Tape-Streifen */
.float-obj-4 {
    width: 80px;
    top: 70vh;
    right: 8vw;
    transform: rotate(-20deg);
    opacity: 0.08;
}
/* Stern */
.float-obj-5 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    top: 45vh;
    left: 5vw;
    opacity: 0.045;
    color: #f00;
}

/* --- GRAIN / NOISE OVERLAY --- */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9990;
    opacity: 0.032;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 180px;
    animation: grain-shift 0.5s steps(1) infinite;
}
@keyframes grain-shift {
    0%   { background-position: 0 0; }
    25%  { background-position: -40px -20px; }
    50%  { background-position: 20px -40px; }
    75%  { background-position: -20px 20px; }
    100% { background-position: 40px 10px; }
}

/* --- SKEWED SECTION DIVIDER zwischen Work + 360° --- */
.section-divider-skew {
    width: 100%;
    height: 60px;
    background: #fff;
    clip-path: polygon(0 0, 100% 35%, 100% 100%, 0 65%);
    margin: 0;
    position: relative;
    z-index: 3;
}
.section-divider-skew.dark {
    background: #000;
}

/* --- TILT ON HOVER (via JS) --- */
.item {
    transform-style: preserve-3d;
}
/* JS setzt --tiltX / --tiltY per style attr */

/* --- 360° GRID gleich breit wie Hero-Grid --- */
.intro-360 + .wrapper,
section.wrapper:has(.grid) {
    padding-top: 0;
}

/* ========================================================== */

/* --- COOKIE BANNER (minimal) --- */
#jg-cookie-banner {
    position: fixed; bottom: 20px; right: 20px;
    z-index: 99999; max-width: 320px;
    background: #111; color: #fff;
    padding: 16px 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    transform: translateY(120px); opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.4s ease;
}
#jg-cookie-banner.visible { transform: translateY(0); opacity: 1; }

.jg-ck-inner { display: flex; flex-direction: column; gap: 12px; }
.jg-ck-text {
    font-family: var(--font-body); font-size: 0.76rem;
    line-height: 1.5; color: rgba(255,255,255,0.7);
}
.jg-ck-text a { color: #fff; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.jg-ck-actions { display: flex; gap: 8px; }
.jg-ck-btn {
    font-family: var(--font-head); font-weight: 900; font-size: 0.65rem;
    text-transform: uppercase; letter-spacing: 0.08em;
    padding: 9px 14px; border: none; cursor: pointer; transition: 0.2s; flex: 1; text-align: center;
}
.jg-ck-btn-accept { background: #fff; color: #111; }
.jg-ck-btn-accept:hover { background: #e0e0e0; }
.jg-ck-btn-ess {
    background: transparent; color: rgba(255,255,255,0.45);
    border: 1px solid rgba(255,255,255,0.2); font-size: 0.6rem;
}
.jg-ck-btn-ess:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

/* Detail-Toggles (erreichbar via "Einstellungen"-Link) */
.jg-ck-details { display: none; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.1); }
.jg-ck-details.open { display: block; }
.jg-ck-details-grid { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.jg-ck-cat { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.jg-ck-cat-info {}
.jg-ck-cat-name { font-family: var(--font-head); font-weight: 900; font-size: 0.62rem; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.jg-ck-cat-desc { font-family: var(--font-body); font-size: 0.62rem; color: rgba(255,255,255,0.35); margin-top: 1px; }
.jg-ck-switch { position: relative; display: inline-block; width: 34px; height: 18px; flex-shrink: 0; }
.jg-ck-switch input { opacity: 0; width: 0; height: 0; }
.jg-ck-slider { position: absolute; inset: 0; background: rgba(255,255,255,0.2); transition: 0.25s; cursor: pointer; border-radius: 18px; }
.jg-ck-slider::before { content: ''; position: absolute; height: 12px; width: 12px; left: 3px; bottom: 3px; background: #fff; transition: 0.25s; border-radius: 50%; }
.jg-ck-switch input:checked + .jg-ck-slider { background: #fff; }
.jg-ck-switch input:checked + .jg-ck-slider::before { transform: translateX(16px); background: #111; }
.jg-ck-switch input:disabled + .jg-ck-slider { opacity: 0.3; cursor: not-allowed; }
.jg-ck-always { font-family: var(--font-mono); font-size: 0.52rem; text-transform: uppercase; color: rgba(255,255,255,0.3); }
.jg-ck-det-footer .jg-ck-btn { width: 100%; }

@media (max-width: 400px) {
    #jg-cookie-banner { bottom: 0; right: 0; left: 0; max-width: none; }
}
