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

/* --- 1. CORE VARIABLES & SETUP --- */
:root { 
    --bg: #ffffff; 
    --text: #111111; 
    --header-h: 120px;
    /* 2 FONTS: Rubik Dirt für Headlines, DM Sans für alles andere */
    --font-display: 'Rubik Dirt', cursive;
    --font-body:    'DM Sans', sans-serif;
    /* Legacy aliases — damit alter Code nicht bricht */
    --font-head:    'DM Sans', sans-serif;
    --font-sketch:  'Rubik Dirt', 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: 4px solid #000;
    padding-bottom: 8px;
}

/* Contact section: invertiert auf schwarzem BG */
.inverted-heading {
    color: #fff;
    border-bottom-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: 30px; transform: translateY(-100%); transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1); 
}
#mobile-menu.active { transform: translateY(0); }
#mobile-menu a { font-family: var(--font-display); font-size: 3.5rem; font-weight: 400; text-decoration: none; color: #000; text-transform: uppercase; }
@media (max-width: 900px) { nav { display: none; } .burger-btn { display: flex; } }

/* --- 4. HERO INTRO — eine Zeile: Titel | Claim | PDF-Button --- */
.hero-intro {
    padding: calc(var(--header-h) + 8px) clamp(16px, 2.5vw, 40px) 12px;
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 50px);
    max-width: 2200px;
    margin: 0 auto;
}

.hero-left {
    flex-shrink: 0;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.4rem, 2.4vw, 3rem);
    line-height: 1;
    letter-spacing: 0.01em;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 2px;
    white-space: nowrap;
}

.hero-sub {
    font-family: var(--font-body);
    font-size: clamp(0.5rem, 0.6vw, 0.62rem);
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 400;
    white-space: nowrap;
}

.hero-claim {
    flex: 1;
    font-family: var(--font-body);
    font-size: clamp(0.72rem, 0.85vw, 0.88rem);
    color: #444;
    font-weight: 400;
    line-height: 1.5;
    border-left: 2px solid #e0e0e0;
    padding-left: clamp(16px, 2vw, 30px);
    margin: 0;
}

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

/* PDF-Trigger Button — ganz rechts */
.pdf-trigger-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    border: 1.5px solid #000;
    color: #000;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 8px 14px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.pdf-trigger-btn:hover { background: #000; color: #fff; }
.pdf-trigger-btn.active { background: #f00; border-color: #f00; color: #fff; }
.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(16px, 2.5vw, 40px); 
}


/* ============================================================
   5. MASONRY-GRID — Fotowand-Layout
   item--wide (Landscape) = span 2, item--hero = span 3
   ============================================================ */

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(22px, 2.8vw, 44px);
    width: 100%;
    align-items: start;
}

@media (min-width: 900px)  { .grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1200px) { .grid { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 1600px) { .grid { grid-template-columns: repeat(7, 1fr); } }
@media (min-width: 2000px) { .grid { grid-template-columns: repeat(8, 1fr); } }
@media (max-width: 600px)  { .grid { grid-template-columns: repeat(2, 1fr); } }

/* KACHEL — Basis */
.item {
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
    overflow: visible;
}
.item.hidden-item { display: none; }

/* Landscape → span 2 */
.item--wide { grid-column: span 2; }
/* Hero-Landscape → span 2 (nicht 3 — zu dominant bei vielen Spalten) */
.item--hero { grid-column: span 2; }

/* Sicherheit auf kleinen Screens */
@media (max-width: 600px) {
    .item--wide, .item--hero { grid-column: span 2; }
}

/* VERTIKALE VERSÄTZE — unterschiedliche Staffelung je Spaltenposition */
.item:nth-child(3n+2) { margin-top: clamp(20px, 3.5vw, 55px); }
.item:nth-child(5n+3) { margin-top: clamp(8px,  1.5vw, 25px); }
.item:nth-child(4n+4) { margin-top: clamp(35px, 5vw,   80px); }
.item:nth-child(7n+1) { margin-top: clamp(45px, 6vw,   95px); }
.item:nth-child(11n+6){ margin-top: 0; }

/* --- 6. FOTO-STAPEL --- */
.stack-card { 
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), 
                filter 0.3s ease,
                box-shadow 0.3s ease;
    background: #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.stack-card:nth-child(1) { position: relative; z-index: 10; }

/* Karten 2+3 — dezent, max 4° */
.stack-card:nth-child(2) { 
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 5;
    transform: rotate(clamp(-4deg, var(--r, 2deg), 4deg)) 
               translate(clamp(-6px, var(--x, 3px), 6px), clamp(-5px, var(--y, 2px), 5px));
    filter: brightness(0.78);
    box-shadow: 2px 4px 12px rgba(0,0,0,0.18);
}
.stack-card:nth-child(3) { 
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 4;
    transform: rotate(clamp(-4deg, calc(var(--r, -3deg) * 0.8), 4deg)) 
               translate(clamp(-8px, calc(var(--x, -4px) * 1.1), 8px), clamp(-5px, var(--y, 3px), 5px));
    filter: brightness(0.62);
    box-shadow: -2px 5px 10px rgba(0,0,0,0.14);
}

/* Hover — Stapel öffnet sich leicht */
.item:hover .stack-card:nth-child(1) { box-shadow: 0 8px 25px rgba(0,0,0,0.16); }
.item:hover .stack-card:nth-child(2) { 
    transform: rotate(clamp(-7deg, calc(var(--r, 2deg) * 2.2), 7deg)) 
               translate(clamp(-12px, calc(var(--x, 3px) * 2.8), 12px), clamp(-9px, calc(var(--y, 2px) * 2.5), 9px));
    filter: brightness(0.9);
}
.item:hover .stack-card:nth-child(3) { 
    transform: rotate(clamp(-7deg, calc(var(--r, -3deg) * 2), 7deg)) 
               translate(clamp(-14px, calc(var(--x, -4px) * 3), 14px), clamp(-10px, calc(var(--y, 3px) * 2.8), 10px));
    filter: brightness(0.78);
}


/* --- 7. TITLE LABEL — bold sans, gradient unten, voller Name --- */
.meta { 
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 20;
    pointer-events: none; 
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.19,1,0.22,1);
    padding: 28px 12px 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
}
.item:hover .meta { opacity: 1; transform: translateY(0); }

.meta h3 { 
    font-family: var(--font-head); 
    font-weight: 900; 
    font-size: clamp(0.65rem, 0.9vw, 0.88rem);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    line-height: 1.35;
    white-space: normal;
    word-break: break-word;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* --- 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; }

/* Panellum 360° Viewer */
.pano-wrap {
    margin: 50px auto 50px;
    max-width: 900px;
    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);
}
/* Panellum branding override */
.pnlm-about-msg { display: none !important; }

/* About — Lead + inline link */
.about-lead {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.4vw, 1.3rem);
    font-weight: 300;
    line-height: 1.55;
    color: #e8e8e0;
    margin-bottom: 30px;
    border-left: 3px solid rgba(255,255,255,0.2);
    padding-left: 20px;
}
.about-value-prop { margin-bottom: 8px; }
.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; border-color: #111; }

/* About: dunkelgrau, grunge scratches */
.about-section {
    background: #333 !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 .section-heading { color: #fff !important; border-color: #fff !important; }
.about-section .about-statement { color: #fff; }
.about-section .about-statement em { background: #fff; color: #333; }
.about-section .about-bio-key { color: #888; }
.about-section .about-bio-val { color: #ddd; }
.about-section .about-bio-val strong { color: #fff; }
.about-section .about-bio-row { border-color: #555; }
.about-section .about-stat-num { color: #fff; }
.about-section .about-stat-label { color: #888; }
.about-section .about-tag { background: #555; color: #ddd; border-color: #666; }
.about-section .plantage-box { border-color: #666; }
.about-section .plantage-box-label { background: #333; color: #999; }
.about-section .plantage-box-name { color: #fff; }
.about-section .plantage-box-text { color: #bbb; }
.about-section .plantage-box-link { color: #fff; border-color: #fff; }
.about-section .about-cta-btn { background: #fff; color: #333; border-color: #fff; }
.about-section .about-cta-btn:hover { background: #333; color: #fff; }
.about-section .about-cta-link { color: #ddd; border-color: #ddd; }
.about-section .polaroid { background: #222; }
.about-section .polaroid-back-text { color: #999; border-color: #444; }
.about-section .polaroid-back-text span { color: #ddd; }

/* Übergangs-Trennlinie zwischen Clients → About */
.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 --- */
.about-section { padding: 150px 20px; background: #fff; color: #000; }

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

/* 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; }
#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
   ========================================================== */

/* Rubik Dirt 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.03em !important;
}

.section-heading {
    font-size: clamp(2.2rem, 4.5vw, 5rem) !important;
    text-transform: uppercase !important;
}

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

/* Positions — verteilt über die Seite, außerhalb des Hauptinhalts */
#uf1 { top: 18vh;  left: 2.5vw;  font-size: 1rem;   font-family: var(--font-body); letter-spacing: 0.08em; }
#uf2 { top: 35vh;  right: 3vw;   font-size: 0.7rem; transform: rotate(15deg); }
#uf3 { top: 55vh;  left: 1.5vw;  }
#uf4 { top: 72vh;  right: 2vw;   font-size: 0.55rem; transform: rotate(-8deg); }
#uf5 { top: 42vh;  left: 3.5vw;  font-size: 0.9rem;  transform: rotate(5deg); }
#uf6 { top: 62vh;  right: 4vw;   }
#uf7 { top: 28vh;  left: 2vw;    font-size: 1.6rem;  font-family: var(--font-body); transform: rotate(-5deg); }

/* Im dunkleren Bereich (ab ~50% scroll) werden die Elemente heller */
.urban-float.on-dark {
    color: rgba(255,255,255,0.08);
}

/* 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; }
}
